From 84236b1a97dac6fc43ba593b98577f7b820a1c36 Mon Sep 17 00:00:00 2001 From: François Andriot 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 ++ 506 files changed, 50171 insertions(+), 50171 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 (limited to 'redhat/applications') 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 + -- cgit v1.2.3