From 191f79cdc3d8aca35bd2007183011f68b73dae26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Sat, 26 Nov 2022 17:00:20 +0100 Subject: RPM: update applications directories MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: François Andriot --- redhat/applications/abakus/abakus.spec | 174 --- redhat/applications/adept/adept.spec | 208 ---- redhat/applications/amarok/amarok.spec | 558 --------- redhat/applications/basket/basket.spec | 192 ---- redhat/applications/bibletime/bibletime.spec | 180 --- redhat/applications/codeine/codeine.spec | 168 --- redhat/applications/dolphin/dolphin.spec | 182 --- .../filelight-l10n/filelight-l10n.spec | 112 -- redhat/applications/filelight/filelight.spec | 189 ---- redhat/applications/fusion-icon/fusion-icon.spec | 110 -- .../applications/gtk-qt-engine/gtk-qt-engine.spec | 181 --- .../gtk3-tqt-engine/gtk3-tqt-engine.spec | 173 --- .../internet/kasablanca/kasablanca.spec | 190 ++++ redhat/applications/internet/kbiff/kbiff.spec | 180 +++ .../internet/kftpgrabber/kftpgrabber.spec | 203 ++++ redhat/applications/internet/knmap/knmap.spec | 206 ++++ .../internet/konversation/konversation.spec | 285 +++++ .../internet/kopete-otr/kopete-otr.spec | 176 +++ .../applications/internet/kshowmail/kshowmail.spec | 202 ++++ .../internet/kstreamripper/kstreamripper.spec | 167 +++ .../applications/internet/ktorrent/ktorrent.spec | 220 ++++ redhat/applications/internet/kvirc/kvirc.spec | 247 ++++ redhat/applications/internet/kvpnc/kvpnc.spec | 178 +++ redhat/applications/internet/smb4k/smb4k.spec | 198 ++++ redhat/applications/internet/tork/tork.spec | 186 +++ redhat/applications/k3b-i18n/k3b-i18n.spec | 432 ------- redhat/applications/k3b/k3b.spec | 479 -------- redhat/applications/k3b/k3brc | 6 - redhat/applications/k3b/trinity-k3b-rpmlintrc | 2 - redhat/applications/k9copy/k9copy.spec | 192 ---- .../kaffeine-mozilla/kaffeine-mozilla.spec | 160 --- redhat/applications/kaffeine/kaffeine.spec | 333 ------ .../kaffeine/trinity-kaffeine-rpmlintrc | 2 - redhat/applications/kasablanca/kasablanca.spec | 190 ---- redhat/applications/katapult/katapult.spec | 217 ---- redhat/applications/kbarcode/kbarcode.spec | 220 ---- redhat/applications/kbfx/kbfx.spec | 233 ---- redhat/applications/kbibtex/kbibtex.spec | 184 --- redhat/applications/kbiff/kbiff.spec | 180 --- redhat/applications/kbookreader/kbookreader.spec | 169 --- redhat/applications/kchmviewer/kchmviewer.spec | 207 ---- redhat/applications/kcmautostart/kcmautostart.spec | 162 --- redhat/applications/kcmldap/kcmldap.spec | 229 ---- .../kcmldapcontroller/kcmldapcontroller.spec | 224 ---- .../kcmldapmanager/kcmldapmanager.spec | 210 ---- redhat/applications/kcpuload/kcpuload.spec | 171 --- .../kdbusnotification/kdbusnotification.spec | 176 --- redhat/applications/kdirstat/kdirstat.spec | 177 --- redhat/applications/keep/keep.spec | 179 --- redhat/applications/kerberostray/kerberostray.spec | 200 ---- redhat/applications/keximdb/keximdb.spec | 166 --- redhat/applications/kftpgrabber/kftpgrabber.spec | 203 ---- redhat/applications/kgtk-qt3/kgtk-qt3.spec | 191 ---- redhat/applications/kile/kile.spec | 224 ---- redhat/applications/kima/kima.spec | 172 --- redhat/applications/kiosktool/kiosktool.spec | 186 --- redhat/applications/kkbswitch/kkbswitch.spec | 191 ---- redhat/applications/klamav/klamav.spec | 150 --- redhat/applications/klcddimmer/klcddimmer.spec | 158 --- redhat/applications/kmplayer/kmplayer.spec | 318 ------ redhat/applications/kmyfirewall/kmyfirewall.spec | 224 ---- .../kmyfirewall/trinity-kmyfirewall-rpmlintrc | 2 - redhat/applications/kmymoney/kmymoney.spec | 255 ----- .../applications/kmymoney/kmymoneytitlelabel.png | Bin 557 -> 0 bytes .../kmymoney/trinity-kmymoney-rpmlintrc | 2 - redhat/applications/knemo/knemo.spec | 199 ---- redhat/applications/knetload/knetload.spec | 181 --- redhat/applications/knetstats/knetstats.spec | 168 --- .../knetworkmanager8/knetworkmanager8.spec | 193 ---- redhat/applications/knmap/knmap.spec | 206 ---- redhat/applications/knowit/knowit.spec | 161 --- redhat/applications/knutclient/knutclient.spec | 182 --- redhat/applications/koffice-i18n/koffice-i18n.spec | 1113 ------------------ redhat/applications/koffice/koffice.spec | 1186 -------------------- redhat/applications/koffice/koshell.png | Bin 2531 -> 0 bytes .../applications/koffice/trinity-koffice-rpmlintrc | 2 - redhat/applications/kompose/kompose.spec | 156 --- redhat/applications/konversation/konversation.spec | 285 ----- redhat/applications/kooldock/kooldock.spec | 173 --- redhat/applications/kopete-otr/kopete-otr.spec | 176 --- redhat/applications/kpilot/kpilot.spec | 229 ---- .../applications/kpilot/trinity-kpilot-rpmlintrc | 2 - redhat/applications/kplayer/kplayer.spec | 187 --- redhat/applications/kpowersave/kpowersave.spec | 210 ---- redhat/applications/krecipes/krecipes.spec | 191 ---- redhat/applications/krename/krename.spec | 171 --- redhat/applications/krusader/krusader.spec | 183 --- redhat/applications/ksensors/ksensors.spec | 178 --- redhat/applications/kshowmail/kshowmail.spec | 202 ---- redhat/applications/kshutdown/kshutdown.spec | 180 --- .../ksplash-engine-moodin.spec | 175 --- .../applications/kstreamripper/kstreamripper.spec | 167 --- redhat/applications/ksystemlog/ksystemlog.spec | 163 --- redhat/applications/ktorrent/ktorrent.spec | 220 ---- redhat/applications/kvirc/kvirc.spec | 247 ---- redhat/applications/kvkbd/kvkbd.spec | 168 --- redhat/applications/kvpnc/kvpnc.spec | 178 --- redhat/applications/mathemagics/mathemagics.spec | 132 --- redhat/applications/misc/bibletime/bibletime.spec | 180 +++ .../applications/misc/fusion-icon/fusion-icon.spec | 110 ++ redhat/applications/misc/kcmldap/kcmldap.spec | 229 ++++ .../misc/kcmldapcontroller/kcmldapcontroller.spec | 224 ++++ .../misc/kcmldapmanager/kcmldapmanager.spec | 210 ++++ .../misc/kerberostray/kerberostray.spec | 200 ++++ redhat/applications/misc/krecipes/krecipes.spec | 191 ++++ .../applications/mplayerthumbs/mplayerthumbs.spec | 169 --- redhat/applications/multimedia/amarok/amarok.spec | 558 +++++++++ .../applications/multimedia/codeine/codeine.spec | 168 +++ .../applications/multimedia/k3b-i18n/k3b-i18n.spec | 432 +++++++ redhat/applications/multimedia/k3b/k3b.spec | 479 ++++++++ redhat/applications/multimedia/k3b/k3brc | 6 + .../multimedia/k3b/trinity-k3b-rpmlintrc | 2 + redhat/applications/multimedia/k9copy/k9copy.spec | 192 ++++ .../kaffeine-mozilla/kaffeine-mozilla.spec | 160 +++ .../applications/multimedia/kaffeine/kaffeine.spec | 333 ++++++ .../multimedia/kaffeine/trinity-kaffeine-rpmlintrc | 2 + .../applications/multimedia/kmplayer/kmplayer.spec | 318 ++++++ .../applications/multimedia/kplayer/kplayer.spec | 187 +++ .../multimedia/mplayerthumbs/mplayerthumbs.spec | 169 +++ .../multimedia/rosegarden/rosegarden.spec | 258 +++++ .../multimedia/soundkonverter/soundkonverter.spec | 209 ++++ .../applications/multimedia/tderadio/tderadio.spec | 233 ++++ redhat/applications/office/basket/basket.spec | 192 ++++ redhat/applications/office/kbibtex/kbibtex.spec | 184 +++ .../office/kbookreader/kbookreader.spec | 169 +++ redhat/applications/office/keximdb/keximdb.spec | 166 +++ redhat/applications/office/kile/kile.spec | 224 ++++ redhat/applications/office/kmymoney/kmymoney.spec | 255 +++++ .../office/kmymoney/kmymoneytitlelabel.png | Bin 0 -> 557 bytes .../office/kmymoney/trinity-kmymoney-rpmlintrc | 2 + redhat/applications/office/knowit/knowit.spec | 161 +++ .../office/koffice-i18n/koffice-i18n.spec | 1113 ++++++++++++++++++ redhat/applications/office/koffice/koffice.spec | 1186 ++++++++++++++++++++ redhat/applications/office/koffice/koshell.png | Bin 0 -> 2531 bytes .../office/koffice/trinity-koffice-rpmlintrc | 2 + redhat/applications/office/kpilot/kpilot.spec | 229 ++++ .../office/kpilot/trinity-kpilot-rpmlintrc | 2 + redhat/applications/office/tellico/tellico.spec | 361 ++++++ .../polkit-agent-tde/polkit-agent-tde.spec | 131 --- .../applications/qalculate-tde/qalculate-tde.spec | 170 --- .../qt4-tqt-theme-engine/qt4-tqt-theme-engine.spec | 158 --- redhat/applications/rosegarden/rosegarden.spec | 258 ----- redhat/applications/settings/kima/kima.spec | 172 +++ .../applications/settings/kiosktool/kiosktool.spec | 186 +++ .../applications/settings/kkbswitch/kkbswitch.spec | 191 ++++ .../settings/klcddimmer/klcddimmer.spec | 158 +++ .../settings/kmyfirewall/kmyfirewall.spec | 224 ++++ .../kmyfirewall/trinity-kmyfirewall-rpmlintrc | 2 + .../knetworkmanager8/knetworkmanager8.spec | 193 ++++ .../settings/tde-guidance/tde-guidance.spec | 462 ++++++++ .../tde-guidance/trinity-tde-guidance-rpmlintrc | 1 + .../tde-settings-laptops.directory | 14 + .../tde-systemsettings/tde-systemsettings.spec | 196 ++++ .../tdenetworkmanager/tdenetworkmanager.spec | 250 +++++ .../trinity-tdenetworkmanager-rpmlintrc | 1 + redhat/applications/settings/tdesudo/tdesudo.spec | 164 +++ .../settings/wlassistant/wlassistant.spec | 203 ++++ .../applications/smartcardauth/smartcardauth.spec | 222 ---- .../smartcardauth/trinity-smartcardauth-rpmlintrc | 1 - redhat/applications/smb4k/smb4k.spec | 198 ---- .../soundkonverter/soundkonverter.spec | 209 ---- redhat/applications/system/adept/adept.spec | 208 ++++ redhat/applications/system/dolphin/dolphin.spec | 182 +++ redhat/applications/system/katapult/katapult.spec | 217 ++++ redhat/applications/system/kbfx/kbfx.spec | 233 ++++ .../system/kcmautostart/kcmautostart.spec | 162 +++ .../kdbusnotification/kdbusnotification.spec | 176 +++ redhat/applications/system/klamav/klamav.spec | 150 +++ redhat/applications/system/knemo/knemo.spec | 199 ++++ redhat/applications/system/knetload/knetload.spec | 181 +++ .../applications/system/knetstats/knetstats.spec | 168 +++ redhat/applications/system/kooldock/kooldock.spec | 173 +++ .../applications/system/kpowersave/kpowersave.spec | 210 ++++ redhat/applications/system/krusader/krusader.spec | 183 +++ .../applications/system/kshutdown/kshutdown.spec | 180 +++ .../applications/system/ksystemlog/ksystemlog.spec | 163 +++ redhat/applications/system/kvkbd/kvkbd.spec | 168 +++ .../system/polkit-agent-tde/polkit-agent-tde.spec | 131 +++ .../system/smartcardauth/smartcardauth.spec | 222 ++++ .../smartcardauth/trinity-smartcardauth-rpmlintrc | 1 + .../applications/system/tastymenu/tastymenu.spec | 166 +++ .../applications/system/tdedocker/tdedocker.spec | 196 ++++ .../system/tdepowersave/tdepowersave.spec | 257 +++++ redhat/applications/system/yakuake/yakuake.spec | 160 +++ redhat/applications/tastymenu/tastymenu.spec | 166 --- redhat/applications/tde-guidance/tde-guidance.spec | 462 -------- .../tde-guidance/trinity-tde-guidance-rpmlintrc | 1 - .../tde-style-baghira/tde-style-baghira.spec | 196 ---- .../tde-style-domino/tde-style-domino.spec | 141 --- .../tde-style-ia-ora/tde-style-ia-ora.spec | 149 --- .../tde-style-lipstik/tde-style-lipstik.spec | 169 --- .../tde-style-qtcurve/tde-style-qtcurve.spec | 193 ---- .../tde-settings-laptops.directory | 14 - .../tde-systemsettings/tde-systemsettings.spec | 196 ---- redhat/applications/tdedocker/tdedocker.spec | 196 ---- .../applications/tdeio-appinfo/tdeio-appinfo.spec | 160 --- redhat/applications/tdeio-apt/tdeio-apt.spec | 164 --- redhat/applications/tdeio-ftps/tdeio-ftps.spec | 163 --- redhat/applications/tdeio-gopher/tdeio-gopher.spec | 180 --- redhat/applications/tdeio-locate/tdeio-locate.spec | 177 --- redhat/applications/tdeio-sword/tdeio-sword.spec | 176 --- .../tdeio-umountwrapper/media_safelyremove.desktop | 74 -- .../media_safelyremove.desktop_tdeio | 74 -- .../tdeio-umountwrapper/tdeio-umountwrapper.spec | 190 ---- .../tdeio/tdeio-appinfo/tdeio-appinfo.spec | 160 +++ redhat/applications/tdeio/tdeio-apt/tdeio-apt.spec | 164 +++ .../applications/tdeio/tdeio-ftps/tdeio-ftps.spec | 163 +++ .../tdeio/tdeio-gopher/tdeio-gopher.spec | 180 +++ .../tdeio/tdeio-locate/tdeio-locate.spec | 177 +++ .../tdeio/tdeio-sword/tdeio-sword.spec | 176 +++ .../tdeio-umountwrapper/media_safelyremove.desktop | 74 ++ .../media_safelyremove.desktop_tdeio | 74 ++ .../tdeio-umountwrapper/tdeio-umountwrapper.spec | 190 ++++ .../tdenetworkmanager/tdenetworkmanager.spec | 250 ----- .../trinity-tdenetworkmanager-rpmlintrc | 1 - redhat/applications/tdepowersave/tdepowersave.spec | 257 ----- redhat/applications/tderadio/tderadio.spec | 233 ---- redhat/applications/tdesudo/tdesudo.spec | 164 --- redhat/applications/tdmtheme/tdmtheme.spec | 162 --- redhat/applications/tellico/tellico.spec | 361 ------ .../themes/gtk-qt-engine/gtk-qt-engine.spec | 181 +++ .../themes/gtk3-tqt-engine/gtk3-tqt-engine.spec | 173 +++ redhat/applications/themes/kgtk-qt3/kgtk-qt3.spec | 191 ++++ .../ksplash-engine-moodin.spec | 175 +++ .../qt4-tqt-theme-engine/qt4-tqt-theme-engine.spec | 158 +++ .../tde-style-baghira/tde-style-baghira.spec | 196 ++++ .../themes/tde-style-domino/tde-style-domino.spec | 141 +++ .../themes/tde-style-ia-ora/tde-style-ia-ora.spec | 149 +++ .../tde-style-lipstik/tde-style-lipstik.spec | 169 +++ .../tde-style-qtcurve/tde-style-qtcurve.spec | 193 ++++ redhat/applications/themes/tdmtheme/tdmtheme.spec | 162 +++ .../twin-style-crystal/twin-style-crystal.spec | 154 +++ .../twin-style-dekorator/twin-style-dekorator.spec | 158 +++ .../twin-style-machbunt/twin-style-machbunt.spec | 153 +++ .../themes/twin-style-suse2/twin-style-suse2.spec | 157 +++ redhat/applications/tork/tork.spec | 186 --- .../twin-style-crystal/twin-style-crystal.spec | 154 --- .../twin-style-dekorator/twin-style-dekorator.spec | 158 --- .../twin-style-machbunt/twin-style-machbunt.spec | 153 --- .../twin-style-suse2/twin-style-suse2.spec | 157 --- redhat/applications/utilities/abakus/abakus.spec | 174 +++ .../utilities/filelight-l10n/filelight-l10n.spec | 112 ++ .../utilities/filelight/filelight.spec | 189 ++++ .../applications/utilities/kbarcode/kbarcode.spec | 220 ++++ .../utilities/kchmviewer/kchmviewer.spec | 207 ++++ .../applications/utilities/kcpuload/kcpuload.spec | 171 +++ .../applications/utilities/kdirstat/kdirstat.spec | 177 +++ redhat/applications/utilities/keep/keep.spec | 179 +++ .../utilities/knutclient/knutclient.spec | 182 +++ redhat/applications/utilities/kompose/kompose.spec | 156 +++ redhat/applications/utilities/krename/krename.spec | 171 +++ .../applications/utilities/ksensors/ksensors.spec | 178 +++ .../utilities/mathemagics/mathemagics.spec | 132 +++ .../utilities/qalculate-tde/qalculate-tde.spec | 170 +++ redhat/applications/wlassistant/wlassistant.spec | 203 ---- redhat/applications/yakuake/yakuake.spec | 160 --- redhat/docker/f35/rpmmacros | 1 + redhat/docker/f36/rpmmacros | 1 + redhat/docker/osstw/packages | 1 + 259 files changed, 24726 insertions(+), 24723 deletions(-) delete mode 100644 redhat/applications/abakus/abakus.spec delete mode 100644 redhat/applications/adept/adept.spec delete mode 100644 redhat/applications/amarok/amarok.spec delete mode 100644 redhat/applications/basket/basket.spec delete mode 100644 redhat/applications/bibletime/bibletime.spec delete mode 100644 redhat/applications/codeine/codeine.spec delete mode 100644 redhat/applications/dolphin/dolphin.spec delete mode 100644 redhat/applications/filelight-l10n/filelight-l10n.spec delete mode 100644 redhat/applications/filelight/filelight.spec delete mode 100644 redhat/applications/fusion-icon/fusion-icon.spec delete mode 100644 redhat/applications/gtk-qt-engine/gtk-qt-engine.spec delete mode 100644 redhat/applications/gtk3-tqt-engine/gtk3-tqt-engine.spec create mode 100644 redhat/applications/internet/kasablanca/kasablanca.spec create mode 100644 redhat/applications/internet/kbiff/kbiff.spec create mode 100644 redhat/applications/internet/kftpgrabber/kftpgrabber.spec create mode 100644 redhat/applications/internet/knmap/knmap.spec create mode 100644 redhat/applications/internet/konversation/konversation.spec create mode 100644 redhat/applications/internet/kopete-otr/kopete-otr.spec create mode 100644 redhat/applications/internet/kshowmail/kshowmail.spec create mode 100644 redhat/applications/internet/kstreamripper/kstreamripper.spec create mode 100644 redhat/applications/internet/ktorrent/ktorrent.spec create mode 100644 redhat/applications/internet/kvirc/kvirc.spec create mode 100644 redhat/applications/internet/kvpnc/kvpnc.spec create mode 100644 redhat/applications/internet/smb4k/smb4k.spec create mode 100644 redhat/applications/internet/tork/tork.spec delete mode 100644 redhat/applications/k3b-i18n/k3b-i18n.spec delete mode 100644 redhat/applications/k3b/k3b.spec delete mode 100644 redhat/applications/k3b/k3brc delete mode 100644 redhat/applications/k3b/trinity-k3b-rpmlintrc delete mode 100644 redhat/applications/k9copy/k9copy.spec delete mode 100644 redhat/applications/kaffeine-mozilla/kaffeine-mozilla.spec delete mode 100644 redhat/applications/kaffeine/kaffeine.spec delete mode 100644 redhat/applications/kaffeine/trinity-kaffeine-rpmlintrc delete mode 100644 redhat/applications/kasablanca/kasablanca.spec delete mode 100644 redhat/applications/katapult/katapult.spec delete mode 100644 redhat/applications/kbarcode/kbarcode.spec delete mode 100644 redhat/applications/kbfx/kbfx.spec delete mode 100644 redhat/applications/kbibtex/kbibtex.spec delete mode 100644 redhat/applications/kbiff/kbiff.spec delete mode 100644 redhat/applications/kbookreader/kbookreader.spec delete mode 100644 redhat/applications/kchmviewer/kchmviewer.spec delete mode 100644 redhat/applications/kcmautostart/kcmautostart.spec delete mode 100644 redhat/applications/kcmldap/kcmldap.spec delete mode 100644 redhat/applications/kcmldapcontroller/kcmldapcontroller.spec delete mode 100644 redhat/applications/kcmldapmanager/kcmldapmanager.spec delete mode 100644 redhat/applications/kcpuload/kcpuload.spec delete mode 100644 redhat/applications/kdbusnotification/kdbusnotification.spec delete mode 100644 redhat/applications/kdirstat/kdirstat.spec delete mode 100644 redhat/applications/keep/keep.spec delete mode 100644 redhat/applications/kerberostray/kerberostray.spec delete mode 100644 redhat/applications/keximdb/keximdb.spec delete mode 100644 redhat/applications/kftpgrabber/kftpgrabber.spec delete mode 100644 redhat/applications/kgtk-qt3/kgtk-qt3.spec delete mode 100644 redhat/applications/kile/kile.spec delete mode 100644 redhat/applications/kima/kima.spec delete mode 100644 redhat/applications/kiosktool/kiosktool.spec delete mode 100644 redhat/applications/kkbswitch/kkbswitch.spec delete mode 100644 redhat/applications/klamav/klamav.spec delete mode 100644 redhat/applications/klcddimmer/klcddimmer.spec delete mode 100644 redhat/applications/kmplayer/kmplayer.spec delete mode 100644 redhat/applications/kmyfirewall/kmyfirewall.spec delete mode 100644 redhat/applications/kmyfirewall/trinity-kmyfirewall-rpmlintrc delete mode 100644 redhat/applications/kmymoney/kmymoney.spec delete mode 100644 redhat/applications/kmymoney/kmymoneytitlelabel.png delete mode 100644 redhat/applications/kmymoney/trinity-kmymoney-rpmlintrc delete mode 100644 redhat/applications/knemo/knemo.spec delete mode 100644 redhat/applications/knetload/knetload.spec delete mode 100644 redhat/applications/knetstats/knetstats.spec delete mode 100644 redhat/applications/knetworkmanager8/knetworkmanager8.spec delete mode 100644 redhat/applications/knmap/knmap.spec delete mode 100644 redhat/applications/knowit/knowit.spec delete mode 100644 redhat/applications/knutclient/knutclient.spec delete mode 100644 redhat/applications/koffice-i18n/koffice-i18n.spec delete mode 100644 redhat/applications/koffice/koffice.spec delete mode 100644 redhat/applications/koffice/koshell.png delete mode 100644 redhat/applications/koffice/trinity-koffice-rpmlintrc delete mode 100644 redhat/applications/kompose/kompose.spec delete mode 100644 redhat/applications/konversation/konversation.spec delete mode 100644 redhat/applications/kooldock/kooldock.spec delete mode 100644 redhat/applications/kopete-otr/kopete-otr.spec delete mode 100644 redhat/applications/kpilot/kpilot.spec delete mode 100644 redhat/applications/kpilot/trinity-kpilot-rpmlintrc delete mode 100644 redhat/applications/kplayer/kplayer.spec delete mode 100644 redhat/applications/kpowersave/kpowersave.spec delete mode 100644 redhat/applications/krecipes/krecipes.spec delete mode 100644 redhat/applications/krename/krename.spec delete mode 100644 redhat/applications/krusader/krusader.spec delete mode 100644 redhat/applications/ksensors/ksensors.spec delete mode 100644 redhat/applications/kshowmail/kshowmail.spec delete mode 100644 redhat/applications/kshutdown/kshutdown.spec delete mode 100644 redhat/applications/ksplash-engine-moodin/ksplash-engine-moodin.spec delete mode 100644 redhat/applications/kstreamripper/kstreamripper.spec delete mode 100644 redhat/applications/ksystemlog/ksystemlog.spec delete mode 100644 redhat/applications/ktorrent/ktorrent.spec delete mode 100644 redhat/applications/kvirc/kvirc.spec delete mode 100644 redhat/applications/kvkbd/kvkbd.spec delete mode 100644 redhat/applications/kvpnc/kvpnc.spec delete mode 100644 redhat/applications/mathemagics/mathemagics.spec create mode 100644 redhat/applications/misc/bibletime/bibletime.spec create mode 100644 redhat/applications/misc/fusion-icon/fusion-icon.spec create mode 100644 redhat/applications/misc/kcmldap/kcmldap.spec create mode 100644 redhat/applications/misc/kcmldapcontroller/kcmldapcontroller.spec create mode 100644 redhat/applications/misc/kcmldapmanager/kcmldapmanager.spec create mode 100644 redhat/applications/misc/kerberostray/kerberostray.spec create mode 100644 redhat/applications/misc/krecipes/krecipes.spec delete mode 100644 redhat/applications/mplayerthumbs/mplayerthumbs.spec create mode 100644 redhat/applications/multimedia/amarok/amarok.spec create mode 100644 redhat/applications/multimedia/codeine/codeine.spec create mode 100644 redhat/applications/multimedia/k3b-i18n/k3b-i18n.spec create mode 100644 redhat/applications/multimedia/k3b/k3b.spec create mode 100644 redhat/applications/multimedia/k3b/k3brc create mode 100644 redhat/applications/multimedia/k3b/trinity-k3b-rpmlintrc create mode 100644 redhat/applications/multimedia/k9copy/k9copy.spec create mode 100644 redhat/applications/multimedia/kaffeine-mozilla/kaffeine-mozilla.spec create mode 100644 redhat/applications/multimedia/kaffeine/kaffeine.spec create mode 100644 redhat/applications/multimedia/kaffeine/trinity-kaffeine-rpmlintrc create mode 100644 redhat/applications/multimedia/kmplayer/kmplayer.spec create mode 100644 redhat/applications/multimedia/kplayer/kplayer.spec create mode 100644 redhat/applications/multimedia/mplayerthumbs/mplayerthumbs.spec create mode 100644 redhat/applications/multimedia/rosegarden/rosegarden.spec create mode 100644 redhat/applications/multimedia/soundkonverter/soundkonverter.spec create mode 100644 redhat/applications/multimedia/tderadio/tderadio.spec create mode 100644 redhat/applications/office/basket/basket.spec create mode 100644 redhat/applications/office/kbibtex/kbibtex.spec create mode 100644 redhat/applications/office/kbookreader/kbookreader.spec create mode 100644 redhat/applications/office/keximdb/keximdb.spec create mode 100644 redhat/applications/office/kile/kile.spec create mode 100644 redhat/applications/office/kmymoney/kmymoney.spec create mode 100644 redhat/applications/office/kmymoney/kmymoneytitlelabel.png create mode 100644 redhat/applications/office/kmymoney/trinity-kmymoney-rpmlintrc create mode 100644 redhat/applications/office/knowit/knowit.spec create mode 100644 redhat/applications/office/koffice-i18n/koffice-i18n.spec create mode 100644 redhat/applications/office/koffice/koffice.spec create mode 100644 redhat/applications/office/koffice/koshell.png create mode 100644 redhat/applications/office/koffice/trinity-koffice-rpmlintrc create mode 100644 redhat/applications/office/kpilot/kpilot.spec create mode 100644 redhat/applications/office/kpilot/trinity-kpilot-rpmlintrc create mode 100644 redhat/applications/office/tellico/tellico.spec delete mode 100644 redhat/applications/polkit-agent-tde/polkit-agent-tde.spec delete mode 100644 redhat/applications/qalculate-tde/qalculate-tde.spec delete mode 100644 redhat/applications/qt4-tqt-theme-engine/qt4-tqt-theme-engine.spec delete mode 100644 redhat/applications/rosegarden/rosegarden.spec create mode 100644 redhat/applications/settings/kima/kima.spec create mode 100644 redhat/applications/settings/kiosktool/kiosktool.spec create mode 100644 redhat/applications/settings/kkbswitch/kkbswitch.spec create mode 100644 redhat/applications/settings/klcddimmer/klcddimmer.spec create mode 100644 redhat/applications/settings/kmyfirewall/kmyfirewall.spec create mode 100644 redhat/applications/settings/kmyfirewall/trinity-kmyfirewall-rpmlintrc create mode 100644 redhat/applications/settings/knetworkmanager8/knetworkmanager8.spec create mode 100644 redhat/applications/settings/tde-guidance/tde-guidance.spec create mode 100644 redhat/applications/settings/tde-guidance/trinity-tde-guidance-rpmlintrc create mode 100644 redhat/applications/settings/tde-systemsettings/tde-settings-laptops.directory create mode 100644 redhat/applications/settings/tde-systemsettings/tde-systemsettings.spec create mode 100644 redhat/applications/settings/tdenetworkmanager/tdenetworkmanager.spec create mode 100644 redhat/applications/settings/tdenetworkmanager/trinity-tdenetworkmanager-rpmlintrc create mode 100644 redhat/applications/settings/tdesudo/tdesudo.spec create mode 100644 redhat/applications/settings/wlassistant/wlassistant.spec delete mode 100644 redhat/applications/smartcardauth/smartcardauth.spec delete mode 100644 redhat/applications/smartcardauth/trinity-smartcardauth-rpmlintrc delete mode 100644 redhat/applications/smb4k/smb4k.spec delete mode 100644 redhat/applications/soundkonverter/soundkonverter.spec create mode 100644 redhat/applications/system/adept/adept.spec create mode 100644 redhat/applications/system/dolphin/dolphin.spec create mode 100644 redhat/applications/system/katapult/katapult.spec create mode 100644 redhat/applications/system/kbfx/kbfx.spec create mode 100644 redhat/applications/system/kcmautostart/kcmautostart.spec create mode 100644 redhat/applications/system/kdbusnotification/kdbusnotification.spec create mode 100644 redhat/applications/system/klamav/klamav.spec create mode 100644 redhat/applications/system/knemo/knemo.spec create mode 100644 redhat/applications/system/knetload/knetload.spec create mode 100644 redhat/applications/system/knetstats/knetstats.spec create mode 100644 redhat/applications/system/kooldock/kooldock.spec create mode 100644 redhat/applications/system/kpowersave/kpowersave.spec create mode 100644 redhat/applications/system/krusader/krusader.spec create mode 100644 redhat/applications/system/kshutdown/kshutdown.spec create mode 100644 redhat/applications/system/ksystemlog/ksystemlog.spec create mode 100644 redhat/applications/system/kvkbd/kvkbd.spec create mode 100644 redhat/applications/system/polkit-agent-tde/polkit-agent-tde.spec create mode 100644 redhat/applications/system/smartcardauth/smartcardauth.spec create mode 100644 redhat/applications/system/smartcardauth/trinity-smartcardauth-rpmlintrc create mode 100644 redhat/applications/system/tastymenu/tastymenu.spec create mode 100644 redhat/applications/system/tdedocker/tdedocker.spec create mode 100644 redhat/applications/system/tdepowersave/tdepowersave.spec create mode 100644 redhat/applications/system/yakuake/yakuake.spec delete mode 100644 redhat/applications/tastymenu/tastymenu.spec delete mode 100644 redhat/applications/tde-guidance/tde-guidance.spec delete mode 100644 redhat/applications/tde-guidance/trinity-tde-guidance-rpmlintrc delete mode 100644 redhat/applications/tde-style-baghira/tde-style-baghira.spec delete mode 100644 redhat/applications/tde-style-domino/tde-style-domino.spec delete mode 100644 redhat/applications/tde-style-ia-ora/tde-style-ia-ora.spec delete mode 100644 redhat/applications/tde-style-lipstik/tde-style-lipstik.spec delete mode 100644 redhat/applications/tde-style-qtcurve/tde-style-qtcurve.spec delete mode 100644 redhat/applications/tde-systemsettings/tde-settings-laptops.directory delete mode 100644 redhat/applications/tde-systemsettings/tde-systemsettings.spec delete mode 100644 redhat/applications/tdedocker/tdedocker.spec delete mode 100644 redhat/applications/tdeio-appinfo/tdeio-appinfo.spec delete mode 100644 redhat/applications/tdeio-apt/tdeio-apt.spec delete mode 100644 redhat/applications/tdeio-ftps/tdeio-ftps.spec delete mode 100644 redhat/applications/tdeio-gopher/tdeio-gopher.spec delete mode 100644 redhat/applications/tdeio-locate/tdeio-locate.spec delete mode 100644 redhat/applications/tdeio-sword/tdeio-sword.spec delete mode 100644 redhat/applications/tdeio-umountwrapper/media_safelyremove.desktop delete mode 100644 redhat/applications/tdeio-umountwrapper/media_safelyremove.desktop_tdeio delete mode 100644 redhat/applications/tdeio-umountwrapper/tdeio-umountwrapper.spec create mode 100644 redhat/applications/tdeio/tdeio-appinfo/tdeio-appinfo.spec create mode 100644 redhat/applications/tdeio/tdeio-apt/tdeio-apt.spec create mode 100644 redhat/applications/tdeio/tdeio-ftps/tdeio-ftps.spec create mode 100644 redhat/applications/tdeio/tdeio-gopher/tdeio-gopher.spec create mode 100644 redhat/applications/tdeio/tdeio-locate/tdeio-locate.spec create mode 100644 redhat/applications/tdeio/tdeio-sword/tdeio-sword.spec create mode 100644 redhat/applications/tdeio/tdeio-umountwrapper/media_safelyremove.desktop create mode 100644 redhat/applications/tdeio/tdeio-umountwrapper/media_safelyremove.desktop_tdeio create mode 100644 redhat/applications/tdeio/tdeio-umountwrapper/tdeio-umountwrapper.spec delete mode 100644 redhat/applications/tdenetworkmanager/tdenetworkmanager.spec delete mode 100644 redhat/applications/tdenetworkmanager/trinity-tdenetworkmanager-rpmlintrc delete mode 100644 redhat/applications/tdepowersave/tdepowersave.spec delete mode 100644 redhat/applications/tderadio/tderadio.spec delete mode 100644 redhat/applications/tdesudo/tdesudo.spec delete mode 100644 redhat/applications/tdmtheme/tdmtheme.spec delete mode 100644 redhat/applications/tellico/tellico.spec create mode 100644 redhat/applications/themes/gtk-qt-engine/gtk-qt-engine.spec create mode 100644 redhat/applications/themes/gtk3-tqt-engine/gtk3-tqt-engine.spec create mode 100644 redhat/applications/themes/kgtk-qt3/kgtk-qt3.spec create mode 100644 redhat/applications/themes/ksplash-engine-moodin/ksplash-engine-moodin.spec create mode 100644 redhat/applications/themes/qt4-tqt-theme-engine/qt4-tqt-theme-engine.spec create mode 100644 redhat/applications/themes/tde-style-baghira/tde-style-baghira.spec create mode 100644 redhat/applications/themes/tde-style-domino/tde-style-domino.spec create mode 100644 redhat/applications/themes/tde-style-ia-ora/tde-style-ia-ora.spec create mode 100644 redhat/applications/themes/tde-style-lipstik/tde-style-lipstik.spec create mode 100644 redhat/applications/themes/tde-style-qtcurve/tde-style-qtcurve.spec create mode 100644 redhat/applications/themes/tdmtheme/tdmtheme.spec create mode 100644 redhat/applications/themes/twin-style-crystal/twin-style-crystal.spec create mode 100644 redhat/applications/themes/twin-style-dekorator/twin-style-dekorator.spec create mode 100644 redhat/applications/themes/twin-style-machbunt/twin-style-machbunt.spec create mode 100644 redhat/applications/themes/twin-style-suse2/twin-style-suse2.spec delete mode 100644 redhat/applications/tork/tork.spec delete mode 100644 redhat/applications/twin-style-crystal/twin-style-crystal.spec delete mode 100644 redhat/applications/twin-style-dekorator/twin-style-dekorator.spec delete mode 100644 redhat/applications/twin-style-machbunt/twin-style-machbunt.spec delete mode 100644 redhat/applications/twin-style-suse2/twin-style-suse2.spec create mode 100644 redhat/applications/utilities/abakus/abakus.spec create mode 100644 redhat/applications/utilities/filelight-l10n/filelight-l10n.spec create mode 100644 redhat/applications/utilities/filelight/filelight.spec create mode 100644 redhat/applications/utilities/kbarcode/kbarcode.spec create mode 100644 redhat/applications/utilities/kchmviewer/kchmviewer.spec create mode 100644 redhat/applications/utilities/kcpuload/kcpuload.spec create mode 100644 redhat/applications/utilities/kdirstat/kdirstat.spec create mode 100644 redhat/applications/utilities/keep/keep.spec create mode 100644 redhat/applications/utilities/knutclient/knutclient.spec create mode 100644 redhat/applications/utilities/kompose/kompose.spec create mode 100644 redhat/applications/utilities/krename/krename.spec create mode 100644 redhat/applications/utilities/ksensors/ksensors.spec create mode 100644 redhat/applications/utilities/mathemagics/mathemagics.spec create mode 100644 redhat/applications/utilities/qalculate-tde/qalculate-tde.spec delete mode 100644 redhat/applications/wlassistant/wlassistant.spec delete mode 100644 redhat/applications/yakuake/yakuake.spec (limited to 'redhat') diff --git a/redhat/applications/abakus/abakus.spec b/redhat/applications/abakus/abakus.spec deleted file mode 100644 index e2f921280..000000000 --- a/redhat/applications/abakus/abakus.spec +++ /dev/null @@ -1,174 +0,0 @@ -# -# spec file for package abakus (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg abakus -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.91 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Calculator for TDE -Group: Applications/Utilities -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} - -BuildRequires: desktop-file-utils - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig - -BuildRequires: bison -BuildRequires: flex - -# ACL support -BuildRequires: libacl-devel - -# IDN support -BuildRequires: libidn-devel - -# GAMIN support -# Not on openSUSE. -%if ( 0%{?rhel} && 0%{?rhel} <= 8 ) || ( 0%{?fedora} && 0%{?fedora} <= 33 ) || 0%{?mgaversion} || 0%{?mdkversion} -%define with_gamin 1 -BuildRequires: gamin-devel -%endif - -# OPENSSL support -BuildRequires: openssl-devel - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - - -%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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -# Specific path for RHEL4 -if [ -d "/usr/X11R6" ]; then - export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -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 - -%find_lang %{tde_pkg} - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file -r "%{buildroot}%{tde_tdeappdir}/abakus.desktop" Utility Calculator -%endif - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.lang -%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_tdeappdir}/abakus.desktop -%{tde_mandir}/man1/abakus.1* - - -%changelog diff --git a/redhat/applications/adept/adept.spec b/redhat/applications/adept/adept.spec deleted file mode 100644 index ba1c416f4..000000000 --- a/redhat/applications/adept/adept.spec +++ /dev/null @@ -1,208 +0,0 @@ -# -# spec file for package adept (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# Default version for this component -%define tde_pkg adept -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tde_pkg} -Summary: Package management suite for Trinity -Version: 2.1.3 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} - -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}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-util - -BuildRequires: libapt-front-devel - -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 TDE 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 TDE, 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}-%{tde_version}%{?preversion:~%{preversion}} - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - \ - --enable-rpath \ - --enable-closure \ - \ - --with-extra-includes=%{_includedir}/tqt3 \ - \ - --enable-adept - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{tde_pkg} - - -%clean -%__rm -rf %{buildroot} - - - - -%changelog diff --git a/redhat/applications/amarok/amarok.spec b/redhat/applications/amarok/amarok.spec deleted file mode 100644 index 5ee4de02c..000000000 --- a/redhat/applications/amarok/amarok.spec +++ /dev/null @@ -1,558 +0,0 @@ -# -# spec file for package amarok (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg amarok -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_confdir %{_sysconfdir}/trinity -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 1.4.10 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Media player for TDE -Group: Applications/Multimedia -URL: http://www.trinitydesktop.org/ -#Url: http://amarok.kde.org - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: trinity-konqueror-devel >= %{tde_version} - -BuildRequires: trinity-filesystem >= %{tde_version} -Requires: trinity-filesystem >= %{tde_version} - -BuildRequires: desktop-file-utils -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: gettext - -# ACL support -BuildRequires: libacl-devel - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -# ALSA support -BuildRequires: alsa-lib-devel - -# ESOUND support -BuildRequires: esound-devel - -# PCRE support -BuildRequires: pcre-devel - -# LIBTOOL -BuildRequires: libtool -%if 0%{?fedora} > 4 || 0%{?rhel} > 4 -BuildRequires: libtool-ltdl-devel -%endif - -%if 0%{?fedora} >= 37 -BuildRequires: libusb1-devel -BuildRequires: libusb-compat-0.1-devel -%else -BuildRequires: libusb-devel -%endif -BuildRequires: mysql-devel -BuildRequires: SDL-devel -BuildRequires: taglib-devel -BuildRequires: sqlite-devel - -# POSTGRESQL support -%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150200 -BuildRequires: postgresql10 -BuildRequires: postgresql10-devel -%else -BuildRequires: postgresql -%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8 -BuildRequires: postgresql-server-devel -%else -BuildRequires: postgresql-devel -%endif -%endif - -# not used anymore, in favor of libvisual ? -- Rex -#{?fedora:BuildRequires: xmms-devel} - -# IDN support -BuildRequires: libidn-devel - -# GAMIN support -# Not on openSUSE. -%if ( 0%{?rhel} && 0%{?rhel} <= 8 ) || ( 0%{?fedora} && 0%{?fedora} <= 33 ) || 0%{?mgaversion} || 0%{?mdkversion} -%define with_gamin 1 -BuildRequires: gamin-devel -%endif - -# 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 >= 1:0.63 -%endif - -# DAAP support -%define with_daap 0 - -# 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%{?rhel} == 7 || 0%{?rhel} == 8 || 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 -%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 - -# MUSICBRAINZ support -%if 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} -%if 0%{?fedora} >= 24 -BuildRequires: libmusicbrainz5-devel -%else -BuildRequires: libmusicbrainz-devel -%endif -%endif - -# TUNEPIMP support -%if 0%{?pclinuxos} -BuildRequires: libofa-devel -%endif -%if 0%{?mgaversion} && 0%{?mgaversion} <= 2 -BuildRequires: libtunepimp-devel -%endif -%if 0%{?suse_version} && 0%{?suse_version} != 1330 && 0%{?suse_version} < 1500 -BuildRequires: libtunepimp-devel -%endif -%if 0%{?fedora} && 0%{?fedora} <= 23 -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%{?fedora} && 0%{?fedora} <= 31 -%define with_xine 1 -BuildRequires: xine-lib-devel -%endif -%if 0%{?rhel} && 0%{?rhel} <= 7 -#define with_xine 1 -BuildRequires: xine-lib-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} -%define with_xine 1 -BuildRequires: %{_lib}xine1.2-devel -%endif -%if 0%{?sle_version} && 0%{?sle_version} <= 150000 -%define with_xine 1 -BuildRequires: libxine-devel -%endif - -# YAUAP support -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} -%define with_yauap 1 -%endif - -# AKODE support -%define with_akode 0 -%if 0 && 0%{?with_akode} -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 -%if 0%{?fedora} >= 19 -BuildRequires: rubypick -%endif - -# PYTHON support -%if 0%{?sle_version} >= 150400 || 0%{?rhel} >= 8 -%define python python3 -%define __python %__python3 -%else -%if 0%{?rhel} == 6 || 0%{?rhel} == 7 || 0%{?fedora} >= 31 || 0%{?suse_version} >= 1550 || 0%{?mgaversion} >= 8 -%global python python2 -%global __python %__python2 -%global python_sitearch %{python2_sitearch} -%else -%global python python -%endif -%endif -%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} -BuildRequires: %{python} -BuildRequires: %{python}-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 %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc COPYING AUTHORS ChangeLog README.md -%{tde_bindir}/amarok -%{tde_bindir}/amarokapp -%{tde_bindir}/amarokcollectionscanner -%{tde_bindir}/amarok_proxy.rb -%{tde_datadir}/apps/amarok/ -%{tde_datadir}/icons/crystalsvg/*/actions/covermanager.png -%{tde_datadir}/icons/crystalsvg/*/actions/dynamic.png -%{tde_datadir}/icons/crystalsvg/*/actions/equalizer.png -%{tde_datadir}/icons/crystalsvg/*/actions/mini_dock.png -%{tde_datadir}/icons/crystalsvg/*/actions/player_playlist_2.png -%{tde_datadir}/icons/crystalsvg/*/actions/podcast.png -%{tde_datadir}/icons/crystalsvg/*/actions/podcast_new.png -%{tde_datadir}/icons/crystalsvg/*/actions/random.png -%{tde_datadir}/icons/crystalsvg/*/actions/repeat_playlist.png -%{tde_datadir}/icons/crystalsvg/*/actions/repeat_track.png -%{tde_datadir}/icons/crystalsvg/*/actions/visualizations.png -%{tde_datadir}/icons/crystalsvg/*/actions/wiki.png -%{tde_datadir}/icons/crystalsvg/*/actions/amarok_podcast.png -%{tde_datadir}/icons/crystalsvg/*/actions/amarok_podcast_new.png -%{tde_datadir}/icons/crystalsvg/*/actions/amazon_locale.png -%{tde_datadir}/icons/hicolor/*/*/* -%{tde_tdeappdir}/*.desktop -%{tde_datadir}/servicetypes/*.desktop -%{tde_datadir}/apps/profiles/amarok.profile.xml -%config(noreplace) %{tde_confdir}/amarokrc -%{tde_datadir}/config.kcfg/*.kcfg -%{tde_datadir}/services/amarokitpc.protocol -%{tde_datadir}/services/amaroklastfm.protocol -%{tde_datadir}/services/amarokpcast.protocol -%{tde_mandir}/man1/amarok.1* -%{tde_mandir}/man1/amarokapp.1* -%{tde_mandir}/man1/amarokcollectionscanner.1* -# -libs ? -- Rex -%{tde_libdir}/libamarok.so.0 -%{tde_libdir}/libamarok.so.0.0.0 -# DAAP -%if 0%{?with_daap} -%{tde_bindir}/amarok_daapserver.rb -%{tde_tdelibdir}/libamarok_daap-mediadevice.* -%{tde_datadir}/services/amarok_daap-mediadevice.desktop -%endif -# 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 && 0%{?with_akode} -%{tde_datadir}/services/amarok_aKode-engine.desktop -%{tde_tdelibdir}/libamarok_aKode-engine.* -%endif - -########## - -%package konqueror -Summary: Amarok konqueror (service menus, sidebar) support -Group: Applications/Multimedia - -Requires: %{name} = %{?epoch:%{epoch}:}%{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_konquisidebar.desktop - - -########## - -%if 0%{?with_libvisual} - -%package visualisation -Summary: Visualisation plugins for Amarok -Group: Applications/Multimedia -Requires: %{name} = %{?epoch:%{epoch}:}%{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 -%{tde_mandir}/man1/amarok_libvisual.1* - -%endif - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -# Fix some Ruby stuff -if ! ruby -rrbconfig -e "puts Config.expand( Config::MAKEFILE_CONFIG['MAJOR'] )" &>/dev/null; then - %__sed -i "amarok/src/mediadevice/daap/ConfigureChecks.cmake" \ - -e "s|Config::|RbConfig::|g" \ - -e "s|Config\.|RbConfig\.|g" -fi - -%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8 || 0%{?mgaversion} >= 8 -%__sed -i "amarok/src/scripts/common/Publisher.py" \ - "amarok/src/scripts/common/Zeroconf.py" \ - "amarok/src/scripts/playlist2html/Playlist.py" \ - "amarok/src/scripts/playlist2html/playlist2html.py" \ - "amarok/src/scripts/playlist2html/PlaylistServer.py" \ - "amarok/src/scripts/webcontrol/Playlist.py" \ - "amarok/src/scripts/webcontrol/RequestHandler.py" \ - "amarok/src/scripts/webcontrol/WebControl.py" \ - -e "s|/usr/bin/env python|/usr/bin/env %{python}|" -%endif - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -# Specific path for RHEL4 -if [ -d /usr/X11R6 ]; then - export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -# Warning: GCC visibility causes FTBFS [Bug #1285] -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_NO_BUILTIN_CHRPATH=ON \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DCONFIG_INSTALL_DIR="%{tde_confdir}" \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - \ - %{?with_libvisual:-DWITH_LIBVISUAL=ON} \ - -DWITH_KONQSIDEBAR=ON \ - %{?with_xine:-DWITH_XINE=ON} %{?!with_xine:-DWITH_XINE=OFF}\ - %{?with_yauap:-DWITH_YAUAP=ON} \ - -DWITH_AKODE=OFF \ - %{?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_daap:-DWITH_DAAP=OFF} \ - %{?with_mp4v2:-DWITH_MP4V2=ON} \ - %{?with_inotify:-DWITH_INOTIFY=ON} \ - -DWITH_SYSTEM_SQLITE=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 %{tde_pkg} - -# 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 diff --git a/redhat/applications/basket/basket.spec b/redhat/applications/basket/basket.spec deleted file mode 100644 index 2f66f7f8f..000000000 --- a/redhat/applications/basket/basket.spec +++ /dev/null @@ -1,192 +0,0 @@ -# -# spec file for package basket (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg basket -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_confdir %{_sysconfdir}/trinity -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 1.0.3.1 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Taking care of your ideas -Group: Applications/Utilities -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: trinity-tdepim-devel >= %{tde_version} -BuildRequires: trinity-kontact-devel >= %{tde_version} - -BuildRequires: desktop-file-utils -BuildRequires: gpgme-devel - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: libtool - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - - -%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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INCLUDE_PATH="%{tde_tdeincludedir}" \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCONFIG_INSTALL_DIR="%{tde_confdir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - \ - -DBUILD_ALL=ON \ - -DWITH_ALL_OPTIONS="ON" \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%find_lang %{tde_pkg} - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file -G "Extended Clipboard" "%{?buildroot}%{tde_tdeappdir}/%{tde_pkg}.desktop" DesktopUtility -%endif - -# Apps that should stay in TDE -echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/%{tde_pkg}.desktop" - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/basket -%{tde_tdeappdir}/basket.desktop -%{tde_datadir}/apps/basket/ -%dir %{tde_datadir}/apps/kontact/ksettingsdialog -%{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 -%config(noreplace) %{tde_confdir}/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_general.desktop -%{tde_datadir}/services/basket_config_new_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_tdedocdir}/HTML/en/basket/ -%config(noreplace) %{tde_confdir}/magic/basket.magic.mgc -%{tde_mandir}/man1/basket.* - - -%changelog diff --git a/redhat/applications/bibletime/bibletime.spec b/redhat/applications/bibletime/bibletime.spec deleted file mode 100644 index 4ecd291ea..000000000 --- a/redhat/applications/bibletime/bibletime.spec +++ /dev/null @@ -1,180 +0,0 @@ -# -# spec file for package bibletime (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# Required for PCLinuxOS: removes the ldflag '--no-undefined' -%if 0%{?pclinuxos} -%define _disable_ld_no_undefined 1 -%endif - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg bibletime -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 1.6.6.0 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: A bible study tool for Trinity -Group: Applications/Utilities -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} - -BuildRequires: autoconf automake libtool m4 -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: libtool -BuildRequires: desktop-file-utils -BuildRequires: gettext - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -# BOOST support -BuildRequires: boost-devel - -# Requires: clucene -%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 6 -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 TDE 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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -%if 0%{?fedora} >= 31 || 0%{?rhel} >= 8 -CXXFLAGS="${RPM_OPT_FLAGS} -std=c++11" -%endif - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --enable-final \ - --enable-closure \ - --enable-rpath \ - --disable-gcc-hidden-visibility - -# Not SMP safe ! -%__make -C bibletime/frontend - -# SMP safe ! -%__make %{?_smp_mflags} || %__make - - -%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 - -echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_datadir}/applications/bibletime.desktop" - - -%clean -%__rm -rf %{buildroot} - - -%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 diff --git a/redhat/applications/codeine/codeine.spec b/redhat/applications/codeine/codeine.spec deleted file mode 100644 index 3207527cf..000000000 --- a/redhat/applications/codeine/codeine.spec +++ /dev/null @@ -1,168 +0,0 @@ -# -# spec file for package kaffeine (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg codeine -%define tde_prefix /opt/trinity -%define tde_appdir %{tde_datadir}/applications -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 1.0.1 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Simple TDE video player -Group: Applications/Multimedia -URL: http://kaffeine.sourceforge.net/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: gettext - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -# XINE support -%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} || 0%{?rhel} || 0%{?suse_version} -%define with_xine 1 -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} -BuildRequires: %{_lib}xine1.2-devel -%endif -%if 0%{?fedora} || 0%{?rhel} -BuildRequires: xine-lib-devel -%endif -%if 0%{?suse_version} -BuildRequires: libxine-devel -%endif -%endif - - -%description -A video player with a different philosophy: simple, uncluttered interface - -Features: -- Plays DVDs, VCDs, all video formats supported by Xine -- Bundled with a simple web-page KPart -- Starts quickly - - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - \ - -DBUILD_ALL=ON \ - -DWITH_ALL_OPTIONS=ON \ - \ - .. - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - - -%clean -rm -rf $RPM_BUILD_ROOT - - -%files -%defattr(-,root,root,-) -%doc COPYING FAQ README.md TODO -%{tde_bindir}/codeine -%{tde_tdeappdir}/codeine.desktop -%{tde_datadir}/apps/codeine/ -%{tde_datadir}/apps/konqueror/servicemenus/codeine_play_dvd.desktop -%{tde_tdedocdir}/HTML/en/codeine/ -%{tde_datadir}/icons/hicolor/*/apps/codeine.png -%{tde_mandir}/man1/codeine.1* -%{tde_datadir}/services/codeine_part.desktop -%{tde_tdelibdir}/libcodeine.la -%{tde_tdelibdir}/libcodeine.so - - -%changelog diff --git a/redhat/applications/dolphin/dolphin.spec b/redhat/applications/dolphin/dolphin.spec deleted file mode 100644 index 09b73918d..000000000 --- a/redhat/applications/dolphin/dolphin.spec +++ /dev/null @@ -1,182 +0,0 @@ -# -# spec file for package dolphin (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg dolphin -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.9.2 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: File manager for TDE focusing on usability -Group: Applications/Utilities -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: gettext - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: libtool - -# ACL support -BuildRequires: libacl-devel - -# IDN support -BuildRequires: libidn-devel - -# OPENSSL support -BuildRequires: openssl-devel - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - - -%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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -# 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 - -# Locales -%find_lang d3lphin - - -%clean -%__rm -rf %{buildroot} - - -%post -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 - - -%files -f d3lphin.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING TODO -%{tde_bindir}/d3lphin -%{tde_tdeappdir}/d3lphin.desktop -%{tde_datadir}/apps/d3lphin/ -%{tde_datadir}/icons/hicolor/*/apps/d3lphin.png -%{tde_mandir}/man1/*.1* -%lang(en) %{tde_tdedocdir}/HTML/en/d3lphin/ - - -%changelog diff --git a/redhat/applications/filelight-l10n/filelight-l10n.spec b/redhat/applications/filelight-l10n/filelight-l10n.spec deleted file mode 100644 index 1525e5eb3..000000000 --- a/redhat/applications/filelight-l10n/filelight-l10n.spec +++ /dev/null @@ -1,112 +0,0 @@ -# Default version for this component -%define kdecomp filelight-l10n - -%define debug_package %{nil} - - -# TDE 3.5.13 specific building variables -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_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} - -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: 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/"*"/ltmain.sh" "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 diff --git a/redhat/applications/filelight/filelight.spec b/redhat/applications/filelight/filelight.spec deleted file mode 100644 index cd454fbdf..000000000 --- a/redhat/applications/filelight/filelight.spec +++ /dev/null @@ -1,189 +0,0 @@ -# -# spec file for package filelight (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg filelight -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_confdir %{_sysconfdir}/trinity -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 1.0 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Graphical disk usage display -Group: Applications/Utilities -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig - -# IDN support -BuildRequires: libidn-devel - -# GAMIN support -# Not on openSUSE. -%if ( 0%{?rhel} && 0%{?rhel} <= 8 ) || ( 0%{?fedora} && 0%{?fedora} <= 33 ) || 0%{?mgaversion} || 0%{?mdkversion} -%define with_gamin 1 -BuildRequires: gamin-devel -%endif - -# OPENSSL support -BuildRequires: openssl-devel - -# ACL support -BuildRequires: libacl-devel - -# ATTR support -BuildRequires: libattr-devel - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -Obsoletes: filelight-l10n < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: filelight-l10n = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -Filelight creates a complex, but data-rich graphical representation of the files and -directories on your computer. - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_NO_BUILTIN_CHRPATH=ON \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DCMAKE_PROGRAM_PATH="%{tde_bindir}" \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DCONFIG_INSTALL_DIR="%{tde_confdir}" \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - \ - -DBUILD_ALL="ON" \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{?buildroot} -C build - -%find_lang %{tde_pkg} - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/filelight.desktop FileManager -%endif - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.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 -%config(noreplace) %{tde_confdir}/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/ -%{tde_mandir}/man1/filelight.1* - - -%changelog diff --git a/redhat/applications/fusion-icon/fusion-icon.spec b/redhat/applications/fusion-icon/fusion-icon.spec deleted file mode 100644 index e3f8bf5cb..000000000 --- a/redhat/applications/fusion-icon/fusion-icon.spec +++ /dev/null @@ -1,110 +0,0 @@ -# Default version for this component -%define tde_pkg fusion-icon -%define tde_version 14.1.0 - -%if "%{?python2_sitelib}" == "" -%define python2_sitelib %(python2 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())") -%endif - - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tde_pkg} -Summary: tray icon to launch and manage Compiz Fusion [Trinity] -Version: 0.0.0+git20071028 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} - -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}-%{tde_version}%{?preversion:~%{preversion}}.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 %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -. /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 diff --git a/redhat/applications/gtk-qt-engine/gtk-qt-engine.spec b/redhat/applications/gtk-qt-engine/gtk-qt-engine.spec deleted file mode 100644 index 7d9db849a..000000000 --- a/redhat/applications/gtk-qt-engine/gtk-qt-engine.spec +++ /dev/null @@ -1,181 +0,0 @@ -# -# spec file for package gtk-qt-engine (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg gtk-qt-engine -%define tde_prefix /opt/trinity -%define tde_appdir %{tde_datadir}/applications -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.8 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Theme engine using Qt for GTK+ 2.x and Trinity -Group: Applications/Utilities -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: gettext -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: libtool - -# GTK2 support -%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} -BuildRequires: gtk2-devel -%endif -%if 0%{?mgaversion} >= 5 -BuildRequires: %{_lib}gtk+2.0-devel -%endif -%if 0%{?mdkversion} -%if 0%{?pclinuxos} -BuildRequires: %{_lib}gtk+2.0_0-devel -%else -BuildRequires: gtk+2.0-devel -%endif -%endif - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - - -%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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -# Warning: GCC visibility causes the KCM not to work at all ! -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DDATA_INSTALL_DIR=%{tde_datadir}/apps \ - -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 %{tde_pkg} - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING TODO -%{tde_tdelibdir}/kcm_kcmgtk.la -%{tde_tdelibdir}/kcm_kcmgtk.so -%{tde_tdeappdir}/kcmgtk.desktop -%{tde_tdedocdir}/HTML/en/kcontrol/gtk/ - -# The following files are outside TDE's directory -%dir %{_libdir}/gtk-2.0 -%dir %{_libdir}/gtk-2.0/2.10.0 -%dir %{_libdir}/gtk-2.0/2.10.0/engines -%{_libdir}/gtk-2.0/2.10.0/engines/libqtengine.la -%{_libdir}/gtk-2.0/2.10.0/engines/libqtengine.so -%dir %{_datadir}/themes -%dir %{_datadir}/themes/Qt -%dir %{_datadir}/themes/Qt/gtk-2.0 -%{_datadir}/themes/Qt/gtk-2.0/gtkrc - - -%changelog diff --git a/redhat/applications/gtk3-tqt-engine/gtk3-tqt-engine.spec b/redhat/applications/gtk3-tqt-engine/gtk3-tqt-engine.spec deleted file mode 100644 index e4100aaca..000000000 --- a/redhat/applications/gtk3-tqt-engine/gtk3-tqt-engine.spec +++ /dev/null @@ -1,173 +0,0 @@ -# -# spec file for package gtk3-tqt-engine (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg gtk3-tqt-engine -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.5 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: GTK3 theme engine for TDE -Group: Applications/Utilities -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: gettext - -BuildRequires: autoconf automake libtool m4 -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: libtool - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 7 -BuildRequires: gtk3-devel -%else -BuildRequires: gtk+3.0-devel -%endif - -%description -GTK3 style engine which uses the active TDE style to draw its widgets - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} -%if "%_lib" == "lib64" -%__sed -i "tdegtk/Makefile.am" -e "s|/lib/|/lib64/|g" -%endif - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" - -if [ -d "/usr/include/atk-1.0" ]; then - extra_includes="%{_includedir}/atk-1.0:${extra_includes}" -fi -if [ -d "/usr/include/gdk-pixbuf-2.0" ]; then - extra_includes="%{_includedir}/gdk-pixbuf-2.0:${extra_includes}" -fi -if [ -d "/usr/include/gtk-3.0" ]; then - extra_includes="%{_includedir}/gtk-3.0:${extra_includes}" -fi -if [ -d "/usr/include/pango-1.0" ]; then - extra_includes="%{_includedir}/pango-1.0:${extra_includes}" -fi - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --docdir=%{tde_tdedocdir} \ - --libdir=%{tde_libdir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --enable-final \ - --enable-closure \ - --enable-rpath \ - --disable-gcc-hidden-visibility \ - \ - --with-extra-includes=${extra_includes} - -%__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_libdir}/libtqtcairo.la -%{tde_libdir}/libtqtcairo.so -%{tde_libdir}/libtqtcairo.so.0 -%{tde_libdir}/libtqtcairo.so.0.0.0 -%{_libdir}/gtk-3.0/3.0.0/theming-engines/libtdegtk.la -%{_libdir}/gtk-3.0/3.0.0/theming-engines/libtdegtk.so -%{_libdir}/gtk-3.0/3.0.0/theming-engines/libtdegtk.so.0 -%{_libdir}/gtk-3.0/3.0.0/theming-engines/libtdegtk.so.0.0.0 -%dir %{_datadir}/themes/tdegtk -%dir %{_datadir}/themes/tdegtk/gtk-3.0 -%{_datadir}/themes/tdegtk/gtk-3.0/gtk.css - - -%changelog diff --git a/redhat/applications/internet/kasablanca/kasablanca.spec b/redhat/applications/internet/kasablanca/kasablanca.spec new file mode 100644 index 000000000..a9c342fcd --- /dev/null +++ b/redhat/applications/internet/kasablanca/kasablanca.spec @@ -0,0 +1,190 @@ +# +# spec file for package kasablanca (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg kasablanca +%define tde_prefix /opt/trinity +%define tde_appdir %{tde_datadir}/applications +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.4.0.2 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Graphical FTP client for Trinity +Group: Applications/Internet +Url: http://kasablanca.berlios.de/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: gettext + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +# ACL support +BuildRequires: libacl-devel + +# IDN support +BuildRequires: libidn-devel + +# OPENSSL support +BuildRequires: openssl-devel + +# UTEMPTER support +%if 0%{?suse_version} +BuildRequires: utempter-devel +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}utempter-devel +%endif +%if 0%{?rhel} || 0%{?fedora} +%if 0%{?rhel} == 4 +%else +BuildRequires: libutempter-devel +%endif +%endif + +%description +Kasablanca is an ftp client, among its features are currently: +* ftps encryption via AUTH TLS +* fxp (direct server to server transfer), supporting alternative mode. +* advanced bookmarking system. +* fast responsive multithreaded engine. +* concurrent connections to multiple hosts. +* interactive transfer queue, movable by drag and drop. +* small nifty features, like a skiplist. + + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf $RPM_BUILD_ROOT +%__make install DESTDIR=$RPM_BUILD_ROOT -C build + +# locale's +%find_lang %{tde_pkg} + +# Fix desktop files (openSUSE only) +%if 0%{?suse_version} +%suse_update_desktop_file kasablanca Network FileTransfer +%endif + + +%clean +%__rm -rf $RPM_BUILD_ROOT + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING README.md +%{tde_bindir}/kasablanca +%{tde_datadir}/apps/kasablanca/ +%{tde_datadir}/config.kcfg/kbconfig.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kasablanca.png +%{tde_tdedocdir}/HTML/en/kasablanca/ +%{tde_tdeappdir}/kasablanca.desktop +%{tde_mandir}/man1/kasablanca.* + + +%changelog diff --git a/redhat/applications/internet/kbiff/kbiff.spec b/redhat/applications/internet/kbiff/kbiff.spec new file mode 100644 index 000000000..8cca38c4f --- /dev/null +++ b/redhat/applications/internet/kbiff/kbiff.spec @@ -0,0 +1,180 @@ +# +# spec file for package kbiff (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg kbiff +%define tde_prefix /opt/trinity +%define tde_appdir %{tde_datadir}/applications +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 3.9 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: TDE mail notification utility +Group: Applications/Internet +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: tqt3-compat-headers >= 3.5.0 +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} + +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig + +# ACL support +BuildRequires: libacl-devel + +# IDN support +BuildRequires: libidn-devel + +# OPENSSL support +BuildRequires: openssl-devel + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + + +%description +Kbiff is a "xbiff"-like mail notification utility. It has multiple pixmaps, +session management, and GUI configuration. It can "dock" into the TDE panel. +It can display animated gifs, play system sounds, or run arbitrary shell +command when new mail arrives. It supports mbox, maildir, mh, POP3, IMAP4, and +NNTP mailboxes. + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +%__rm -rf $RPM_BUILD_ROOT +%__make install DESTDIR=$RPM_BUILD_ROOT -C build + +%find_lang %{tde_pkg} + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/kbiff.desktop" +%suse_update_desktop_file "%{?buildroot}%{tde_tdeappdir}/kbiff.desktop" Applet +%endif + + +%clean +%__rm -rf $RPM_BUILD_ROOT + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING README.md ChangeLog +%{tde_bindir}/kbiff +%{tde_libdir}/libtdeinit_kbiff.la +%{tde_libdir}/libtdeinit_kbiff.so +%{tde_tdelibdir}/kbiff.la +%{tde_tdelibdir}/kbiff.so +%{tde_tdeappdir}/kbiff.desktop +%{tde_datadir}/apps/kbiff/ +%{tde_datadir}/icons/hicolor/*/apps/kbiff.png +%{tde_datadir}/icons/locolor/*/apps/kbiff.png +%{tde_mandir}/man1/kbiff.1* +%lang(de) %{tde_tdedocdir}/HTML/de/kbiff/ +%lang(en) %{tde_tdedocdir}/HTML/en/kbiff/ +%lang(es) %{tde_tdedocdir}/HTML/es/kbiff/ +%lang(fr) %{tde_tdedocdir}/HTML/fr/kbiff/ + + +%changelog diff --git a/redhat/applications/internet/kftpgrabber/kftpgrabber.spec b/redhat/applications/internet/kftpgrabber/kftpgrabber.spec new file mode 100644 index 000000000..1757ef3a0 --- /dev/null +++ b/redhat/applications/internet/kftpgrabber/kftpgrabber.spec @@ -0,0 +1,203 @@ +# +# spec file for package kftprgrabber (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg kftpgrabber +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.8.1 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: A FTP client for TDE +Group: Applications/Internet +URL: http://www.kftp.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +# OPENSSL support +BuildRequires: openssl-devel + + +%description +KFTPgrabber is a graphical FTP client for the Trinity Desktop Environment. It +implements many features required for usable FTP interaction. + +Feature list: +- Multiple simultaneous FTP sessions in separate tabs +- A tree-oriented transfer queue +- TLS/SSL support for the control connection and the data channel +- X509 certificate support for authentication +- FXP site-to-site transfer support +- One-time password (OTP) support using S/KEY, MD5, RMD160 or SHA1 +- Site bookmarks with many options configurable per-site +- Distributed FTP daemon support (implementing the PRET command) +- Can use Zeroconf for local site discovery +- Bookmark import plugins from other FTP clients +- Support for the SFTP protocol +- A nice traffic graph +- Ability to limit upload and download speed +- Priority and skip lists +- Integrated SFV checksum verifier +- Direct viewing/editing of remote files +- Advanced default "on file exists" action configuration +- Filter displayed files/directories as you type + + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +%{summary} + + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTDIR +export PATH="%{tde_bindir}:${PATH}" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DBUILD_ALL=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +%__rm -rf $RPM_BUILD_ROOT +%__make install DESTDIR=$RPM_BUILD_ROOT -C build + +%find_lang %{tde_pkg} + + +%clean +%__rm -rf $RPM_BUILD_ROOT + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING README.md ChangeLog +%{tde_bindir}/kftpgrabber +%{tde_libdir}/libkftpinterfaces.so.0 +%{tde_libdir}/libkftpinterfaces.so.0.0.0 +%{tde_tdelibdir}/kftpimportplugin_filezilla3.la +%{tde_tdelibdir}/kftpimportplugin_filezilla3.so +%{tde_tdelibdir}/kftpimportplugin_gftp.la +%{tde_tdelibdir}/kftpimportplugin_gftp.so +%{tde_tdelibdir}/kftpimportplugin_kftp.la +%{tde_tdelibdir}/kftpimportplugin_kftp.so +%{tde_tdelibdir}/kftpimportplugin_ncftp.la +%{tde_tdelibdir}/kftpimportplugin_ncftp.so +%{tde_tdeappdir}/kftpgrabber.desktop +%{tde_datadir}/apps/kftpgrabber/ +%{tde_datadir}/config.kcfg/kftpgrabber.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kftpgrabber.png +%{tde_datadir}/services/kftpimportplugin_filezilla3.desktop +%{tde_datadir}/services/kftpimportplugin_gftp.desktop +%{tde_datadir}/services/kftpimportplugin_kftp.desktop +%{tde_datadir}/services/kftpimportplugin_ncftp.desktop +%{tde_datadir}/servicetypes/kftpbookmarkimportplugin.desktop +%{tde_tdedocdir}/HTML/en/kftpgrabber/ +%{tde_mandir}/man1/kftpgrabber.1* + + +%files devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/kftpgrabber/ +%{tde_libdir}/libkftpinterfaces.la +%{tde_libdir}/libkftpinterfaces.so + + +%changelog diff --git a/redhat/applications/internet/knmap/knmap.spec b/redhat/applications/internet/knmap/knmap.spec new file mode 100644 index 000000000..4b9b3b822 --- /dev/null +++ b/redhat/applications/internet/knmap/knmap.spec @@ -0,0 +1,206 @@ +# +# spec file for package knmap (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg knmap +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 2.1 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: An NMAP frontend for TDE +Group: Applications/Internet +URL: http://sourceforge.net/projects/knmap/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: libtool + +# ACL support +BuildRequires: libacl-devel + +# IDN support +BuildRequires: libidn-devel + +# OPENSSL support +BuildRequires: openssl-devel + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +# NMAP support +Requires: nmap + + +%description +Knmap is a TDE-based interface to the 'nmap' facility. + +The main Knmap window provides for the entry of nmap options and the +display of nmap-generated output. + +This program is a complete re-write of one by the same name written by +Alexandre Sagala. The last version of that program was 0.9 which was +released on 2003-03-09 and targeted the KDE 2.2 and QT 2.3 environments. + +Not to mention that it did not cater for the full set of 'nmap' options. +Or, perhaps, 'nmap' progressed whilst that version of Knmap languished. + +http://www.kde-apps.org/content/show.php?content=31108 + + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +%__rm -rf $RPM_BUILD_ROOT +%__make install DESTDIR=$RPM_BUILD_ROOT -C build + +%find_lang %{tde_pkg} + +# Move desktop icon to XDG directory +if [ -d "%{buildroot}%{tde_datadir}/applnk" ]; then + %__mkdir_p %{buildroot}%{tde_tdeappdir} + %__mv "%{buildroot}%{tde_datadir}/applnk/"*"/%{tde_pkg}.desktop" "%{buildroot}%{tde_tdeappdir}/%{tde_pkg}.desktop" + %__rm -r "%{buildroot}%{tde_datadir}/applnk" +fi + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file -r %{tde_pkg} TDE System Network +%endif + + +%clean +%__rm -rf $RPM_BUILD_ROOT + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING README.md ChangeLog +%{tde_bindir}/knmap +%{tde_tdeappdir}/knmap.desktop +%{tde_datadir}/apps/knmap/ +%{tde_tdedocdir}/HTML/en/knmap/ +%{tde_datadir}/icons/hicolor/*/apps/knmap.png +%{tde_datadir}/icons/hicolor/*/apps/knmapman.png +%{tde_datadir}/icons/hicolor/*/apps/localman.png +%{tde_datadir}/icons/hicolor/*/apps/manpage.png +%{tde_datadir}/icons/hicolor/*/apps/manstylesheet.png +%{tde_datadir}/icons/hicolor/*/apps/profilecopy.png +%{tde_datadir}/icons/hicolor/*/apps/profiledelete.png +%{tde_datadir}/icons/hicolor/*/apps/profileload.png +%{tde_datadir}/icons/hicolor/*/apps/profilerename.png +%{tde_datadir}/icons/hicolor/*/apps/profilesave.png +%{tde_datadir}/icons/hicolor/*/apps/profilesaveas.png +%{tde_datadir}/icons/hicolor/*/apps/scanclose.png +%{tde_datadir}/icons/hicolor/*/apps/scanduplicate.png +%{tde_datadir}/icons/hicolor/*/apps/scannew.png +%{tde_datadir}/icons/hicolor/*/apps/scanrename.png +%{tde_datadir}/icons/hicolor/*/apps/zoomcustom.png +%{tde_datadir}/icons/hicolor/*/apps/zoomin.png +%{tde_datadir}/icons/hicolor/*/apps/zoomout.png +%{tde_mandir}/man1/*.1* + + +%changelog diff --git a/redhat/applications/internet/konversation/konversation.spec b/redhat/applications/internet/konversation/konversation.spec new file mode 100644 index 000000000..3b3a11a75 --- /dev/null +++ b/redhat/applications/internet/konversation/konversation.spec @@ -0,0 +1,285 @@ +# +# spec file for package konversation (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg konversation +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 1.1 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: User friendly Internet Relay Chat (IRC) client for TDE +Group: Applications/Utilities +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig + +# ACL support +BuildRequires: libacl-devel + +# IDN support +BuildRequires: libidn-devel + +# OPENSSL support +BuildRequires: openssl-devel + +# PYTHON support +%if 0%{?sle_version} >= 150400 || 0%{?rhel} >= 9 +%define with_python 0 +%global __python %__python3 +%else +%define with_python 1 +%if 0%{?rhel} == 8 || 0%{?fedora} >= 31 || 0%{?suse_version} >= 1500 || 0%{?mgaversion} >= 8 +%global python python2 +%global __python %__python2 +%global python_sitearch %{python2_sitearch} +%else +%global python python +%endif +%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} +BuildRequires: %{python} +BuildRequires: %{python}-devel +%endif + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +# XSLT support +BuildRequires: libxslt-devel +%if 0%{?suse_version} +BuildRequires: docbook-xsl-stylesheets +%else +BuildRequires: docbook-style-xsl +%endif + +# LIBXI support +%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 + +# XSCREENSAVER support +# RHEL 4: disabled +# RHEL 5: available in centos-extras +# RHEL 6: available in EPEL +# RHEL 7: available in NUX +# RHEL 8: available in EPEL +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || ( 0%{?rhel} >= 5 && 0%{?rhel} <= 8 ) || 0%{?suse_version} +%define with_xscreensaver 1 + +%if 0%{?fedora} || 0%{?rhel} >= 5 +BuildRequires: libXScrnSaver-devel +BuildRequires: xscreensaver +BuildRequires: xscreensaver-base +BuildRequires: xscreensaver-extras +%if 0%{?fedora} +BuildRequires: xscreensaver-extras-base +%endif +BuildRequires: xscreensaver-gl-base +BuildRequires: xscreensaver-gl-extras +%endif + +%if 0%{?suse_version} +BuildRequires: libXScrnSaver-devel +BuildRequires: xscreensaver +BuildRequires: xscreensaver-data +BuildRequires: xscreensaver-data-extra +%endif + +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?mgaversion} >= 4 +BuildRequires: %{_lib}xscrnsaver-devel +%else +BuildRequires: %{_lib}xscrnsaver%{?mgaversion:1}-devel +%endif +BuildRequires: xscreensaver +BuildRequires: xscreensaver-base +%if 0%{?pclinuxos} == 0 +BuildRequires: xscreensaver-extrusion +%endif +BuildRequires: xscreensaver-gl +%endif +%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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + +%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8 || 0%{?mgaversion} >= 8 +%__sed -i "konversation/scripts/media" \ + "konversation/scripts/weather" \ + -e "s|/usr/bin/env python|/usr/bin/env %{python}|" +%endif + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%find_lang %{tde_pkg} + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/konversation +%{tde_tdeappdir}/konversation.desktop +%{tde_datadir}/apps/tdeconf_update/konversation-0.19-appearance.pl +%{tde_datadir}/apps/tdeconf_update/konversation-0.19-colorcodes.pl +%{tde_datadir}/apps/tdeconf_update/konversation-0.19-colors.pl +%{tde_datadir}/apps/tdeconf_update/konversation-0.19-custombrowser.pl +%{tde_datadir}/apps/tdeconf_update/konversation-0.19-notifylists.pl +%{tde_datadir}/apps/tdeconf_update/konversation-0.19-sortorder.pl +%{tde_datadir}/apps/tdeconf_update/konversation-0.19-tabplacement.pl +%{tde_datadir}/apps/tdeconf_update/konversation-0.20-customfonts.pl +%{tde_datadir}/apps/tdeconf_update/konversation-0.20-quickbuttons.pl +%{tde_datadir}/apps/tdeconf_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/tdeimproxyaway.png +%{tde_datadir}/icons/crystalsvg/*/actions/tdeimproxyoffline.png +%{tde_datadir}/icons/crystalsvg/*/actions/tdeimproxyonline.png +%{tde_datadir}/icons/crystalsvg/*/actions/char.png +%{tde_datadir}/icons/crystalsvg/*/actions/konv_message.png +%{tde_datadir}/icons/crystalsvg/scalable/actions/tdeimproxyaway.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/tdeimproxyoffline.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/tdeimproxyonline.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 diff --git a/redhat/applications/internet/kopete-otr/kopete-otr.spec b/redhat/applications/internet/kopete-otr/kopete-otr.spec new file mode 100644 index 000000000..90d3bf659 --- /dev/null +++ b/redhat/applications/internet/kopete-otr/kopete-otr.spec @@ -0,0 +1,176 @@ +# +# spec file for package kopete-otr (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg kopete-otr +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +# Required for Mageia 6: removes the ldflag '--no-undefined' +%if 0%{?mgaversion} >= 6 || 0%{?pclinuxos} >= 2018 +%define _disable_ld_no_undefined 1 +%endif + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.7 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Off-The-Record encryption for Kopete [Trinity] +Group: Applications/Utilities +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils +BuildRequires: trinity-tdenetwork-devel >= %{tde_version} + +# Kopete is provided by tdenetwork +Requires: trinity-kopete >= %{tde_version} + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +# OTR support +BuildRequires: libotr-devel + + +%description +This plugin enables Off-The-Record encryption for the TDE instant +messenger Kopete. Using this plugin you can encrypt chatsessions to other +users with IM-Cients supporting the OTR encryption method. + + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_NO_BUILTIN_CHRPATH=ON \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DCMAKE_LIBRARY_PATH=%{tde_libdir} \ + -DKOPETE_INCLUDE_DIR=%{tde_tdeincludedir}/kopete \ + \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + \ + -DBUILD_ALL=ON \ + -DWITH_ALL_OPTIONS=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +# Unwanted files +%__rm -f %{?buildroot}%{tde_libdir}/libkotr.so + +%find_lang kopete_otr + + +%clean +%__rm -rf %{buildroot} + + +%files -f kopete_otr.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING README.md +%{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/tdeconfiguredialog/kopete_otr_config.desktop +%{tde_datadir}/services/kopete_otr.desktop + + +%changelog diff --git a/redhat/applications/internet/kshowmail/kshowmail.spec b/redhat/applications/internet/kshowmail/kshowmail.spec new file mode 100644 index 000000000..74044fd96 --- /dev/null +++ b/redhat/applications/internet/kshowmail/kshowmail.spec @@ -0,0 +1,202 @@ +# +# spec file for package kshowmail (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg kshowmail +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 3.3.1 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Look messages into your mail server +Group: Applications/Internet +URL: http://sourceforge.net/projects/kshowmail/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils +BuildRequires: trinity-tdepim-devel >= %{tde_version} + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: fdupes + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +# ACL support +BuildRequires: libacl-devel + +# IDN support +BuildRequires: libidn-devel + +# OPENSSL support +BuildRequires: openssl-devel + + +%description +Very simply kshowmail is a program that allows you to look in on your mail server, +see what is waiting, decide if it is legitimate, and delete it right off of the server if it is not. +All without dragging any messages into your computer. + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INCLUDE_PATH="%{tde_tdeincludedir}" \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +%__rm -rf $RPM_BUILD_ROOT +%__make install DESTDIR=$RPM_BUILD_ROOT -C build + +%find_lang %{tde_pkg} + +# Install missing icons +install -D -m 644 "pics/cr16-app-kshowmail.png" "$RPM_BUILD_ROOT%{tde_datadir}/icons/hicolor/16x16/apps/kshowmail.png" +install -D -m 644 "pics/kshowmail.png" "$RPM_BUILD_ROOT%{tde_datadir}/icons/hicolor/48x48/apps/kshowmail.png" + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file kshowmail Network Email +%endif + + +%clean +%__rm -rf $RPM_BUILD_ROOT + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING README.md ChangeLog +%{tde_bindir}/kshowmail +%{tde_tdelibdir}/kcm_kshowmailconfigaccounts.la +%{tde_tdelibdir}/kcm_kshowmailconfigaccounts.so +%{tde_tdelibdir}/kcm_kshowmailconfigactions.la +%{tde_tdelibdir}/kcm_kshowmailconfigactions.so +%{tde_tdelibdir}/kcm_kshowmailconfigdisplay.la +%{tde_tdelibdir}/kcm_kshowmailconfigdisplay.so +%{tde_tdelibdir}/kcm_kshowmailconfigfilter.la +%{tde_tdelibdir}/kcm_kshowmailconfigfilter.so +%{tde_tdelibdir}/kcm_kshowmailconfiggeneral.la +%{tde_tdelibdir}/kcm_kshowmailconfiggeneral.so +%{tde_tdelibdir}/kcm_kshowmailconfiglog.la +%{tde_tdelibdir}/kcm_kshowmailconfiglog.so +%{tde_tdelibdir}/kcm_kshowmailconfigspamcheck.la +%{tde_tdelibdir}/kcm_kshowmailconfigspamcheck.so +%{tde_tdeappdir}/kshowmail.desktop +%{tde_datadir}/apps/kshowmail/ +%{tde_datadir}/icons/crystalsvg/16x16/apps/kshowmail.png +%{tde_datadir}/icons/hicolor/*/apps/kshowmail.png +%{tde_datadir}/services/kshowmailconfigaccounts.desktop +%{tde_datadir}/services/kshowmailconfigactions.desktop +%{tde_datadir}/services/kshowmailconfigdisplay.desktop +%{tde_datadir}/services/kshowmailconfigfilter.desktop +%{tde_datadir}/services/kshowmailconfiggeneral.desktop +%{tde_datadir}/services/kshowmailconfiglog.desktop +%{tde_datadir}/services/kshowmailconfigspamcheck.desktop +%lang(cs) %{tde_tdedocdir}/HTML/cs/kshowmail/ +%lang(de) %{tde_tdedocdir}/HTML/de/kshowmail/ +%lang(en) %{tde_tdedocdir}/HTML/en/kshowmail/ +%lang(es) %{tde_tdedocdir}/HTML/es/kshowmail/ +%lang(fr) %{tde_tdedocdir}/HTML/fr/kshowmail/ +%lang(hu) %{tde_tdedocdir}/HTML/hu/kshowmail/ +%lang(it) %{tde_tdedocdir}/HTML/it/kshowmail/ +%lang(ru) %{tde_tdedocdir}/HTML/ru/kshowmail/ +%lang(sv) %{tde_tdedocdir}/HTML/sv/kshowmail/ +%{tde_mandir}/man1/kshowmail.* + + +%changelog diff --git a/redhat/applications/internet/kstreamripper/kstreamripper.spec b/redhat/applications/internet/kstreamripper/kstreamripper.spec new file mode 100644 index 000000000..b7bd141c4 --- /dev/null +++ b/redhat/applications/internet/kstreamripper/kstreamripper.spec @@ -0,0 +1,167 @@ +# +# spec file for package kstreamripper (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg kstreamripper +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.3.4 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: TDE frontend for streamripper +Group: Applications/Utilities +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: autoconf automake libtool m4 +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: fdupes + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +BuildRequires: trinity-cmake >= %{tde_version} + + +%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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + -DPLUGIN_INSTALL_DIR="%{tde_tdelibdir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + -DWITH_NVCONTROL=OFF \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + \ + .. + +%__make %{?_smp_mflags} || %__make + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +# Missing icon file will make this fail. +echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/%{tde_pkg}.desktop" + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file kstreamripper Audio Recorder +%endif + +%find_lang %{tde_pkg} + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%{tde_bindir}/kstreamripper +%{tde_tdeappdir}/kstreamripper.desktop +%{tde_datadir}/apps/kstreamripper/ +%{tde_datadir}/icons/hicolor/*/apps/kstreamripper.png +%{tde_tdedocdir}/HTML/en/kstreamripper/ +%{tde_mandir}/man*/kstreamripper.* + + +%changelog diff --git a/redhat/applications/internet/ktorrent/ktorrent.spec b/redhat/applications/internet/ktorrent/ktorrent.spec new file mode 100644 index 000000000..4cb54d155 --- /dev/null +++ b/redhat/applications/internet/ktorrent/ktorrent.spec @@ -0,0 +1,220 @@ +# +# spec file for package ktorrent (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg ktorrent +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 2.2.8 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: BitTorrent client for Trinity +Group: Applications/Utilities +URL: http://ktorrent.org + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: autoconf automake libtool m4 +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: fdupes + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +# GMP support +BuildRequires: gmp-devel + +# AVAHI support +# Disabled on RHEL4 and RHEL5 +%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version} +%define with_avahi 1 +BuildRequires: trinity-avahi-tqt-devel +Requires: trinity-avahi-tqt +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}avahi-client-devel +Requires: %{_lib}avahi-client3 +%else +BuildRequires: avahi-devel +Requires: avahi +%endif +%endif + +# GEOIP +%if 0%{?suse_version} +%if 0%{?suse_version} < 1550 +BuildRequires: libGeoIP-devel +%endif +%else +BuildRequires: geoip-devel +%endif + +%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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" + +%configure \ + --prefix="%{tde_prefix}" \ + --exec-prefix="%{tde_prefix}" \ + --bindir="%{tde_bindir}" \ + --datadir="%{tde_datadir}" \ + --libdir="%{tde_libdir}" \ + --mandir="%{tde_mandir}" \ + --includedir="%{tde_tdeincludedir}" \ + \ + --disable-dependency-tracking \ + --disable-debug \ + --enable-final \ + --enable-new-ldflags \ + --enable-closure \ + --enable-rpath \ + --disable-gcc-hidden-visibility \ + \ + %{?!with_avahi:--without-avahi} + + +# Not SMP safe ! +%__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf "%{buildroot}" +%__make install DESTDIR="%{buildroot}" + +%find_lang %{tde_pkg} + +# Unwanted files +%__rm -f "%{?buildroot}%{tde_libdir}/libktorrent.so" + + +%clean +%__rm -rf "%{buildroot}" + + +%files -f %{tde_pkg}.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 +%{tde_tdedocdir}/HTML/en/ktorrent/ + +%if 0%{?with_avahi} +%{tde_tdelibdir}/ktzeroconfplugin.la +%{tde_tdelibdir}/ktzeroconfplugin.so +%endif +%{tde_mandir}/man1/ktorrent.1* + + +%changelog diff --git a/redhat/applications/internet/kvirc/kvirc.spec b/redhat/applications/internet/kvirc/kvirc.spec new file mode 100644 index 000000000..da3af96ad --- /dev/null +++ b/redhat/applications/internet/kvirc/kvirc.spec @@ -0,0 +1,247 @@ +%if 0%{?fedora} >= 23 +%define _hardened_ldflags %nil +%endif + +# +# spec file for package kvirc (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg kvirc +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 3.4.0 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Trinity based next generation IRC client with module support +Group: Applications/Utilities +URL: http://kvirc.net/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: autoconf automake libtool m4 +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: fdupes + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +Requires: %{name}-data = %{?epoch:%{epoch}:}%{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 TDE widget set, can be extended +using its own scripting language, integrates with TDE, 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} = %{?epoch:%{epoch}:}%{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 TDE widget set which integrates +with the Trinity Desktop Environment version 3. + +%package devel +Group: Development/Libraries +Summary: Development files for KVIrc +Requires: %{name} = %{?epoch:%{epoch}:}%{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 TDE widget set which integrates +with the K Desktop Environment version 3. + + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + +# FTBFS on RHEL 5 +%if 0%{?rhel} == 5 +%__sed -i "admin/acinclude.m4.in" \ + -i "src/kvilib/tal/kvi_tal_application.cpp" \ + -e "/TDEApplication/ s|\")|\", true, true, true)|"; +%endif + + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +./autogen.sh + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${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-dependency-tracking \ + --disable-debug \ + --enable-wall \ + \ + --with-pic \ + \ + --with-big-channels \ + --enable-perl \ + --with-ix86-asm \ + --with-kde-services-dir=%{tde_datadir}/services \ + --with-kde-library-dir=%{tde_libdir} \ + --with-kde-include-dir=%{tde_tdeincludedir} \ + --with-qt-name=tqt \ + --with-qt-library-dir=%{_libdir} \ + --with-qt-include-dir=%{_includedir}/tqt3 \ + --with-qt-moc=%{_bindir}/tmoc + +# Symbolic links must exist prior to parallel building +%__make symlinks -C src/kvilib/build +%__make symlinks -C src/kvirc/build + +%if 0%{?mgaversion} >= 6 || 0%{?pclinuxos} >= 2018 +%__sed -i "src/modules/"*"/Makefile" -e "s|-Wl,--no-undefined||" +%endif + +%__make %{?_smp_mflags} || %__make + + +%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 + +# Move desktop file to XDG location +%__mkdir_p "%{?buildroot}%{tde_tdeappdir}" +%__mv -f "%{?buildroot}%{tde_datadir}/applnk/"*"/%{tde_pkg}.desktop" "%{?buildroot}%{tde_tdeappdir}" + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file kvirc Network IRCClient +%endif + + +%clean +%__rm -rf %{buildroot} + + +%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 +%exclude %{tde_libdir}/kvirc/*/modules/*.la +%exclude %{tde_libdir}/kvirc/*/modules/*.so +%{tde_libdir}/kvirc/ +%{tde_tdeappdir}/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 diff --git a/redhat/applications/internet/kvpnc/kvpnc.spec b/redhat/applications/internet/kvpnc/kvpnc.spec new file mode 100644 index 000000000..9377caf39 --- /dev/null +++ b/redhat/applications/internet/kvpnc/kvpnc.spec @@ -0,0 +1,178 @@ +# +# spec file for package kvpnc (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg kvpnc +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.9.6a +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Vpn clients frontend for TDE +Group: Applications/Utilities +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: fdupes + +# ACL support +BuildRequires: libacl-devel + +# IDN support +BuildRequires: libidn-devel + +# OPENSSL support +BuildRequires: openssl-devel + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +BuildRequires: libgcrypt-devel >= 1.2.0 + + +%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) + + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%find_lang %{tde_pkg} + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING README.md TODO +%{tde_bindir}/kvpnc +%{tde_tdeappdir}/kvpnc.desktop +%{tde_datadir}/apps/kvpnc/ +%lang(de) %{tde_datadir}/doc/tde/HTML/de/kvpnc/ +%lang(en) %{tde_datadir}/doc/tde/HTML/en/kvpnc/ +%lang(fr) %{tde_datadir}/doc/tde/HTML/fr/kvpnc/ +%lang(sv) %{tde_datadir}/doc/tde/HTML/sv/kvpnc/ +%{tde_datadir}/icons/hicolor/*/apps/kvpnc.png +%{tde_datadir}/icons/locolor/*/apps/kvpnc.png +%{tde_docdir}/kvpnc/ +%{tde_tdedocdir}/HTML/en/tdeioslave/pcf/ +%{tde_datadir}/services/pcf.protocol +%{tde_mandir}/man1/*.1* + + +%changelog diff --git a/redhat/applications/internet/smb4k/smb4k.spec b/redhat/applications/internet/smb4k/smb4k.spec new file mode 100644 index 000000000..8d1ee44d5 --- /dev/null +++ b/redhat/applications/internet/smb4k/smb4k.spec @@ -0,0 +1,198 @@ +# +# spec file for package smb4k (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg smb4k +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.9.4 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: A Samba (SMB) share advanced browser for Trinity +Group: Applications/Utilities +URL: http://www.trinitydesktop.org + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: autoconf automake libtool m4 +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: fdupes + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + + +%description +Smb4K is a SMB (Windows) share browser for TDE. 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 %{tde_pkg}.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}/libsmb4tdeconfigdialog.la +%{tde_tdelibdir}/libsmb4tdeconfigdialog.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/ +%{tde_datadir}/apps/smb4knetworkbrowserpart/ +%{tde_datadir}/apps/smb4ksharesiconviewpart/ +%{tde_datadir}/apps/smb4kshareslistviewpart/ +%{tde_datadir}/config.kcfg/smb4k.kcfg +%{tde_datadir}/icons/crystalsvg/*/apps/smb4k.png +%{tde_tdedocdir}/HTML/en/smb4k/ + +########## + +%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 + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --program-prefix="" \ + \ + --disable-dependency-tracking \ + --disable-debug \ + --enable-final \ + --enable-new-ldflags \ + --enable-closure \ + --enable-rpath \ + --disable-gcc-hidden-visibility + +# SMP safe ! +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{tde_pkg} + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/%{tde_pkg}.desktop" +%suse_update_desktop_file -r %{tde_pkg} System Network +%endif + +# Removes duplicate files +%fdupes -s %buildroot + + +%clean +%__rm -rf %{buildroot} + + +%changelog diff --git a/redhat/applications/internet/tork/tork.spec b/redhat/applications/internet/tork/tork.spec new file mode 100644 index 000000000..d9d1cf771 --- /dev/null +++ b/redhat/applications/internet/tork/tork.spec @@ -0,0 +1,186 @@ +# +# spec file for package tork (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg tork +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.33 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Anonymity Manager for TDE +Group: Applications/Internet +URL: sourceforge.net/projects/tolrk/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils +BuildRequires: trinity-tdepim-devel >= %{tde_version} + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: fdupes + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +# TORSOCKS support +BuildRequires: torsocks + +# OPENSSL support +BuildRequires: openssl-devel + +# GEOIP +%if 0%{?suse_version} +%if 0%{?suse_version} < 1550 +BuildRequires: libGeoIP-devel +%endif +%else +BuildRequires: geoip-devel +%endif + + +%description +TorK is an Anonymity Manager for the TDE Desktop. Browse anonymously on +Konqueror/Firefox/Opera. Send anonymous email via the MixMinion network. +Use ssh/irc/IM anonymously. Control and monitor your anonymous traffic +on the Tor network. + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + \ + -DBUILD_ALL=ON \ + -DWITH_ALL_OPTIONS=ON \ + \ + .. + +%__make %{?_smp_mflags} + + +%install +%__rm -rf $RPM_BUILD_ROOT +%__make install DESTDIR=$RPM_BUILD_ROOT -C build + +%find_lang %{tde_pkg} + + +%clean +%__rm -rf $RPM_BUILD_ROOT + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING README.md TODO USINGTORK +%{tde_bindir}/tork +%{tde_bindir}/torkarkollon +%{tde_bindir}/usewithtor +%{tde_tdelibdir}/kickermenu_tork.la +%{tde_tdelibdir}/kickermenu_tork.so +%{tde_tdelibdir}/tdehtml_tork.la +%{tde_tdelibdir}/tdehtml_tork.so +%{tde_tdelibdir}/tdeio_torioslave.la +%{tde_tdelibdir}/tdeio_torioslave.so +%{tde_tdeappdir}/tork_plug_in.desktop +%{tde_datadir}/apps/kicker/menuext/torkmenu.desktop +%{tde_datadir}/apps/tdehtml/kpartplugins/tork_plug_in.rc +%{tde_datadir}/services/torioslave.protocol +%{tde_tdeappdir}/tork.desktop +%{tde_datadir}/apps/konqueror/servicemenus/tork_downloadwithfirefox.desktop +%{tde_datadir}/apps/konqueror/servicemenus/tork_downloadwithkonqueror.desktop +%{tde_datadir}/apps/konqueror/servicemenus/tork_downloadwithopera.desktop +%{tde_datadir}/apps/tork/ +%{tde_datadir}/config.kcfg/torkconfig.kcfg +%{tde_tdedocdir}/HTML/en/tork/ +%{tde_datadir}/icons/hicolor/*/apps/tork.png +%dir %{tde_datadir}/menu +%{tde_datadir}/menu/tork +%dir %{tde_datadir}/pixmaps +%{tde_datadir}/pixmaps/tork.xpm +%{tde_mandir}/man1/tork.1* +%{tde_mandir}/man1/torkarkollon.1* + + +%changelog diff --git a/redhat/applications/k3b-i18n/k3b-i18n.spec b/redhat/applications/k3b-i18n/k3b-i18n.spec deleted file mode 100644 index 81266f348..000000000 --- a/redhat/applications/k3b-i18n/k3b-i18n.spec +++ /dev/null @@ -1,432 +0,0 @@ -# -# spec file for package k3b-i18n (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg k3b-i18n -%define tde_prefix /opt/trinity -%define tde_appdir %{tde_datadir}/applications -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 1.0.5 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Internationalization support for TDE [Trinity] -Group: Applications/Archiving -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildArch: noarch - -# Speed build options -%define debug_package %{nil} -%define __spec_install_post %{nil} -AutoReq: no - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: gettext - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig - -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 Danish -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Danish (da) translations for K3B [Trinity] - -Obsoletes: trinity-k3b-i18n-da < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-k3b-i18n-da = %{?epoch:%{epoch}:}%{version}-%{release} - -%description Danish -This package contains the Danish translations for K3B. - -%files Danish -%defattr(-,root,root,-) -%{tde_tdedocdir}/HTML/da/k3b -%{tde_datadir}/locale/da/LC_MESSAGES/*.mo - -########## - -%package German -Group: Applications/Archiving -Requires: trinity-k3b -Summary: German (de) translations for K3B [Trinity] - -Obsoletes: trinity-k3b-i18n-de < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-k3b-i18n-de = %{?epoch:%{epoch}:}%{version}-%{release} - -%description German -This package contains the German translations for K3B. - -%files German -%defattr(-,root,root,-) -%{tde_tdedocdir}/HTML/de/k3b -%{tde_datadir}/locale/de/LC_MESSAGES/*.mo - -########## - -%package Greek -Group: Applications/Archiving -Requires: trinity-k3b >= %{version} -Summary: Greek (el) translations for K3B [Trinity] - -Obsoletes: trinity-k3b-i18n-el < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-k3b-i18n-el = %{?epoch:%{epoch}:}%{version}-%{release} - -%description Greek -This package contains the greek translations for K3B. - -%files Greek -%defattr(-,root,root,-) -#%{tde_tdedocdir}/HTML/el/k3b -%{tde_datadir}/locale/el/LC_MESSAGES/*.mo - -########## - -%package Spanish -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Spanish (es) translations for K3B [Trinity] - -Obsoletes: trinity-k3b-i18n-es < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-k3b-i18n-es = %{?epoch:%{epoch}:}%{version}-%{release} - -%description Spanish -This package contains the Spanish translations for K3B. - -%files Spanish -%defattr(-,root,root,-) -%{tde_tdedocdir}/HTML/es/k3b -%{tde_datadir}/locale/es/LC_MESSAGES/*.mo - -########## - -%package Estonian -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Estonian (et) translations for K3B [Trinity] - -Obsoletes: trinity-k3b-i18n-et < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-k3b-i18n-et = %{?epoch:%{epoch}:}%{version}-%{release} - -%description Estonian -This package contains the Estonian translations for K3B. - -%files Estonian -%defattr(-,root,root,-) -%{tde_tdedocdir}/HTML/et/k3b -%{tde_datadir}/locale/et/LC_MESSAGES/*.mo - -########## - -%package French -Group: Applications/Archiving -Requires: trinity-k3b -Summary: French (fr) translations for K3B [Trinity] - -Obsoletes: trinity-k3b-i18n-fr < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-k3b-i18n-fr = %{?epoch:%{epoch}:}%{version}-%{release} - -%description French -This package contains the French translations for K3B. - -%files French -%defattr(-,root,root,-) -%{tde_tdedocdir}/HTML/fr/k3b -%{tde_datadir}/locale/fr/LC_MESSAGES/*.mo - -########## - -%package Italian -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Italian (it) translations for K3B [Trinity] - -Obsoletes: trinity-k3b-i18n-it < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-k3b-i18n-it = %{?epoch:%{epoch}:}%{version}-%{release} - -%description Italian -This package contains the Italian translations for K3B. - -%files Italian -%defattr(-,root,root,-) -%{tde_tdedocdir}/HTML/it/k3b -%{tde_datadir}/locale/it/LC_MESSAGES/*.mo - -########## - -%package Dutch -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Dutch (nl) translations for K3B [Trinity] - -Obsoletes: trinity-k3b-i18n-nl < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-k3b-i18n-nl = %{?epoch:%{epoch}:}%{version}-%{release} - -%description Dutch -This package contains the Dutch translations for K3B. - -%files Dutch -%defattr(-,root,root,-) -%{tde_tdedocdir}/HTML/nl/k3b -%{tde_datadir}/locale/nl/LC_MESSAGES/*.mo - -########## - -%package Polish -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Polish (pl) translations for K3B [Trinity] - -Obsoletes: trinity-k3b-i18n-pl < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-k3b-i18n-pl = %{?epoch:%{epoch}:}%{version}-%{release} - -%description Polish -This package contains the Polish translations for K3B. - -%files Polish -%defattr(-,root,root,-) -%{tde_tdedocdir}/HTML/pl/k3b -%{tde_datadir}/locale/pl/LC_MESSAGES/*.mo - -########## - -%package Portuguese -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Portuguese (pt) translations for K3B [Trinity] - -Obsoletes: trinity-k3b-i18n-pt < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-k3b-i18n-pt = %{?epoch:%{epoch}:}%{version}-%{release} - -%description Portuguese -This package contains the Portuguese translations for K3B. - -%files Portuguese -%defattr(-,root,root,-) -%{tde_tdedocdir}/HTML/pt/k3b -%{tde_datadir}/locale/pt/LC_MESSAGES/*.mo - -########## - -%package Brazil -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Brazilian Portuguese (pt_BR) translations for K3B [Trinity] - -Obsoletes: trinity-k3b-i18n-pt_BR < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-k3b-i18n-pt_BR = %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: trinity-k3b-i18n-ptbr < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-k3b-i18n-ptbr = %{?epoch:%{epoch}:}%{version}-%{release} - -%description Brazil -This package contains the Brazilian Portuguese translations for K3B. - -%files Brazil -%defattr(-,root,root,-) -%{tde_tdedocdir}/HTML/pt_BR/k3b -%{tde_datadir}/locale/pt_BR/LC_MESSAGES/*.mo - -########## - -%package Russian -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Russian (ru) translations for K3B [Trinity] - -Obsoletes: trinity-k3b-i18n-ru < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-k3b-i18n-ru = %{?epoch:%{epoch}:}%{version}-%{release} - -%description Russian -This package contains the Russian translations for K3B. - -%files Russian -%defattr(-,root,root,-) -%{tde_tdedocdir}/HTML/ru/k3b -%{tde_datadir}/locale/ru/LC_MESSAGES/*.mo - -########## - -%package Swedish -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Swedish (sv) translations for K3B [Trinity] - -Obsoletes: trinity-k3b-i18n-sv < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-k3b-i18n-sv = %{?epoch:%{epoch}:}%{version}-%{release} - -%description Swedish -This package contains the Swedish translations for K3B. - -%files Swedish -%defattr(-,root,root,-) -%{tde_tdedocdir}/HTML/sv/k3b -%{tde_datadir}/locale/sv/LC_MESSAGES/*.mo - -########## - -%package Ukrainian -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Ukrainian (uk) translations for K3B [Trinity] - -Obsoletes: trinity-k3b-i18n-uk < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-k3b-i18n-uk = %{?epoch:%{epoch}:}%{version}-%{release} - -%description Ukrainian -This package contains the Ukrainian translations for K3B. - -%files Ukrainian -%defattr(-,root,root,-) -%{tde_tdedocdir}/HTML/uk/k3b -%{tde_datadir}/locale/uk/LC_MESSAGES/*.mo - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_NO_BUILTIN_CHRPATH=ON \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DCMAKE_PROGRAM_PATH="%{tde_bindir}" \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DCONFIG_INSTALL_DIR="%{tde_confdir}" \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{?buildroot} -C build - -%__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} - - -%changelog diff --git a/redhat/applications/k3b/k3b.spec b/redhat/applications/k3b/k3b.spec deleted file mode 100644 index a1688b402..000000000 --- a/redhat/applications/k3b/k3b.spec +++ /dev/null @@ -1,479 +0,0 @@ -# -# spec file for package k3b (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg k3b -%define tde_prefix /opt/trinity -%define tde_appdir %{tde_datadir}/applications -%define tde_bindir %{tde_prefix}/bin -%define tde_confdir %{_sysconfdir}/trinity -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 1.0.5 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: CD/DVD burning application -Group: Applications/Archiving -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz -Source1: %{name}-rpmlintrc - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -BuildRequires: alsa-lib-devel -BuildRequires: audiofile-devel -BuildRequires: gettext -BuildRequires: libmpcdec-devel -BuildRequires: libvorbis-devel -BuildRequires: taglib-devel -BuildRequires: zlib-devel - -# IDN support -BuildRequires: libidn-devel - -# GAMIN support -# Not on openSUSE. -%if ( 0%{?rhel} && 0%{?rhel} <= 8 ) || ( 0%{?fedora} && 0%{?fedora} <= 33 ) || 0%{?mgaversion} || 0%{?mdkversion} -%define with_gamin 1 -BuildRequires: gamin-devel -%endif - -# OPENSSL support -BuildRequires: openssl-devel - -# ACL support -BuildRequires: libacl-devel - -# ATTR support -BuildRequires: libattr-devel - -Requires(post): coreutils -Requires(postun): coreutils - -Requires: %{name}-libs = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: %{name}-common = %{?epoch:%{epoch}:}%{version}-%{release} - -%if 0%{?suse_version} >= 1310 && 0%{?suse_version} < 1500 || 0%{?fedora} >= 29 -Requires: wodim -REquires: genisoimage -%else -Requires: cdrecord -REquires: mkisofs -%endif -Requires: dvd+rw-tools - -# CDRDAO support -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 5 -Requires: cdrdao -%endif - -# UDEV support -%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} || 0%{?rhel} >= 6 -BuildRequires: libudev-devel -%endif - -# HAL support -%if 0%{?rhel} == 5 -%define with_hal 0 -BuildRequires: hal-devel -%endif - -# DBUS support -# TQT bindings not available for RHEL4 -%if 0%{?rhel} == 4 -# Dbus bindings were rebuilt with Qt support -BuildRequires: dbus-devel >= 0.22-12.EL.9p1 -Requires: dbus-qt >= 0.22-12.EL.9p1 -%else -BuildRequires: trinity-dbus-tqt-devel >= 1:0.63 -Requires: trinity-dbus-tqt >= 1:0.63 -%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 -%define with_dvdread 1 -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: %{_lib}dvdread-devel -%else -BuildRequires: libdvdread-devel -%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 -%ifarch %{ix86} x86_64 -%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 -%endif - -# LAME support -%if 0%{?opensuse_bs} == 0 -%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 -%if 0%{?mgaversion} >= 6 -BuildRequires: %{_lib}mp3lame-devel -%else -BuildRequires: %{_lib}lame-devel -%endif -%endif -%endif -%if 0%{?suse_version} -BuildRequires: libmp3lame-devel -%endif -%if 0%{?fedora} || 0%{?rhel} -BuildRequires: lame-devel -%endif -%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}/tdefile_k3b.la -%{tde_tdelibdir}/tdefile_k3b.so -%{tde_tdelibdir}/tdeio_videodvd.la -%{tde_tdelibdir}/tdeio_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/ -%{tde_mandir}/man1/k3b.1* - -########## - -%package common -Summary: Common files of %{name} -Group: Applications/Archiving -Requires: %{name} = %{?epoch:%{epoch}:}%{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}/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}/mimelnk/application/x-k3b.desktop -%{tde_datadir}/icons/hicolor/*/apps/k3b.png -%{tde_datadir}/services/tdefile_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 -%{tde_tdedocdir}/HTML/en/tdeioslave/videodvd/ - -########## - -%package libs -Summary: Runtime libraries for %{name} -Group: System Environment/Libraries -Requires: %{name} = %{?epoch:%{epoch}:}%{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 - -########## - -%package devel -Summary: Files for the development of applications which will use %{name} -Group: Development/Libraries -Requires: %{name}-libs = %{?epoch:%{epoch}:}%{version}-%{release} - -%description devel -%{summary}. - -%files devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/*.h -%{tde_libdir}/libk3b.so -%{tde_libdir}/libk3bdevice.so - -########## - -%if 0%{?with_libmad} -%package plugin-mad -Summary: The MAD plugin for K3B -Group: System Environment/Libraries -Requires: %{name} = %{?epoch:%{epoch}:}%{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} = %{?epoch:%{epoch}:}%{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} = %{?epoch:%{epoch}:}%{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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -%if 0%{?rhel} == 7 -RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -std=c++11" -%endif - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_NO_BUILTIN_CHRPATH=ON \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DCMAKE_PROGRAM_PATH="%{tde_bindir}" \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DCONFIG_INSTALL_DIR="%{tde_confdir}" \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - \ - -DWITH_ALL_OPTIONS="ON" \ - -DWITH_MUSICBRAINZ="OFF" \ - -DWITH_FFMPEG_ALL_CODECS="ON" \ - -DWITH_MUSEPACK="ON" \ - -DWITH_LAME="%{!?with_lame:OFF}%{?with_lame:ON}" \ - -DWITH_MAD="%{!?with_libmad:OFF}%{?with_libmad:ON}" \ -%if 0%{?rhel} == 5 - -DWITH_HAL="ON" \ -%endif - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{?buildroot} -C build - -# remove the .la files -%__rm -f %{buildroot}%{tde_libdir}/libk3b*.la - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/applications/k3b/k3brc b/redhat/applications/k3b/k3brc deleted file mode 100644 index 5d967f599..000000000 --- a/redhat/applications/k3b/k3brc +++ /dev/null @@ -1,6 +0,0 @@ -[General Options] -check system config=false -Manual buffer size=true - -[Notification Messages] -Don't prompt me again.=No diff --git a/redhat/applications/k3b/trinity-k3b-rpmlintrc b/redhat/applications/k3b/trinity-k3b-rpmlintrc deleted file mode 100644 index 529351884..000000000 --- a/redhat/applications/k3b/trinity-k3b-rpmlintrc +++ /dev/null @@ -1,2 +0,0 @@ -setBadness('library-without-ldconfig-postun', 0) -setBadness('library-without-ldconfig-postin', 0) diff --git a/redhat/applications/k9copy/k9copy.spec b/redhat/applications/k9copy/k9copy.spec deleted file mode 100644 index 0a9801a8d..000000000 --- a/redhat/applications/k9copy/k9copy.spec +++ /dev/null @@ -1,192 +0,0 @@ -# -# spec file for package k9copy (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg k9copy -%define tde_prefix /opt/trinity -%define tde_appdir %{tde_datadir}/applications -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 1.2.3 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: DVD backup tool for Trinity -Group: Applications/Utilities -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} - -BuildRequires: desktop-file-utils -BuildRequires: trinity-k3b-devel - -BuildRequires: autoconf automake libtool m4 -BuildRequires: gcc-c++ -BuildRequires: pkgconfig - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -# Warning: the target distribution must have ffmpeg ! -BuildRequires: ffmpeg-devel -Requires: ffmpeg - -# DVDREAD support -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: %{_lib}dvdread-devel -%else -BuildRequires: libdvdread-devel -%endif - -# MESA support -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: mesa-libGL-devel -BuildRequires: mesa-libGLU-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: mesaglu-devel -%endif -%if 0%{?suse_version} -BuildRequires: Mesa-libGL-devel -BuildRequires: Mesa-libGLU-devel -%endif -%if 0%{?rhel} == 4 -BuildRequires: xorg-x11-Mesa-libGLU -%endif - - -%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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -# Removes internal dvdread headers -%__rm -rf "dvdread" - -# Fix permissions on doc files -chmod -x AUTHORS COPYING - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" - -# FFMPEG ... -if [ -d /usr/include/ffmpeg ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/include/ffmpeg" -fi - -# NOTICE: --enable-final causes FTBFS ! -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --mandir=%{tde_mandir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --disable-final \ - --enable-new-ldflags \ - --enable-closure \ - --enable-rpath \ - --disable-gcc-hidden-visibility \ - \ - --enable-k3bdevices - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{tde_pkg} - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.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 -%{tde_mandir}/man1/k9copy.1* - - -%changelog diff --git a/redhat/applications/kaffeine-mozilla/kaffeine-mozilla.spec b/redhat/applications/kaffeine-mozilla/kaffeine-mozilla.spec deleted file mode 100644 index 2b72a1dff..000000000 --- a/redhat/applications/kaffeine-mozilla/kaffeine-mozilla.spec +++ /dev/null @@ -1,160 +0,0 @@ -# -# spec file for package kaffeine-mozilla (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# Default version for this component -%define tde_pkg kaffeine-mozilla -%define tde_prefix /opt/trinity -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -%if 0%{?fedora} >= 27 || 0%{?mgaversion} >= 7 || 0%{?rhel} >= 8 -%define debug_package %{nil} -%endif - -Name: trinity-%{tde_pkg} -Summary: mozilla plugin that lanches kaffeine for supported media types [Trinity] -Version: 0.4.3.1 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} - -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}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: libtool - -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-arts-devel >= 1:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -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} >= 5 || 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 TDE, -when a page containing a supported media format is loaded. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" - -if [ -d "%{_includedir}/nspr4" ]; then - RPM_OPT_FLAGS="-I%{_includedir}/nspr4 ${RPM_OPT_FLAGS}" -fi - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_NO_BUILTIN_CHRPATH=ON \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DCMAKE_PROGRAM_PATH="%{tde_bindir}" \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DCONFIG_INSTALL_DIR="%{tde_confdir}" \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -# Remove useless filess -%__rm -f %{?buildroot}%{_libdir}/mozilla/plugins/kaffeineplugin.a - - -%clean -%__rm -rf %{buildroot} - - -%files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING -# These files are installed outside TDE prefix -%dir %{_libdir}/mozilla -%dir %{_libdir}/mozilla/plugins -%{_libdir}/mozilla/plugins/kaffeineplugin.la -%{_libdir}/mozilla/plugins/kaffeineplugin.so - - -%changelog diff --git a/redhat/applications/kaffeine/kaffeine.spec b/redhat/applications/kaffeine/kaffeine.spec deleted file mode 100644 index f09429271..000000000 --- a/redhat/applications/kaffeine/kaffeine.spec +++ /dev/null @@ -1,333 +0,0 @@ -# -# spec file for package kaffeine (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg kaffeine -%define tde_prefix /opt/trinity -%define tde_appdir %{tde_datadir}/applications -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.8.8 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Xine-based media player -Group: Applications/Multimedia -URL: http://kaffeine.sourceforge.net/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz -Source1: %{name}-rpmlintrc - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: gettext - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -# VORBIS support -BuildRequires: libvorbis-devel - -# CDDA support -BuildRequires: libcdio-devel -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: libcdda-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} -BuildRequires: cdparanoia -BuildRequires: cdparanoia-devel -%endif -%if 0%{?suse_version} >= 1210 || 0%{?fedora} >= 19 || 0%{?rhel} >= 7 -BuildRequires: libcdio-paranoia-devel -%endif - -# X11 stuff -%if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?mgaversion} >= 4 -BuildRequires: %{_lib}xext-devel -BuildRequires: %{_lib}xtst-devel -BuildRequires: %{_lib}xinerama-devel -%else -BuildRequires: %{_lib}xext%{?mgaversion:6}-devel -BuildRequires: %{_lib}xtst%{?mgaversion:6}-devel -BuildRequires: %{_lib}xinerama%{?mgaversion:1}-devel -%endif -%endif -%if 0%{?rhel} == 4 -BuildRequires: xorg-x11-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 -BuildRequires: libXext-devel -BuildRequires: libXtst-devel -BuildRequires: libXinerama-devel -%endif - -# XCB support -%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?pclinuxos} || 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?pclinuxos} == 0 -%define with_xcb 1 -%endif -%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?pclinuxos} -BuildRequires: libxcb-devel -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?pclinuxos} == 0 -BuildRequires: %{_lib}xcb-devel -%endif -%endif -%endif - -# GSTREAMER support -%if 0%{?rhel} >= 5 || 0%{?suse_version} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_gstreamer 1 -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}gstreamer1.0-devel -BuildRequires: %{_lib}gstreamer-plugins-base1.0-devel -%endif -%if 0%{?rhel} == 4 -BuildRequires: gstreamer-devel -BuildRequires: gstreamer-plugins-devel -%endif -%if 0%{?rhel} == 5 || 0%{?rhel} == 6 || 0%{?suse_version} -BuildRequires: gstreamer-devel -BuildRequires: gstreamer-plugins-base-devel -%endif -%if 0%{?rhel} >= 7 || 0%{?fedora} -BuildRequires: gstreamer1-devel >= 1.0 -BuildRequires: gstreamer1-plugins-base-devel >= 1.0 -%endif -%endif - -# XINE support -%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} || 0%{?rhel} || 0%{?suse_version} -%define with_xine 1 -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} -BuildRequires: %{_lib}xine1.2-devel -%endif -%if 0%{?fedora} || 0%{?rhel} -BuildRequires: xine-lib-devel -%endif -%if 0%{?suse_version} -BuildRequires: libxine-devel -%endif -%endif - -# LAME support -%if 0%{?opensuse_bs} == 0 -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} || 0%{?rhel} -%define with_lame 1 - -%if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?pclinuxos} -BuildRequires: liblame-devel -%else -%if 0%{?mgaversion} >= 6 -BuildRequires: %{_lib}mp3lame-devel -%else -BuildRequires: %{_lib}lame-devel -%endif -%endif -%endif -%if 0%{?suse_version} -BuildRequires: libmp3lame-devel -%endif -%if 0%{?fedora} || 0%{?rhel} -BuildRequires: lame-devel -%endif -%endif -%endif - -# DVB support -%if 0%{?rhel} != 5 -%define with_dvb 1 -%endif - -# WTF support -%if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?pclinuxos} == 0 -BuildRequires: kernel-headers -%endif -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} -BuildRequires: glibc-kernheaders -%endif - -Requires: %{name}-libs = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -Kaffeine is a xine-based media player for TDE. 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 TDE, it supports drag -and drop and provides an editable playlist, a bookmark system, a -Konqueror plugin, OSD and much more. - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING README.md TODO -%{tde_bindir}/kaffeine -%{tde_libdir}/libkaffeinepart.so -%{tde_tdelibdir}/lib*.* -%{tde_datadir}/appl*/*/*.desktop -%if 0%{?with_gstreamer} -%{tde_datadir}/apps/gstreamerpart/ -%endif -%{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}/man1/kaffeine.1* - -########## - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Requires: %{name}-libs = %{?epoch:%{epoch}:}%{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 - -########## - -%package libs -Summary: %{name} runtime libraries -Group: System Environment/Libraries - -# include to be paranoid, installing libs-only is still mostly untested -- Rex -Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} - -%description libs -%{summary}. - -%files libs -%defattr(-,root,root,-) -%{tde_libdir}/lib*.so.* - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - \ - -DWITH_ALL_OPTIONS=ON \ - %{?!with_dvb:-DWITH_DVB=OFF} \ - %{?!with_lame:-DWITH_LAME=OFF} \ - %{?!with_xcb:-DWITH_XCB=OFF} \ - -DBUILD_ALL=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf $RPM_BUILD_ROOT -%__make install DESTDIR=%{buildroot} -C build - -## File lists -# locale's -%find_lang %{tde_pkg} - -# 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 diff --git a/redhat/applications/kaffeine/trinity-kaffeine-rpmlintrc b/redhat/applications/kaffeine/trinity-kaffeine-rpmlintrc deleted file mode 100644 index 529351884..000000000 --- a/redhat/applications/kaffeine/trinity-kaffeine-rpmlintrc +++ /dev/null @@ -1,2 +0,0 @@ -setBadness('library-without-ldconfig-postun', 0) -setBadness('library-without-ldconfig-postin', 0) diff --git a/redhat/applications/kasablanca/kasablanca.spec b/redhat/applications/kasablanca/kasablanca.spec deleted file mode 100644 index a9c342fcd..000000000 --- a/redhat/applications/kasablanca/kasablanca.spec +++ /dev/null @@ -1,190 +0,0 @@ -# -# spec file for package kasablanca (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg kasablanca -%define tde_prefix /opt/trinity -%define tde_appdir %{tde_datadir}/applications -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.4.0.2 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Graphical FTP client for Trinity -Group: Applications/Internet -Url: http://kasablanca.berlios.de/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: gettext - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -# ACL support -BuildRequires: libacl-devel - -# IDN support -BuildRequires: libidn-devel - -# OPENSSL support -BuildRequires: openssl-devel - -# UTEMPTER support -%if 0%{?suse_version} -BuildRequires: utempter-devel -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}utempter-devel -%endif -%if 0%{?rhel} || 0%{?fedora} -%if 0%{?rhel} == 4 -%else -BuildRequires: libutempter-devel -%endif -%endif - -%description -Kasablanca is an ftp client, among its features are currently: -* ftps encryption via AUTH TLS -* fxp (direct server to server transfer), supporting alternative mode. -* advanced bookmarking system. -* fast responsive multithreaded engine. -* concurrent connections to multiple hosts. -* interactive transfer queue, movable by drag and drop. -* small nifty features, like a skiplist. - - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf $RPM_BUILD_ROOT -%__make install DESTDIR=$RPM_BUILD_ROOT -C build - -# locale's -%find_lang %{tde_pkg} - -# Fix desktop files (openSUSE only) -%if 0%{?suse_version} -%suse_update_desktop_file kasablanca Network FileTransfer -%endif - - -%clean -%__rm -rf $RPM_BUILD_ROOT - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING README.md -%{tde_bindir}/kasablanca -%{tde_datadir}/apps/kasablanca/ -%{tde_datadir}/config.kcfg/kbconfig.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kasablanca.png -%{tde_tdedocdir}/HTML/en/kasablanca/ -%{tde_tdeappdir}/kasablanca.desktop -%{tde_mandir}/man1/kasablanca.* - - -%changelog diff --git a/redhat/applications/katapult/katapult.spec b/redhat/applications/katapult/katapult.spec deleted file mode 100644 index 456a9958b..000000000 --- a/redhat/applications/katapult/katapult.spec +++ /dev/null @@ -1,217 +0,0 @@ -# -# spec file for package katapult (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg katapult -%define tde_prefix /opt/trinity -%define tde_appdir %{tde_datadir}/applications -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.3.2.1 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Faster access to applications, bookmarks, and other items. -Group: Applications/Utilities -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig - -# ACL support -BuildRequires: libacl-devel - -# IDN support -BuildRequires: libidn-devel - -# OPENSSL support -BuildRequires: openssl-devel - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -%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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%find_lang %{tde_pkg} - -# Removes useless files (-devel ?) -%__rm -f %{?buildroot}%{tde_libdir}/*.so -%__rm -f %{?buildroot}%{tde_libdir}/*.la - -# Fix desktop files (openSUSE only) -echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/%{tde_pkg}.desktop" -%if 0%{?suse_version} -%suse_update_desktop_file -G "Application Launcher" "%{?buildroot}%{tde_tdeappdir}/%{tde_pkg}.desktop" DesktopUtility -%endif - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.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_mandir}/man1/*.1* -%{tde_tdedocdir}/HTML/en/katapult/ - - -%changelog diff --git a/redhat/applications/kbarcode/kbarcode.spec b/redhat/applications/kbarcode/kbarcode.spec deleted file mode 100644 index 8684d27bb..000000000 --- a/redhat/applications/kbarcode/kbarcode.spec +++ /dev/null @@ -1,220 +0,0 @@ -# -# spec file for package kbarcode (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg kbarcode -%define tde_prefix /opt/trinity -%define tde_appdir %{tde_datadir}/applications -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 2.0.7 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: barcode and label printing application for Trinity -Group: Applications/Utilities -URL: http://www.kbarcode.net - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: gettext - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig - -# ACL support -BuildRequires: libacl-devel - -# IDN support -BuildRequires: libidn-devel - -# OPENSSL support -BuildRequires: openssl-devel - -# PCRE support -BuildRequires: pcre-devel - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -Requires: %{name}-tdefile-plugin = %{?epoch:%{epoch}:}%{version}-%{release} - - -%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 TDE 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. - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING README TODO -%{tde_bindir}/kbarcode -%{tde_tdeappdir}/kbarcode-batch.desktop -%{tde_tdeappdir}/kbarcode-editor.desktop -%{tde_tdeappdir}/kbarcode-single.desktop -%{tde_tdeappdir}/kbarcode.desktop -%{tde_datadir}/mimelnk/application/kbarcode-label.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_mandir}/man1/*.1* -%{tde_tdedocdir}/HTML/en/kbarcode/ - -########## - -%package tdefile-plugin -Summary: tdefile-plugin for %{name} -Group: Applications/Utilities - -%description tdefile-plugin -%{summary}. - -%files tdefile-plugin -%defattr(-,root,root,-) -%{tde_tdelibdir}/tdefile_kbarcode.la -%{tde_tdelibdir}/tdefile_kbarcode.so -%{tde_datadir}/services/tdefile_kbarcode.desktop - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_GCC_VISIBILITY=ON \ - -DWITH_NATIVE_GNU_BARCODE=OFF \ - -DWITH_JAVASCRIPT=ON \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%find_lang %{tde_pkg} - -# Fix invalid icon path -%__sed -i "%{buildroot}%{tde_tdeappdir}/kbarcode.desktop" -e "s|Icon=.*|Icon=kbarcode|" - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file -r "%{buildroot}%{tde_tdeappdir}/kbarcode.desktop" Utility PrintingUtility -%suse_update_desktop_file -r "%{buildroot}%{tde_tdeappdir}/kbarcode-batch.desktop" Utility PrintingUtility -%suse_update_desktop_file -r "%{buildroot}%{tde_tdeappdir}/kbarcode-editor.desktop" Utility PrintingUtility -%suse_update_desktop_file -r "%{buildroot}%{tde_tdeappdir}/kbarcode-single.desktop" Utility PrintingUtility -%endif - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/applications/kbfx/kbfx.spec b/redhat/applications/kbfx/kbfx.spec deleted file mode 100644 index 44df9443c..000000000 --- a/redhat/applications/kbfx/kbfx.spec +++ /dev/null @@ -1,233 +0,0 @@ -# -# spec file for package kbfx (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg kbfx -%define tde_prefix /opt/trinity -%define tde_appdir %{tde_datadir}/applications -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.4.9.3.1 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: An alternative to K-Menu for TDE -Group: Applications/Utilities -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: libtool -BuildRequires: gcc-c++ -BuildRequires: pkgconfig - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -# IDN support -BuildRequires: libidn-devel - -# GAMIN support -# Not on openSUSE. -%if ( 0%{?rhel} && 0%{?rhel} <= 8 ) || ( 0%{?fedora} && 0%{?fedora} <= 33 ) || 0%{?mgaversion} || 0%{?mdkversion} -%define with_gamin 1 -BuildRequires: gamin-devel -%endif - -# PCRE support -BuildRequires: pcre-devel - -# ACL support -BuildRequires: libacl-devel - -# OPENSSL support -BuildRequires: openssl-devel - - -%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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -# 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||" - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -# Shitty hack for RHEL4 ... -if [ -d "/usr/X11R6" ]; then - export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH}:/usr/X11R6/include:/usr/X11R6/%{_lib}" - export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -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} \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}"\ - -DDOC_INSTALL_DIR=%{tde_tdedocdir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - \ - -DUSE_STRIGI=OFF \ - -DUSE_MENUDRAKE=OFF \ - -DBUILD_DOC=ON \ - -DBUILD_ALL=ON \ - .. - -# Not SMP safe ! -%__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build VERBOSE=1 - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file -G "KBFX Configuration Utility" kbfxconfigapp -r KDE Utility DesktopUtility -%suse_update_desktop_file %{buildroot}%{tde_datadir}/apps/konqueror/servicemenus/kbfx_prepare_theme.desktop -%suse_update_desktop_file %{buildroot}%{tde_datadir}/apps/konqueror/servicemenus/kbfx_install_theme.desktop -%suse_update_desktop_file %{buildroot}%{tde_datadir}/apps/kicker/applets/kbfxspinx.desktop -%suse_update_desktop_file %{buildroot}%{tde_datadir}/mimelnk/application/x-kbfxtheme.desktop -%suse_update_desktop_file %{buildroot}%{tde_datadir}/applications/tde/kbfx_theme.desktop -%endif - - -%clean -%__rm -rf %{buildroot} - - -%files -%defattr(-,root,root,-) -%{tde_bindir}/kbfxconfigapp -%{tde_tdeincludedir}/kbfx/ -%dir %{tde_libdir}/kbfx -%dir %{tde_libdir}/kbfx/plugins -%{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/ -%dir %{tde_datadir}/apps/kbfxconfigapp -%{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/kbfxconfigapp/ -%{tde_docdir}/kbfx/ -%{tde_datadir}/icons/hicolor/*/apps/kbfx.png -%{tde_datadir}/icons/hicolor/*/apps/kbfxconfigapp.png -%lang(bg) %{tde_datadir}/locale/bg/LC_MESSAGES/kbfxconfigapp.mo -%lang(de) %{tde_datadir}/locale/de/LC_MESSAGES/kbfxconfigapp.mo -%lang(hu) %{tde_datadir}/locale/hu/LC_MESSAGES/kbfxconfigapp.mo -%lang(it) %{tde_datadir}/locale/it/LC_MESSAGES/kbfxconfigapp.mo -%lang(nl) %{tde_datadir}/locale/nl/LC_MESSAGES/kbfxconfigapp.mo -%{tde_datadir}/mimelnk/application/x-kbfxtheme.desktop - - -%changelog diff --git a/redhat/applications/kbibtex/kbibtex.spec b/redhat/applications/kbibtex/kbibtex.spec deleted file mode 100644 index 4777b3b36..000000000 --- a/redhat/applications/kbibtex/kbibtex.spec +++ /dev/null @@ -1,184 +0,0 @@ -# -# spec file for package kbibtex (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg kbibtex -%define tde_prefix /opt/trinity -%define tde_appdir %{tde_datadir}/applications -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.2.3 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: A BibTeX editor for TDE -Group: Applications/Internet -URL: http://www.unix-ag.uni-kl.de/~fischer/kbibtex/download.html - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: gettext - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig - -# ACL support -BuildRequires: libacl-devel - -# IDN support -BuildRequires: libidn-devel - -# OPENSSL support -BuildRequires: openssl-devel - -# XSLT support -BuildRequires: libxslt-devel - -# YAZ support -%if 0%{?fedora} || 0%{?mgaversion} || 0%{?suse_version} -BuildRequires: libyaz-devel -%endif - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -%description -KBibTeX is a BibTeX editor for TDE to edit bibliographies used with LaTeX. -KBibTeX is released under the GNU Public License (GPL) version 2 or any later version. - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -%__rm -rf $RPM_BUILD_ROOT -%__make install DESTDIR=$RPM_BUILD_ROOT -C build - -%find_lang %{tde_pkg} - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file -G "Bibliography Manager" "%{?buildroot}%{tde_tdeappdir}/kbibtex.desktop" TDE Office Database -%endif - - -%clean -%__rm -rf $RPM_BUILD_ROOT - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING NEWS README.md TODO ChangeLog -%{tde_bindir}/kbibtex -%{tde_tdelibdir}/libkbibtexpart.la -%{tde_tdelibdir}/libkbibtexpart.so -%{tde_tdeappdir}/kbibtex.desktop -%{tde_datadir}/apps/kbibtex/ -%dir %{tde_datadir}/apps/kbibtexpart -%{tde_datadir}/apps/kbibtexpart/kbibtex_part.rc -%dir %{tde_datadir}/apps/kbibtexpart/xslt -%{tde_datadir}/apps/kbibtexpart/xslt/MARC21slim2MODS3.xsl -%{tde_datadir}/apps/kbibtexpart/xslt/MARC21slimUtils.xsl -%{tde_datadir}/apps/kbibtexpart/xslt/UNIMARC2MODS3.xsl -%{tde_datadir}/apps/kbibtexpart/xslt/html.xsl -%{tde_datadir}/icons/hicolor/*/apps/kbibtex.png -%{tde_datadir}/services/kbibtex_part.desktop -%{tde_mandir}/man1/kbibtex.1* -%{tde_tdedocdir}/HTML/en/kbibtex/ - - -%changelog diff --git a/redhat/applications/kbiff/kbiff.spec b/redhat/applications/kbiff/kbiff.spec deleted file mode 100644 index 8cca38c4f..000000000 --- a/redhat/applications/kbiff/kbiff.spec +++ /dev/null @@ -1,180 +0,0 @@ -# -# spec file for package kbiff (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg kbiff -%define tde_prefix /opt/trinity -%define tde_appdir %{tde_datadir}/applications -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 3.9 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: TDE mail notification utility -Group: Applications/Internet -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: tqt3-compat-headers >= 3.5.0 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} - -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig - -# ACL support -BuildRequires: libacl-devel - -# IDN support -BuildRequires: libidn-devel - -# OPENSSL support -BuildRequires: openssl-devel - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - - -%description -Kbiff is a "xbiff"-like mail notification utility. It has multiple pixmaps, -session management, and GUI configuration. It can "dock" into the TDE panel. -It can display animated gifs, play system sounds, or run arbitrary shell -command when new mail arrives. It supports mbox, maildir, mh, POP3, IMAP4, and -NNTP mailboxes. - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -%__rm -rf $RPM_BUILD_ROOT -%__make install DESTDIR=$RPM_BUILD_ROOT -C build - -%find_lang %{tde_pkg} - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/kbiff.desktop" -%suse_update_desktop_file "%{?buildroot}%{tde_tdeappdir}/kbiff.desktop" Applet -%endif - - -%clean -%__rm -rf $RPM_BUILD_ROOT - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING README.md ChangeLog -%{tde_bindir}/kbiff -%{tde_libdir}/libtdeinit_kbiff.la -%{tde_libdir}/libtdeinit_kbiff.so -%{tde_tdelibdir}/kbiff.la -%{tde_tdelibdir}/kbiff.so -%{tde_tdeappdir}/kbiff.desktop -%{tde_datadir}/apps/kbiff/ -%{tde_datadir}/icons/hicolor/*/apps/kbiff.png -%{tde_datadir}/icons/locolor/*/apps/kbiff.png -%{tde_mandir}/man1/kbiff.1* -%lang(de) %{tde_tdedocdir}/HTML/de/kbiff/ -%lang(en) %{tde_tdedocdir}/HTML/en/kbiff/ -%lang(es) %{tde_tdedocdir}/HTML/es/kbiff/ -%lang(fr) %{tde_tdedocdir}/HTML/fr/kbiff/ - - -%changelog diff --git a/redhat/applications/kbookreader/kbookreader.spec b/redhat/applications/kbookreader/kbookreader.spec deleted file mode 100644 index 8cc7ca8c4..000000000 --- a/redhat/applications/kbookreader/kbookreader.spec +++ /dev/null @@ -1,169 +0,0 @@ -# -# spec file for package kbookreader (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg kbookreader -%define tde_prefix /opt/trinity -%define tde_appdir %{tde_datadir}/applications -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.2.0 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: eBook reader for Trinity -Group: Applications/Utilities -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig - -# ACL support -BuildRequires: libacl-devel - -# IDN support -BuildRequires: libidn-devel - -# OPENSSL support -BuildRequires: openssl-devel - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - - -%description -kbookreader is an application which allows you to view eBooks -within the Trinity Desktop Environment. - - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file "%{?buildroot}%{tde_tdeappdir}/kbookreader.desktop" Office Viewer -%endif - -%find_lang %{tde_pkg} || touch %{tde_pkg}.lang - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/kbookreader -%{tde_bindir}/kbookreader_client -%{tde_tdeappdir}/kbookreader.desktop -%{tde_datadir}/apps/kbookreader/ -%{tde_datadir}/config.kcfg/kbookreader.kcfg -%{tde_tdedocdir}/HTML/en/kbookreader/ -%{tde_datadir}/icons/hicolor/*/apps/kbookreader.png - - -%changelog diff --git a/redhat/applications/kchmviewer/kchmviewer.spec b/redhat/applications/kchmviewer/kchmviewer.spec deleted file mode 100644 index b6c21725b..000000000 --- a/redhat/applications/kchmviewer/kchmviewer.spec +++ /dev/null @@ -1,207 +0,0 @@ -# -# spec file for package kchmviewer (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg kchmviewer -%define tde_prefix /opt/trinity -%define tde_appdir %{tde_datadir}/applications -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 3.1.2 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: CHM viewer for Trinity -Group: Applications/Utilities -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -# CHMLIB support -%if 0%{?rhel} == 8 -%define with_chmlib 0 -%else -%define with_chmlib 1 -BuildRequires: chmlib-devel -%endif - -# ACL support -BuildRequires: libacl-devel - -# IDN support -BuildRequires: libidn-devel - -# OPENSSL support -BuildRequires: openssl-devel - -%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 TDE 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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - -DPLUGIN_INSTALL_DIR="%{tde_tdelibdir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_GCC_VISIBILITY=ON \ - -DWITH_CHMLIB=%{?with_chmlib} \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%find_lang %{tde_pkg} - -# Removes useless files -%__rm -f %{?buildroot}%{tde_libdir}/*.a - -# Fix desktop icon location -if [ -d "%{?buildroot}%{tde_datadir}/applnk" ]; then - %__mkdir_p "%{?buildroot}%{tde_tdeappdir}" - %__mv -f "%{?buildroot}%{tde_datadir}/applnk/kchmviewer.desktop" "%{?buildroot}%{tde_tdeappdir}/kchmviewer.desktop" - %__rm -r "%{buildroot}%{tde_datadir}/applnk" -fi - -# Updates applications categories for openSUSE -echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/kchmviewer.desktop" -%if 0%{?suse_version} -%suse_update_desktop_file -G "Compressed HTML Viewer" kchmviewer Office Viewer -%endif - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc ChangeLog COPYING FAQ README.md -%{tde_bindir}/kchmviewer -%{tde_tdelibdir}/tdeio_msits.la -%{tde_tdelibdir}/tdeio_msits.so -%{tde_tdeappdir}/kchmviewer.desktop -%{tde_datadir}/icons/crystalsvg/*/apps/kchmviewer.png -%{tde_datadir}/services/msits.protocol -%{tde_tdedocdir}/HTML/en/kchmviewer/ -%{tde_tdedocdir}/HTML/en/tdeioslave/msits/ -%{tde_mandir}/man1/kchmviewer.* - - -%changelog diff --git a/redhat/applications/kcmautostart/kcmautostart.spec b/redhat/applications/kcmautostart/kcmautostart.spec deleted file mode 100644 index bd0a90c70..000000000 --- a/redhat/applications/kcmautostart/kcmautostart.spec +++ /dev/null @@ -1,162 +0,0 @@ -# -# spec file for package kcmautostart (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg kcmautostart -%define tde_prefix /opt/trinity -%define tde_appdir %{tde_datadir}/applications -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 1.0 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Manage applications automatic startup -Group: Applications/Utilities -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig - -# ACL support -BuildRequires: libacl-devel - -# IDN support -BuildRequires: libidn-devel - -# OPENSSL support -BuildRequires: openssl-devel - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -Requires: trinity-tdebase >= %{tde_version} - - -%description -%{summary} - - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%find_lang autostart - - -%clean -%__rm -rf %{buildroot} - - -%files -f autostart.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING INSTALL README.md -%{tde_tdelibdir}/kcm_autostart.la -%{tde_tdelibdir}/kcm_autostart.so -%{tde_tdeappdir}/autostart.desktop -%{tde_tdedocdir}/HTML/en/autostart/ - - -%changelog diff --git a/redhat/applications/kcmldap/kcmldap.spec b/redhat/applications/kcmldap/kcmldap.spec deleted file mode 100644 index 1f83bf798..000000000 --- a/redhat/applications/kcmldap/kcmldap.spec +++ /dev/null @@ -1,229 +0,0 @@ -# -# spec file for package kcmldap (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg kcmldap -%define tde_prefix /opt/trinity -%define tde_appdir %{tde_datadir}/applications -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.5 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Kerberos control module for the TDE control center -Group: Applications/Utilities -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: gettext -BuildRequires: trinity-libtdeldap-devel >= 0.5 - -Requires: trinity-tde-ldap-cert-updater = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: trinity-kcontrol-ldap-bonding = %{?epoch:%{epoch}:}%{version}-%{release} - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig - -# ACL support -BuildRequires: libacl-devel - -# IDN support -BuildRequires: libidn-devel - -# OPENSSL support -BuildRequires: openssl-devel - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -# OPENLDAP support -%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: openldap-devel -%endif -%if 0%{?suse_version} -BuildRequires: openldap2-devel -%endif -%if 0%{?rhel} == 5 -BuildRequires: openldap24-libs-devel -%endif - -# KRB5 support -#BuildRequires: krb5-devel - -# HEIMDAL support -%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: heimdal-devel -%endif -%if 0%{?suse_version} -BuildRequires: libheimdal-devel -%endif - -# UDEV support -%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} || 0%{?rhel} >= 6 -%define with_tdehwlib 1 -BuildRequires: libudev-devel -%endif - -# LIBCOM_ERR support -%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 6 -BuildRequires: libcom_err-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: %{_lib}ext2fs-devel -%endif - - -%description -This is a meta-package that installs all kcmldap related packages. - -%files - -########## - -%package -n trinity-kcontrol-ldap-bonding -Summary: Kerberos control module for the TDE control center -Group: Applications/Utilities -Requires: trinity-tde-ldap-cert-updater = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -n trinity-kcontrol-ldap-bonding -This is a TDE control center module to manage TDE connections to Kerberos realms. - -%files -n trinity-kcontrol-ldap-bonding -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/tdeldapbonding -%{tde_tdelibdir}/kcm_ldapbonding.la -%{tde_tdelibdir}/kcm_ldapbonding.so -%{tde_tdeappdir}/ldapbonding.desktop -%dir %{tde_datadir}/pixmaps -%{tde_datadir}/pixmaps/kcmldapbonding_step1.png -%{tde_datadir}/pixmaps/kcmldapbonding_step3.png - -########## - -%package -n trinity-tde-ldap-cert-updater -Summary: Service to keep LDAP certificates up-to-date -Group: Applications/Utilities -Requires: trinity-kcontrol-ldap-bonding = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -n trinity-tde-ldap-cert-updater -This is a small daemon which keeps the LDAP root certificate up to date with the LDAP server - -%files -n trinity-tde-ldap-cert-updater -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/tdeldapcertupdater - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/applications/kcmldapcontroller/kcmldapcontroller.spec b/redhat/applications/kcmldapcontroller/kcmldapcontroller.spec deleted file mode 100644 index fe4121f07..000000000 --- a/redhat/applications/kcmldapcontroller/kcmldapcontroller.spec +++ /dev/null @@ -1,224 +0,0 @@ -# -# spec file for package kcmldapcontroller (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg kcmldapcontroller -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.5 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Kerberos control module for the TDE control center -Group: Applications/Utilities -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: gettext -BuildRequires: trinity-libtdeldap-devel >= 0.5 - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -# OPENLDAP support -%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: openldap-devel -%endif -%if 0%{?mgaversion} >= 6 -BuildRequires: openldap-servers-devel -%endif -%if 0%{?suse_version} -BuildRequires: openldap2-devel -%endif -%if 0%{?rhel} == 5 -BuildRequires: openldap24-libs-devel -%endif - -# KRB5 support -#BuildRequires: krb5-devel - -# HEIMDAL support -%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: heimdal-devel -%endif -%if 0%{?suse_version} -BuildRequires: libheimdal-devel -%endif - -# UDEV support -%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} || 0%{?rhel} >= 6 -%define with_tdehwlib 1 -BuildRequires: libudev-devel -%endif - -# LIBCOM_ERR support -%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 6 -BuildRequires: libcom_err-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: %{_lib}ext2fs-devel -%endif - -# ACL support -BuildRequires: libacl-devel - -# IDN support -BuildRequires: libidn-devel - -# OPENSSL support -BuildRequires: openssl-devel - -Requires: trinity-kcontrol-ldap-controller = %{?epoch:%{epoch}:}%{version}-%{release} - - -%description -This is a meta-package that installs all kcmldap related packages. - -%files - -########## - -%package -n trinity-kcontrol-ldap-controller -Summary: Kerberos realm management module for the TDE control center -Group: Applications/Utilities - -%description -n trinity-kcontrol-ldap-controller -This is a TDE control center module to manage users, groups, and machines in Kerberos realms. - -%files -n trinity-kcontrol-ldap-controller -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/primaryrccertupdater -%if 0%{?fedora} || 0%{?mgaversion} || 0%{?rhel} >= 7 -%{tde_libdir}/slapi-acl-manager.la -%{tde_libdir}/slapi-acl-manager.so -%endif -%{tde_tdelibdir}/kcm_ldapcontroller.la -%{tde_tdelibdir}/kcm_ldapcontroller.so -%{tde_tdeappdir}/ldapcontroller.desktop -%{tde_datadir}/apps/kcmldapcontroller/ -%dir %{tde_datadir}/pixmaps -%{tde_datadir}/pixmaps/kcmldapcontroller_step1.png -%{tde_datadir}/pixmaps/kcmldapcontroller_step4.png - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -%if 0%{?pclinuxos} -%__rm -rf acl-updater -%endif - - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - -DPLUGIN_INSTALL_DIR="%{tde_tdelibdir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/applications/kcmldapmanager/kcmldapmanager.spec b/redhat/applications/kcmldapmanager/kcmldapmanager.spec deleted file mode 100644 index 16aec6e48..000000000 --- a/redhat/applications/kcmldapmanager/kcmldapmanager.spec +++ /dev/null @@ -1,210 +0,0 @@ -# -# spec file for package kcmldapmanager (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg kcmldapmanager -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.5 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Kerberos control module for the TDE control center -Group: Applications/Utilities -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: gettext -BuildRequires: trinity-libtdeldap-devel >= 0.5 - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -# OPENLDAP support -%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: openldap-devel -%endif -%if 0%{?suse_version} -BuildRequires: openldap2-devel -%endif -%if 0%{?rhel} == 5 -BuildRequires: openldap24-libs-devel -%endif - -# KRB5 support -#BuildRequires: krb5-devel - -# HEIMDAL support -%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: heimdal-devel -%endif -%if 0%{?suse_version} -BuildRequires: libheimdal-devel -%endif - -# UDEV support -%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} || 0%{?rhel} >= 6 -%define with_tdehwlib 1 -BuildRequires: libudev-devel -%endif - -# LIBCOM_ERR support -%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 6 -BuildRequires: libcom_err-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: %{_lib}ext2fs-devel -%endif - -# ACL support -BuildRequires: libacl-devel - -# IDN support -BuildRequires: libidn-devel - -# OPENSSL support -BuildRequires: openssl-devel - -Requires: trinity-kcontrol-ldap-manager = %{?epoch:%{epoch}:}%{version}-%{release} - - -%description -This is a meta-package that installs all kcmldap related packages. - -%files - -########## - -%package -n trinity-kcontrol-ldap-manager -Summary: Kerberos realm management module for the TDE control center -Group: Applications/Utilities - -%description -n trinity-kcontrol-ldap-manager -This is a TDE control center module to manage users, groups, and machines in Kerberos realms. - -%files -n trinity-kcontrol-ldap-manager -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/tdeldapmanager -%{tde_tdelibdir}/kcm_ldapmanager.la -%{tde_tdelibdir}/kcm_ldapmanager.so -%{tde_tdeappdir}/ldapmanager.desktop - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - -DPLUGIN_INSTALL_DIR="%{tde_tdelibdir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%find_lang %{tde_pkg} || touch %{tde_pkg}.lang - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/applications/kcpuload/kcpuload.spec b/redhat/applications/kcpuload/kcpuload.spec deleted file mode 100644 index 12749667d..000000000 --- a/redhat/applications/kcpuload/kcpuload.spec +++ /dev/null @@ -1,171 +0,0 @@ -# -# spec file for package kcpuload (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg kcpuload -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 2.00 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: CPU meter for Kicker [Trinity] -Group: Applications/Utilities -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: gettext - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig - -# IDN support -BuildRequires: libidn-devel - -# OPENSSL support -BuildRequires: openssl-devel - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - - -%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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%find_lang %{tde_pkg} || touch %{tde_pkg}.lang - -# Fix desktop files (openSUSE only) -echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/%{tde_pkg}.desktop" -%if 0%{?suse_version} -%suse_update_desktop_file "%{?buildroot}%{tde_tdeappdir}/%{tde_pkg}.desktop" System Monitor -%endif - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%{tde_bindir}/kcpuload -%{tde_tdeappdir}/kcpuload.desktop -%{tde_datadir}/apps/kcpuload/ -%{tde_datadir}/icons/crystalsvg/*/apps/kcpuload.png -%{tde_datadir}/icons/locolor/*/apps/kcpuload.png -%{tde_mandir}/man1/*.1* -%{tde_tdedocdir}/HTML/en/kcpuload/ - - -%changelog diff --git a/redhat/applications/kdbusnotification/kdbusnotification.spec b/redhat/applications/kdbusnotification/kdbusnotification.spec deleted file mode 100644 index 194020fbc..000000000 --- a/redhat/applications/kdbusnotification/kdbusnotification.spec +++ /dev/null @@ -1,176 +0,0 @@ -# -# spec file for package kdbusnotification (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg kdbusnotification -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.1 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: a DBUS notification service [Trinity] -Group: Applications/Utilities -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: libtool - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -# GTK2 stuff -BuildRequires: gtk2-devel - -# DBUS stuff -%if 0%{?suse_version} -BuildRequires: dbus-1-glib-devel -%else -BuildRequires: dbus-glib-devel -%endif - -# ACL support -BuildRequires: libacl-devel - -# IDN support -BuildRequires: libidn-devel - -# OPENSSL support -BuildRequires: openssl-devel - - -%description -kdbusnotification is a small program for Trinity that displays -DBUS notifications via unobtrusive, easily dismissed passive popups. - - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -# Fix for Fedora 31 -if [ -r "/usr/include/harfbuzz/hb.h" ]; then - #export CMAKE_INCLUDE_PATH="/usr/include/harfbuzz" - RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -I/usr/include/harfbuzz" -fi - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - -DPLUGIN_INSTALL_DIR="%{tde_tdelibdir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - - - -%clean -%__rm -rf %{buildroot} - - - -%files -%defattr(-,root,root,-) -%{tde_bindir}/notification-daemon-tde -%{tde_datadir}/autostart/kdbusnotification-autostart.desktop - - - -%changelog diff --git a/redhat/applications/kdirstat/kdirstat.spec b/redhat/applications/kdirstat/kdirstat.spec deleted file mode 100644 index cddd115ee..000000000 --- a/redhat/applications/kdirstat/kdirstat.spec +++ /dev/null @@ -1,177 +0,0 @@ -# -# spec file for package kdirstat (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg kdirstat -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 2.4.4 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Graphical disk usage display with cleanup facilities [Trinity] -Group: Applications/Utilities -URL: http://www.trinitydesktop.org - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: gettext - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: libtool - -# ACL support -BuildRequires: libacl-devel - -# IDN support -BuildRequires: libidn-devel - -# OPENSSL support -BuildRequires: openssl-devel - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - - -%description -KDirStat (TDE 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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%find_lang %{tde_pkg} - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file -N "KDirStat" -G "Directory Statistics" "%{?buildroot}%{tde_tdeappdir}/%{tde_pkg}.desktop" Filesystem -%endif - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%{tde_bindir}/kdirstat -%{tde_tdeappdir}/kdirstat.desktop -%{tde_datadir}/apps/tdeconf_update/fix_move_to_trash_bin.pl -%{tde_datadir}/apps/tdeconf_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 -%{tde_mandir}/man1/*.1* - - -%changelog diff --git a/redhat/applications/keep/keep.spec b/redhat/applications/keep/keep.spec deleted file mode 100644 index e4c67749a..000000000 --- a/redhat/applications/keep/keep.spec +++ /dev/null @@ -1,179 +0,0 @@ -# -# spec file for package keep (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg keep -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.4.0 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Backup system for TDE [Trinity] -Group: Applications/Utilities -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: gettext - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: libtool - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -# ACL support -BuildRequires: libacl-devel - -# IDN support -BuildRequires: libidn-devel - -# OPENSSL support -BuildRequires: openssl-devel - -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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - -DPLUGIN_INSTALL_DIR="%{tde_tdelibdir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%find_lang %{tde_pkg} - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file -r "%{?buildroot}%{tde_tdeappdir}/keep.desktop" System Backup -%endif - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.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 -%{tde_mandir}/man1/keep.* - - -%changelog diff --git a/redhat/applications/kerberostray/kerberostray.spec b/redhat/applications/kerberostray/kerberostray.spec deleted file mode 100644 index 5bc1c3709..000000000 --- a/redhat/applications/kerberostray/kerberostray.spec +++ /dev/null @@ -1,200 +0,0 @@ -# -# spec file for package kerberostray (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg kerberostray -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.5 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Kerberos ticket manager -Group: Applications/Utilities -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: gettext -BuildRequires: trinity-libtdeldap-devel >= 0.5 - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -# OPENLDAP support -%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: openldap-devel -%endif -%if 0%{?suse_version} -BuildRequires: openldap2-devel -%endif -%if 0%{?rhel} == 5 -BuildRequires: openldap24-libs-devel -%endif - -# KRB5 support -#BuildRequires: krb5-devel - -# HEIMDAL support -%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: heimdal-devel -%endif -%if 0%{?suse_version} -BuildRequires: libheimdal-devel -%endif - -# UDEV support -%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} || 0%{?rhel} >= 6 -%define with_tdehwlib 1 -BuildRequires: libudev-devel -%endif - -# LIBCOM_ERR support -%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 6 -BuildRequires: libcom_err-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: %{_lib}ext2fs-devel -%endif - -# ACL support -BuildRequires: libacl-devel - -# IDN support -BuildRequires: libidn-devel - -# OPENSSL support -BuildRequires: openssl-devel - - -%description -Kerberos ticket manager which sits in the system tray and allows viewing/control of Kerberos tickets - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - -DPLUGIN_INSTALL_DIR="%{tde_tdelibdir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%find_lang %{tde_pkg} - -# Apps that should stay in TDE -echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/%{tde_pkg}.desktop" - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.lang -%{tde_bindir}/kerberostray -%{tde_tdeappdir}/kerberostray.desktop -%{tde_datadir}/apps/kerberostray/ -%{tde_datadir}/autostart/kerberostray.desktop -%{tde_datadir}/icons/crystalsvg/*/apps/kerberostray.png - - -%changelog diff --git a/redhat/applications/keximdb/keximdb.spec b/redhat/applications/keximdb/keximdb.spec deleted file mode 100644 index bf89c420e..000000000 --- a/redhat/applications/keximdb/keximdb.spec +++ /dev/null @@ -1,166 +0,0 @@ -# -# spec file for package keximdb (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg keximdb -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_confdir %{_sysconfdir}/trinity -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 1.1.0 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: MS Access (MDB) driver for Kexi [Trinity] -Group: Applications/Multimedia -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: trinity-koffice-devel -BuildRequires: trinity-koffice-kexi - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: libtool - -# IDN support -BuildRequires: libidn-devel - -# ACL support -BuildRequires: libacl-devel - -# OPENSSL support -BuildRequires: openssl-devel - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - - -%description -MDB migration driver for converting MS Access databases in MDB files -into KexiDB databases. - -This driver allows Kexi, the KOffice database program, to convert MDB -database files to Kexi databases via the Tools->Migration->Import Database -menu option. Note that this package does not allow MDB files to be opened -directly - they must be converted to a Kexi database first. - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_GCC_VISIBILITY=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - - -%clean -%__rm -rf %{buildroot} - - -%files -%defattr(-,root,root,-) -%{tde_tdelibdir}/keximigrate_mdb.la -%{tde_tdelibdir}/keximigrate_mdb.so -%{tde_datadir}/services/keximigrate_mdb.desktop - - -%post - - -%postun - - -%changelog diff --git a/redhat/applications/kftpgrabber/kftpgrabber.spec b/redhat/applications/kftpgrabber/kftpgrabber.spec deleted file mode 100644 index 1757ef3a0..000000000 --- a/redhat/applications/kftpgrabber/kftpgrabber.spec +++ /dev/null @@ -1,203 +0,0 @@ -# -# spec file for package kftprgrabber (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg kftpgrabber -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.8.1 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: A FTP client for TDE -Group: Applications/Internet -URL: http://www.kftp.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -# OPENSSL support -BuildRequires: openssl-devel - - -%description -KFTPgrabber is a graphical FTP client for the Trinity Desktop Environment. It -implements many features required for usable FTP interaction. - -Feature list: -- Multiple simultaneous FTP sessions in separate tabs -- A tree-oriented transfer queue -- TLS/SSL support for the control connection and the data channel -- X509 certificate support for authentication -- FXP site-to-site transfer support -- One-time password (OTP) support using S/KEY, MD5, RMD160 or SHA1 -- Site bookmarks with many options configurable per-site -- Distributed FTP daemon support (implementing the PRET command) -- Can use Zeroconf for local site discovery -- Bookmark import plugins from other FTP clients -- Support for the SFTP protocol -- A nice traffic graph -- Ability to limit upload and download speed -- Priority and skip lists -- Integrated SFV checksum verifier -- Direct viewing/editing of remote files -- Advanced default "on file exists" action configuration -- Filter displayed files/directories as you type - - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} - -%description devel -%{summary} - - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTDIR -export PATH="%{tde_bindir}:${PATH}" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DBUILD_ALL=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -%__rm -rf $RPM_BUILD_ROOT -%__make install DESTDIR=$RPM_BUILD_ROOT -C build - -%find_lang %{tde_pkg} - - -%clean -%__rm -rf $RPM_BUILD_ROOT - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING README.md ChangeLog -%{tde_bindir}/kftpgrabber -%{tde_libdir}/libkftpinterfaces.so.0 -%{tde_libdir}/libkftpinterfaces.so.0.0.0 -%{tde_tdelibdir}/kftpimportplugin_filezilla3.la -%{tde_tdelibdir}/kftpimportplugin_filezilla3.so -%{tde_tdelibdir}/kftpimportplugin_gftp.la -%{tde_tdelibdir}/kftpimportplugin_gftp.so -%{tde_tdelibdir}/kftpimportplugin_kftp.la -%{tde_tdelibdir}/kftpimportplugin_kftp.so -%{tde_tdelibdir}/kftpimportplugin_ncftp.la -%{tde_tdelibdir}/kftpimportplugin_ncftp.so -%{tde_tdeappdir}/kftpgrabber.desktop -%{tde_datadir}/apps/kftpgrabber/ -%{tde_datadir}/config.kcfg/kftpgrabber.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kftpgrabber.png -%{tde_datadir}/services/kftpimportplugin_filezilla3.desktop -%{tde_datadir}/services/kftpimportplugin_gftp.desktop -%{tde_datadir}/services/kftpimportplugin_kftp.desktop -%{tde_datadir}/services/kftpimportplugin_ncftp.desktop -%{tde_datadir}/servicetypes/kftpbookmarkimportplugin.desktop -%{tde_tdedocdir}/HTML/en/kftpgrabber/ -%{tde_mandir}/man1/kftpgrabber.1* - - -%files devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/kftpgrabber/ -%{tde_libdir}/libkftpinterfaces.la -%{tde_libdir}/libkftpinterfaces.so - - -%changelog diff --git a/redhat/applications/kgtk-qt3/kgtk-qt3.spec b/redhat/applications/kgtk-qt3/kgtk-qt3.spec deleted file mode 100644 index ecc87aad6..000000000 --- a/redhat/applications/kgtk-qt3/kgtk-qt3.spec +++ /dev/null @@ -1,191 +0,0 @@ -# -# spec file for package kgtk-qt3 (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg kgtk-qt3 -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.10.2 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Use TDE dialogs in Gtk apps -Group: Applications/Utilities -URL: http://www.trinitydesktop.org - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: gettext - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: libtool -BuildRequires: gcc-c++ -BuildRequires: pkgconfig - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -# IDN support -BuildRequires: libidn-devel - -# GTK2 support -%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} -BuildRequires: gtk2-devel -%else -BuildRequires: gtk+2.0-devel -%endif - -# GAMIN support -# Not on openSUSE. -%if ( 0%{?rhel} && 0%{?rhel} <= 8 ) || ( 0%{?fedora} && 0%{?fedora} <= 33 ) || 0%{?mgaversion} || 0%{?mdkversion} -%define with_gamin 1 -BuildRequires: gamin-devel -%endif - -# ACL support -BuildRequires: libacl-devel - -# OPENSSL support -BuildRequires: openssl-devel - - -%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 TDE module/application. - -This package includes the kqt3-wrapper - - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -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} \ - \ - -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 -%dir %{tde_datadir}/kgtk -%dir %{tde_libdir}/kgtk -%{tde_libdir}/kgtk/libkgtk2.so -%{tde_libdir}/kgtk/libkqt3.so -%{tde_datadir}/kgtk/preload - - -%changelog diff --git a/redhat/applications/kile/kile.spec b/redhat/applications/kile/kile.spec deleted file mode 100644 index b424e7ae5..000000000 --- a/redhat/applications/kile/kile.spec +++ /dev/null @@ -1,224 +0,0 @@ -# -# spec file for package kile (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg kile -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 2.0.3 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: TDE Integrated LaTeX Environment [Trinity] -Group: Applications/Publishing -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: gettext - -BuildRequires: cmake -BuildRequires: gcc-c++ -BuildRequires: pkgconfig - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -Obsoletes: %{name}-i18n-ar < %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: %{name}-i18n-bg < %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: %{name}-i18n-br < %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: %{name}-i18n-ca < %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: %{name}-i18n-cs < %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: %{name}-i18n-cy < %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: %{name}-i18n-da < %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: %{name}-i18n-de < %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: %{name}-i18n-el < %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: %{name}-i18n-engb < %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: %{name}-i18n-es < %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: %{name}-i18n-et < %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: %{name}-i18n-eu < %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: %{name}-i18n-fi < %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: %{name}-i18n-fr < %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: %{name}-i18n-ga < %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: %{name}-i18n-gl < %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: %{name}-i18n-hi < %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: %{name}-i18n-hu < %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: %{name}-i18n-is < %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: %{name}-i18n-it < %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: %{name}-i18n-ja < %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: %{name}-i18n-lt < %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: %{name}-i18n-ms < %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: %{name}-i18n-mt < %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: %{name}-i18n-nb < %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: %{name}-i18n-nds < %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: %{name}-i18n-nl < %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: %{name}-i18n-nn < %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: %{name}-i18n-pa < %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: %{name}-i18n-pl < %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: %{name}-i18n-pt < %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: %{name}-i18n-ptbr < %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: %{name}-i18n-ro < %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: %{name}-i18n-ru < %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: %{name}-i18n-rw < %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: %{name}-i18n-sk < %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: %{name}-i18n-sr < %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: %{name}-i18n-srlatin < %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: %{name}-i18n-sv < %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: %{name}-i18n-ta < %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: %{name}-i18n-th < %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: %{name}-i18n-tr < %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: %{name}-i18n-uk < %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: %{name}-i18n-zhcn < %{?epoch:%{epoch}:}%{version}-%{release} - - -%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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -# Warning: GCC visibility causes the KCM not to work at all ! -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_SKIP_INSTALL_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DDATA_INSTALL_DIR=%{tde_datadir}/apps \ - -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 %{tde_pkg} - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file kile Office WordProcessor -%endif - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%{tde_bindir}/kile -%{tde_tdeappdir}/kile.desktop -%{tde_datadir}/apps/tdeconf_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/ - -%{tde_mandir}/man1/kile.1* - - -%changelog diff --git a/redhat/applications/kima/kima.spec b/redhat/applications/kima/kima.spec deleted file mode 100644 index 279725f90..000000000 --- a/redhat/applications/kima/kima.spec +++ /dev/null @@ -1,172 +0,0 @@ -# -# spec file for package kima (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg kima -%define tde_prefix /opt/trinity -%define tde_appdir %{tde_datadir}/applications -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.7.3.2 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Kicker monitoring applet [Trinity] -Group: Applications/Utilities -URL: http://www.elliptique.net/~ken/kima/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: gettext - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -# UDEV support -%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} || 0%{?rhel} >= 6 -%define with_tdehwlib 1 -BuildRequires: libudev-devel -%endif - -# IDN support -BuildRequires: libidn-devel - -# OPENSSL support -BuildRequires: openssl-devel - - -%description -This applet monitors various temperature, -frequency and fan sources in your kicker -panel. - - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - -DPLUGIN_INSTALL_DIR="%{tde_tdelibdir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_GCC_VISIBILITY=ON \ - -DWITH_NVCONTROL=OFF \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - - -%find_lang %{tde_pkg} - - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING README.md TODO -%{tde_tdelibdir}/libkima.la -%{tde_tdelibdir}/libkima.so -%{tde_datadir}/apps/kicker/applets/kima.desktop -%{tde_tdedocdir}/HTML/en/kima/ - - -%changelog diff --git a/redhat/applications/kiosktool/kiosktool.spec b/redhat/applications/kiosktool/kiosktool.spec deleted file mode 100644 index 913ff3ed4..000000000 --- a/redhat/applications/kiosktool/kiosktool.spec +++ /dev/null @@ -1,186 +0,0 @@ -# -# spec file for package kiosktool (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg kiosktool -%define tde_prefix /opt/trinity -%define tde_appdir %{tde_datadir}/applications -%define tde_bindir %{tde_prefix}/bin -%define tde_confdir %{_sysconfdir}/trinity -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 1.0 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Tool to configure the TDE kiosk framework -Group: Applications/Multimedia -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: gettext - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig - -# ACL support -BuildRequires: libacl-devel - -# IDN support -BuildRequires: libidn-devel - -# OPENSSL support -BuildRequires: openssl-devel - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - - -%description -A Point&Click tool for system administrators to enable -TDE's KIOSK features or otherwise preconfigure TDE for -groups of users. - - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf $RPM_BUILD_ROOT -%__make install DESTDIR=$RPM_BUILD_ROOT -C build - -%find_lang %{tde_pkg} - -%__mkdir_p "%{?buildroot}%{tde_confdir}" -cat <"%{?buildroot}%{tde_confdir}/kiosktoolrc" -[General] -GroupBlacklist=bin,daemon,sys,tty,disk,lp,www,kmem,wheel,mail,news,uucp,shadow,utmp,at,xok,named,ftp,postfix,maildrop,man,sshd,distcc,nobody,nogroup -EOF - -# Updates applications categories for openSUSE -echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/%{tde_pkg}.desktop" -%if 0%{?suse_version} -%suse_update_desktop_file "%{?buildroot}%{tde_tdeappdir}/%{tde_pkg}.desktop" System SystemSetup -%endif - - -%clean -%__rm -rf $RPM_BUILD_ROOT - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc ChangeLog COPYING README.md TODO -%{tde_bindir}/kiosktool -%{tde_bindir}/kiosktool-tdedirs -%{tde_tdeappdir}/kiosktool.desktop -%{tde_datadir}/apps/kiosktool/ -%lang(da) %{tde_tdedocdir}/HTML/da/kiosktool/ -%lang(en) %{tde_tdedocdir}/HTML/en/kiosktool/ -%lang(it) %{tde_tdedocdir}/HTML/it/kiosktool/ -%lang(nl) %{tde_tdedocdir}/HTML/nl/kiosktool/ -%lang(pt) %{tde_tdedocdir}/HTML/pt/kiosktool/ -%lang(sv) %{tde_tdedocdir}/HTML/sv/kiosktool/ -%{tde_datadir}/icons/crystalsvg/*/apps/kiosktool.png -%config(noreplace) %{tde_confdir}/kiosktoolrc -%{tde_mandir}/man1/*.1* - - -%changelog diff --git a/redhat/applications/kkbswitch/kkbswitch.spec b/redhat/applications/kkbswitch/kkbswitch.spec deleted file mode 100644 index 0f6c24db8..000000000 --- a/redhat/applications/kkbswitch/kkbswitch.spec +++ /dev/null @@ -1,191 +0,0 @@ -# -# spec file for package kkbswitch (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg kkbswitch -%define tde_prefix /opt/trinity -%define tde_appdir %{tde_datadir}/applications -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 1.4.3 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Keyboard layout indicator for TDE -Group: Applications/Utilities -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig - -# ACL support -BuildRequires: libacl-devel - -# IDN support -BuildRequires: libidn-devel - -# OPENSSL support -BuildRequires: openssl-devel - -# XKBFILES support -BuildRequires: libxkbfile-devel - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - - -%description -KKBSwitch displays an icon in the system tray that indicates which layout is -currently active and enables you to switch layouts by clicking the icon or by -selecting from the menu. It works with all desktop environments. - -Features include: -- Configurable icons for the keyboard layouts. -- The "toggle mode" to toggle between the two most recently-used keyboard - layouts. -- Choose to use a global layout or per-application or per-window layouts. -- Configurable keyboard shortcuts. - - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%find_lang %{tde_pkg} - -# Fix desktop icon location -if [ -d "%{?buildroot}%{tde_datadir}/applnk" ]; then - %__mkdir_p "%{?buildroot}%{tde_tdeappdir}" - %__mv -f "%{?buildroot}%{tde_datadir}/applnk/"*"/%{tde_pkg}.desktop" "%{?buildroot}%{tde_tdeappdir}" - %__rm -r "%{buildroot}%{tde_datadir}/applnk" -fi - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file -r "%{?buildroot}%{tde_tdeappdir}/%{tde_pkg}.desktop" System TrayIcon -%endif - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog README.md TODO -%{tde_bindir}/kkbswitch -%{tde_tdeappdir}/kkbswitch.desktop -%{tde_datadir}/apps/kkbswitch/ -%{tde_datadir}/apps/tdeconf_update/kkbswitch.upd -%{tde_datadir}/apps/tdeconf_update/kkbswitch_update_14_icons -%{tde_datadir}/apps/tdeconf_update/kkbswitch_update_14_options -%{tde_datadir}/autostart/kkbswitch.desktop -%{tde_datadir}/X11/xkb/symbols/ru_ua -%{tde_tdedocdir}/HTML/en/kkbswitch/ -%{tde_mandir}/man1/kkbswitch.1 -%{tde_datadir}/icons/hicolor/*/apps/kkbswitch.png - - -%changelog diff --git a/redhat/applications/klamav/klamav.spec b/redhat/applications/klamav/klamav.spec deleted file mode 100644 index af6b1725d..000000000 --- a/redhat/applications/klamav/klamav.spec +++ /dev/null @@ -1,150 +0,0 @@ -# -# spec file for package klamav (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg klamav -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications -%define tde_tdeappdir %{tde_appdir}/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Summary: Frontend for clamav -Version: 0.46 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -#URL: http://www.trinitydesktop.org/ -Url: http://klamav.sourceforge.net/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-cmake >= %{tde_version} - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: gettext -BuildRequires: curl-devel -BuildRequires: gmp-devel -BuildRequires: sqlite-devel -#BuildRequires: unsermake - -# CLAMAV support -BuildRequires: clamav -BuildRequires: clamav-devel -Requires: clamav - -# OPENSSL support -BuildRequires: openssl-devel - - -%description -A TDE front-end for the Clam AntiVirus antivirus toolkit. - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DBUILD_ALL=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build -chmod u+r %{buildroot}%{tde_bindir}/ScanWithKlamAV - -%find_lang %{tde_pkg} - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%attr(111,root,root) %{tde_bindir}/ScanWithKlamAV -%{tde_bindir}/klamav -%{tde_bindir}/klammail -%{tde_tdeappdir}/klamav.desktop -%{tde_datadir}/apps/klamav/ -%{tde_datadir}/apps/konqueror/servicemenus/klamav-dropdown.desktop -%{tde_tdedocdir}/HTML/en/klamav/ -%{tde_datadir}/icons/hicolor/32x32/apps/klamav.png -%{tde_datadir}/icons/hicolor/48x48/apps/klamav.png - - -%changelog diff --git a/redhat/applications/klcddimmer/klcddimmer.spec b/redhat/applications/klcddimmer/klcddimmer.spec deleted file mode 100644 index c62c09936..000000000 --- a/redhat/applications/klcddimmer/klcddimmer.spec +++ /dev/null @@ -1,158 +0,0 @@ -# -# spec file for package klcddimmer (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg klcddimmer -%define tde_prefix /opt/trinity -%define tde_appdir %{tde_datadir}/applications -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.3 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Applet to adjust LCD brightness for TDE -Group: Applications/Utilities -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig - -# IDN support -BuildRequires: libidn-devel - -# OPENSSL support -BuildRequires: openssl-devel - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - - -%description - - - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%find_lang %{tde_pkg} || touch %{tde_pkg}.lang - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING LICENSE NEWS README.md -%{tde_libdir}/klcddimmer_panelapplet.la -%{tde_libdir}/klcddimmer_panelapplet.so -%{tde_datadir}/apps/kicker/applets/klcddimmer.desktop -%{tde_tdedocdir}/HTML/en/klcddimmer/ -%{tde_datadir}/icons/hicolor/*/apps/klcddimmer.png - - -%changelog diff --git a/redhat/applications/kmplayer/kmplayer.spec b/redhat/applications/kmplayer/kmplayer.spec deleted file mode 100644 index 6132f7d9f..000000000 --- a/redhat/applications/kmplayer/kmplayer.spec +++ /dev/null @@ -1,318 +0,0 @@ -# -# spec file for package kmplayer (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg kmplayer -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_confdir %{_sysconfdir}/trinity -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.10.0c -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Media player for Trinity -Group: Applications/Multimedia -URL: http://www.trinitydesktop.org/ -#URL: http://kmplayer.kde.org - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: libtool - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -# DBUS support -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} -BuildRequires: trinity-dbus-tqt-devel >= %{tde_version} -%endif - -# GSTREAMER support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}gstreamer1.0-devel -BuildRequires: %{_lib}gstreamer-plugins-base1.0-devel -%endif -%if 0%{?rhel} == 4 -BuildRequires: gstreamer-devel -BuildRequires: gstreamer-plugins-devel -%endif -%if 0%{?rhel} == 5 || 0%{?rhel} == 6 || 0%{?suse_version} -BuildRequires: gstreamer-devel -BuildRequires: gstreamer-plugins-base-devel -%endif -%if 0%{?rhel} >= 7 || 0%{?fedora} -BuildRequires: gstreamer1-devel >= 1.0 -BuildRequires: gstreamer1-plugins-base-devel >= 1.0 -%endif - -# XINE support -%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} || 0%{?rhel} || 0%{?suse_version} -%define with_xine 1 -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} -BuildRequires: %{_lib}xine1.2-devel -%endif -%if 0%{?fedora} || 0%{?rhel} -BuildRequires: xine-lib-devel -%endif -%if 0%{?suse_version} -BuildRequires: libxine-devel -%endif -%endif - -# X11 stuff -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: libxt-devel -BuildRequires: libxv-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1210 -BuildRequires: libXv-devel -%endif -%if 0%{?rhel} == 4 -BuildRequires: xorg-x11-devel -%endif -%if 0%{?suse_version} == 1140 -BuildRequires: xorg-x11-libXv-devel -%endif - -# GTK2 stuff -BuildRequires: gtk2-devel - -# DBUS stuff -%if 0%{?suse_version} -BuildRequires: dbus-1-glib-devel -%else -BuildRequires: dbus-glib-devel -%endif - -# NSPR support -%if 0%{?suse_version} -BuildRequires: mozilla-nspr-devel -%else -BuildRequires: nspr-devel -%endif - -# Koffice support -BuildRequires: trinity-koffice-devel - -Requires: %{name}-base = %{?epoch:%{epoch}:}%{version}-%{release} - - -%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 TDE - shortcut configure window -* Lots of configurable shortcuts. Highly recommended for the VDR keys - (if you have VDR) and volume increase/decrease - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING ChangeLog INSTALL README.md TODO -%{tde_bindir}/kmplayer -%{tde_bindir}/knpplayer -%{tde_bindir}/kxvplayer -%{tde_datadir}/services/kmplayer_koffice.desktop -%{tde_libdir}/libkmplayercommon.so.1 -%{tde_libdir}/libkmplayercommon.so.1.0.0 -%{tde_libdir}/libtdeinit_kmplayer.la -%{tde_libdir}/libtdeinit_kmplayer.so -%{tde_tdelibdir}/kmplayer.la -%{tde_tdelibdir}/kmplayer.so -%{tde_tdelibdir}/libkmplayerkofficepart.la -%{tde_tdelibdir}/libkmplayerkofficepart.so -%{tde_tdeappdir}/kmplayer.desktop - -%exclude %{tde_datadir}/apps/kmplayer/bookmarks.xml -%exclude %{tde_datadir}/apps/kmplayer/kmplayerpartui.rc -%exclude %{tde_datadir}/apps/kmplayer/noise.gif -%exclude %{tde_datadir}/apps/kmplayer/pluginsinfo -%{tde_datadir}/apps/kmplayer/ - -########## - -%package base -Group: Applications/Multimedia -Summary: Base files for KMPlayer [Trinity] - -%description base -Core files needed for KMPlayer. - -%files base -%defattr(-,root,root,-) -%{tde_libdir}/libkmplayercommon.la -%{tde_libdir}/libkmplayercommon.so -%{tde_bindir}/kgstplayer -%{tde_bindir}/kxineplayer -%dir %{tde_datadir}/config -%config(noreplace) %{tde_datadir}/config/kmplayerrc -%{tde_datadir}/apps/kmplayer/bookmarks.xml -%{tde_datadir}/apps/kmplayer/noise.gif -%{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 -%{tde_mandir}/man1/kmplayer.1* - -########## - -%package konq-plugins -Group: Applications/Multimedia -Requires: %{name}-base = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: trinity-konqueror >= %{tde_version} -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. - -%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 - -########## - -%package doc -Group: Applications/Multimedia -Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} -Summary: Handbook for KMPlayer [Trinity] - -%description doc -Documention for KMPlayer, a basic audio/video viewer application for TDE. - -%files doc -%defattr(-,root,root,-) -%{tde_tdedocdir}/HTML/*/kmplayer - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DBUILD_ALL=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%find_lang %{tde_pkg} - -# Removes unwanted files -%__rm -f %{?buildroot}%{tde_datadir}/mimelnk/application/x-mplayer2.desktop - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file -r "%{tde_pkg}" TDE AudioVideo Player Video -%endif - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/applications/kmyfirewall/kmyfirewall.spec b/redhat/applications/kmyfirewall/kmyfirewall.spec deleted file mode 100644 index 7998140e5..000000000 --- a/redhat/applications/kmyfirewall/kmyfirewall.spec +++ /dev/null @@ -1,224 +0,0 @@ -# -# spec file for package kmyfirewall (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg kmyfirewall -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_confdir %{_sysconfdir}/trinity -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 1.1.1 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Iptables based firewall configuration tool for TDE -Group: Applications/Utilities -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz -Source1: %{name}-rpmlintrc - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: autoconf automake libtool m4 -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: libtool - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - - -%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.) - -%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/ -%{tde_datadir}/apps/kmfipteditorpart/ -%{tde_datadir}/apps/kmfsystray/ -%{tde_datadir}/apps/kmyfirewall/ -%{tde_datadir}/config.kcfg/kmfconfig.kcfg -%config(noreplace) %{tde_confdir}/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 - -########## - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} - -%description devel -%{summary} - -%files devel -%{tde_tdeincludedir}/kmyfirewall -%{tde_libdir}/libkmfcore.la -%{tde_libdir}/libkmfcore.so -%{tde_libdir}/libkmfwidgets.la -%{tde_libdir}/libkmfwidgets.so - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export kde_confdir="%{tde_confdir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --enable-final \ - --enable-closure \ - --enable-rpath \ - --disable-gcc-hidden-visibility - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file -r "%{tde_pkg}" System Network -%endif - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/applications/kmyfirewall/trinity-kmyfirewall-rpmlintrc b/redhat/applications/kmyfirewall/trinity-kmyfirewall-rpmlintrc deleted file mode 100644 index 529351884..000000000 --- a/redhat/applications/kmyfirewall/trinity-kmyfirewall-rpmlintrc +++ /dev/null @@ -1,2 +0,0 @@ -setBadness('library-without-ldconfig-postun', 0) -setBadness('library-without-ldconfig-postin', 0) diff --git a/redhat/applications/kmymoney/kmymoney.spec b/redhat/applications/kmymoney/kmymoney.spec deleted file mode 100644 index ac1fe772a..000000000 --- a/redhat/applications/kmymoney/kmymoney.spec +++ /dev/null @@ -1,255 +0,0 @@ -%if 0%{?fedora} >= 23 || 0%{?rhel} >= 8 -%define _configure_libtool_hardening_hack 0 -%endif - -# -# spec file for package kmymoney (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg kmymoney -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -# Required for Mageia >= 2: removes the ldflag '--no-undefined' -%define _disable_ld_no_undefined 1 - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 1.0.5 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Personal finance manager for TDE -Group: Applications/Utilities -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz -Source1: kmymoneytitlelabel.png -Source2: %{name}-rpmlintrc - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: cmake -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: libtool -BuildRequires: fdupes - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -BuildRequires: html2ps -BuildRequires: recode -BuildRequires: libofx-devel - -# OPENSP support -%if 0%{?mgaversion} || 0%{?pclinuxos} || 0%{?mdkversion} -%if 0%{?mgaversion} || 0%{?pclinuxos} -%if 0%{?mgaversion} >= 4 -BuildRequires: %{_lib}osp-devel -%else -BuildRequires: %{_lib}OpenSP5-devel -%endif -%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 - -# TQT3-sqlite3 -BuildRequires: libtqt3-mt-sqlite3 -Requires: libtqt3-mt-sqlite3 - -Requires: %{name}-common = %{?epoch:%{epoch}:}%{version}-%{release} - - -%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. - -%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 - -########## - -%package common -Summary: KMyMoney architecture independent files -Group: Applications/Utilities -Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} - -%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. - -%files common -f kmymoney2.lang -%defattr(-,root,root,-) -%{tde_datadir}/apps/kmymoney2/ -%{tde_datadir}/config.kcfg/kmymoney2.kcfg -%{tde_datadir}/icons/hicolor/*/*/*.png -#%dir %{tde_datadir}/icons/Tango/ -#%dir %{tde_datadir}/icons/Tango/*/ -#%dir %{tde_datadir}/icons/Tango/*/*/ -#%{tde_datadir}/icons/Tango/*/*/*.png -#%{tde_datadir}/icons/Tango/scalable/*.svgz -%{tde_datadir}/icons/locolor/*/*/*.png -#%dir %{tde_datadir}/icons/oxygen/ -#%dir %{tde_datadir}/icons/oxygen/*/ -#%dir %{tde_datadir}/icons/oxygen/*/*/ -#%{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/ -%{tde_datadir}/services/kmm_ofximport.desktop - -########## - -%package devel -Summary: KMyMoney development files -Group: Development/Libraries -Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} - -%description devel -This package contains development files needed for KMyMoney plugins. - -%files devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/kmymoney/ -%{tde_libdir}/libkmm_kdchart.la -%{tde_libdir}/libkmm_mymoney.la -%{tde_libdir}/libkmm_plugin.la -%{tde_libdir}/*.so -%{_libdir}/tqt3/plugins/designer/libkmymoney.la -%{_libdir}/tqt3/plugins/designer/libkmymoney.so - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -%__install -m644 %{SOURCE1} kmymoney2/widgets/ - - -%build -unset QTDIR QTLIB QTINC -export PATH="%{tde_bindir}:${PATH}" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_SKIP_INSTALL_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DBIN_INSTALL_DIR="%{tde_bindir}" \ - -DDOC_INSTALL_DIR="%{tde_docdir}" \ - -DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - -DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \ - -DSYSCONF_INSTALL_DIR="%{_sysconfdir}/trinity" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - \ - -DBUILD_ALL=ON \ - \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%find_lang kmymoney2 - -# Links duplicate files -%fdupes "%{?buildroot}%{tde_datadir}" - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/applications/kmymoney/kmymoneytitlelabel.png b/redhat/applications/kmymoney/kmymoneytitlelabel.png deleted file mode 100644 index 70d72ac98..000000000 Binary files a/redhat/applications/kmymoney/kmymoneytitlelabel.png and /dev/null differ diff --git a/redhat/applications/kmymoney/trinity-kmymoney-rpmlintrc b/redhat/applications/kmymoney/trinity-kmymoney-rpmlintrc deleted file mode 100644 index 529351884..000000000 --- a/redhat/applications/kmymoney/trinity-kmymoney-rpmlintrc +++ /dev/null @@ -1,2 +0,0 @@ -setBadness('library-without-ldconfig-postun', 0) -setBadness('library-without-ldconfig-postin', 0) diff --git a/redhat/applications/knemo/knemo.spec b/redhat/applications/knemo/knemo.spec deleted file mode 100644 index 29ef60d10..000000000 --- a/redhat/applications/knemo/knemo.spec +++ /dev/null @@ -1,199 +0,0 @@ -# -# spec file for package knemo (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg knemo -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.4.8 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Network interfaces monitor for the Trinity systray -Group: Applications/Utilities -URL: http://www.trinitydesktop.org/ -#URL: http://beta.smileaf.org/projects - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: libtool - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -BuildRequires: gettext - -%if 0%{?fedora} >= 18 || 0%{?suse_version} || 0%{?mgaversion} -BuildRequires: net-tools -Requires: net-tools -%endif - -%if 0%{?suse_version} > 1320 -BuildRequires: net-tools-deprecated -Requires: net-tools-deprecated -%endif - -# ACL support -BuildRequires: libacl-devel - -# IDN support -BuildRequires: libidn-devel - -# OPENSSL support -BuildRequires: openssl-devel - -# Wireless support -%define with_wifi 1 -%if 0%{?fedora} >= 6 || 0%{?rhel} >= 5 -BuildRequires: wireless-tools-devel -%endif -%if 0%{?mgaversion} == 2 || 0%{?mdkversion} -BuildRequires: %{_lib}iw29-devel -%endif -%if 0%{?rhel} == 5 || 0%{?suse_version} -BuildRequires: wireless-tools -%endif -%if 0%{?suse_version} || 0%{?mgaversion} >= 3 -BuildRequires: libiw-devel -%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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - %{!?with_wifi:-DWITH_LIBIW=OFF} \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - - -%clean -%__rm -rf %{buildroot} - - -%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/ -%{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 -%{tde_tdedocdir}/HTML/en/kcontrol/knemo/ - - -%changelog diff --git a/redhat/applications/knetload/knetload.spec b/redhat/applications/knetload/knetload.spec deleted file mode 100644 index c6d482b2f..000000000 --- a/redhat/applications/knetload/knetload.spec +++ /dev/null @@ -1,181 +0,0 @@ -# -# spec file for package knetload (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg knetload -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 2.3 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: A network meter for Kicker [Trinity] -Group: Applications/Utilities -URL: http://www.trinitydesktop.org - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: libtool - -# ACL support -BuildRequires: libacl-devel - -# IDN support -BuildRequires: libidn-devel - -# OPENSSL support -BuildRequires: openssl-devel - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - - -%description -KNetLoad is a small network meter for Kicker (the TDE 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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%find_lang %{tde_pkg} - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file %{tde_pkg} System Monitor -%endif - -# These icons are copied from 'crystalsvg' theme, provided by 'tdelibs'. -%__mkdir_p "%{?buildroot}%{tde_datadir}/icons/hicolor/"{16x16,32x32,48x48}"/apps/" -pushd "%{?buildroot}%{tde_datadir}/icons" -for i in {16,32,48}; do %__cp crystalsvg/"$i"x"$i"/apps/knetload.png hicolor/"$i"x"$i"/apps/knetload.png ;done -popd - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.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/hicolor/*/apps/knetload.png -%{tde_datadir}/icons/locolor/*/apps/knetload.png -%{tde_tdedocdir}/HTML/en/knetload/ -%{tde_mandir}/man1/*.1* - - -%changelog diff --git a/redhat/applications/knetstats/knetstats.spec b/redhat/applications/knetstats/knetstats.spec deleted file mode 100644 index d6dfad2c8..000000000 --- a/redhat/applications/knetstats/knetstats.spec +++ /dev/null @@ -1,168 +0,0 @@ -# -# spec file for package knetstats (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg knetstats -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 1.6.1 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Network interfaces monitor for the Trinity systray -Group: Applications/Utilities -URL: http://www.trinitydesktop.org - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: libtool - -# ACL support -BuildRequires: libacl-devel - -# IDN support -BuildRequires: libidn-devel - -# OPENSSL support -BuildRequires: openssl-devel - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - - -%description -A simple TDE network monitor that show rx/tx LEDs of any -network interface on a system tray icon - - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%find_lang %{tde_pkg} - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file %{tde_pkg} System Monitor -%endif - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.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 -%{tde_mandir}/man*/knetstats.* - - -%changelog diff --git a/redhat/applications/knetworkmanager8/knetworkmanager8.spec b/redhat/applications/knetworkmanager8/knetworkmanager8.spec deleted file mode 100644 index 923d189f4..000000000 --- a/redhat/applications/knetworkmanager8/knetworkmanager8.spec +++ /dev/null @@ -1,193 +0,0 @@ -# -# spec file for package knetworkmanager8 (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg knetworkmanager -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.8 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Trinity applet for Network Manager -Group: Applications/Internet -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}8-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-dbus-1-tqt-devel >= 1:0.9 -BuildRequires: trinity-dbus-tqt-devel >= 1:0.63 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: autoconf automake libtool m4 -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: libtool - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -%if 0%{?rhel} || 0%{?fedora} -Requires: NetworkManager-gnome -%else -Requires: networkmanager -%endif - -# NetworkManager support -BuildRequires: NetworkManager-glib-devel - -# HAL support -BuildRequires: hal-devel - -Obsoletes: trinity-knetworkmanager < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-knetworkmanager = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -KNetworkManager is a system tray applet for controlling network -connections on systems that use the NetworkManager daemon. - -%files -f knetworkmanager.lang -%defattr(-,root,root,-) -%{tde_bindir}/knetworkmanager -%{tde_libdir}/*.la -%{tde_libdir}/*.so -%{tde_tdelibdir}/knetworkmanager_openvpn.so.* -%{tde_tdelibdir}/knetworkmanager_pptp.so.* -%{tde_tdelibdir}/knetworkmanager_vpnc.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 -%{tde_datadir}/services/knetworkmanager_openvpn.desktop -%{tde_datadir}/services/knetworkmanager_pptp.desktop -%{tde_datadir}/services/knetworkmanager_vpnc.desktop - -########## - -%package devel -Summary: Common data shared among the MySQL GUI Suites -Group: Development/Libraries -Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} - -Obsoletes: trinity-knetworkmanager-devel < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-knetworkmanager-devel = %{?epoch:%{epoch}:}%{version}-%{release} - -%description devel -Development headers for knetworkmanager - -%files devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/*.h -%{tde_tdelibdir}/*.la -%{tde_tdelibdir}/*.so - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}8-%{tde_version}%{?preversion:~%{preversion}} - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" - -# Warning: --enable-final causes FTBFS -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --disable-final \ - --enable-closure \ - --enable-rpath \ - --disable-gcc-hidden-visibility \ - \ - --with-openvpn \ - --with-vpnc \ - --with-pptp - -# Does not support parallel build -%__make - - -%install -%__rm -rf $RPM_BUILD_ROOT -%__make install DESTDIR=%{?buildroot} -%find_lang knetworkmanager - - -%clean -%__rm -rf $RPM_BUILD_ROOT - - -%changelog diff --git a/redhat/applications/knmap/knmap.spec b/redhat/applications/knmap/knmap.spec deleted file mode 100644 index 4b9b3b822..000000000 --- a/redhat/applications/knmap/knmap.spec +++ /dev/null @@ -1,206 +0,0 @@ -# -# spec file for package knmap (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg knmap -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 2.1 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: An NMAP frontend for TDE -Group: Applications/Internet -URL: http://sourceforge.net/projects/knmap/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: libtool - -# ACL support -BuildRequires: libacl-devel - -# IDN support -BuildRequires: libidn-devel - -# OPENSSL support -BuildRequires: openssl-devel - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -# NMAP support -Requires: nmap - - -%description -Knmap is a TDE-based interface to the 'nmap' facility. - -The main Knmap window provides for the entry of nmap options and the -display of nmap-generated output. - -This program is a complete re-write of one by the same name written by -Alexandre Sagala. The last version of that program was 0.9 which was -released on 2003-03-09 and targeted the KDE 2.2 and QT 2.3 environments. - -Not to mention that it did not cater for the full set of 'nmap' options. -Or, perhaps, 'nmap' progressed whilst that version of Knmap languished. - -http://www.kde-apps.org/content/show.php?content=31108 - - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -%__rm -rf $RPM_BUILD_ROOT -%__make install DESTDIR=$RPM_BUILD_ROOT -C build - -%find_lang %{tde_pkg} - -# Move desktop icon to XDG directory -if [ -d "%{buildroot}%{tde_datadir}/applnk" ]; then - %__mkdir_p %{buildroot}%{tde_tdeappdir} - %__mv "%{buildroot}%{tde_datadir}/applnk/"*"/%{tde_pkg}.desktop" "%{buildroot}%{tde_tdeappdir}/%{tde_pkg}.desktop" - %__rm -r "%{buildroot}%{tde_datadir}/applnk" -fi - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file -r %{tde_pkg} TDE System Network -%endif - - -%clean -%__rm -rf $RPM_BUILD_ROOT - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING README.md ChangeLog -%{tde_bindir}/knmap -%{tde_tdeappdir}/knmap.desktop -%{tde_datadir}/apps/knmap/ -%{tde_tdedocdir}/HTML/en/knmap/ -%{tde_datadir}/icons/hicolor/*/apps/knmap.png -%{tde_datadir}/icons/hicolor/*/apps/knmapman.png -%{tde_datadir}/icons/hicolor/*/apps/localman.png -%{tde_datadir}/icons/hicolor/*/apps/manpage.png -%{tde_datadir}/icons/hicolor/*/apps/manstylesheet.png -%{tde_datadir}/icons/hicolor/*/apps/profilecopy.png -%{tde_datadir}/icons/hicolor/*/apps/profiledelete.png -%{tde_datadir}/icons/hicolor/*/apps/profileload.png -%{tde_datadir}/icons/hicolor/*/apps/profilerename.png -%{tde_datadir}/icons/hicolor/*/apps/profilesave.png -%{tde_datadir}/icons/hicolor/*/apps/profilesaveas.png -%{tde_datadir}/icons/hicolor/*/apps/scanclose.png -%{tde_datadir}/icons/hicolor/*/apps/scanduplicate.png -%{tde_datadir}/icons/hicolor/*/apps/scannew.png -%{tde_datadir}/icons/hicolor/*/apps/scanrename.png -%{tde_datadir}/icons/hicolor/*/apps/zoomcustom.png -%{tde_datadir}/icons/hicolor/*/apps/zoomin.png -%{tde_datadir}/icons/hicolor/*/apps/zoomout.png -%{tde_mandir}/man1/*.1* - - -%changelog diff --git a/redhat/applications/knowit/knowit.spec b/redhat/applications/knowit/knowit.spec deleted file mode 100644 index d9b671aa0..000000000 --- a/redhat/applications/knowit/knowit.spec +++ /dev/null @@ -1,161 +0,0 @@ -# -# spec file for package knowit (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg knowit -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.10 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Tool for managing notes [Trinity] -Group: Applications/Utilities -URL: http://www.trinitydesktop.org - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: libtool - -# IDN support -BuildRequires: libidn-devel - -# ACL support -BuildRequires: libacl-devel - -# OPENSSL support -BuildRequires: openssl-devel - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - - -%description -KnowIt is a tool for managing notes which are organized in -tree-like hierarchy. It is similar to TuxCards, -but TDE-based, and requires Trinity. - - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -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 - -%find_lang %{tde_pkg} - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file -r %{tde_pkg} Utility Applet X-SuSE-DesktopUtility -%endif - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%{tde_bindir}/knowit -%{tde_tdeappdir}/knowit.desktop -%{tde_datadir}/apps/knowit/ -%{tde_datadir}/icons/hicolor/*/apps/knowit.png -%{tde_datadir}/mimelnk/application/x-knowit.desktop -%{tde_tdedocdir}/HTML/en/knowit/ -%{tde_mandir}/man*/knowit.* - -%changelog diff --git a/redhat/applications/knutclient/knutclient.spec b/redhat/applications/knutclient/knutclient.spec deleted file mode 100644 index e171f037e..000000000 --- a/redhat/applications/knutclient/knutclient.spec +++ /dev/null @@ -1,182 +0,0 @@ -# -# spec file for package knutclient (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg knutclient -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.9.5 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: A TDE GUI that displays UPS statistics from NUT's upsd [Trinity] -Group: Applications/Utilities -URL: http://www.knut.noveradsl.cz/knutclient/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: fdupes - -# ACL support -BuildRequires: libacl-devel - -# IDN support -BuildRequires: libidn-devel - -# OPENSSL support -BuildRequires: openssl-devel - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - - -%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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -# Fix permissions -chmod 644 AUTHORS README.md COPYING ChangeLog - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%find_lang %{tde_pkg} - -# Move desktop icon to XDG directory -if [ -d "%{buildroot}%{tde_datadir}/applnk" ]; then - %__mkdir_p %{buildroot}%{tde_tdeappdir} - %__mv "%{buildroot}%{tde_datadir}/applnk/Utilities/knutclient.desktop" "%{buildroot}%{tde_tdeappdir}/%{tde_pkg}.desktop" - %__rm -r "%{buildroot}%{tde_datadir}/applnk" -fi - -# Links duplicate files -%fdupes "%{?buildroot}%{tde_datadir}" - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING README.md -%{tde_bindir}/knutclient -%{tde_tdeappdir}/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 -%{tde_mandir}/man1/*.1* - - -%changelog diff --git a/redhat/applications/koffice-i18n/koffice-i18n.spec b/redhat/applications/koffice-i18n/koffice-i18n.spec deleted file mode 100644 index 8e1c91577..000000000 --- a/redhat/applications/koffice-i18n/koffice-i18n.spec +++ /dev/null @@ -1,1113 +0,0 @@ -# -# spec file for package koffice-i18n (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg koffice-i18n -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -# Builds all supported languages (not unsupported ones) -%if "%{?TDE_LANGS}" == "" -%define TDE_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-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 1.6.3 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Internationalization support for Koffice [Trinity] -Group: User Interface/Desktops -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildArch: noarch - -# Speed build options -%define debug_package %{nil} -%define __spec_install_post %{nil} -AutoReq: no - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils -BuildRequires: findutils -BuildRequires: gettext - -BuildRequires: cmake -BuildRequires: gcc-c++ -BuildRequires: pkgconfig - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - - -%description -%{summary}. - -%package Bulgarian -Summary: Bulgarian(bg) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-bg = %{?epoch:%{epoch}:}%{version}-%{release} -%description Bulgarian -%{summary}. - -%package Bengali -Summary: Bengali(bn) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-bn = %{?epoch:%{epoch}:}%{version}-%{release} -%description Bengali -%{summary}. - -%package Tibetan -Summary: Tibetan(bo) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-bo = %{?epoch:%{epoch}:}%{version}-%{release} -%description Tibetan -%{summary}. - -%package Breton -Summary: Breton(br) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-br = %{?epoch:%{epoch}:}%{version}-%{release} -%description Breton -%{summary}. - -%package Bosnian -Summary: Bosnian(bs) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-bs = %{?epoch:%{epoch}:}%{version}-%{release} -%description Bosnian -%{summary}. - -%package Catalan -Summary: Catalan(ca) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-ca = %{?epoch:%{epoch}:}%{version}-%{release} -%description Catalan -%{summary}. - -%package Czech -Summary: Czech(cs) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-cs = %{?epoch:%{epoch}:}%{version}-%{release} -%description Czech -%{summary}. - -%package Cymraeg -Summary: Cymraeg language support for Koffice [Trinity] -Group: User Interface/Desktops -%description Cymraeg -%{summary}. - -%package Welsh -Summary: Welsh(cy) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-cy = %{?epoch:%{epoch}:}%{version}-%{release} -%description Welsh -%{summary}. - -%package Danish -Summary: Danish(da) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-da = %{?epoch:%{epoch}:}%{version}-%{release} -%description Danish -%{summary}. - -%package German -Summary: German(de) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-de = %{?epoch:%{epoch}:}%{version}-%{release} -%description German -%{summary}. - -%package Greek -Summary: Greek(el) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-el = %{?epoch:%{epoch}:}%{version}-%{release} -%description Greek -%{summary}. - -%package British -Summary: British(en_GB) English support for TDE -Group: User Interface/Desktops -Provides: %{name}-en_GB = %{?epoch:%{epoch}:}%{version}-%{release} -%description British -%{summary}. - -%package Esperanto -Summary: Esperanto(eo) support for TDE -Group: User Interface/Desktops -Provides: %{name}-eo = %{?epoch:%{epoch}:}%{version}-%{release} -%description Esperanto -%{summary}. - -%package Spanish -Summary: Spanish(es) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-es = %{?epoch:%{epoch}:}%{version}-%{release} -%description Spanish -%{summary}. - -%package Estonian -Summary: Estonian(et) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-et = %{?epoch:%{epoch}:}%{version}-%{release} -%description Estonian -%{summary}. - -%package Basque -Summary: Basque(eu) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-eu = %{?epoch:%{epoch}:}%{version}-%{release} -%description Basque -%{summary}. - -%package Finnish -Summary: Finnish(fi) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-fi = %{?epoch:%{epoch}:}%{version}-%{release} -%description Finnish -%{summary}. - -%package Faroese -Summary: Faroese(fo) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-fo = %{?epoch:%{epoch}:}%{version}-%{release} -%description Faroese -%{summary}. - -%package French -Summary: French(fr) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-fr = %{?epoch:%{epoch}:}%{version}-%{release} -%description French -%{summary}. - -%package Frisian -Summary: Frisian(fy) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-fy = %{?epoch:%{epoch}:}%{version}-%{release} -%description Frisian -%{summary}. - -%package Irish -Summary: Irish(ga) language support for Koffice [Trinity] -Group: User Interface/Desktops -Obsoletes: kde-i18n-Gaeilge < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: %{name}-ga = %{?epoch:%{epoch}:}%{version}-%{release} -%description Irish -%{summary}. - -%package Galician -Summary: Galician(gl) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-gl = %{?epoch:%{epoch}:}%{version}-%{release} -%description Galician -%{summary}. - -%package Hebrew -Summary: Hebrew(he) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-he = %{?epoch:%{epoch}:}%{version}-%{release} -%description Hebrew -%{summary}. - -%package Hindi -Summary: Hindi(hi) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-hi = %{?epoch:%{epoch}:}%{version}-%{release} -%description Hindi -%{summary}. - -%package Croatian -Summary: Croatian(hr) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-hr = %{?epoch:%{epoch}:}%{version}-%{release} -%description Croatian -%{summary}. - -%package Hungarian -Summary: Hungarian(hu) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-hu = %{?epoch:%{epoch}:}%{version}-%{release} -%description Hungarian -%{summary}. - -%package Indonesian -Summary: Indonesian(id) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-id = %{?epoch:%{epoch}:}%{version}-%{release} -%description Indonesian -%{summary}. - -%package Icelandic -Summary: Icelandic(is) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-is = %{?epoch:%{epoch}:}%{version}-%{release} -%description Icelandic -%{summary}. - -%package Italian -Summary: Italian(it) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-it = %{?epoch:%{epoch}:}%{version}-%{release} -%description Italian -%{summary}. - -%package Japanese -Summary: Japanese(ja) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-ja = %{?epoch:%{epoch}:}%{version}-%{release} -%description Japanese -%{summary}. - -%package Khmer -Summary: Khmer(km) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-km = %{?epoch:%{epoch}:}%{version}-%{release} -%description Khmer -%{summary}. - -%package Korean -Summary: Korean(ko) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-ko = %{?epoch:%{epoch}:}%{version}-%{release} -%description Korean -%{summary}. - -%package Kurdish -Summary: Kurdish(ku) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-ku = %{?epoch:%{epoch}:}%{version}-%{release} -%description Kurdish -%{summary}. - -%package Lao -Summary: Lao(lo) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-lo = %{?epoch:%{epoch}:}%{version}-%{release} -%description Lao -%{summary}. - -%package Lithuanian -Summary: Lithuanian(lt) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-lt = %{?epoch:%{epoch}:}%{version}-%{release} -%description Lithuanian -%{summary}. - -%package Latvian -Summary: Latvian(lv) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-lv = %{?epoch:%{epoch}:}%{version}-%{release} -%description Latvian -%{summary}. - -%package Maori -Summary: Maori(mi) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-mi = %{?epoch:%{epoch}:}%{version}-%{release} -%description Maori -%{summary}. - -%package Macedonian -Summary: Macedonian(mk) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-mk = %{?epoch:%{epoch}:}%{version}-%{release} -%description Macedonian -%{summary}. - -%package Malay -Summary: Malay(ms) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-ms = %{?epoch:%{epoch}:}%{version}-%{release} -%description Malay -%{summary}. - -%package Maltese -Summary: Maltese(mt) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-mt = %{?epoch:%{epoch}:}%{version}-%{release} -%description Maltese -%{summary}. - -%package LowSaxon -Summary: Low Saxon (nds) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-nds = %{?epoch:%{epoch}:}%{version}-%{release} -%description LowSaxon -%{summary}. - -%package Nepali -Summary: Nepali(ne) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-ne = %{?epoch:%{epoch}:}%{version}-%{release} -%description Nepali -%{summary}. - -%package Dutch -Summary: Dutch(nl) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-nl = %{?epoch:%{epoch}:}%{version}-%{release} -%description Dutch -%{summary}. - -%package Norwegian -Summary: Norwegian(no) (Bokmaal) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-no = %{?epoch:%{epoch}:}%{version}-%{release} -%description Norwegian -%{summary}. - -%package Norwegian-Nynorsk -Summary: Norwegian(nn) (Nynorsk) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-nn = %{?epoch:%{epoch}:}%{version}-%{release} -%description Norwegian-Nynorsk -%{summary}. - -%package Occitan -Summary: Occitan(oc) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-oc = %{?epoch:%{epoch}:}%{version}-%{release} -%description Occitan -%{summary}. - -%package Polish -Summary: Polish(pl) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-pl = %{?epoch:%{epoch}:}%{version}-%{release} -%description Polish -%{summary}. - -%package Portuguese -Summary: Portuguese(pt) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-pt = %{?epoch:%{epoch}:}%{version}-%{release} -%description Portuguese -%{summary}. - -%package Punjabi -Summary: Punjabi(pa) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-pa = %{?epoch:%{epoch}:}%{version}-%{release} -%description Punjabi -%{summary}. - -%package Brazil -Summary: Brazil(pt_BR) Portuguese language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-pt_BR = %{?epoch:%{epoch}:}%{version}-%{release} -%description Brazil -%{summary}. - -%package Romanian -Summary: Romanian(ro) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-ro = %{?epoch:%{epoch}:}%{version}-%{release} -%description Romanian -%{summary}. - -%package Russian -Summary: Russian(ru) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-ru = %{?epoch:%{epoch}:}%{version}-%{release} -%description Russian -%{summary}. - -%package Slovak -Summary: Slovak(sk) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-sk = %{?epoch:%{epoch}:}%{version}-%{release} -%description Slovak -%{summary}. - -%package Slovenian -Summary: Slovenian(sl) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-sl = %{?epoch:%{epoch}:}%{version}-%{release} -%description Slovenian -%{summary}. - -%package Serbian -Summary: Serbian(sr) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-sr = %{?epoch:%{epoch}:}%{version}-%{release} -%description Serbian -%{summary}. - -%package Swedish -Summary: Swedish(sv) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-sv = %{?epoch:%{epoch}:}%{version}-%{release} -%description Swedish -%{summary}. - -%package Tamil -Summary: Tamil(ta) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-ta = %{?epoch:%{epoch}:}%{version}-%{release} -%description Tamil -%{summary}. - -%package Tajik -Summary: Tajik(tg) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-tg = %{?epoch:%{epoch}:}%{version}-%{release} -%description Tajik -%{summary}. - -%package Thai -Summary: Thai(th) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-th = %{?epoch:%{epoch}:}%{version}-%{release} -%description Thai -%{summary}. - -%package Turkish -Summary: Turkish(tr) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-tr = %{?epoch:%{epoch}:}%{version}-%{release} -%description Turkish -%{summary}. - -%package Ukrainian -Summary: Ukrainian(uk) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-uk = %{?epoch:%{epoch}:}%{version}-%{release} -%description Ukrainian -%{summary}. - -%package Venda -Summary: Venda(ven) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-ven = %{?epoch:%{epoch}:}%{version}-%{release} -%description Venda -%{summary}. - -%package Vietnamese -Summary: Vietnamese(vi) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-vi = %{?epoch:%{epoch}:}%{version}-%{release} -%description Vietnamese -%{summary}. - -%package Walloon -Summary: Walloon(wa) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-wa = %{?epoch:%{epoch}:}%{version}-%{release} -%description Walloon -%{summary}. - -%package Xhosa -Summary: Xhosa(xh) (a Bantu language) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-xh = %{?epoch:%{epoch}:}%{version}-%{release} -%description Xhosa -%{summary}. - -%package Chinese -Summary: Chinese(zh_CN) (Simplified Chinese) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-zh_CN = %{?epoch:%{epoch}:}%{version}-%{release} -%description Chinese -%{summary}. - -%package Chinese-Big5 -Summary: Chinese(zh_TW) (Big5) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-tz_TW = %{?epoch:%{epoch}:}%{version}-%{release} -%description Chinese-Big5 -%{summary}. - - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -( -for l in . %{TDE_LANGS}; do - if [ $l != '.' ]; then - pushd "%{tde_pkg}-${l}" - else - pushd ${l} - fi - - if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build - fi - - %cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_SKIP_INSTALL_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DDATA_INSTALL_DIR=%{tde_datadir}/apps \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - \ - -DBUILD_ALL=ON \ - \ - .. - - %__make %{?_smp_mflags} - - popd -done -) 2>&1 | tee /tmp/rpmbuild.$$ - -if grep -qw TDE_Error /tmp/rpmbuild.$$; then - echo "Error while building. See '/tmp/rpmbuild.$$'" - exit 1 -fi - -wait -rm -f /tmp/rpmbuild.$$ - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} - -for l in %{TDE_LANGS}; do - %__make DESTDIR=%{buildroot} -C build install-${l} -done - - -%clean -%__rm -rf %{buildroot} - -%if "%( grep -w af <<< '%{TDE_LANGS}' )" != "" -%files Afrikaans -%defattr(-,root,root,-) -%{tde_datadir}/locale/af/* -%endif - -%if "%( grep -w ar <<< '%{TDE_LANGS}' )" != "" -%files Arabic -%defattr(-,root,root,-) -%{tde_datadir}/locale/ar/* -%endif - -%if "%( grep -w az <<< '%{TDE_LANGS}' )" != "" -%files Azerbaijani -%defattr(-,root,root,-) -%{tde_datadir}/locale/az/* -%endif - -%if "%( grep -w be <<< '%{TDE_LANGS}' )" != "" -%files Belarusian -%defattr(-,root,root,-) -%{tde_datadir}/locale/be/* -%endif - -%if "%( grep -w bg <<< '%{TDE_LANGS}' )" != "" -%files Bulgarian -%defattr(-,root,root,-) -%{tde_datadir}/locale/bg/* -%endif - -%if "%( grep -w bn <<< '%{TDE_LANGS}' )" != "" -%files Bengali -%defattr(-,root,root,-) -%{tde_datadir}/locale/bn/* -%endif - -%if "%( grep -w bo <<< '%{TDE_LANGS}' )" != "" -%files Tibetan -%defattr(-,root,root,-) -%{tde_datadir}/locale/bo/* -%endif - -%if "%( grep -w br <<< '%{TDE_LANGS}' )" != "" -%files Breton -%defattr(-,root,root,-) -%{tde_datadir}/locale/br/* -%endif - -%if "%( grep -w bs <<< '%{TDE_LANGS}' )" != "" -%files Bosnian -%defattr(-,root,root,-) -%{tde_datadir}/locale/bs/* -%endif - -%if "%( grep -w ca <<< '%{TDE_LANGS}' )" != "" -%files Catalan -%defattr(-,root,root,-) -%{tde_datadir}/locale/ca/* -%{tde_tdedocdir}/HTML/ca/ -%dir %{tde_datadir}/apps/koffice -%dir %{tde_datadir}/apps/koffice/autocorrect -%{tde_datadir}/apps/koffice/autocorrect/ca.xml -%endif - -%if "%( grep -w cs <<< '%{TDE_LANGS}' )" != "" -%files Czech -%defattr(-,root,root,-) -%{tde_datadir}/locale/cs/* -%dir %{tde_datadir}/apps/koffice -%dir %{tde_datadir}/apps/koffice/autocorrect -%{tde_datadir}/apps/koffice/autocorrect/cs.xml -%endif - -%if "%( grep -w cy <<< '%{TDE_LANGS}' )" != "" -%files Welsh -%defattr(-,root,root,-) -%{tde_datadir}/locale/cy/* -%endif - -%if "%( grep -w da <<< '%{TDE_LANGS}' )" != "" -%files Danish -%defattr(-,root,root,-) -%{tde_datadir}/locale/da/* -%{tde_tdedocdir}/HTML/da/ -%endif - -%if "%( grep -w de <<< '%{TDE_LANGS}' )" != "" -%files German -%defattr(-,root,root,-) -%{tde_datadir}/locale/de/* -%{tde_tdedocdir}/HTML/de/ -%dir %{tde_datadir}/apps/koffice -%dir %{tde_datadir}/apps/koffice/autocorrect -%{tde_datadir}/apps/koffice/autocorrect/de.xml -%endif - -%if "%( grep -w el <<< '%{TDE_LANGS}' )" != "" -%files Greek -%defattr(-,root,root,-) -%{tde_datadir}/locale/el/* -%endif - -%if "%( grep -w en_GB <<< '%{TDE_LANGS}' )" != "" -%files British -%defattr(-,root,root,-) -%{tde_datadir}/locale/en_GB/* -%{tde_tdedocdir}/HTML/en_GB/ -%endif - -%if "%( grep -w eo <<< '%{TDE_LANGS}' )" != "" -%files Esperanto -%defattr(-,root,root,-) -%{tde_datadir}/locale/eo/* -%endif - -%if "%( grep -w es <<< '%{TDE_LANGS}' )" != "" -%files Spanish -%defattr(-,root,root,-) -%{tde_datadir}/locale/es/* -%{tde_tdedocdir}/HTML/es/ -%dir %{tde_datadir}/apps/koffice -%dir %{tde_datadir}/apps/koffice/autocorrect -%{tde_datadir}/apps/koffice/autocorrect/es.xml -%endif - -%if "%( grep -w et <<< '%{TDE_LANGS}' )" != "" -%files Estonian -%defattr(-,root,root,-) -%{tde_datadir}/locale/et/* -%{tde_tdedocdir}/HTML/et/ -%endif - -%if "%( grep -w eu <<< '%{TDE_LANGS}' )" != "" -%files Basque -%defattr(-,root,root,-) -%{tde_datadir}/locale/eu/* -%endif - -%if "%( grep -w fa <<< '%{TDE_LANGS}' )" != "" -%files Farsi -%defattr(-,root,root,-) -%{tde_datadir}/locale/fa/* -%endif - -%if "%( grep -w fi <<< '%{TDE_LANGS}' )" != "" -%files Finnish -%defattr(-,root,root,-) -%{tde_datadir}/locale/fi/* -%endif - -%if "%( grep -w fo <<< '%{TDE_LANGS}' )" != "" -%files Faroese -%defattr(-,root,root,-) -%{tde_datadir}/locale/fo/* -%endif - -%if "%( grep -w fr <<< '%{TDE_LANGS}' )" != "" -%files French -%defattr(-,root,root,-) -%{tde_datadir}/locale/fr/* -%{tde_tdedocdir}/HTML/fr/ -%dir %{tde_datadir}/apps/koffice -%dir %{tde_datadir}/apps/koffice/autocorrect -%{tde_datadir}/apps/koffice/autocorrect/fr.xml -%endif - -%if "%( grep -w fy <<< '%{TDE_LANGS}' )" != "" -%files Frisian -%defattr(-,root,root,-) -%{tde_datadir}/locale/fy/* -%endif - -%if "%( grep -w ga <<< '%{TDE_LANGS}' )" != "" -%files Irish -%defattr(-,root,root,-) -%{tde_datadir}/locale/ga/* -%endif - -%if "%( grep -w gl <<< '%{TDE_LANGS}' )" != "" -%files Galician -%defattr(-,root,root,-) -%{tde_datadir}/locale/gl/* -%endif - -%if "%( grep -w he <<< '%{TDE_LANGS}' )" != "" -%files Hebrew -%defattr(-,root,root,-) -%{tde_datadir}/locale/he/* -%endif - -%if "%( grep -w hi <<< '%{TDE_LANGS}' )" != "" -%files Hindi -%defattr(-,root,root,-) -%{tde_datadir}/locale/hi/* -%endif - -%if "%( grep -w hr <<< '%{TDE_LANGS}' )" != "" -%files Croatian -%defattr(-,root,root,-) -%{tde_datadir}/locale/hr/* -%endif - -%if "%( grep -w hu <<< '%{TDE_LANGS}' )" != "" -%files Hungarian -%defattr(-,root,root,-) -%{tde_datadir}/locale/hu/* -%dir %{tde_datadir}/apps/koffice -%dir %{tde_datadir}/apps/koffice/autocorrect -%{tde_datadir}/apps/koffice/autocorrect/hu.xml -%endif - -%if "%( grep -w id <<< '%{TDE_LANGS}' )" != "" -%files Indonesian -%defattr(-,root,root,-) -%{tde_datadir}/locale/id/* -%endif - -%if "%( grep -w is <<< '%{TDE_LANGS}' )" != "" -%files Icelandic -%defattr(-,root,root,-) -%{tde_datadir}/locale/is/* -%endif - -%if "%( grep -w it <<< '%{TDE_LANGS}' )" != "" -%files Italian -%defattr(-,root,root,-) -%{tde_datadir}/locale/it/* -%{tde_tdedocdir}/HTML/it/ -%dir %{tde_datadir}/apps/koffice -%dir %{tde_datadir}/apps/koffice/autocorrect -%{tde_datadir}/apps/koffice/autocorrect/it.xml -%endif - -%if "%( grep -w ja <<< '%{TDE_LANGS}' )" != "" -%files Japanese -%defattr(-,root,root,-) -%{tde_datadir}/locale/ja/* -%endif - -%if "%( grep -w km <<< '%{TDE_LANGS}' )" != "" -%files Khmer -%defattr(-,root,root,-) -%{tde_datadir}/locale/km/* -%endif - -%if "%( grep -w ko <<< '%{TDE_LANGS}' )" != "" -%files Korean -%defattr(-,root,root,-) -%{tde_datadir}/locale/ko/* -%endif - -%if "%( grep -w ku <<< '%{TDE_LANGS}' )" != "" -%files Kurdish -%defattr(-,root,root,-) -%{tde_datadir}/locale/ku/* -%endif - -%if "%( grep -w lao <<< '%{TDE_LANGS}' )" != "" -%files Lao -%defattr(-,root,root,-) -%{tde_datadir}/locale/lo/* -%endif - -%if "%( grep -w lt <<< '%{TDE_LANGS}' )" != "" -%files Lithuanian -%defattr(-,root,root,-) -%{tde_datadir}/locale/lt/* -%endif - -%if "%( grep -w lv <<< '%{TDE_LANGS}' )" != "" -%files Latvian -%defattr(-,root,root,-) -%{tde_datadir}/locale/lv -%{tde_datadir}/locale/lv/* -%endif - -%if "%( grep -w mi <<< '%{TDE_LANGS}' )" != "" -%files Maori -%defattr(-,root,root,-) -%{tde_datadir}/locale/mi/* -%endif - -%if "%( grep -w mk <<< '%{TDE_LANGS}' )" != "" -%files Macedonian -%defattr(-,root,root,-) -%{tde_datadir}/locale/mk/* -%endif - -%if "%( grep -w ms <<< '%{TDE_LANGS}' )" != "" -%files Malay -%defattr(-,root,root,-) -%{tde_datadir}/locale/ms/* -%endif - -%if "%( grep -w mt <<< '%{TDE_LANGS}' )" != "" -%files Maltese -%defattr(-,root,root,-) -%{tde_datadir}/locale/mt/* -%endif - -%if "%( grep -w nds <<< '%{TDE_LANGS}' )" != "" -%files LowSaxon -%defattr(-,root,root,-) -%{tde_datadir}/locale/nds/* -%endif - -%if "%( grep -w ne <<< '%{TDE_LANGS}' )" != "" -%files Nepali -%defattr(-,root,root,-) -%{tde_datadir}/locale/ne/* -%endif - -%if "%( grep -w nl <<< '%{TDE_LANGS}' )" != "" -%files Dutch -%defattr(-,root,root,-) -%{tde_datadir}/locale/nl/* -%{tde_tdedocdir}/HTML/nl/ -%endif - -%if "%( grep -w nb <<< '%{TDE_LANGS}' )" != "" -%files Norwegian -%defattr(-,root,root,-) -%{tde_datadir}/locale/nb/* -%endif - -%if "%( grep -w nn <<< '%{TDE_LANGS}' )" != "" -%files Norwegian-Nynorsk -%defattr(-,root,root,-) -%{tde_datadir}/locale/nn/* -%endif - -%if "%( grep -w oc <<< '%{TDE_LANGS}' )" != "" -%files Occitan -%defattr(-,root,root,-) -%{tde_datadir}/locale/oc/* -%endif - -%if "%( grep -w pa <<< '%{TDE_LANGS}' )" != "" -%files Punjabi -%defattr(-,root,root,-) -%{tde_datadir}/locale/pa/* -%endif - -%if "%( grep -w pl <<< '%{TDE_LANGS}' )" != "" -%files Polish -%defattr(-,root,root,-) -%{tde_datadir}/locale/pl/* -%endif - -%if "%( grep -w pt <<< '%{TDE_LANGS}' )" != "" -%files Portuguese -%defattr(-,root,root,-) -%{tde_datadir}/locale/pt/* -%{tde_tdedocdir}/HTML/pt/ -%endif - -%if "%( grep -w pt_BR <<< '%{TDE_LANGS}' )" != "" -%files Brazil -%defattr(-,root,root,-) -%{tde_datadir}/locale/pt_BR/* -%{tde_tdedocdir}/HTML/pt_BR/ -%endif - -%if "%( grep -w ro <<< '%{TDE_LANGS}' )" != "" -%files Romanian -%defattr(-,root,root,-) -%{tde_datadir}/locale/ro/* -%endif - -%if "%( grep -w ru <<< '%{TDE_LANGS}' )" != "" -%files Russian -%defattr(-,root,root,-) -%{tde_datadir}/locale/ru/* -%{tde_tdedocdir}/HTML/ru/ -%endif - -%if "%( grep -w sk <<< '%{TDE_LANGS}' )" != "" -%files Slovak -%defattr(-,root,root,-) -%{tde_datadir}/locale/sk/* -%{tde_tdedocdir}/HTML/sk/ -%dir %{tde_datadir}/apps/koffice -%dir %{tde_datadir}/apps/koffice/autocorrect -%{tde_datadir}/apps/koffice/autocorrect/sk.xml -%endif - -%if "%( grep -w sl <<< '%{TDE_LANGS}' )" != "" -%files Slovenian -%defattr(-,root,root,-) -%{tde_datadir}/locale/sl/* -%{tde_tdedocdir}/HTML/sl/ -%endif - -%if "%( grep -w sr <<< '%{TDE_LANGS}' )" != "" -%files Serbian -%defattr(-,root,root,-) -%{tde_datadir}/locale/sr/* -%endif - -%if "%( grep -w sv <<< '%{TDE_LANGS}' )" != "" -%files Swedish -%defattr(-,root,root,-) -%{tde_datadir}/locale/sv/* -%{tde_tdedocdir}/HTML/sv/ -%endif - -%if "%( grep -w ta <<< '%{TDE_LANGS}' )" != "" -%files Tamil -%defattr(-,root,root,-) -%{tde_datadir}/locale/ta/* -%endif - -%if "%( grep -w tg <<< '%{TDE_LANGS}' )" != "" -%files Tajik -%defattr(-,root,root,-) -%{tde_datadir}/locale/tg/* -%endif - -%if "%( grep -w th <<< '%{TDE_LANGS}' )" != "" -%files Thai -%defattr(-,root,root,-) -%{tde_datadir}/locale/th/* -%endif - -%if "%( grep -w tr <<< '%{TDE_LANGS}' )" != "" -%files Turkish -%defattr(-,root,root,-) -%{tde_datadir}/locale/tr/* -%endif - -%if "%( grep -w uk <<< '%{TDE_LANGS}' )" != "" -%files Ukrainian -%defattr(-,root,root,-) -%{tde_datadir}/locale/uk/* -%endif - -%if "%( grep -w ven <<< '%{TDE_LANGS}' )" != "" -%files Venda -%defattr(-,root,root,-) -%{tde_datadir}/locale/ven/* -%endif - -%if "%( grep -w vi <<< '%{TDE_LANGS}' )" != "" -%files Vietnamese -%defattr(-,root,root,-) -%{tde_datadir}/locale/vi/* -%endif - -%if "%( grep -w wa <<< '%{TDE_LANGS}' )" != "" -%files Walloon -%defattr(-,root,root,-) -%{tde_datadir}/locale/wa/* -%endif - -%if "%( grep -w xh <<< '%{TDE_LANGS}' )" != "" -%files Xhosa -%defattr(-,root,root,-) -%{tde_datadir}/locale/xh/* -%endif - -%if "%( grep -w zh_CN <<< '%{TDE_LANGS}' )" != "" -%files Chinese -%defattr(-,root,root,-) -%{tde_datadir}/locale/zh_CN/* -%endif - -%if "%( grep -w zh_TW <<< '%{TDE_LANGS}' )" != "" -%files Chinese-Big5 -%defattr(-,root,root,-) -%{tde_datadir}/locale/zh_TW/* -%endif - - -%changelog diff --git a/redhat/applications/koffice/koffice.spec b/redhat/applications/koffice/koffice.spec deleted file mode 100644 index 42851dd74..000000000 --- a/redhat/applications/koffice/koffice.spec +++ /dev/null @@ -1,1186 +0,0 @@ -# -# spec file for package koffice (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg koffice -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_confdir %{_sysconfdir}/trinity -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -# Disable Kross support for RHEL <= 5 (python is too old) -%if 0%{?fedora} || 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/') - -# Required for Mageia 2: removes the ldflag '--no-undefined' -%define _disable_ld_no_undefined 1 - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 1.6.3 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: An integrated office suite -Group: Applications/Productivity -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz -Source1: trinity-koffice-rpmlintrc - -# BuildRequires: world-devel ;) -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils -BuildRequires: trinity-tdegraphics-devel >= %{tde_version} -BuildRequires: trinity-libpoppler-tqt-devel >= %{tde_version} - -BuildRequires: autoconf automake libtool m4 -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: fdupes - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -BuildRequires: fontconfig-devel -BuildRequires: libart_lgpl-devel -BuildRequires: libtiff-devel -BuildRequires: libjpeg-devel -BuildRequires: ImageMagick-devel -BuildRequires: zlib-devel -BuildRequires: openssl-devel -BuildRequires: pcre-devel -BuildRequires: gettext-devel -BuildRequires: mysql-devel -BuildRequires: perl -BuildRequires: doxygen -BuildRequires: aspell-devel -BuildRequires: libxslt-devel -BuildRequires: OpenEXR-devel -BuildRequires: libexif-devel -BuildRequires: readline-devel - -# PYTHON support -%if 0%{?sle_version} >= 150400 || 0%{?rhel} >= 9 -%define with_python 0 -%global __python %__python3 -%else -%define with_python 1 -%if 0%{?rhel} == 8 || 0%{?fedora} >= 31 || 0%{?suse_version} >= 1500 || 0%{?mgaversion} >= 8 -%global python python2 -%global __python %__python2 -%global python_sitearch %{python2_sitearch} -%else -%global python python -%endif -%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} -BuildRequires: %{python} -BuildRequires: %{python}-devel -%endif - -# LCMS support -%if 0%{?suse_version} || 0%{?rhel} >= 7 -BuildRequires: liblcms-devel -%else -BuildRequires: lcms-devel -%endif - -# LCMS2 support -%if 0%{?suse_version} -BuildRequires: liblcms2-devel -%endif - -# BZIP2 support -%if 0%{?suse_version} -BuildRequires: libbz2-devel -%else -BuildRequires: bzip2-devel -%endif - -# PAPER support -BuildRequires: libpaper-devel - -# RUBY support -%if 0%{?with_ruby} -BuildRequires: ruby ruby-devel >= 1.8.1 -%if 0%{?fedora} >= 19 -BuildRequires: rubypick -%endif -%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} -BuildRequires: %{_lib}utempter-devel -%endif -%if 0%{?fedora} || 0%{?rhel} >= 5 -BuildRequires: libutempter-devel -%endif - -# POPPLER support -%if 0%{?rhel} >=6 || 0%{?fedora} >= 15 || 0%{?suse_version} -%if 0%{?suse_version} >= 1500 -BuildRequires: libpoppler-devel >= 0.12 -%else -BuildRequires: poppler-devel >= 0.12 -%endif -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}poppler-devel -%endif -%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5 -# On RHEL 5, the distro-provided poppler is too old. We built a newer one. -BuildRequires: trinity-poppler-devel >= 0.12 -%endif - -# POSTGRESQL support -# Requires 'libpqxx', for kexi-driver-pgqsl -%if 0%{?mdkversion} || 0%{?fedora} || 0%{?suse_version} -%if 0%{?suse_version} != 1500 && 0%{?suse_version} != 1550 && 0%{?pclinuxos} == 0 -%define with_postgresql 1 -%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8 -BuildRequires: postgresql-server-devel -%else -BuildRequires: postgresql-devel -BuildRequires: libpqxx-devel -%endif -%endif -%endif -Obsoletes: trinity-libpqxx < %{?epoch:%{epoch}:}%{version}-%{release} - -# WPD support -# For chalk and filters -BuildRequires: libwpd-devel -Obsoletes: trinity-libwpd < %{?epoch:%{epoch}:}%{version}-%{release} - -# 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 - -# SQLITE support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: sqlite3-devel -%else -BuildRequires: sqlite-devel -%endif - - -%description -KOffice is an integrated office suite. - -########## - -%package suite -Summary: An integrated office suite -Group: Applications/Productivity -Obsoletes: %{name} <= %{?epoch:%{epoch}:}%{version}-%{release} -Requires: %{name}-core = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: %{name}-kword = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: %{name}-kspread = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: %{name}-kpresenter = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: %{name}-kivio = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: %{name}-karbon = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: %{name}-kugar = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: %{name}-kexi = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: %{name}-kexi-driver-mysql = %{?epoch:%{epoch}:}%{version}-%{release} -%{?with_postgresql:Requires: %{name}-kexi-driver-pgsql = %{?epoch:%{epoch}:}%{version}-%{release}} -Requires: %{name}-kchart = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: %{name}-kformula = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: %{name}-filters = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: %{name}-kplato = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: %{name}-chalk = %{?epoch:%{epoch}:}%{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 = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: perl - -%description core -%{summary}. - -%files core -%defattr(-,root,root,-) -%doc AUTHORS COPYING README -%{tde_bindir}/koshell -%{tde_bindir}/kthesaurus -%{tde_bindir}/koconverter -%{tde_libdir}/libtdeinit_koshell.so -%{tde_libdir}/libtdeinit_kthesaurus.so -%{tde_tdelibdir}/tdefile_koffice.* -%{tde_tdelibdir}/tdefile_ooo.* -%{tde_tdelibdir}/tdefile_abiword.* -%{tde_tdelibdir}/tdefile_gnumeric.* -%{tde_tdelibdir}/kodocinfopropspage.* -%{tde_tdelibdir}/kofficescan.* -%{tde_tdelibdir}/kofficethumbnail.* -%{tde_tdelibdir}/koshell.* -%{tde_tdelibdir}/kthesaurus.* -%{tde_tdelibdir}/kwmailmerge_classic.* -%{tde_tdelibdir}/kwmailmerge_tdeabc.* -%{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/tdefile_abiword.desktop -%{tde_datadir}/services/tdefile_gnumeric.desktop -%{tde_datadir}/services/tdefile_koffice.desktop -%{tde_datadir}/services/tdefile_ooo.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} -%if 0%{?with_python} -%{tde_datadir}/apps/kross/ -%{tde_tdelibdir}/krosspython.* -%endif -%if 0%{?with_ruby} -%{tde_tdelibdir}/krossruby.* -%endif -%endif -%{tde_mandir}/man1/koconverter.1* -%{tde_mandir}/man1/koscript.1* -%{tde_mandir}/man1/koshell.1* -%{tde_mandir}/man1/kthesaurus.1* - -########## - -%package libs -Summary: Runtime libraries for %{name} -Group: System Environment/Libraries -Conflicts: %{name} <= %{version}-%{release} -Requires: trinity-tdelibs -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 -%{tde_mandir}/man1/kspread.1* - -########## - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Requires: %{name}-libs = %{?epoch:%{epoch}:}%{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}/libtdeinit_*.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 = %{?epoch:%{epoch}:}%{version}-%{release} - -%description kword -%{summary}. - -%files kword -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kword/ -%{tde_bindir}/kword -%{tde_libdir}/libtdeinit_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 -%{tde_mandir}/man1/kword.1* - -########## - -%package kspread -Summary: A powerful spreadsheet application -Group: Applications/Productivity -Requires: %{name}-core = %{?epoch:%{epoch}:}%{version}-%{release} - -%description kspread -%{summary}. - -%files kspread -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kspread/ -%{tde_bindir}/kspread -%{tde_libdir}/libtdeinit_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 = %{?epoch:%{epoch}:}%{version}-%{release} - -%description kpresenter -%{summary}. - -%files kpresenter -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kpresenter/ -%{tde_bindir}/kpresenter -%{tde_bindir}/kprconverter.pl -%{tde_libdir}/libtdeinit_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 -%{tde_mandir}/man1/kprconverter.pl.1* -%{tde_mandir}/man1/kpresenter.1* - -########## - -%package kivio -Summary: A flowcharting application -Group: Applications/Productivity -Requires: %{name}-core = %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: kivio < %{?epoch:%{epoch}:}%{version}-%{release} - -%description kivio -%{summary}. - -%files kivio -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kivio/ -%{tde_bindir}/kivio -%{tde_libdir}/libtdeinit_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 -%{tde_mandir}/man1/kivio.1* - -########## - -%package karbon -Summary: A vector drawing application -Group: Applications/Productivity -Requires: %{name}-core = %{?epoch:%{epoch}:}%{version}-%{release} - -%description karbon -%{summary}. - -%files karbon -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/karbon/ -%{tde_bindir}/karbon -%{tde_libdir}/libtdeinit_karbon.so -%exclude %{tde_tdelibdir}/libkarbonepsimport.* -%{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 -%{tde_mandir}/man1/karbon.1* - -########## - -%package kugar -Summary: A tool for generating business quality reports -Group: Applications/Productivity -Requires: %{name}-core = %{?epoch:%{epoch}:}%{version}-%{release} - -%description kugar -%{summary}. - -%files kugar -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kugar/ -%{tde_bindir}/kugar -%{tde_bindir}/kudesigner -%{tde_libdir}/libtdeinit_kugar.so -%{tde_libdir}/libtdeinit_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 -%{tde_mandir}/man1/kudesigner.1* -%{tde_mandir}/man1/kugar.1* - -########## - -%package kexi -Summary: An integrated environment for managing data -Group: Applications/Productivity -Requires: %{name}-core = %{?epoch:%{epoch}:}%{version}-%{release} - -%if 0%{?with_postgresql} == 0 -Obsoletes: %{name}-kexi-driver-pgsql < %{?epoch:%{epoch}:}%{version}-%{release} -%endif - -%description kexi -%{summary}. -For additional database drivers take a look at %{name}-kexi-driver-* - -%files kexi -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kexi/ -%{tde_bindir}/kexi* -%{tde_bindir}/ksqlite* -%{tde_libdir}/libtdeinit_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.* -%config(noreplace) %{tde_confdir}/kexirc -%config(noreplace) %{tde_confdir}/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 -%config(noreplace) %{tde_confdir}/magic/kexi.magic.mgc - -########## - -%package kexi-driver-mysql -Summary: Mysql-driver for kexi -Group: Applications/Productivity -Requires: %{name}-kexi = %{?epoch:%{epoch}:}%{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 = %{?epoch:%{epoch}:}%{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 = %{?epoch:%{epoch}:}%{version}-%{release} - -%description kchart -%{summary}. - -%files kchart -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kchart/ -%{tde_bindir}/kchart -%{tde_libdir}/libkchart*.so.* -%{tde_libdir}/libtdeinit_kchart.so -%{tde_tdelibdir}/*kchart*.* -%{tde_datadir}/apps/kchart/ -%{tde_datadir}/services/kchart*.desktop -%{tde_tdeappdir}/*kchart.desktop -%{tde_mandir}/man1/kchart.1* - -########## - -%package kformula -Summary: A powerful formula editor -Group: Applications/Productivity -Requires: %{name}-core = %{?epoch:%{epoch}:}%{version}-%{release} - -%if 0%{?mgaversion} || 0%{?mdkversion} -Requires: fonts-ttf-dejavu -%else -%if 0%{?fedora} >= 11 || 0%{?rhel} == 6 || 0%{?rhel} == 7 -Requires: dejavu-lgc-sans-fonts -%endif -%if 0%{?fedora} >= 11 || 0%{?rhel} == 6 || 0%{?rhel} == 7 -Requires: lyx-cmex10-fonts -%endif -%if 0%{?rhel} == 5 -Requires: dejavu-lgc-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}/libtdeinit_kformula.so -%{tde_tdelibdir}/*kformula*.* -%{tde_datadir}/apps/kformula/ -%{tde_datadir}/services/kformula*.desktop -%{tde_tdeappdir}/*kformula.desktop -%{tde_mandir}/man1/kformula.1* - -########## - -%package filters -Summary: Import and Export Filters for KOffice -Group: Applications/Productivity -Requires: %{name}-core = %{?epoch:%{epoch}:}%{version}-%{release} - -%description filters -%{summary}. - -%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 = %{?epoch:%{epoch}:}%{version}-%{release} - -%description kplato -%{summary}. - -%files kplato -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kplato/ -%{tde_bindir}/kplato -%{tde_libdir}/libtdeinit_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 = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: %{name}-chalk-data = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: %{name}-filters = %{?epoch:%{epoch}:}%{version}-%{release} - -%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. - -%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}/libtdeinit_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/chalk/ -%{tde_datadir}/apps/chalkplugins/ -%lang(en) %{tde_tdedocdir}/HTML/en/chalk/ -%{tde_datadir}/services/chalk*.desktop -%{tde_datadir}/servicetypes/chalk*.desktop - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" -export kde_confdir="%{tde_confdir}" - -%if 0%{?suse_version} == 1220 -RD=$(ruby -r rbconfig -e 'printf("%s",Config::CONFIG["rubyhdrdir"])') -CXXFLAGS="${CXXFLAGS} -I${RD}/%_normalized_cpu-linux" -%endif - -%if 0%{?suse_version} >= 1550 -CXXFLAGS="${CXXFLAGS} -std=c++11" -%endif - -# FTBFS on RHEL 5 -%if 0%{?rhel} == 5 -%__sed -i "kexi/migration/keximigratetest.cpp" \ - -e "/TDEApplication/ s|\");|\", true, true, true);|" -%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-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --enable-final \ - --enable-closure \ - --enable-rpath \ - --disable-gcc-hidden-visibility \ - \ - --with-extra-libs=%{tde_libdir} \ - --with-extra-includes=%{tde_includedir}/arts \ - \ - --disable-kexi-macros \ - %{?with_kross:--enable-scripting} %{!?with_kross:--disable-scripting} \ - %{?with_postgresql:--enable-pgsql} %{!?with_postgresql:--disable-pgsql} \ - -%__make %{?_smp_mflags} || %__make - - -%install -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -#%__mkdir_p "%{buildroot}%{tde_datadir}/icons/hicolor/{16x16,22x22,32x32,48x48,64x64,128x128}/apps/" -#for i in {16x16,22x22,32x32,48x48,64x64,128x128}; do -# mv "%{buildroot}%{tde_datadir}/icons/crystalsvg/$i/apps/kplato.png %{buildroot}/opt/kde3/share/icons/hicolor/$i/apps/; -#done - -# Fix desktop icon location -%__mv -f "%{?buildroot}%{tde_datadir}/applnk/"*"/KThesaurus.desktop" "%{?buildroot}%{tde_tdeappdir}" - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file kudesigner Office FlowChart -%suse_update_desktop_file kivio Office FlowChart -%suse_update_desktop_file kchart Office FlowChart -%suse_update_desktop_file kexi Office Database -%suse_update_desktop_file -r chalk Graphics RasterGraphics -%suse_update_desktop_file -r karbon Graphics VectorGraphics -%suse_update_desktop_file kpresenter Office Presentation -%suse_update_desktop_file kspread Office Spreadsheet -%suse_update_desktop_file -u KThesaurus Office -%suse_update_desktop_file -r kformula Science Math -%suse_update_desktop_file kword Office WordProcessor -%suse_update_desktop_file koshell Office Core-Office -%suse_update_desktop_file kplato Office ProjectManagement -%endif - -# Apps that should stay in TDE -for i in kivio kplato; do - echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/${i}.desktop" -done - -# Links duplicate files -%fdupes %{buildroot} - -## 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 - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/applications/koffice/koshell.png b/redhat/applications/koffice/koshell.png deleted file mode 100644 index c66ef99e8..000000000 Binary files a/redhat/applications/koffice/koshell.png and /dev/null differ diff --git a/redhat/applications/koffice/trinity-koffice-rpmlintrc b/redhat/applications/koffice/trinity-koffice-rpmlintrc deleted file mode 100644 index 529351884..000000000 --- a/redhat/applications/koffice/trinity-koffice-rpmlintrc +++ /dev/null @@ -1,2 +0,0 @@ -setBadness('library-without-ldconfig-postun', 0) -setBadness('library-without-ldconfig-postin', 0) diff --git a/redhat/applications/kompose/kompose.spec b/redhat/applications/kompose/kompose.spec deleted file mode 100644 index 6650188b2..000000000 --- a/redhat/applications/kompose/kompose.spec +++ /dev/null @@ -1,156 +0,0 @@ -# -# spec file for package kompose (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg kompose -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_appdir %{tde_datadir}/applications -%define tde_tdeappdir %{tde_appdir}/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Summary: Full-Screen Task Manager for TDE -Version: 0.5.3 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} - -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}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-cmake >= %{tde_version} - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: gettext - -# IMLIB2 support -BuildRequires: imlib2-devel - -# XCOMPOSITE support -%if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?mgaversion} >= 4 -%define xcomposite_devel %{_lib}xcomposite-devel -%else -%define xcomposite_devel %{_lib}xcomposite%{?mgaversion:1}-devel -%endif -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 -%define xcomposite_devel libXcomposite-devel -%endif -%{?xcomposite_devel:BuildRequires: %{xcomposite_devel}} - -# XDAMAGE support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}xdamage-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 -BuildRequires: libXdamage-devel -%endif - - -%description -Kompose creates a full-screen view in which every window is represented -by a scaled screen shot of it. It appears as a panel applet. - - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DBUILD_ALL=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%find_lang %{tde_pkg} - - -%clean -%__rm -rf %{buildroot} - - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc README AUTHORS ChangeLog COPYING -%{tde_bindir}/kompose -%{tde_tdeappdir}/kompose.desktop -%{tde_datadir}/apps/kompose/ -%{tde_tdedocdir}/HTML/en/kompose/ -%{tde_datadir}/icons/hicolor/16x16/apps/kompose.png -%{tde_datadir}/icons/hicolor/32x32/apps/kompose.png - - -%changelog diff --git a/redhat/applications/konversation/konversation.spec b/redhat/applications/konversation/konversation.spec deleted file mode 100644 index 3b3a11a75..000000000 --- a/redhat/applications/konversation/konversation.spec +++ /dev/null @@ -1,285 +0,0 @@ -# -# spec file for package konversation (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg konversation -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 1.1 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: User friendly Internet Relay Chat (IRC) client for TDE -Group: Applications/Utilities -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig - -# ACL support -BuildRequires: libacl-devel - -# IDN support -BuildRequires: libidn-devel - -# OPENSSL support -BuildRequires: openssl-devel - -# PYTHON support -%if 0%{?sle_version} >= 150400 || 0%{?rhel} >= 9 -%define with_python 0 -%global __python %__python3 -%else -%define with_python 1 -%if 0%{?rhel} == 8 || 0%{?fedora} >= 31 || 0%{?suse_version} >= 1500 || 0%{?mgaversion} >= 8 -%global python python2 -%global __python %__python2 -%global python_sitearch %{python2_sitearch} -%else -%global python python -%endif -%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} -BuildRequires: %{python} -BuildRequires: %{python}-devel -%endif - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -# XSLT support -BuildRequires: libxslt-devel -%if 0%{?suse_version} -BuildRequires: docbook-xsl-stylesheets -%else -BuildRequires: docbook-style-xsl -%endif - -# LIBXI support -%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 - -# XSCREENSAVER support -# RHEL 4: disabled -# RHEL 5: available in centos-extras -# RHEL 6: available in EPEL -# RHEL 7: available in NUX -# RHEL 8: available in EPEL -%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || ( 0%{?rhel} >= 5 && 0%{?rhel} <= 8 ) || 0%{?suse_version} -%define with_xscreensaver 1 - -%if 0%{?fedora} || 0%{?rhel} >= 5 -BuildRequires: libXScrnSaver-devel -BuildRequires: xscreensaver -BuildRequires: xscreensaver-base -BuildRequires: xscreensaver-extras -%if 0%{?fedora} -BuildRequires: xscreensaver-extras-base -%endif -BuildRequires: xscreensaver-gl-base -BuildRequires: xscreensaver-gl-extras -%endif - -%if 0%{?suse_version} -BuildRequires: libXScrnSaver-devel -BuildRequires: xscreensaver -BuildRequires: xscreensaver-data -BuildRequires: xscreensaver-data-extra -%endif - -%if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?mgaversion} >= 4 -BuildRequires: %{_lib}xscrnsaver-devel -%else -BuildRequires: %{_lib}xscrnsaver%{?mgaversion:1}-devel -%endif -BuildRequires: xscreensaver -BuildRequires: xscreensaver-base -%if 0%{?pclinuxos} == 0 -BuildRequires: xscreensaver-extrusion -%endif -BuildRequires: xscreensaver-gl -%endif -%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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8 || 0%{?mgaversion} >= 8 -%__sed -i "konversation/scripts/media" \ - "konversation/scripts/weather" \ - -e "s|/usr/bin/env python|/usr/bin/env %{python}|" -%endif - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%find_lang %{tde_pkg} - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/konversation -%{tde_tdeappdir}/konversation.desktop -%{tde_datadir}/apps/tdeconf_update/konversation-0.19-appearance.pl -%{tde_datadir}/apps/tdeconf_update/konversation-0.19-colorcodes.pl -%{tde_datadir}/apps/tdeconf_update/konversation-0.19-colors.pl -%{tde_datadir}/apps/tdeconf_update/konversation-0.19-custombrowser.pl -%{tde_datadir}/apps/tdeconf_update/konversation-0.19-notifylists.pl -%{tde_datadir}/apps/tdeconf_update/konversation-0.19-sortorder.pl -%{tde_datadir}/apps/tdeconf_update/konversation-0.19-tabplacement.pl -%{tde_datadir}/apps/tdeconf_update/konversation-0.20-customfonts.pl -%{tde_datadir}/apps/tdeconf_update/konversation-0.20-quickbuttons.pl -%{tde_datadir}/apps/tdeconf_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/tdeimproxyaway.png -%{tde_datadir}/icons/crystalsvg/*/actions/tdeimproxyoffline.png -%{tde_datadir}/icons/crystalsvg/*/actions/tdeimproxyonline.png -%{tde_datadir}/icons/crystalsvg/*/actions/char.png -%{tde_datadir}/icons/crystalsvg/*/actions/konv_message.png -%{tde_datadir}/icons/crystalsvg/scalable/actions/tdeimproxyaway.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/tdeimproxyoffline.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/tdeimproxyonline.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 diff --git a/redhat/applications/kooldock/kooldock.spec b/redhat/applications/kooldock/kooldock.spec deleted file mode 100644 index 4d5338bc0..000000000 --- a/redhat/applications/kooldock/kooldock.spec +++ /dev/null @@ -1,173 +0,0 @@ -# -# spec file for package kooldock (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg kooldock -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_confdir %{_sysconfdir}/trinity -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.4.7 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Dock for TDE with cool visual enhancements -Group: Applications/Utilities -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} - -BuildRequires: desktop-file-utils - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: libtool - -# IDN support -BuildRequires: libidn-devel - -# ACL support -BuildRequires: libacl-devel - -# OPENSSL support -BuildRequires: openssl-devel - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - - -%description -KoolDock is a fork of the original work of Dang Viet Dung,. -KSmoothDock 2.1. KoolDock is a dock for TDE with cool. -visual enhancements and effects. - -Some of it features are: -* Display quick launchers to your favourite apps -* A builtin task bar -* Pager and clock. (Not done yet) -* Smooth zooming effect (like Apple's OS X dock) -* Transparent Background - -Homepage: http://sourceforge.net/projects/kooldock/ - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%find_lang %{tde_pkg} - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING README TODO -%{tde_bindir}/kooldock -%{tde_datadir}/apps/kooldock/ -%{tde_datadir}/icons/crystalsvg/16x16/apps/kooldock.png -%{tde_datadir}/icons/crystalsvg/32x32/apps/kooldock.png -%{tde_datadir}/icons/crystalsvg/64x64/apps/kooldock.png -%{tde_datadir}/icons/crystalsvg/128x128/apps/kooldock.png - - -%changelog diff --git a/redhat/applications/kopete-otr/kopete-otr.spec b/redhat/applications/kopete-otr/kopete-otr.spec deleted file mode 100644 index 90d3bf659..000000000 --- a/redhat/applications/kopete-otr/kopete-otr.spec +++ /dev/null @@ -1,176 +0,0 @@ -# -# spec file for package kopete-otr (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg kopete-otr -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -# Required for Mageia 6: removes the ldflag '--no-undefined' -%if 0%{?mgaversion} >= 6 || 0%{?pclinuxos} >= 2018 -%define _disable_ld_no_undefined 1 -%endif - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.7 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Off-The-Record encryption for Kopete [Trinity] -Group: Applications/Utilities -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils -BuildRequires: trinity-tdenetwork-devel >= %{tde_version} - -# Kopete is provided by tdenetwork -Requires: trinity-kopete >= %{tde_version} - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -# OTR support -BuildRequires: libotr-devel - - -%description -This plugin enables Off-The-Record encryption for the TDE instant -messenger Kopete. Using this plugin you can encrypt chatsessions to other -users with IM-Cients supporting the OTR encryption method. - - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_NO_BUILTIN_CHRPATH=ON \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DCMAKE_LIBRARY_PATH=%{tde_libdir} \ - -DKOPETE_INCLUDE_DIR=%{tde_tdeincludedir}/kopete \ - \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - \ - -DBUILD_ALL=ON \ - -DWITH_ALL_OPTIONS=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -# Unwanted files -%__rm -f %{?buildroot}%{tde_libdir}/libkotr.so - -%find_lang kopete_otr - - -%clean -%__rm -rf %{buildroot} - - -%files -f kopete_otr.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING README.md -%{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/tdeconfiguredialog/kopete_otr_config.desktop -%{tde_datadir}/services/kopete_otr.desktop - - -%changelog diff --git a/redhat/applications/kpilot/kpilot.spec b/redhat/applications/kpilot/kpilot.spec deleted file mode 100644 index 39f4382f6..000000000 --- a/redhat/applications/kpilot/kpilot.spec +++ /dev/null @@ -1,229 +0,0 @@ -# -# spec file for package kpilot (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg kpilot -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.7 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: TDE Palm Pilot hot-sync tool -Group: Applications/Utilities -URL: http://www.trinitydesktop.org - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils -BuildRequires: trinity-tdepim-devel >= %{tde_version} -BuildRequires: gettext - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: fdupes - -# ACL support -BuildRequires: libacl-devel - -# ICAL support -BuildRequires: libical-devel - -# IDN support -BuildRequires: libidn-devel - -# OPENSSL support -BuildRequires: openssl-devel - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -# FLEX -%if 0%{?suse_version} || 0%{?mgaversion} -BuildRequires: flex -%endif -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: flex -%if 0%{?rhel} != 5 -BuildRequires: flex-devel -%endif -%endif - -# PILOT support -BuildRequires: pilot-link-devel >= 0.12 - - -%description -KPilot is an application that synchronizes your Palm Pilot or similar device -(like the Handspring Visor) with your TDE 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 TDE counterparts. - - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%find_lang %{tde_pkg} - -# Unwanted files -%__rm -f %{?buildroot}%{tde_libdir}/libkpilot.so -%__rm -fr %{?buildroot}%{tde_tdeincludedir}/kpilot/ %{?buildroot}%{_includedir}/kpilot/ - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/kpilot.desktop Utility PDA SyncUtility X-KDE-Utilities-Peripherals -%suse_update_desktop_file -u -r %{?buildroot}%{tde_tdeappdir}/kpalmdoc.desktop Utility PDA X-TDE-Utilities-File -%endif - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%{tde_bindir}/kpalmdoc -%{tde_bindir}/kpilot -%{tde_bindir}/kpilotDaemon -%{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/ -%{tde_datadir}/apps/tdeconf_update/kpalmdoc.upd -%{tde_datadir}/apps/tdeconf_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}/services/*.desktop -%{tde_datadir}/servicetypes/kpilotconduit.desktop -%{tde_tdedocdir}/HTML/en/kpilot/ - - -%changelog diff --git a/redhat/applications/kpilot/trinity-kpilot-rpmlintrc b/redhat/applications/kpilot/trinity-kpilot-rpmlintrc deleted file mode 100644 index 529351884..000000000 --- a/redhat/applications/kpilot/trinity-kpilot-rpmlintrc +++ /dev/null @@ -1,2 +0,0 @@ -setBadness('library-without-ldconfig-postun', 0) -setBadness('library-without-ldconfig-postin', 0) diff --git a/redhat/applications/kplayer/kplayer.spec b/redhat/applications/kplayer/kplayer.spec deleted file mode 100644 index 2246f8d37..000000000 --- a/redhat/applications/kplayer/kplayer.spec +++ /dev/null @@ -1,187 +0,0 @@ -# -# spec file for package kplayer (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg kplayer -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_confdir %{_sysconfdir}/trinity -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.6.3 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: KPlayer is a TDE multimedia player -Group: Applications/Multimedia -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: libtool - -# IDN support -BuildRequires: libidn-devel - -# ACL support -BuildRequires: libacl-devel - -# OPENSSL support -BuildRequires: openssl-devel - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -Requires: mplayer - - -%description -KPlayer is a TDE multimedia player. -With KPlayer you can easily play a wide variety of video and audio files and -streams using a rich and friendly interface that follows KDE standards. -This version was derived from the KDE3 branch 0.6.3 for the Trinity Desktop Environment - -Features include - -video, audio and subtitle playback from file, URL, DVD, VCD, audio CD, TV, DVB, and KDE I/O Slaves; -volume, contrast, brightness, hue and saturation controls; -zooming, full screen and fixed aspect options; -status and progress display and seeking; -multimedia library to organize your media files and streams; -configuration dialog; -file properties for setting file specific options. - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DPLUGIN_INSTALL_DIR=%{tde_tdelibdir} \ - -DBUILD_ALL=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%find_lang %{tde_pkg} - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%{tde_bindir}/kplayer -%{tde_datadir}/apps/kplayer/ -%{tde_datadir}/icons/hicolor/*/apps/kplayer.png -%{tde_datadir}/icons/locolor/*/apps/kplayer.png -%{tde_datadir}/services/kplayerpart.desktop -%{tde_tdelibdir}/libkplayerpart.la -%{tde_tdelibdir}/libkplayerpart.so -%{tde_tdeappdir}/kplayer.desktop -%{tde_datadir}/apps/konqueror/servicemenus/kplayer-actions.desktop -%{tde_datadir}/apps/konqueror/servicemenus/kplayer-directory.desktop -%{tde_datadir}/apps/konqueror/servicemenus/kplayer-next.desktop -%{tde_datadir}/apps/konqueror/servicemenus/kplayer-play-queue.desktop -%lang(da) %{tde_tdedocdir}/HTML/da/kplayer/ -%lang(en) %{tde_tdedocdir}/HTML/en/kplayer/ -%lang(es) %{tde_tdedocdir}/HTML/es/kplayer/ -%lang(it) %{tde_tdedocdir}/HTML/it/kplayer/ -%lang(pt) %{tde_tdedocdir}/HTML/pt/kplayer/ -%lang(sv) %{tde_tdedocdir}/HTML/sv/kplayer/ - - -%post - - -%postun - - -%changelog diff --git a/redhat/applications/kpowersave/kpowersave.spec b/redhat/applications/kpowersave/kpowersave.spec deleted file mode 100644 index 30563e4fd..000000000 --- a/redhat/applications/kpowersave/kpowersave.spec +++ /dev/null @@ -1,210 +0,0 @@ -# -# spec file for package kpowersave (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg kpowersave -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.7.3 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: HAL based power management applet for Trinityfiles or directories. -Group: Applications/Utilities -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils -BuildRequires: hal-devel -BuildRequires: trinity-dbus-tqt-devel >= 1:0.63 - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: libtool -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: fdupes - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -# XSCREENSAVER support -# RHEL 4: disabled -# RHEL 6: available in EPEL -# RHEL 7: available in NUX -# RHEL 8: available in EPEL -%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version} -%define with_xscreensaver 1 - -%if 0%{?fedora} || 0%{?rhel} >= 5 -BuildRequires: libXScrnSaver-devel -BuildRequires: xscreensaver -BuildRequires: xscreensaver-base -BuildRequires: xscreensaver-extras -%if 0%{?fedora} -BuildRequires: xscreensaver-extras-base -%endif -BuildRequires: xscreensaver-gl-base -BuildRequires: xscreensaver-gl-extras -%endif - -%if 0%{?suse_version} -BuildRequires: libXScrnSaver-devel -BuildRequires: xscreensaver -BuildRequires: xscreensaver-data -BuildRequires: xscreensaver-data-extra -%endif - -%endif - - -%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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -%build -unset QTDIR QTINC QTLIB -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_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -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} - - -%files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README.md TODO -%{tde_bindir}/kpowersave -%{tde_libdir}/libtdeinit_kpowersave.la -%{tde_libdir}/libtdeinit_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 diff --git a/redhat/applications/krecipes/krecipes.spec b/redhat/applications/krecipes/krecipes.spec deleted file mode 100644 index 5609d2f65..000000000 --- a/redhat/applications/krecipes/krecipes.spec +++ /dev/null @@ -1,191 +0,0 @@ -# -# spec file for package krecipes (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg krecipes -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 1.0beta2 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Recipes manager for TDE -Group: Applications/Utilities -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: autoconf automake libtool m4 -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: fdupes - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -# MYSQL support -BuildRequires: mysql-devel - -# POSTGRESQL support -%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150200 -BuildRequires: postgresql10 -BuildRequires: postgresql10-devel -%else -BuildRequires: postgresql -%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8 -BuildRequires: postgresql-server-devel -%else -BuildRequires: postgresql-devel -%endif -%endif - -# SQLITE support -BuildRequires: sqlite-devel - - -%description -Krecipes is a TDE application designed to manage recipes. It can help you to -do your shopping list, search through your recipes to find what you can do -with available ingredients and a diet helper. It can also import or export -recipes from files in various format (eg RecipeML or Meal-Master) or from -databases. - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --docdir=%{tde_tdedocdir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --enable-final \ - --enable-closure \ - --enable-rpath \ - --disable-gcc-hidden-visibility \ - \ - --with-sqlite \ - --with-mysql \ - --with-postgresql - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{tde_pkg} - -# Fix desktop file location -%__mkdir_p "%{?buildroot}%{tde_tdeappdir}" -%__mv -f "%{?buildroot}%{tde_datadir}/applnk/"*"/krecipes.desktop" "%{?buildroot}%{tde_tdeappdir}" - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file -r krecipes Education Chemistry -%endif - -# Removes duplicate files -%fdupes "%{buildroot}%{tde_datadir}" - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%{tde_bindir}/krecipes -%{tde_tdeappdir}/krecipes.desktop -%{tde_datadir}/apps/krecipes/ -%{tde_datadir}/icons/crystalsvg/*/mimetypes/krecipes_file.png -%{tde_datadir}/icons/hicolor/*/apps/krecipes.png -%{tde_datadir}/mimelnk/application/x-krecipes-backup.desktop -%{tde_datadir}/mimelnk/application/x-krecipes-recipes.desktop -%lang(da) %{tde_tdedocdir}/HTML/da/ -%lang(en) %{tde_tdedocdir}/HTML/en/ -%lang(es) %{tde_tdedocdir}/HTML/es/ -%lang(et) %{tde_tdedocdir}/HTML/et/ -%lang(pt) %{tde_tdedocdir}/HTML/pt/ -%lang(sv) %{tde_tdedocdir}/HTML/sv/ -%{tde_mandir}/man1/krecipes.1* - -%changelog diff --git a/redhat/applications/krename/krename.spec b/redhat/applications/krename/krename.spec deleted file mode 100644 index 5cbec4e22..000000000 --- a/redhat/applications/krename/krename.spec +++ /dev/null @@ -1,171 +0,0 @@ -# -# spec file for package krename (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg krename -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 3.0.14 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: A TDE batch file renaming utility -Group: Applications/Utilities -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: fdupes - -# IDN support -BuildRequires: libidn-devel - -# ACL support -BuildRequires: libacl-devel - -# OPENSSL support -BuildRequires: openssl-devel - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_NO_BUILTIN_CHRPATH=ON \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DCONFIG_INSTALL_DIR="%{tde_confdir}" \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - \ - -DBUILD_ALL=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%find_lang %{tde_pkg} - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file krename System FileManager -%suse_update_desktop_file -n %{buildroot}%{tde_datadir}/apps/konqueror/servicemenus/krename_dir.desktop -%suse_update_desktop_file -n %{buildroot}%{tde_datadir}/apps/konqueror/servicemenus/krenameservicemenu.desktop -%endif - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.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 -%{tde_mandir}/man*/krename.* - - -%changelog diff --git a/redhat/applications/krusader/krusader.spec b/redhat/applications/krusader/krusader.spec deleted file mode 100644 index cf314c68f..000000000 --- a/redhat/applications/krusader/krusader.spec +++ /dev/null @@ -1,183 +0,0 @@ -# -# spec file for package krusader (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg krusader -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 1.90.0 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Twin-panel (commander-style) file manager for TDE (and other desktops) -Group: Applications/Utilities -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils -BuildRequires: trinity-tdebindings-devel >= %{tde_version} - -BuildRequires: autoconf automake libtool m4 -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: fdupes - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - - -%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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" - -# Warning: --enable-final causes FTBFS -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --disable-final \ - --enable-closure \ - --enable-rpath \ - --disable-gcc-hidden-visibility - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{tde_pkg} - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/%{tde_pkg}.desktop" -%suse_update_desktop_file krusader System FileManager -%suse_update_desktop_file krusader_root-mode System FileManager -%endif - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING FAQ README TODO -%{tde_bindir}/krusader -%{tde_tdelibdir}/tdeio_krarc.la -%{tde_tdelibdir}/tdeio_krarc.so -%{tde_tdelibdir}/tdeio_virt.la -%{tde_tdelibdir}/tdeio_virt.so -%{tde_tdeappdir}/krusader.desktop -%{tde_tdeappdir}/krusader_root-mode.desktop -%{tde_datadir}/apps/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 -%{tde_tdedocdir}/HTML/en/krusader/ -%{tde_tdedocdir}/HTML/en/tdeioslave/krarc/ -%{tde_tdedocdir}/HTML/en/tdeioslave/virt/ -%lang(ru) %{tde_tdedocdir}/HTML/ru/krusader/ - - -%changelog diff --git a/redhat/applications/ksensors/ksensors.spec b/redhat/applications/ksensors/ksensors.spec deleted file mode 100644 index aa329febc..000000000 --- a/redhat/applications/ksensors/ksensors.spec +++ /dev/null @@ -1,178 +0,0 @@ -# -# spec file for package ksensors (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg ksensors -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.7.3 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Trinity Frontend to lm_sensors -Group: Applications/System -URL: http://ksensors.sourceforge.net/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: fdupes - -# IDN support -BuildRequires: libidn-devel - -# OPENSSL support -BuildRequires: openssl-devel - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -%if 0%{?suse_version} -BuildRequires: libsensors4-devel -%else -BuildRequires: lm_sensors-devel -%endif - -# Keep archs in sync with lm_sensors -ExcludeArch: s390 s390x - - -%description -KSensors is a nice lm-sensors frontend for the K Desktop Environment. -Install the hddtemp package if you wish to monitor hard disk -temperatures with KSensors. - - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -%__rm -rf $RPM_BUILD_ROOT -%__make install DESTDIR=$RPM_BUILD_ROOT -C build - -%find_lang %{tde_pkg} - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file -G "Sensors Frontend" %{tde_pkg} System Monitor -%endif - - -%clean -%__rm -rf $RPM_BUILD_ROOT - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING FAQ README.md TODO -%{tde_bindir}/ksensors -%{tde_tdeappdir}/ksensors.desktop -%{tde_datadir}/apps/ksensors/ -%{tde_datadir}/autostart/ksensors.desktop -%{tde_datadir}/icons/hicolor/*/apps/ksensors.png -%{tde_datadir}/icons/locolor/*/apps/ksensors.png -%{tde_datadir}/sounds/ksensors_alert.wav -%{tde_tdedocdir}/HTML/en/ksensors/ -%{tde_mandir}/man1/*.1* - - -%changelog diff --git a/redhat/applications/kshowmail/kshowmail.spec b/redhat/applications/kshowmail/kshowmail.spec deleted file mode 100644 index 74044fd96..000000000 --- a/redhat/applications/kshowmail/kshowmail.spec +++ /dev/null @@ -1,202 +0,0 @@ -# -# spec file for package kshowmail (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg kshowmail -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 3.3.1 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Look messages into your mail server -Group: Applications/Internet -URL: http://sourceforge.net/projects/kshowmail/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils -BuildRequires: trinity-tdepim-devel >= %{tde_version} - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: fdupes - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -# ACL support -BuildRequires: libacl-devel - -# IDN support -BuildRequires: libidn-devel - -# OPENSSL support -BuildRequires: openssl-devel - - -%description -Very simply kshowmail is a program that allows you to look in on your mail server, -see what is waiting, decide if it is legitimate, and delete it right off of the server if it is not. -All without dragging any messages into your computer. - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INCLUDE_PATH="%{tde_tdeincludedir}" \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -%__rm -rf $RPM_BUILD_ROOT -%__make install DESTDIR=$RPM_BUILD_ROOT -C build - -%find_lang %{tde_pkg} - -# Install missing icons -install -D -m 644 "pics/cr16-app-kshowmail.png" "$RPM_BUILD_ROOT%{tde_datadir}/icons/hicolor/16x16/apps/kshowmail.png" -install -D -m 644 "pics/kshowmail.png" "$RPM_BUILD_ROOT%{tde_datadir}/icons/hicolor/48x48/apps/kshowmail.png" - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file kshowmail Network Email -%endif - - -%clean -%__rm -rf $RPM_BUILD_ROOT - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING README.md ChangeLog -%{tde_bindir}/kshowmail -%{tde_tdelibdir}/kcm_kshowmailconfigaccounts.la -%{tde_tdelibdir}/kcm_kshowmailconfigaccounts.so -%{tde_tdelibdir}/kcm_kshowmailconfigactions.la -%{tde_tdelibdir}/kcm_kshowmailconfigactions.so -%{tde_tdelibdir}/kcm_kshowmailconfigdisplay.la -%{tde_tdelibdir}/kcm_kshowmailconfigdisplay.so -%{tde_tdelibdir}/kcm_kshowmailconfigfilter.la -%{tde_tdelibdir}/kcm_kshowmailconfigfilter.so -%{tde_tdelibdir}/kcm_kshowmailconfiggeneral.la -%{tde_tdelibdir}/kcm_kshowmailconfiggeneral.so -%{tde_tdelibdir}/kcm_kshowmailconfiglog.la -%{tde_tdelibdir}/kcm_kshowmailconfiglog.so -%{tde_tdelibdir}/kcm_kshowmailconfigspamcheck.la -%{tde_tdelibdir}/kcm_kshowmailconfigspamcheck.so -%{tde_tdeappdir}/kshowmail.desktop -%{tde_datadir}/apps/kshowmail/ -%{tde_datadir}/icons/crystalsvg/16x16/apps/kshowmail.png -%{tde_datadir}/icons/hicolor/*/apps/kshowmail.png -%{tde_datadir}/services/kshowmailconfigaccounts.desktop -%{tde_datadir}/services/kshowmailconfigactions.desktop -%{tde_datadir}/services/kshowmailconfigdisplay.desktop -%{tde_datadir}/services/kshowmailconfigfilter.desktop -%{tde_datadir}/services/kshowmailconfiggeneral.desktop -%{tde_datadir}/services/kshowmailconfiglog.desktop -%{tde_datadir}/services/kshowmailconfigspamcheck.desktop -%lang(cs) %{tde_tdedocdir}/HTML/cs/kshowmail/ -%lang(de) %{tde_tdedocdir}/HTML/de/kshowmail/ -%lang(en) %{tde_tdedocdir}/HTML/en/kshowmail/ -%lang(es) %{tde_tdedocdir}/HTML/es/kshowmail/ -%lang(fr) %{tde_tdedocdir}/HTML/fr/kshowmail/ -%lang(hu) %{tde_tdedocdir}/HTML/hu/kshowmail/ -%lang(it) %{tde_tdedocdir}/HTML/it/kshowmail/ -%lang(ru) %{tde_tdedocdir}/HTML/ru/kshowmail/ -%lang(sv) %{tde_tdedocdir}/HTML/sv/kshowmail/ -%{tde_mandir}/man1/kshowmail.* - - -%changelog diff --git a/redhat/applications/kshutdown/kshutdown.spec b/redhat/applications/kshutdown/kshutdown.spec deleted file mode 100644 index 3889525f7..000000000 --- a/redhat/applications/kshutdown/kshutdown.spec +++ /dev/null @@ -1,180 +0,0 @@ -# -# spec file for package kshutdown (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg kshutdown -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 1.0.4 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: An advanced shut down utility for TDE -Group: Applications/Multimedia -URL: http://kde-apps.org/content/show.php?content=41180 - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: fdupes - -# ACL support -BuildRequires: libacl-devel - -# IDN support -BuildRequires: libidn-devel - -# OPENSSL support -BuildRequires: openssl-devel - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - - -%description -It has 4 main commands: - -- Shut Down (logout and halt the system), -- Reboot (logout and reboot the system), -- Lock Screen (lock the screen using a screen saver), -- Logout (end the session and logout the user). - -It features time and delay options, command line support, wizard, -and sounds. - - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -%__rm -rf $RPM_BUILD_ROOT -%__make install DESTDIR=$RPM_BUILD_ROOT -C build - -%find_lang %{tde_pkg} - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/kshutdown.desktop" -%suse_update_desktop_file %{tde_pkg} Utility DesktopUtility -%endif - - -%clean -%__rm -rf $RPM_BUILD_ROOT - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING README.md -%{tde_bindir}/kshutdown -%{tde_tdelibdir}/kshutdownlockout_panelapplet.la -%{tde_tdelibdir}/kshutdownlockout_panelapplet.so -%{tde_tdeappdir}/kshutdown.desktop -%{tde_datadir}/apps/kicker/applets/kshutdownlockout.desktop -%{tde_datadir}/apps/kshutdown/ -%{tde_datadir}/apps/tdeconf_update/kshutdown.upd -%{tde_datadir}/icons/hicolor/*/apps/kshutdown.png -%lang(de) %{tde_datadir}/doc/tde/HTML/de/kshutdown/ -%lang(en) %{tde_datadir}/doc/tde/HTML/en/kshutdown/ -%{tde_mandir}/man1/*.1* - - -%changelog diff --git a/redhat/applications/ksplash-engine-moodin/ksplash-engine-moodin.spec b/redhat/applications/ksplash-engine-moodin/ksplash-engine-moodin.spec deleted file mode 100644 index 8a6c3aeac..000000000 --- a/redhat/applications/ksplash-engine-moodin/ksplash-engine-moodin.spec +++ /dev/null @@ -1,175 +0,0 @@ -# -# spec file for package ksplash-engine-moodin (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg ksplash-engine-moodin -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.4.2 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Fading splash screen engine for Trinity -Group: Applications/Utilities -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: fdupes - -# IDN support -BuildRequires: libidn-devel - -# OPENSSL support -BuildRequires: openssl-devel - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - - -%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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%find_lang %{tde_pkg} - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%{tde_tdelibdir}/ksplashmoodin.la -%{tde_tdelibdir}/ksplashmoodin.so -%if "%{?tde_version}" == "14.1.0" -%{tde_datadir}/apps/ksplash/Themes/Architecture/ -%endif -%{tde_datadir}/apps/ksplash/Themes/FingerPrint/ -%{tde_datadir}/apps/ksplash/Themes/MoodinKDE/ -%{tde_datadir}/services/ksplashmoodin.desktop - - -%changelog diff --git a/redhat/applications/kstreamripper/kstreamripper.spec b/redhat/applications/kstreamripper/kstreamripper.spec deleted file mode 100644 index b7bd141c4..000000000 --- a/redhat/applications/kstreamripper/kstreamripper.spec +++ /dev/null @@ -1,167 +0,0 @@ -# -# spec file for package kstreamripper (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg kstreamripper -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.3.4 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: TDE frontend for streamripper -Group: Applications/Utilities -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: autoconf automake libtool m4 -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: fdupes - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -BuildRequires: trinity-cmake >= %{tde_version} - - -%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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - -DPLUGIN_INSTALL_DIR="%{tde_tdelibdir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_GCC_VISIBILITY=ON \ - -DWITH_NVCONTROL=OFF \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - \ - .. - -%__make %{?_smp_mflags} || %__make - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -# Missing icon file will make this fail. -echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/%{tde_pkg}.desktop" - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file kstreamripper Audio Recorder -%endif - -%find_lang %{tde_pkg} - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%{tde_bindir}/kstreamripper -%{tde_tdeappdir}/kstreamripper.desktop -%{tde_datadir}/apps/kstreamripper/ -%{tde_datadir}/icons/hicolor/*/apps/kstreamripper.png -%{tde_tdedocdir}/HTML/en/kstreamripper/ -%{tde_mandir}/man*/kstreamripper.* - - -%changelog diff --git a/redhat/applications/ksystemlog/ksystemlog.spec b/redhat/applications/ksystemlog/ksystemlog.spec deleted file mode 100644 index 412aab89d..000000000 --- a/redhat/applications/ksystemlog/ksystemlog.spec +++ /dev/null @@ -1,163 +0,0 @@ -# -# spec file for package ksystemlog (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg ksystemlog -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.3.2 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: System log viewer tool for Trinity -Group: Applications/System -URL: http://ksystemlog.forum-software.org - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: fdupes - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - - -%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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -# Warning: GCC visibility causes FTBFS [Bug #1285] -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_NO_BUILTIN_CHRPATH=ON \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DCONFIG_INSTALL_DIR="%{tde_confdir}" \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DBUILD_ALL=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -# Missing category will make this fail. -echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/%{tde_pkg}.desktop" - -%find_lang %{tde_pkg} - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING README.md -%{tde_bindir}/ksystemlog -%{tde_tdeappdir}/ksystemlog.desktop -%{tde_datadir}/apps/ksystemlog/ -%{tde_datadir}/config.kcfg/ksystemlog.kcfg -%{tde_datadir}/icons/hicolor/*/apps/ksystemlog.png -%{tde_datadir}/icons/hicolor/*/apps/ksystemlog.svgz -%{tde_tdedocdir}/HTML/en/ksystemlog/ -%{tde_mandir}/man1/ksystemlog.1* - - -%changelog diff --git a/redhat/applications/ktorrent/ktorrent.spec b/redhat/applications/ktorrent/ktorrent.spec deleted file mode 100644 index 4cb54d155..000000000 --- a/redhat/applications/ktorrent/ktorrent.spec +++ /dev/null @@ -1,220 +0,0 @@ -# -# spec file for package ktorrent (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg ktorrent -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 2.2.8 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: BitTorrent client for Trinity -Group: Applications/Utilities -URL: http://ktorrent.org - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: autoconf automake libtool m4 -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: fdupes - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -# GMP support -BuildRequires: gmp-devel - -# AVAHI support -# Disabled on RHEL4 and RHEL5 -%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version} -%define with_avahi 1 -BuildRequires: trinity-avahi-tqt-devel -Requires: trinity-avahi-tqt -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}avahi-client-devel -Requires: %{_lib}avahi-client3 -%else -BuildRequires: avahi-devel -Requires: avahi -%endif -%endif - -# GEOIP -%if 0%{?suse_version} -%if 0%{?suse_version} < 1550 -BuildRequires: libGeoIP-devel -%endif -%else -BuildRequires: geoip-devel -%endif - -%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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" - -%configure \ - --prefix="%{tde_prefix}" \ - --exec-prefix="%{tde_prefix}" \ - --bindir="%{tde_bindir}" \ - --datadir="%{tde_datadir}" \ - --libdir="%{tde_libdir}" \ - --mandir="%{tde_mandir}" \ - --includedir="%{tde_tdeincludedir}" \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-final \ - --enable-new-ldflags \ - --enable-closure \ - --enable-rpath \ - --disable-gcc-hidden-visibility \ - \ - %{?!with_avahi:--without-avahi} - - -# Not SMP safe ! -%__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf "%{buildroot}" -%__make install DESTDIR="%{buildroot}" - -%find_lang %{tde_pkg} - -# Unwanted files -%__rm -f "%{?buildroot}%{tde_libdir}/libktorrent.so" - - -%clean -%__rm -rf "%{buildroot}" - - -%files -f %{tde_pkg}.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 -%{tde_tdedocdir}/HTML/en/ktorrent/ - -%if 0%{?with_avahi} -%{tde_tdelibdir}/ktzeroconfplugin.la -%{tde_tdelibdir}/ktzeroconfplugin.so -%endif -%{tde_mandir}/man1/ktorrent.1* - - -%changelog diff --git a/redhat/applications/kvirc/kvirc.spec b/redhat/applications/kvirc/kvirc.spec deleted file mode 100644 index da3af96ad..000000000 --- a/redhat/applications/kvirc/kvirc.spec +++ /dev/null @@ -1,247 +0,0 @@ -%if 0%{?fedora} >= 23 -%define _hardened_ldflags %nil -%endif - -# -# spec file for package kvirc (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg kvirc -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 3.4.0 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Trinity based next generation IRC client with module support -Group: Applications/Utilities -URL: http://kvirc.net/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: autoconf automake libtool m4 -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: fdupes - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -Requires: %{name}-data = %{?epoch:%{epoch}:}%{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 TDE widget set, can be extended -using its own scripting language, integrates with TDE, 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} = %{?epoch:%{epoch}:}%{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 TDE widget set which integrates -with the Trinity Desktop Environment version 3. - -%package devel -Group: Development/Libraries -Summary: Development files for KVIrc -Requires: %{name} = %{?epoch:%{epoch}:}%{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 TDE widget set which integrates -with the K Desktop Environment version 3. - - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -# FTBFS on RHEL 5 -%if 0%{?rhel} == 5 -%__sed -i "admin/acinclude.m4.in" \ - -i "src/kvilib/tal/kvi_tal_application.cpp" \ - -e "/TDEApplication/ s|\")|\", true, true, true)|"; -%endif - - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -./autogen.sh - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${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-dependency-tracking \ - --disable-debug \ - --enable-wall \ - \ - --with-pic \ - \ - --with-big-channels \ - --enable-perl \ - --with-ix86-asm \ - --with-kde-services-dir=%{tde_datadir}/services \ - --with-kde-library-dir=%{tde_libdir} \ - --with-kde-include-dir=%{tde_tdeincludedir} \ - --with-qt-name=tqt \ - --with-qt-library-dir=%{_libdir} \ - --with-qt-include-dir=%{_includedir}/tqt3 \ - --with-qt-moc=%{_bindir}/tmoc - -# Symbolic links must exist prior to parallel building -%__make symlinks -C src/kvilib/build -%__make symlinks -C src/kvirc/build - -%if 0%{?mgaversion} >= 6 || 0%{?pclinuxos} >= 2018 -%__sed -i "src/modules/"*"/Makefile" -e "s|-Wl,--no-undefined||" -%endif - -%__make %{?_smp_mflags} || %__make - - -%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 - -# Move desktop file to XDG location -%__mkdir_p "%{?buildroot}%{tde_tdeappdir}" -%__mv -f "%{?buildroot}%{tde_datadir}/applnk/"*"/%{tde_pkg}.desktop" "%{?buildroot}%{tde_tdeappdir}" - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file kvirc Network IRCClient -%endif - - -%clean -%__rm -rf %{buildroot} - - -%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 -%exclude %{tde_libdir}/kvirc/*/modules/*.la -%exclude %{tde_libdir}/kvirc/*/modules/*.so -%{tde_libdir}/kvirc/ -%{tde_tdeappdir}/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 diff --git a/redhat/applications/kvkbd/kvkbd.spec b/redhat/applications/kvkbd/kvkbd.spec deleted file mode 100644 index 14d1ae3bd..000000000 --- a/redhat/applications/kvkbd/kvkbd.spec +++ /dev/null @@ -1,168 +0,0 @@ -# -# spec file for package kvkbd (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg kvkbd -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.4.8 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Virtual keyboard for TDE -Group: Applications/System -URL: http://pan4os.info/main/index.php - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: fdupes - -# ACL support -BuildRequires: libacl-devel - -# IDN support -BuildRequires: libidn-devel - -# OPENSSL support -BuildRequires: openssl-devel - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - - -%description -Virtual keyboard for TDE for use with accessibility. Application contains -a systray widget as well as a dockwidget. - - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%find_lang %{tde_pkg} - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file -r kvkbd Utility Accessibility -%endif - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING README.md -%{tde_bindir}/kvkbd -%{tde_tdeappdir}/kvkbd.desktop -%{tde_datadir}/apps/kvkbd/ -%{tde_datadir}/icons/hicolor/*/apps/kvkbd.png -%{tde_tdedocdir}/HTML/en/kvkbd/ - - -%changelog diff --git a/redhat/applications/kvpnc/kvpnc.spec b/redhat/applications/kvpnc/kvpnc.spec deleted file mode 100644 index 9377caf39..000000000 --- a/redhat/applications/kvpnc/kvpnc.spec +++ /dev/null @@ -1,178 +0,0 @@ -# -# spec file for package kvpnc (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg kvpnc -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.9.6a -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Vpn clients frontend for TDE -Group: Applications/Utilities -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: fdupes - -# ACL support -BuildRequires: libacl-devel - -# IDN support -BuildRequires: libidn-devel - -# OPENSSL support -BuildRequires: openssl-devel - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -BuildRequires: libgcrypt-devel >= 1.2.0 - - -%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) - - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%find_lang %{tde_pkg} - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING README.md TODO -%{tde_bindir}/kvpnc -%{tde_tdeappdir}/kvpnc.desktop -%{tde_datadir}/apps/kvpnc/ -%lang(de) %{tde_datadir}/doc/tde/HTML/de/kvpnc/ -%lang(en) %{tde_datadir}/doc/tde/HTML/en/kvpnc/ -%lang(fr) %{tde_datadir}/doc/tde/HTML/fr/kvpnc/ -%lang(sv) %{tde_datadir}/doc/tde/HTML/sv/kvpnc/ -%{tde_datadir}/icons/hicolor/*/apps/kvpnc.png -%{tde_datadir}/icons/locolor/*/apps/kvpnc.png -%{tde_docdir}/kvpnc/ -%{tde_tdedocdir}/HTML/en/tdeioslave/pcf/ -%{tde_datadir}/services/pcf.protocol -%{tde_mandir}/man1/*.1* - - -%changelog diff --git a/redhat/applications/mathemagics/mathemagics.spec b/redhat/applications/mathemagics/mathemagics.spec deleted file mode 100644 index 3eb6700dd..000000000 --- a/redhat/applications/mathemagics/mathemagics.spec +++ /dev/null @@ -1,132 +0,0 @@ -# -# spec file for package mathemagics (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg mathemagics -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_mandir %{tde_datadir}/man -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Summary: Mathemagics is a RPN Calculator. -Version: 1.1 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Group: Applications/Utilities -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: libtool - - -%description -Mathemagics is a RPN Calculator. - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DDATA_INSTALL_DIR=%{tde_datadir}/apps \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DBUILD_ALL=ON \ - .. - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%find_lang %{tde_pkg} - - -%clean -%__rm -rf $RPM_BUILD_ROOT - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING README.md -%{tde_bindir}/mathemagics -%{tde_tdeappdir}/mathemagics.desktop -%{tde_datadir}/apps/mathemagics/ -%{tde_datadir}/icons/hicolor/22x22/apps/mathemagics.png -%{tde_datadir}/icons/hicolor/32x32/apps/mathemagics.png -%{tde_datadir}/icons/hicolor/48x48/apps/mathemagics.png -%{tde_datadir}/icons/locolor/16x16/apps/mathemagics.png -%{tde_datadir}/icons/locolor/32x32/apps/mathemagics.png -%{tde_tdedocdir}/HTML/en/mathemagics/ -%{tde_mandir}/man1/mathemagics.1* - - -%changelog diff --git a/redhat/applications/misc/bibletime/bibletime.spec b/redhat/applications/misc/bibletime/bibletime.spec new file mode 100644 index 000000000..4ecd291ea --- /dev/null +++ b/redhat/applications/misc/bibletime/bibletime.spec @@ -0,0 +1,180 @@ +# +# spec file for package bibletime (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# Required for PCLinuxOS: removes the ldflag '--no-undefined' +%if 0%{?pclinuxos} +%define _disable_ld_no_undefined 1 +%endif + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg bibletime +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 1.6.6.0 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: A bible study tool for Trinity +Group: Applications/Utilities +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} + +BuildRequires: autoconf automake libtool m4 +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: libtool +BuildRequires: desktop-file-utils +BuildRequires: gettext + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +# BOOST support +BuildRequires: boost-devel + +# Requires: clucene +%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 6 +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 TDE 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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +%if 0%{?fedora} >= 31 || 0%{?rhel} >= 8 +CXXFLAGS="${RPM_OPT_FLAGS} -std=c++11" +%endif + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + \ + --disable-dependency-tracking \ + --disable-debug \ + --enable-new-ldflags \ + --enable-final \ + --enable-closure \ + --enable-rpath \ + --disable-gcc-hidden-visibility + +# Not SMP safe ! +%__make -C bibletime/frontend + +# SMP safe ! +%__make %{?_smp_mflags} || %__make + + +%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 + +echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_datadir}/applications/bibletime.desktop" + + +%clean +%__rm -rf %{buildroot} + + +%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 diff --git a/redhat/applications/misc/fusion-icon/fusion-icon.spec b/redhat/applications/misc/fusion-icon/fusion-icon.spec new file mode 100644 index 000000000..e3f8bf5cb --- /dev/null +++ b/redhat/applications/misc/fusion-icon/fusion-icon.spec @@ -0,0 +1,110 @@ +# Default version for this component +%define tde_pkg fusion-icon +%define tde_version 14.1.0 + +%if "%{?python2_sitelib}" == "" +%define python2_sitelib %(python2 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())") +%endif + + +# TDE specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{tde_pkg} +Summary: tray icon to launch and manage Compiz Fusion [Trinity] +Version: 0.0.0+git20071028 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} + +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}-%{tde_version}%{?preversion:~%{preversion}}.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 %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +. /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 diff --git a/redhat/applications/misc/kcmldap/kcmldap.spec b/redhat/applications/misc/kcmldap/kcmldap.spec new file mode 100644 index 000000000..1f83bf798 --- /dev/null +++ b/redhat/applications/misc/kcmldap/kcmldap.spec @@ -0,0 +1,229 @@ +# +# spec file for package kcmldap (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg kcmldap +%define tde_prefix /opt/trinity +%define tde_appdir %{tde_datadir}/applications +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.5 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Kerberos control module for the TDE control center +Group: Applications/Utilities +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: gettext +BuildRequires: trinity-libtdeldap-devel >= 0.5 + +Requires: trinity-tde-ldap-cert-updater = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: trinity-kcontrol-ldap-bonding = %{?epoch:%{epoch}:}%{version}-%{release} + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig + +# ACL support +BuildRequires: libacl-devel + +# IDN support +BuildRequires: libidn-devel + +# OPENSSL support +BuildRequires: openssl-devel + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +# OPENLDAP support +%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: openldap-devel +%endif +%if 0%{?suse_version} +BuildRequires: openldap2-devel +%endif +%if 0%{?rhel} == 5 +BuildRequires: openldap24-libs-devel +%endif + +# KRB5 support +#BuildRequires: krb5-devel + +# HEIMDAL support +%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: heimdal-devel +%endif +%if 0%{?suse_version} +BuildRequires: libheimdal-devel +%endif + +# UDEV support +%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} || 0%{?rhel} >= 6 +%define with_tdehwlib 1 +BuildRequires: libudev-devel +%endif + +# LIBCOM_ERR support +%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 6 +BuildRequires: libcom_err-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: %{_lib}ext2fs-devel +%endif + + +%description +This is a meta-package that installs all kcmldap related packages. + +%files + +########## + +%package -n trinity-kcontrol-ldap-bonding +Summary: Kerberos control module for the TDE control center +Group: Applications/Utilities +Requires: trinity-tde-ldap-cert-updater = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n trinity-kcontrol-ldap-bonding +This is a TDE control center module to manage TDE connections to Kerberos realms. + +%files -n trinity-kcontrol-ldap-bonding +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/tdeldapbonding +%{tde_tdelibdir}/kcm_ldapbonding.la +%{tde_tdelibdir}/kcm_ldapbonding.so +%{tde_tdeappdir}/ldapbonding.desktop +%dir %{tde_datadir}/pixmaps +%{tde_datadir}/pixmaps/kcmldapbonding_step1.png +%{tde_datadir}/pixmaps/kcmldapbonding_step3.png + +########## + +%package -n trinity-tde-ldap-cert-updater +Summary: Service to keep LDAP certificates up-to-date +Group: Applications/Utilities +Requires: trinity-kcontrol-ldap-bonding = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n trinity-tde-ldap-cert-updater +This is a small daemon which keeps the LDAP root certificate up to date with the LDAP server + +%files -n trinity-tde-ldap-cert-updater +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/tdeldapcertupdater + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + + +%clean +%__rm -rf %{buildroot} + + +%changelog diff --git a/redhat/applications/misc/kcmldapcontroller/kcmldapcontroller.spec b/redhat/applications/misc/kcmldapcontroller/kcmldapcontroller.spec new file mode 100644 index 000000000..fe4121f07 --- /dev/null +++ b/redhat/applications/misc/kcmldapcontroller/kcmldapcontroller.spec @@ -0,0 +1,224 @@ +# +# spec file for package kcmldapcontroller (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg kcmldapcontroller +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.5 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Kerberos control module for the TDE control center +Group: Applications/Utilities +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: gettext +BuildRequires: trinity-libtdeldap-devel >= 0.5 + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +# OPENLDAP support +%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: openldap-devel +%endif +%if 0%{?mgaversion} >= 6 +BuildRequires: openldap-servers-devel +%endif +%if 0%{?suse_version} +BuildRequires: openldap2-devel +%endif +%if 0%{?rhel} == 5 +BuildRequires: openldap24-libs-devel +%endif + +# KRB5 support +#BuildRequires: krb5-devel + +# HEIMDAL support +%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: heimdal-devel +%endif +%if 0%{?suse_version} +BuildRequires: libheimdal-devel +%endif + +# UDEV support +%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} || 0%{?rhel} >= 6 +%define with_tdehwlib 1 +BuildRequires: libudev-devel +%endif + +# LIBCOM_ERR support +%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 6 +BuildRequires: libcom_err-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: %{_lib}ext2fs-devel +%endif + +# ACL support +BuildRequires: libacl-devel + +# IDN support +BuildRequires: libidn-devel + +# OPENSSL support +BuildRequires: openssl-devel + +Requires: trinity-kcontrol-ldap-controller = %{?epoch:%{epoch}:}%{version}-%{release} + + +%description +This is a meta-package that installs all kcmldap related packages. + +%files + +########## + +%package -n trinity-kcontrol-ldap-controller +Summary: Kerberos realm management module for the TDE control center +Group: Applications/Utilities + +%description -n trinity-kcontrol-ldap-controller +This is a TDE control center module to manage users, groups, and machines in Kerberos realms. + +%files -n trinity-kcontrol-ldap-controller +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/primaryrccertupdater +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?rhel} >= 7 +%{tde_libdir}/slapi-acl-manager.la +%{tde_libdir}/slapi-acl-manager.so +%endif +%{tde_tdelibdir}/kcm_ldapcontroller.la +%{tde_tdelibdir}/kcm_ldapcontroller.so +%{tde_tdeappdir}/ldapcontroller.desktop +%{tde_datadir}/apps/kcmldapcontroller/ +%dir %{tde_datadir}/pixmaps +%{tde_datadir}/pixmaps/kcmldapcontroller_step1.png +%{tde_datadir}/pixmaps/kcmldapcontroller_step4.png + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + +%if 0%{?pclinuxos} +%__rm -rf acl-updater +%endif + + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + -DPLUGIN_INSTALL_DIR="%{tde_tdelibdir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + + +%clean +%__rm -rf %{buildroot} + + +%changelog diff --git a/redhat/applications/misc/kcmldapmanager/kcmldapmanager.spec b/redhat/applications/misc/kcmldapmanager/kcmldapmanager.spec new file mode 100644 index 000000000..16aec6e48 --- /dev/null +++ b/redhat/applications/misc/kcmldapmanager/kcmldapmanager.spec @@ -0,0 +1,210 @@ +# +# spec file for package kcmldapmanager (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg kcmldapmanager +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.5 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Kerberos control module for the TDE control center +Group: Applications/Utilities +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: gettext +BuildRequires: trinity-libtdeldap-devel >= 0.5 + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +# OPENLDAP support +%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: openldap-devel +%endif +%if 0%{?suse_version} +BuildRequires: openldap2-devel +%endif +%if 0%{?rhel} == 5 +BuildRequires: openldap24-libs-devel +%endif + +# KRB5 support +#BuildRequires: krb5-devel + +# HEIMDAL support +%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: heimdal-devel +%endif +%if 0%{?suse_version} +BuildRequires: libheimdal-devel +%endif + +# UDEV support +%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} || 0%{?rhel} >= 6 +%define with_tdehwlib 1 +BuildRequires: libudev-devel +%endif + +# LIBCOM_ERR support +%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 6 +BuildRequires: libcom_err-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: %{_lib}ext2fs-devel +%endif + +# ACL support +BuildRequires: libacl-devel + +# IDN support +BuildRequires: libidn-devel + +# OPENSSL support +BuildRequires: openssl-devel + +Requires: trinity-kcontrol-ldap-manager = %{?epoch:%{epoch}:}%{version}-%{release} + + +%description +This is a meta-package that installs all kcmldap related packages. + +%files + +########## + +%package -n trinity-kcontrol-ldap-manager +Summary: Kerberos realm management module for the TDE control center +Group: Applications/Utilities + +%description -n trinity-kcontrol-ldap-manager +This is a TDE control center module to manage users, groups, and machines in Kerberos realms. + +%files -n trinity-kcontrol-ldap-manager -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/tdeldapmanager +%{tde_tdelibdir}/kcm_ldapmanager.la +%{tde_tdelibdir}/kcm_ldapmanager.so +%{tde_tdeappdir}/ldapmanager.desktop + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + -DPLUGIN_INSTALL_DIR="%{tde_tdelibdir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%find_lang %{tde_pkg} || touch %{tde_pkg}.lang + + +%clean +%__rm -rf %{buildroot} + + +%changelog diff --git a/redhat/applications/misc/kerberostray/kerberostray.spec b/redhat/applications/misc/kerberostray/kerberostray.spec new file mode 100644 index 000000000..5bc1c3709 --- /dev/null +++ b/redhat/applications/misc/kerberostray/kerberostray.spec @@ -0,0 +1,200 @@ +# +# spec file for package kerberostray (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg kerberostray +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.5 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Kerberos ticket manager +Group: Applications/Utilities +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: gettext +BuildRequires: trinity-libtdeldap-devel >= 0.5 + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +# OPENLDAP support +%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: openldap-devel +%endif +%if 0%{?suse_version} +BuildRequires: openldap2-devel +%endif +%if 0%{?rhel} == 5 +BuildRequires: openldap24-libs-devel +%endif + +# KRB5 support +#BuildRequires: krb5-devel + +# HEIMDAL support +%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: heimdal-devel +%endif +%if 0%{?suse_version} +BuildRequires: libheimdal-devel +%endif + +# UDEV support +%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} || 0%{?rhel} >= 6 +%define with_tdehwlib 1 +BuildRequires: libudev-devel +%endif + +# LIBCOM_ERR support +%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 6 +BuildRequires: libcom_err-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: %{_lib}ext2fs-devel +%endif + +# ACL support +BuildRequires: libacl-devel + +# IDN support +BuildRequires: libidn-devel + +# OPENSSL support +BuildRequires: openssl-devel + + +%description +Kerberos ticket manager which sits in the system tray and allows viewing/control of Kerberos tickets + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + -DPLUGIN_INSTALL_DIR="%{tde_tdelibdir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%find_lang %{tde_pkg} + +# Apps that should stay in TDE +echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/%{tde_pkg}.desktop" + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{tde_pkg}.lang +%{tde_bindir}/kerberostray +%{tde_tdeappdir}/kerberostray.desktop +%{tde_datadir}/apps/kerberostray/ +%{tde_datadir}/autostart/kerberostray.desktop +%{tde_datadir}/icons/crystalsvg/*/apps/kerberostray.png + + +%changelog diff --git a/redhat/applications/misc/krecipes/krecipes.spec b/redhat/applications/misc/krecipes/krecipes.spec new file mode 100644 index 000000000..5609d2f65 --- /dev/null +++ b/redhat/applications/misc/krecipes/krecipes.spec @@ -0,0 +1,191 @@ +# +# spec file for package krecipes (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg krecipes +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 1.0beta2 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Recipes manager for TDE +Group: Applications/Utilities +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: autoconf automake libtool m4 +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: fdupes + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +# MYSQL support +BuildRequires: mysql-devel + +# POSTGRESQL support +%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150200 +BuildRequires: postgresql10 +BuildRequires: postgresql10-devel +%else +BuildRequires: postgresql +%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8 +BuildRequires: postgresql-server-devel +%else +BuildRequires: postgresql-devel +%endif +%endif + +# SQLITE support +BuildRequires: sqlite-devel + + +%description +Krecipes is a TDE application designed to manage recipes. It can help you to +do your shopping list, search through your recipes to find what you can do +with available ingredients and a diet helper. It can also import or export +recipes from files in various format (eg RecipeML or Meal-Master) or from +databases. + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --docdir=%{tde_tdedocdir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + \ + --disable-dependency-tracking \ + --disable-debug \ + --enable-new-ldflags \ + --enable-final \ + --enable-closure \ + --enable-rpath \ + --disable-gcc-hidden-visibility \ + \ + --with-sqlite \ + --with-mysql \ + --with-postgresql + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{tde_pkg} + +# Fix desktop file location +%__mkdir_p "%{?buildroot}%{tde_tdeappdir}" +%__mv -f "%{?buildroot}%{tde_datadir}/applnk/"*"/krecipes.desktop" "%{?buildroot}%{tde_tdeappdir}" + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file -r krecipes Education Chemistry +%endif + +# Removes duplicate files +%fdupes "%{buildroot}%{tde_datadir}" + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%{tde_bindir}/krecipes +%{tde_tdeappdir}/krecipes.desktop +%{tde_datadir}/apps/krecipes/ +%{tde_datadir}/icons/crystalsvg/*/mimetypes/krecipes_file.png +%{tde_datadir}/icons/hicolor/*/apps/krecipes.png +%{tde_datadir}/mimelnk/application/x-krecipes-backup.desktop +%{tde_datadir}/mimelnk/application/x-krecipes-recipes.desktop +%lang(da) %{tde_tdedocdir}/HTML/da/ +%lang(en) %{tde_tdedocdir}/HTML/en/ +%lang(es) %{tde_tdedocdir}/HTML/es/ +%lang(et) %{tde_tdedocdir}/HTML/et/ +%lang(pt) %{tde_tdedocdir}/HTML/pt/ +%lang(sv) %{tde_tdedocdir}/HTML/sv/ +%{tde_mandir}/man1/krecipes.1* + +%changelog diff --git a/redhat/applications/mplayerthumbs/mplayerthumbs.spec b/redhat/applications/mplayerthumbs/mplayerthumbs.spec deleted file mode 100644 index af8bb6924..000000000 --- a/redhat/applications/mplayerthumbs/mplayerthumbs.spec +++ /dev/null @@ -1,169 +0,0 @@ -# -# spec file for package mplayerthumbs (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg mplayerthumbs -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.5b -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: A video thumbnail generator for TDE file managers -Group: Applications/Multimedia -URL: http://kde-apps.org/content/show.php?content=41180 - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: fdupes - -# IDN support -BuildRequires: libidn-devel - -# OPENSSL support -BuildRequires: openssl-devel - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -# MPLAYER support -Requires: mplayer - - -%description -MPlayerThumbs is a video thumbnail generator for TDE file managers -(Konqueror, Dolphin, ...). -It needs mplayer (of course) to generate thumbnails, and it contains no -linking to any library, so in a x86_64 system you can freely use the -32bit mplayer binary with win32codecs by configuring the application -launching the mplayerthumbsconfig helper application. -It catches a random frame from 15% to 70%, checking also how contrasted -is the image, and dropping bad frames. - - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -%__rm -rf $RPM_BUILD_ROOT -%__make install DESTDIR=%{buildroot} -C build - - -%clean -%__rm -rf $RPM_BUILD_ROOT - - -%files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING README.md -%{tde_bindir}/mplayer-thumbnailer-config -%{tde_tdelibdir}/mplayer-thumbnailer.la -%{tde_tdelibdir}/mplayer-thumbnailer.so -%{tde_datadir}/apps/mplayer-thumbnailer/ -%{tde_datadir}/apps/tdeconf_update/mplayer-thumbnailer-cfg-rename.upd -%{tde_datadir}/config.kcfg/mplayer-thumbnailer.kcfg -%{tde_datadir}/services/mplayer-thumbnailer.desktop -%{tde_tdedocdir}/HTML/en/mplayer-thumbnailer/ -%lang(de) %{tde_datadir}/locale/de/LC_MESSAGES/mplayer-thumbnailer.mo - - -%changelog diff --git a/redhat/applications/multimedia/amarok/amarok.spec b/redhat/applications/multimedia/amarok/amarok.spec new file mode 100644 index 000000000..5ee4de02c --- /dev/null +++ b/redhat/applications/multimedia/amarok/amarok.spec @@ -0,0 +1,558 @@ +# +# spec file for package amarok (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg amarok +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_confdir %{_sysconfdir}/trinity +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 1.4.10 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Media player for TDE +Group: Applications/Multimedia +URL: http://www.trinitydesktop.org/ +#Url: http://amarok.kde.org + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: trinity-konqueror-devel >= %{tde_version} + +BuildRequires: trinity-filesystem >= %{tde_version} +Requires: trinity-filesystem >= %{tde_version} + +BuildRequires: desktop-file-utils +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: gettext + +# ACL support +BuildRequires: libacl-devel + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +# ALSA support +BuildRequires: alsa-lib-devel + +# ESOUND support +BuildRequires: esound-devel + +# PCRE support +BuildRequires: pcre-devel + +# LIBTOOL +BuildRequires: libtool +%if 0%{?fedora} > 4 || 0%{?rhel} > 4 +BuildRequires: libtool-ltdl-devel +%endif + +%if 0%{?fedora} >= 37 +BuildRequires: libusb1-devel +BuildRequires: libusb-compat-0.1-devel +%else +BuildRequires: libusb-devel +%endif +BuildRequires: mysql-devel +BuildRequires: SDL-devel +BuildRequires: taglib-devel +BuildRequires: sqlite-devel + +# POSTGRESQL support +%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150200 +BuildRequires: postgresql10 +BuildRequires: postgresql10-devel +%else +BuildRequires: postgresql +%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8 +BuildRequires: postgresql-server-devel +%else +BuildRequires: postgresql-devel +%endif +%endif + +# not used anymore, in favor of libvisual ? -- Rex +#{?fedora:BuildRequires: xmms-devel} + +# IDN support +BuildRequires: libidn-devel + +# GAMIN support +# Not on openSUSE. +%if ( 0%{?rhel} && 0%{?rhel} <= 8 ) || ( 0%{?fedora} && 0%{?fedora} <= 33 ) || 0%{?mgaversion} || 0%{?mdkversion} +%define with_gamin 1 +BuildRequires: gamin-devel +%endif + +# 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 >= 1:0.63 +%endif + +# DAAP support +%define with_daap 0 + +# 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%{?rhel} == 7 || 0%{?rhel} == 8 || 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 +%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 + +# MUSICBRAINZ support +%if 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} +%if 0%{?fedora} >= 24 +BuildRequires: libmusicbrainz5-devel +%else +BuildRequires: libmusicbrainz-devel +%endif +%endif + +# TUNEPIMP support +%if 0%{?pclinuxos} +BuildRequires: libofa-devel +%endif +%if 0%{?mgaversion} && 0%{?mgaversion} <= 2 +BuildRequires: libtunepimp-devel +%endif +%if 0%{?suse_version} && 0%{?suse_version} != 1330 && 0%{?suse_version} < 1500 +BuildRequires: libtunepimp-devel +%endif +%if 0%{?fedora} && 0%{?fedora} <= 23 +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%{?fedora} && 0%{?fedora} <= 31 +%define with_xine 1 +BuildRequires: xine-lib-devel +%endif +%if 0%{?rhel} && 0%{?rhel} <= 7 +#define with_xine 1 +BuildRequires: xine-lib-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} +%define with_xine 1 +BuildRequires: %{_lib}xine1.2-devel +%endif +%if 0%{?sle_version} && 0%{?sle_version} <= 150000 +%define with_xine 1 +BuildRequires: libxine-devel +%endif + +# YAUAP support +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} +%define with_yauap 1 +%endif + +# AKODE support +%define with_akode 0 +%if 0 && 0%{?with_akode} +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 +%if 0%{?fedora} >= 19 +BuildRequires: rubypick +%endif + +# PYTHON support +%if 0%{?sle_version} >= 150400 || 0%{?rhel} >= 8 +%define python python3 +%define __python %__python3 +%else +%if 0%{?rhel} == 6 || 0%{?rhel} == 7 || 0%{?fedora} >= 31 || 0%{?suse_version} >= 1550 || 0%{?mgaversion} >= 8 +%global python python2 +%global __python %__python2 +%global python_sitearch %{python2_sitearch} +%else +%global python python +%endif +%endif +%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} +BuildRequires: %{python} +BuildRequires: %{python}-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 %{tde_pkg}.lang +%defattr(-,root,root,-) +%doc COPYING AUTHORS ChangeLog README.md +%{tde_bindir}/amarok +%{tde_bindir}/amarokapp +%{tde_bindir}/amarokcollectionscanner +%{tde_bindir}/amarok_proxy.rb +%{tde_datadir}/apps/amarok/ +%{tde_datadir}/icons/crystalsvg/*/actions/covermanager.png +%{tde_datadir}/icons/crystalsvg/*/actions/dynamic.png +%{tde_datadir}/icons/crystalsvg/*/actions/equalizer.png +%{tde_datadir}/icons/crystalsvg/*/actions/mini_dock.png +%{tde_datadir}/icons/crystalsvg/*/actions/player_playlist_2.png +%{tde_datadir}/icons/crystalsvg/*/actions/podcast.png +%{tde_datadir}/icons/crystalsvg/*/actions/podcast_new.png +%{tde_datadir}/icons/crystalsvg/*/actions/random.png +%{tde_datadir}/icons/crystalsvg/*/actions/repeat_playlist.png +%{tde_datadir}/icons/crystalsvg/*/actions/repeat_track.png +%{tde_datadir}/icons/crystalsvg/*/actions/visualizations.png +%{tde_datadir}/icons/crystalsvg/*/actions/wiki.png +%{tde_datadir}/icons/crystalsvg/*/actions/amarok_podcast.png +%{tde_datadir}/icons/crystalsvg/*/actions/amarok_podcast_new.png +%{tde_datadir}/icons/crystalsvg/*/actions/amazon_locale.png +%{tde_datadir}/icons/hicolor/*/*/* +%{tde_tdeappdir}/*.desktop +%{tde_datadir}/servicetypes/*.desktop +%{tde_datadir}/apps/profiles/amarok.profile.xml +%config(noreplace) %{tde_confdir}/amarokrc +%{tde_datadir}/config.kcfg/*.kcfg +%{tde_datadir}/services/amarokitpc.protocol +%{tde_datadir}/services/amaroklastfm.protocol +%{tde_datadir}/services/amarokpcast.protocol +%{tde_mandir}/man1/amarok.1* +%{tde_mandir}/man1/amarokapp.1* +%{tde_mandir}/man1/amarokcollectionscanner.1* +# -libs ? -- Rex +%{tde_libdir}/libamarok.so.0 +%{tde_libdir}/libamarok.so.0.0.0 +# DAAP +%if 0%{?with_daap} +%{tde_bindir}/amarok_daapserver.rb +%{tde_tdelibdir}/libamarok_daap-mediadevice.* +%{tde_datadir}/services/amarok_daap-mediadevice.desktop +%endif +# 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 && 0%{?with_akode} +%{tde_datadir}/services/amarok_aKode-engine.desktop +%{tde_tdelibdir}/libamarok_aKode-engine.* +%endif + +########## + +%package konqueror +Summary: Amarok konqueror (service menus, sidebar) support +Group: Applications/Multimedia + +Requires: %{name} = %{?epoch:%{epoch}:}%{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_konquisidebar.desktop + + +########## + +%if 0%{?with_libvisual} + +%package visualisation +Summary: Visualisation plugins for Amarok +Group: Applications/Multimedia +Requires: %{name} = %{?epoch:%{epoch}:}%{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 +%{tde_mandir}/man1/amarok_libvisual.1* + +%endif + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + +# Fix some Ruby stuff +if ! ruby -rrbconfig -e "puts Config.expand( Config::MAKEFILE_CONFIG['MAJOR'] )" &>/dev/null; then + %__sed -i "amarok/src/mediadevice/daap/ConfigureChecks.cmake" \ + -e "s|Config::|RbConfig::|g" \ + -e "s|Config\.|RbConfig\.|g" +fi + +%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8 || 0%{?mgaversion} >= 8 +%__sed -i "amarok/src/scripts/common/Publisher.py" \ + "amarok/src/scripts/common/Zeroconf.py" \ + "amarok/src/scripts/playlist2html/Playlist.py" \ + "amarok/src/scripts/playlist2html/playlist2html.py" \ + "amarok/src/scripts/playlist2html/PlaylistServer.py" \ + "amarok/src/scripts/webcontrol/Playlist.py" \ + "amarok/src/scripts/webcontrol/RequestHandler.py" \ + "amarok/src/scripts/webcontrol/WebControl.py" \ + -e "s|/usr/bin/env python|/usr/bin/env %{python}|" +%endif + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +# Specific path for RHEL4 +if [ -d /usr/X11R6 ]; then + export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +# Warning: GCC visibility causes FTBFS [Bug #1285] +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_NO_BUILTIN_CHRPATH=ON \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DCONFIG_INSTALL_DIR="%{tde_confdir}" \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + \ + %{?with_libvisual:-DWITH_LIBVISUAL=ON} \ + -DWITH_KONQSIDEBAR=ON \ + %{?with_xine:-DWITH_XINE=ON} %{?!with_xine:-DWITH_XINE=OFF}\ + %{?with_yauap:-DWITH_YAUAP=ON} \ + -DWITH_AKODE=OFF \ + %{?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_daap:-DWITH_DAAP=OFF} \ + %{?with_mp4v2:-DWITH_MP4V2=ON} \ + %{?with_inotify:-DWITH_INOTIFY=ON} \ + -DWITH_SYSTEM_SQLITE=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 %{tde_pkg} + +# 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 diff --git a/redhat/applications/multimedia/codeine/codeine.spec b/redhat/applications/multimedia/codeine/codeine.spec new file mode 100644 index 000000000..3207527cf --- /dev/null +++ b/redhat/applications/multimedia/codeine/codeine.spec @@ -0,0 +1,168 @@ +# +# spec file for package kaffeine (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg codeine +%define tde_prefix /opt/trinity +%define tde_appdir %{tde_datadir}/applications +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 1.0.1 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Simple TDE video player +Group: Applications/Multimedia +URL: http://kaffeine.sourceforge.net/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: gettext + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +# XINE support +%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} || 0%{?rhel} || 0%{?suse_version} +%define with_xine 1 +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} +BuildRequires: %{_lib}xine1.2-devel +%endif +%if 0%{?fedora} || 0%{?rhel} +BuildRequires: xine-lib-devel +%endif +%if 0%{?suse_version} +BuildRequires: libxine-devel +%endif +%endif + + +%description +A video player with a different philosophy: simple, uncluttered interface + +Features: +- Plays DVDs, VCDs, all video formats supported by Xine +- Bundled with a simple web-page KPart +- Starts quickly + + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + \ + -DBUILD_ALL=ON \ + -DWITH_ALL_OPTIONS=ON \ + \ + .. + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc COPYING FAQ README.md TODO +%{tde_bindir}/codeine +%{tde_tdeappdir}/codeine.desktop +%{tde_datadir}/apps/codeine/ +%{tde_datadir}/apps/konqueror/servicemenus/codeine_play_dvd.desktop +%{tde_tdedocdir}/HTML/en/codeine/ +%{tde_datadir}/icons/hicolor/*/apps/codeine.png +%{tde_mandir}/man1/codeine.1* +%{tde_datadir}/services/codeine_part.desktop +%{tde_tdelibdir}/libcodeine.la +%{tde_tdelibdir}/libcodeine.so + + +%changelog diff --git a/redhat/applications/multimedia/k3b-i18n/k3b-i18n.spec b/redhat/applications/multimedia/k3b-i18n/k3b-i18n.spec new file mode 100644 index 000000000..81266f348 --- /dev/null +++ b/redhat/applications/multimedia/k3b-i18n/k3b-i18n.spec @@ -0,0 +1,432 @@ +# +# spec file for package k3b-i18n (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg k3b-i18n +%define tde_prefix /opt/trinity +%define tde_appdir %{tde_datadir}/applications +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 1.0.5 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Internationalization support for TDE [Trinity] +Group: Applications/Archiving +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch + +# Speed build options +%define debug_package %{nil} +%define __spec_install_post %{nil} +AutoReq: no + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: gettext + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig + +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 Danish +Group: Applications/Archiving +Requires: trinity-k3b +Summary: Danish (da) translations for K3B [Trinity] + +Obsoletes: trinity-k3b-i18n-da < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-k3b-i18n-da = %{?epoch:%{epoch}:}%{version}-%{release} + +%description Danish +This package contains the Danish translations for K3B. + +%files Danish +%defattr(-,root,root,-) +%{tde_tdedocdir}/HTML/da/k3b +%{tde_datadir}/locale/da/LC_MESSAGES/*.mo + +########## + +%package German +Group: Applications/Archiving +Requires: trinity-k3b +Summary: German (de) translations for K3B [Trinity] + +Obsoletes: trinity-k3b-i18n-de < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-k3b-i18n-de = %{?epoch:%{epoch}:}%{version}-%{release} + +%description German +This package contains the German translations for K3B. + +%files German +%defattr(-,root,root,-) +%{tde_tdedocdir}/HTML/de/k3b +%{tde_datadir}/locale/de/LC_MESSAGES/*.mo + +########## + +%package Greek +Group: Applications/Archiving +Requires: trinity-k3b >= %{version} +Summary: Greek (el) translations for K3B [Trinity] + +Obsoletes: trinity-k3b-i18n-el < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-k3b-i18n-el = %{?epoch:%{epoch}:}%{version}-%{release} + +%description Greek +This package contains the greek translations for K3B. + +%files Greek +%defattr(-,root,root,-) +#%{tde_tdedocdir}/HTML/el/k3b +%{tde_datadir}/locale/el/LC_MESSAGES/*.mo + +########## + +%package Spanish +Group: Applications/Archiving +Requires: trinity-k3b +Summary: Spanish (es) translations for K3B [Trinity] + +Obsoletes: trinity-k3b-i18n-es < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-k3b-i18n-es = %{?epoch:%{epoch}:}%{version}-%{release} + +%description Spanish +This package contains the Spanish translations for K3B. + +%files Spanish +%defattr(-,root,root,-) +%{tde_tdedocdir}/HTML/es/k3b +%{tde_datadir}/locale/es/LC_MESSAGES/*.mo + +########## + +%package Estonian +Group: Applications/Archiving +Requires: trinity-k3b +Summary: Estonian (et) translations for K3B [Trinity] + +Obsoletes: trinity-k3b-i18n-et < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-k3b-i18n-et = %{?epoch:%{epoch}:}%{version}-%{release} + +%description Estonian +This package contains the Estonian translations for K3B. + +%files Estonian +%defattr(-,root,root,-) +%{tde_tdedocdir}/HTML/et/k3b +%{tde_datadir}/locale/et/LC_MESSAGES/*.mo + +########## + +%package French +Group: Applications/Archiving +Requires: trinity-k3b +Summary: French (fr) translations for K3B [Trinity] + +Obsoletes: trinity-k3b-i18n-fr < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-k3b-i18n-fr = %{?epoch:%{epoch}:}%{version}-%{release} + +%description French +This package contains the French translations for K3B. + +%files French +%defattr(-,root,root,-) +%{tde_tdedocdir}/HTML/fr/k3b +%{tde_datadir}/locale/fr/LC_MESSAGES/*.mo + +########## + +%package Italian +Group: Applications/Archiving +Requires: trinity-k3b +Summary: Italian (it) translations for K3B [Trinity] + +Obsoletes: trinity-k3b-i18n-it < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-k3b-i18n-it = %{?epoch:%{epoch}:}%{version}-%{release} + +%description Italian +This package contains the Italian translations for K3B. + +%files Italian +%defattr(-,root,root,-) +%{tde_tdedocdir}/HTML/it/k3b +%{tde_datadir}/locale/it/LC_MESSAGES/*.mo + +########## + +%package Dutch +Group: Applications/Archiving +Requires: trinity-k3b +Summary: Dutch (nl) translations for K3B [Trinity] + +Obsoletes: trinity-k3b-i18n-nl < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-k3b-i18n-nl = %{?epoch:%{epoch}:}%{version}-%{release} + +%description Dutch +This package contains the Dutch translations for K3B. + +%files Dutch +%defattr(-,root,root,-) +%{tde_tdedocdir}/HTML/nl/k3b +%{tde_datadir}/locale/nl/LC_MESSAGES/*.mo + +########## + +%package Polish +Group: Applications/Archiving +Requires: trinity-k3b +Summary: Polish (pl) translations for K3B [Trinity] + +Obsoletes: trinity-k3b-i18n-pl < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-k3b-i18n-pl = %{?epoch:%{epoch}:}%{version}-%{release} + +%description Polish +This package contains the Polish translations for K3B. + +%files Polish +%defattr(-,root,root,-) +%{tde_tdedocdir}/HTML/pl/k3b +%{tde_datadir}/locale/pl/LC_MESSAGES/*.mo + +########## + +%package Portuguese +Group: Applications/Archiving +Requires: trinity-k3b +Summary: Portuguese (pt) translations for K3B [Trinity] + +Obsoletes: trinity-k3b-i18n-pt < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-k3b-i18n-pt = %{?epoch:%{epoch}:}%{version}-%{release} + +%description Portuguese +This package contains the Portuguese translations for K3B. + +%files Portuguese +%defattr(-,root,root,-) +%{tde_tdedocdir}/HTML/pt/k3b +%{tde_datadir}/locale/pt/LC_MESSAGES/*.mo + +########## + +%package Brazil +Group: Applications/Archiving +Requires: trinity-k3b +Summary: Brazilian Portuguese (pt_BR) translations for K3B [Trinity] + +Obsoletes: trinity-k3b-i18n-pt_BR < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-k3b-i18n-pt_BR = %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: trinity-k3b-i18n-ptbr < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-k3b-i18n-ptbr = %{?epoch:%{epoch}:}%{version}-%{release} + +%description Brazil +This package contains the Brazilian Portuguese translations for K3B. + +%files Brazil +%defattr(-,root,root,-) +%{tde_tdedocdir}/HTML/pt_BR/k3b +%{tde_datadir}/locale/pt_BR/LC_MESSAGES/*.mo + +########## + +%package Russian +Group: Applications/Archiving +Requires: trinity-k3b +Summary: Russian (ru) translations for K3B [Trinity] + +Obsoletes: trinity-k3b-i18n-ru < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-k3b-i18n-ru = %{?epoch:%{epoch}:}%{version}-%{release} + +%description Russian +This package contains the Russian translations for K3B. + +%files Russian +%defattr(-,root,root,-) +%{tde_tdedocdir}/HTML/ru/k3b +%{tde_datadir}/locale/ru/LC_MESSAGES/*.mo + +########## + +%package Swedish +Group: Applications/Archiving +Requires: trinity-k3b +Summary: Swedish (sv) translations for K3B [Trinity] + +Obsoletes: trinity-k3b-i18n-sv < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-k3b-i18n-sv = %{?epoch:%{epoch}:}%{version}-%{release} + +%description Swedish +This package contains the Swedish translations for K3B. + +%files Swedish +%defattr(-,root,root,-) +%{tde_tdedocdir}/HTML/sv/k3b +%{tde_datadir}/locale/sv/LC_MESSAGES/*.mo + +########## + +%package Ukrainian +Group: Applications/Archiving +Requires: trinity-k3b +Summary: Ukrainian (uk) translations for K3B [Trinity] + +Obsoletes: trinity-k3b-i18n-uk < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-k3b-i18n-uk = %{?epoch:%{epoch}:}%{version}-%{release} + +%description Ukrainian +This package contains the Ukrainian translations for K3B. + +%files Ukrainian +%defattr(-,root,root,-) +%{tde_tdedocdir}/HTML/uk/k3b +%{tde_datadir}/locale/uk/LC_MESSAGES/*.mo + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_NO_BUILTIN_CHRPATH=ON \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_PROGRAM_PATH="%{tde_bindir}" \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DCONFIG_INSTALL_DIR="%{tde_confdir}" \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{?buildroot} -C build + +%__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} + + +%changelog diff --git a/redhat/applications/multimedia/k3b/k3b.spec b/redhat/applications/multimedia/k3b/k3b.spec new file mode 100644 index 000000000..a1688b402 --- /dev/null +++ b/redhat/applications/multimedia/k3b/k3b.spec @@ -0,0 +1,479 @@ +# +# spec file for package k3b (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg k3b +%define tde_prefix /opt/trinity +%define tde_appdir %{tde_datadir}/applications +%define tde_bindir %{tde_prefix}/bin +%define tde_confdir %{_sysconfdir}/trinity +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 1.0.5 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: CD/DVD burning application +Group: Applications/Archiving +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz +Source1: %{name}-rpmlintrc + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +BuildRequires: alsa-lib-devel +BuildRequires: audiofile-devel +BuildRequires: gettext +BuildRequires: libmpcdec-devel +BuildRequires: libvorbis-devel +BuildRequires: taglib-devel +BuildRequires: zlib-devel + +# IDN support +BuildRequires: libidn-devel + +# GAMIN support +# Not on openSUSE. +%if ( 0%{?rhel} && 0%{?rhel} <= 8 ) || ( 0%{?fedora} && 0%{?fedora} <= 33 ) || 0%{?mgaversion} || 0%{?mdkversion} +%define with_gamin 1 +BuildRequires: gamin-devel +%endif + +# OPENSSL support +BuildRequires: openssl-devel + +# ACL support +BuildRequires: libacl-devel + +# ATTR support +BuildRequires: libattr-devel + +Requires(post): coreutils +Requires(postun): coreutils + +Requires: %{name}-libs = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: %{name}-common = %{?epoch:%{epoch}:}%{version}-%{release} + +%if 0%{?suse_version} >= 1310 && 0%{?suse_version} < 1500 || 0%{?fedora} >= 29 +Requires: wodim +REquires: genisoimage +%else +Requires: cdrecord +REquires: mkisofs +%endif +Requires: dvd+rw-tools + +# CDRDAO support +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 5 +Requires: cdrdao +%endif + +# UDEV support +%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} || 0%{?rhel} >= 6 +BuildRequires: libudev-devel +%endif + +# HAL support +%if 0%{?rhel} == 5 +%define with_hal 0 +BuildRequires: hal-devel +%endif + +# DBUS support +# TQT bindings not available for RHEL4 +%if 0%{?rhel} == 4 +# Dbus bindings were rebuilt with Qt support +BuildRequires: dbus-devel >= 0.22-12.EL.9p1 +Requires: dbus-qt >= 0.22-12.EL.9p1 +%else +BuildRequires: trinity-dbus-tqt-devel >= 1:0.63 +Requires: trinity-dbus-tqt >= 1:0.63 +%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 +%define with_dvdread 1 +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: %{_lib}dvdread-devel +%else +BuildRequires: libdvdread-devel +%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 +%ifarch %{ix86} x86_64 +%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 +%endif + +# LAME support +%if 0%{?opensuse_bs} == 0 +%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 +%if 0%{?mgaversion} >= 6 +BuildRequires: %{_lib}mp3lame-devel +%else +BuildRequires: %{_lib}lame-devel +%endif +%endif +%endif +%if 0%{?suse_version} +BuildRequires: libmp3lame-devel +%endif +%if 0%{?fedora} || 0%{?rhel} +BuildRequires: lame-devel +%endif +%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}/tdefile_k3b.la +%{tde_tdelibdir}/tdefile_k3b.so +%{tde_tdelibdir}/tdeio_videodvd.la +%{tde_tdelibdir}/tdeio_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/ +%{tde_mandir}/man1/k3b.1* + +########## + +%package common +Summary: Common files of %{name} +Group: Applications/Archiving +Requires: %{name} = %{?epoch:%{epoch}:}%{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}/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}/mimelnk/application/x-k3b.desktop +%{tde_datadir}/icons/hicolor/*/apps/k3b.png +%{tde_datadir}/services/tdefile_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 +%{tde_tdedocdir}/HTML/en/tdeioslave/videodvd/ + +########## + +%package libs +Summary: Runtime libraries for %{name} +Group: System Environment/Libraries +Requires: %{name} = %{?epoch:%{epoch}:}%{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 + +########## + +%package devel +Summary: Files for the development of applications which will use %{name} +Group: Development/Libraries +Requires: %{name}-libs = %{?epoch:%{epoch}:}%{version}-%{release} + +%description devel +%{summary}. + +%files devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/*.h +%{tde_libdir}/libk3b.so +%{tde_libdir}/libk3bdevice.so + +########## + +%if 0%{?with_libmad} +%package plugin-mad +Summary: The MAD plugin for K3B +Group: System Environment/Libraries +Requires: %{name} = %{?epoch:%{epoch}:}%{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} = %{?epoch:%{epoch}:}%{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} = %{?epoch:%{epoch}:}%{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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +%if 0%{?rhel} == 7 +RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -std=c++11" +%endif + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_NO_BUILTIN_CHRPATH=ON \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_PROGRAM_PATH="%{tde_bindir}" \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DCONFIG_INSTALL_DIR="%{tde_confdir}" \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + \ + -DWITH_ALL_OPTIONS="ON" \ + -DWITH_MUSICBRAINZ="OFF" \ + -DWITH_FFMPEG_ALL_CODECS="ON" \ + -DWITH_MUSEPACK="ON" \ + -DWITH_LAME="%{!?with_lame:OFF}%{?with_lame:ON}" \ + -DWITH_MAD="%{!?with_libmad:OFF}%{?with_libmad:ON}" \ +%if 0%{?rhel} == 5 + -DWITH_HAL="ON" \ +%endif + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{?buildroot} -C build + +# remove the .la files +%__rm -f %{buildroot}%{tde_libdir}/libk3b*.la + + +%clean +%__rm -rf %{buildroot} + + +%changelog diff --git a/redhat/applications/multimedia/k3b/k3brc b/redhat/applications/multimedia/k3b/k3brc new file mode 100644 index 000000000..5d967f599 --- /dev/null +++ b/redhat/applications/multimedia/k3b/k3brc @@ -0,0 +1,6 @@ +[General Options] +check system config=false +Manual buffer size=true + +[Notification Messages] +Don't prompt me again.=No diff --git a/redhat/applications/multimedia/k3b/trinity-k3b-rpmlintrc b/redhat/applications/multimedia/k3b/trinity-k3b-rpmlintrc new file mode 100644 index 000000000..529351884 --- /dev/null +++ b/redhat/applications/multimedia/k3b/trinity-k3b-rpmlintrc @@ -0,0 +1,2 @@ +setBadness('library-without-ldconfig-postun', 0) +setBadness('library-without-ldconfig-postin', 0) diff --git a/redhat/applications/multimedia/k9copy/k9copy.spec b/redhat/applications/multimedia/k9copy/k9copy.spec new file mode 100644 index 000000000..0a9801a8d --- /dev/null +++ b/redhat/applications/multimedia/k9copy/k9copy.spec @@ -0,0 +1,192 @@ +# +# spec file for package k9copy (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg k9copy +%define tde_prefix /opt/trinity +%define tde_appdir %{tde_datadir}/applications +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 1.2.3 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: DVD backup tool for Trinity +Group: Applications/Utilities +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} + +BuildRequires: desktop-file-utils +BuildRequires: trinity-k3b-devel + +BuildRequires: autoconf automake libtool m4 +BuildRequires: gcc-c++ +BuildRequires: pkgconfig + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +# Warning: the target distribution must have ffmpeg ! +BuildRequires: ffmpeg-devel +Requires: ffmpeg + +# DVDREAD support +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: %{_lib}dvdread-devel +%else +BuildRequires: libdvdread-devel +%endif + +# MESA support +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: mesa-libGL-devel +BuildRequires: mesa-libGLU-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: mesaglu-devel +%endif +%if 0%{?suse_version} +BuildRequires: Mesa-libGL-devel +BuildRequires: Mesa-libGLU-devel +%endif +%if 0%{?rhel} == 4 +BuildRequires: xorg-x11-Mesa-libGLU +%endif + + +%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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + +# Removes internal dvdread headers +%__rm -rf "dvdread" + +# Fix permissions on doc files +chmod -x AUTHORS COPYING + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" + +# FFMPEG ... +if [ -d /usr/include/ffmpeg ]; then + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/include/ffmpeg" +fi + +# NOTICE: --enable-final causes FTBFS ! +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --mandir=%{tde_mandir} \ + \ + --disable-dependency-tracking \ + --disable-debug \ + --disable-final \ + --enable-new-ldflags \ + --enable-closure \ + --enable-rpath \ + --disable-gcc-hidden-visibility \ + \ + --enable-k3bdevices + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{tde_pkg} + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{tde_pkg}.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 +%{tde_mandir}/man1/k9copy.1* + + +%changelog diff --git a/redhat/applications/multimedia/kaffeine-mozilla/kaffeine-mozilla.spec b/redhat/applications/multimedia/kaffeine-mozilla/kaffeine-mozilla.spec new file mode 100644 index 000000000..2b72a1dff --- /dev/null +++ b/redhat/applications/multimedia/kaffeine-mozilla/kaffeine-mozilla.spec @@ -0,0 +1,160 @@ +# +# spec file for package kaffeine-mozilla (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# Default version for this component +%define tde_pkg kaffeine-mozilla +%define tde_prefix /opt/trinity +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif + +# TDE specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +%if 0%{?fedora} >= 27 || 0%{?mgaversion} >= 7 || 0%{?rhel} >= 8 +%define debug_package %{nil} +%endif + +Name: trinity-%{tde_pkg} +Summary: mozilla plugin that lanches kaffeine for supported media types [Trinity] +Version: 0.4.3.1 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} + +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}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: libtool + +BuildRequires: trinity-tqtinterface-devel >= %{tde_version} +BuildRequires: trinity-arts-devel >= 1:1.5.10 +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +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} >= 5 || 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 TDE, +when a page containing a supported media format is loaded. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" + +if [ -d "%{_includedir}/nspr4" ]; then + RPM_OPT_FLAGS="-I%{_includedir}/nspr4 ${RPM_OPT_FLAGS}" +fi + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_NO_BUILTIN_CHRPATH=ON \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_PROGRAM_PATH="%{tde_bindir}" \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DCONFIG_INSTALL_DIR="%{tde_confdir}" \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +# Remove useless filess +%__rm -f %{?buildroot}%{_libdir}/mozilla/plugins/kaffeineplugin.a + + +%clean +%__rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING +# These files are installed outside TDE prefix +%dir %{_libdir}/mozilla +%dir %{_libdir}/mozilla/plugins +%{_libdir}/mozilla/plugins/kaffeineplugin.la +%{_libdir}/mozilla/plugins/kaffeineplugin.so + + +%changelog diff --git a/redhat/applications/multimedia/kaffeine/kaffeine.spec b/redhat/applications/multimedia/kaffeine/kaffeine.spec new file mode 100644 index 000000000..f09429271 --- /dev/null +++ b/redhat/applications/multimedia/kaffeine/kaffeine.spec @@ -0,0 +1,333 @@ +# +# spec file for package kaffeine (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg kaffeine +%define tde_prefix /opt/trinity +%define tde_appdir %{tde_datadir}/applications +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.8.8 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Xine-based media player +Group: Applications/Multimedia +URL: http://kaffeine.sourceforge.net/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz +Source1: %{name}-rpmlintrc + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: gettext + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +# VORBIS support +BuildRequires: libvorbis-devel + +# CDDA support +BuildRequires: libcdio-devel +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: libcdda-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} +BuildRequires: cdparanoia +BuildRequires: cdparanoia-devel +%endif +%if 0%{?suse_version} >= 1210 || 0%{?fedora} >= 19 || 0%{?rhel} >= 7 +BuildRequires: libcdio-paranoia-devel +%endif + +# X11 stuff +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?mgaversion} >= 4 +BuildRequires: %{_lib}xext-devel +BuildRequires: %{_lib}xtst-devel +BuildRequires: %{_lib}xinerama-devel +%else +BuildRequires: %{_lib}xext%{?mgaversion:6}-devel +BuildRequires: %{_lib}xtst%{?mgaversion:6}-devel +BuildRequires: %{_lib}xinerama%{?mgaversion:1}-devel +%endif +%endif +%if 0%{?rhel} == 4 +BuildRequires: xorg-x11-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 +BuildRequires: libXext-devel +BuildRequires: libXtst-devel +BuildRequires: libXinerama-devel +%endif + +# XCB support +%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?pclinuxos} || 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?pclinuxos} == 0 +%define with_xcb 1 +%endif +%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?pclinuxos} +BuildRequires: libxcb-devel +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?pclinuxos} == 0 +BuildRequires: %{_lib}xcb-devel +%endif +%endif +%endif + +# GSTREAMER support +%if 0%{?rhel} >= 5 || 0%{?suse_version} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_gstreamer 1 +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}gstreamer1.0-devel +BuildRequires: %{_lib}gstreamer-plugins-base1.0-devel +%endif +%if 0%{?rhel} == 4 +BuildRequires: gstreamer-devel +BuildRequires: gstreamer-plugins-devel +%endif +%if 0%{?rhel} == 5 || 0%{?rhel} == 6 || 0%{?suse_version} +BuildRequires: gstreamer-devel +BuildRequires: gstreamer-plugins-base-devel +%endif +%if 0%{?rhel} >= 7 || 0%{?fedora} +BuildRequires: gstreamer1-devel >= 1.0 +BuildRequires: gstreamer1-plugins-base-devel >= 1.0 +%endif +%endif + +# XINE support +%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} || 0%{?rhel} || 0%{?suse_version} +%define with_xine 1 +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} +BuildRequires: %{_lib}xine1.2-devel +%endif +%if 0%{?fedora} || 0%{?rhel} +BuildRequires: xine-lib-devel +%endif +%if 0%{?suse_version} +BuildRequires: libxine-devel +%endif +%endif + +# LAME support +%if 0%{?opensuse_bs} == 0 +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} || 0%{?rhel} +%define with_lame 1 + +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?pclinuxos} +BuildRequires: liblame-devel +%else +%if 0%{?mgaversion} >= 6 +BuildRequires: %{_lib}mp3lame-devel +%else +BuildRequires: %{_lib}lame-devel +%endif +%endif +%endif +%if 0%{?suse_version} +BuildRequires: libmp3lame-devel +%endif +%if 0%{?fedora} || 0%{?rhel} +BuildRequires: lame-devel +%endif +%endif +%endif + +# DVB support +%if 0%{?rhel} != 5 +%define with_dvb 1 +%endif + +# WTF support +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?pclinuxos} == 0 +BuildRequires: kernel-headers +%endif +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} +BuildRequires: glibc-kernheaders +%endif + +Requires: %{name}-libs = %{?epoch:%{epoch}:}%{version}-%{release} + +%description +Kaffeine is a xine-based media player for TDE. 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 TDE, it supports drag +and drop and provides an editable playlist, a bookmark system, a +Konqueror plugin, OSD and much more. + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING README.md TODO +%{tde_bindir}/kaffeine +%{tde_libdir}/libkaffeinepart.so +%{tde_tdelibdir}/lib*.* +%{tde_datadir}/appl*/*/*.desktop +%if 0%{?with_gstreamer} +%{tde_datadir}/apps/gstreamerpart/ +%endif +%{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}/man1/kaffeine.1* + +########## + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name}-libs = %{?epoch:%{epoch}:}%{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 + +########## + +%package libs +Summary: %{name} runtime libraries +Group: System Environment/Libraries + +# include to be paranoid, installing libs-only is still mostly untested -- Rex +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} + +%description libs +%{summary}. + +%files libs +%defattr(-,root,root,-) +%{tde_libdir}/lib*.so.* + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + \ + -DWITH_ALL_OPTIONS=ON \ + %{?!with_dvb:-DWITH_DVB=OFF} \ + %{?!with_lame:-DWITH_LAME=OFF} \ + %{?!with_xcb:-DWITH_XCB=OFF} \ + -DBUILD_ALL=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf $RPM_BUILD_ROOT +%__make install DESTDIR=%{buildroot} -C build + +## File lists +# locale's +%find_lang %{tde_pkg} + +# 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 diff --git a/redhat/applications/multimedia/kaffeine/trinity-kaffeine-rpmlintrc b/redhat/applications/multimedia/kaffeine/trinity-kaffeine-rpmlintrc new file mode 100644 index 000000000..529351884 --- /dev/null +++ b/redhat/applications/multimedia/kaffeine/trinity-kaffeine-rpmlintrc @@ -0,0 +1,2 @@ +setBadness('library-without-ldconfig-postun', 0) +setBadness('library-without-ldconfig-postin', 0) diff --git a/redhat/applications/multimedia/kmplayer/kmplayer.spec b/redhat/applications/multimedia/kmplayer/kmplayer.spec new file mode 100644 index 000000000..6132f7d9f --- /dev/null +++ b/redhat/applications/multimedia/kmplayer/kmplayer.spec @@ -0,0 +1,318 @@ +# +# spec file for package kmplayer (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg kmplayer +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_confdir %{_sysconfdir}/trinity +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.10.0c +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Media player for Trinity +Group: Applications/Multimedia +URL: http://www.trinitydesktop.org/ +#URL: http://kmplayer.kde.org + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: libtool + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +# DBUS support +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} +BuildRequires: trinity-dbus-tqt-devel >= %{tde_version} +%endif + +# GSTREAMER support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}gstreamer1.0-devel +BuildRequires: %{_lib}gstreamer-plugins-base1.0-devel +%endif +%if 0%{?rhel} == 4 +BuildRequires: gstreamer-devel +BuildRequires: gstreamer-plugins-devel +%endif +%if 0%{?rhel} == 5 || 0%{?rhel} == 6 || 0%{?suse_version} +BuildRequires: gstreamer-devel +BuildRequires: gstreamer-plugins-base-devel +%endif +%if 0%{?rhel} >= 7 || 0%{?fedora} +BuildRequires: gstreamer1-devel >= 1.0 +BuildRequires: gstreamer1-plugins-base-devel >= 1.0 +%endif + +# XINE support +%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} || 0%{?rhel} || 0%{?suse_version} +%define with_xine 1 +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} +BuildRequires: %{_lib}xine1.2-devel +%endif +%if 0%{?fedora} || 0%{?rhel} +BuildRequires: xine-lib-devel +%endif +%if 0%{?suse_version} +BuildRequires: libxine-devel +%endif +%endif + +# X11 stuff +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: libxt-devel +BuildRequires: libxv-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1210 +BuildRequires: libXv-devel +%endif +%if 0%{?rhel} == 4 +BuildRequires: xorg-x11-devel +%endif +%if 0%{?suse_version} == 1140 +BuildRequires: xorg-x11-libXv-devel +%endif + +# GTK2 stuff +BuildRequires: gtk2-devel + +# DBUS stuff +%if 0%{?suse_version} +BuildRequires: dbus-1-glib-devel +%else +BuildRequires: dbus-glib-devel +%endif + +# NSPR support +%if 0%{?suse_version} +BuildRequires: mozilla-nspr-devel +%else +BuildRequires: nspr-devel +%endif + +# Koffice support +BuildRequires: trinity-koffice-devel + +Requires: %{name}-base = %{?epoch:%{epoch}:}%{version}-%{release} + + +%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 TDE + shortcut configure window +* Lots of configurable shortcuts. Highly recommended for the VDR keys + (if you have VDR) and volume increase/decrease + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING ChangeLog INSTALL README.md TODO +%{tde_bindir}/kmplayer +%{tde_bindir}/knpplayer +%{tde_bindir}/kxvplayer +%{tde_datadir}/services/kmplayer_koffice.desktop +%{tde_libdir}/libkmplayercommon.so.1 +%{tde_libdir}/libkmplayercommon.so.1.0.0 +%{tde_libdir}/libtdeinit_kmplayer.la +%{tde_libdir}/libtdeinit_kmplayer.so +%{tde_tdelibdir}/kmplayer.la +%{tde_tdelibdir}/kmplayer.so +%{tde_tdelibdir}/libkmplayerkofficepart.la +%{tde_tdelibdir}/libkmplayerkofficepart.so +%{tde_tdeappdir}/kmplayer.desktop + +%exclude %{tde_datadir}/apps/kmplayer/bookmarks.xml +%exclude %{tde_datadir}/apps/kmplayer/kmplayerpartui.rc +%exclude %{tde_datadir}/apps/kmplayer/noise.gif +%exclude %{tde_datadir}/apps/kmplayer/pluginsinfo +%{tde_datadir}/apps/kmplayer/ + +########## + +%package base +Group: Applications/Multimedia +Summary: Base files for KMPlayer [Trinity] + +%description base +Core files needed for KMPlayer. + +%files base +%defattr(-,root,root,-) +%{tde_libdir}/libkmplayercommon.la +%{tde_libdir}/libkmplayercommon.so +%{tde_bindir}/kgstplayer +%{tde_bindir}/kxineplayer +%dir %{tde_datadir}/config +%config(noreplace) %{tde_datadir}/config/kmplayerrc +%{tde_datadir}/apps/kmplayer/bookmarks.xml +%{tde_datadir}/apps/kmplayer/noise.gif +%{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 +%{tde_mandir}/man1/kmplayer.1* + +########## + +%package konq-plugins +Group: Applications/Multimedia +Requires: %{name}-base = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: trinity-konqueror >= %{tde_version} +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. + +%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 + +########## + +%package doc +Group: Applications/Multimedia +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} +Summary: Handbook for KMPlayer [Trinity] + +%description doc +Documention for KMPlayer, a basic audio/video viewer application for TDE. + +%files doc +%defattr(-,root,root,-) +%{tde_tdedocdir}/HTML/*/kmplayer + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DBUILD_ALL=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%find_lang %{tde_pkg} + +# Removes unwanted files +%__rm -f %{?buildroot}%{tde_datadir}/mimelnk/application/x-mplayer2.desktop + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file -r "%{tde_pkg}" TDE AudioVideo Player Video +%endif + + +%clean +%__rm -rf %{buildroot} + + +%changelog diff --git a/redhat/applications/multimedia/kplayer/kplayer.spec b/redhat/applications/multimedia/kplayer/kplayer.spec new file mode 100644 index 000000000..2246f8d37 --- /dev/null +++ b/redhat/applications/multimedia/kplayer/kplayer.spec @@ -0,0 +1,187 @@ +# +# spec file for package kplayer (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg kplayer +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_confdir %{_sysconfdir}/trinity +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.6.3 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: KPlayer is a TDE multimedia player +Group: Applications/Multimedia +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: libtool + +# IDN support +BuildRequires: libidn-devel + +# ACL support +BuildRequires: libacl-devel + +# OPENSSL support +BuildRequires: openssl-devel + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +Requires: mplayer + + +%description +KPlayer is a TDE multimedia player. +With KPlayer you can easily play a wide variety of video and audio files and +streams using a rich and friendly interface that follows KDE standards. +This version was derived from the KDE3 branch 0.6.3 for the Trinity Desktop Environment + +Features include + +video, audio and subtitle playback from file, URL, DVD, VCD, audio CD, TV, DVB, and KDE I/O Slaves; +volume, contrast, brightness, hue and saturation controls; +zooming, full screen and fixed aspect options; +status and progress display and seeking; +multimedia library to organize your media files and streams; +configuration dialog; +file properties for setting file specific options. + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DPLUGIN_INSTALL_DIR=%{tde_tdelibdir} \ + -DBUILD_ALL=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%find_lang %{tde_pkg} + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%{tde_bindir}/kplayer +%{tde_datadir}/apps/kplayer/ +%{tde_datadir}/icons/hicolor/*/apps/kplayer.png +%{tde_datadir}/icons/locolor/*/apps/kplayer.png +%{tde_datadir}/services/kplayerpart.desktop +%{tde_tdelibdir}/libkplayerpart.la +%{tde_tdelibdir}/libkplayerpart.so +%{tde_tdeappdir}/kplayer.desktop +%{tde_datadir}/apps/konqueror/servicemenus/kplayer-actions.desktop +%{tde_datadir}/apps/konqueror/servicemenus/kplayer-directory.desktop +%{tde_datadir}/apps/konqueror/servicemenus/kplayer-next.desktop +%{tde_datadir}/apps/konqueror/servicemenus/kplayer-play-queue.desktop +%lang(da) %{tde_tdedocdir}/HTML/da/kplayer/ +%lang(en) %{tde_tdedocdir}/HTML/en/kplayer/ +%lang(es) %{tde_tdedocdir}/HTML/es/kplayer/ +%lang(it) %{tde_tdedocdir}/HTML/it/kplayer/ +%lang(pt) %{tde_tdedocdir}/HTML/pt/kplayer/ +%lang(sv) %{tde_tdedocdir}/HTML/sv/kplayer/ + + +%post + + +%postun + + +%changelog diff --git a/redhat/applications/multimedia/mplayerthumbs/mplayerthumbs.spec b/redhat/applications/multimedia/mplayerthumbs/mplayerthumbs.spec new file mode 100644 index 000000000..af8bb6924 --- /dev/null +++ b/redhat/applications/multimedia/mplayerthumbs/mplayerthumbs.spec @@ -0,0 +1,169 @@ +# +# spec file for package mplayerthumbs (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg mplayerthumbs +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.5b +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: A video thumbnail generator for TDE file managers +Group: Applications/Multimedia +URL: http://kde-apps.org/content/show.php?content=41180 + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: fdupes + +# IDN support +BuildRequires: libidn-devel + +# OPENSSL support +BuildRequires: openssl-devel + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +# MPLAYER support +Requires: mplayer + + +%description +MPlayerThumbs is a video thumbnail generator for TDE file managers +(Konqueror, Dolphin, ...). +It needs mplayer (of course) to generate thumbnails, and it contains no +linking to any library, so in a x86_64 system you can freely use the +32bit mplayer binary with win32codecs by configuring the application +launching the mplayerthumbsconfig helper application. +It catches a random frame from 15% to 70%, checking also how contrasted +is the image, and dropping bad frames. + + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +%__rm -rf $RPM_BUILD_ROOT +%__make install DESTDIR=%{buildroot} -C build + + +%clean +%__rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING README.md +%{tde_bindir}/mplayer-thumbnailer-config +%{tde_tdelibdir}/mplayer-thumbnailer.la +%{tde_tdelibdir}/mplayer-thumbnailer.so +%{tde_datadir}/apps/mplayer-thumbnailer/ +%{tde_datadir}/apps/tdeconf_update/mplayer-thumbnailer-cfg-rename.upd +%{tde_datadir}/config.kcfg/mplayer-thumbnailer.kcfg +%{tde_datadir}/services/mplayer-thumbnailer.desktop +%{tde_tdedocdir}/HTML/en/mplayer-thumbnailer/ +%lang(de) %{tde_datadir}/locale/de/LC_MESSAGES/mplayer-thumbnailer.mo + + +%changelog diff --git a/redhat/applications/multimedia/rosegarden/rosegarden.spec b/redhat/applications/multimedia/rosegarden/rosegarden.spec new file mode 100644 index 000000000..c4debe030 --- /dev/null +++ b/redhat/applications/multimedia/rosegarden/rosegarden.spec @@ -0,0 +1,258 @@ +# +# spec file for package rosegarden (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg rosegarden +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +# Required for Mageia 2: removes the ldflag '--no-undefined' +%define _disable_ld_no_undefined 1 + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 1.7.0 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Music editor and MIDI/audio sequencer [Trinity] +Group: Applications/Multimedia +URL: http://www.rosegardenmusic.com/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: libtool +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: fdupes + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +BuildRequires: fftw-devel +BuildRequires: liblo-devel +BuildRequires: fontconfig-devel + +# DSSI support +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?suse_version} +BuildRequires: dssi-devel +%endif + +# 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 + +# ACL support +BuildRequires: libacl-devel + +# LIRC support +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 +%define with_lirc 1 +BuildRequires: lirc-devel +%endif + +# IDN support +BuildRequires: libidn-devel + +# GAMIN support +# Not on openSUSE. +%if ( 0%{?rhel} && 0%{?rhel} <= 8 ) || ( 0%{?fedora} && 0%{?fedora} <= 33 ) || 0%{?mgaversion} || 0%{?mdkversion} +%define with_gamin 1 +BuildRequires: gamin-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 + +# OPENSSL support +BuildRequires: openssl-devel + + +Requires: %{name}-data = %{?epoch:%{epoch}:}%{version}-%{release} + + +%description +Rosegarden is a TDE 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} = %{?epoch:%{epoch}:}%{version}-%{release} +Summary: music editor and MIDI/audio sequencer data files [Trinity] + +%description data +Rosegarden is a TDE 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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -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} \ + \ + -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 \ + -DWANT_DEBUG=OFF \ + -DWANT_FULLDBG=OFF \ + -DBUILD_ALL=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +# Unwanted files +%__rm -f %{?buildroot}%{tde_libdir}/*.a + +%find_lang %{tde_pkg} + + +%clean +%__rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%{tde_bindir}/rosegarden +%{tde_bindir}/rosegarden-audiofile-importer +%{tde_bindir}/rosegarden-lilypondview +%{tde_bindir}/rosegarden-project-package +%{tde_bindir}/rosegardensequencer +%{tde_mandir}/man1/rosegarden-audiofile-importer.1* +%{tde_mandir}/man1/rosegarden-lilypondview.1* +%{tde_mandir}/man1/rosegarden-project-package.1* +%{tde_mandir}/man1/rosegarden.1* + +%files data -f %{tde_pkg}.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 diff --git a/redhat/applications/multimedia/soundkonverter/soundkonverter.spec b/redhat/applications/multimedia/soundkonverter/soundkonverter.spec new file mode 100644 index 000000000..6c3ffae19 --- /dev/null +++ b/redhat/applications/multimedia/soundkonverter/soundkonverter.spec @@ -0,0 +1,209 @@ +# +# spec file for package soundkonverter (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg soundkonverter +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.3.8 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Audio converter frontend for Trinity +Group: Application/Multimedia +URL: http://potracegui.sourceforge.net + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: autoconf automake libtool m4 +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: fdupes + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +# TAGLIB support +BuildRequires: taglib-devel + +# CDDA support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: libcdda-devel +%endif +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +BuildRequires: cdparanoia-devel +%endif + + +%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} = %{?epoch:%{epoch}:}%{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 'trinity-soundkonverter' package for more information. + + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --program-prefix="" \ + \ + --disable-dependency-tracking \ + --disable-debug \ + --enable-final \ + --enable-new-ldflags \ + --enable-closure \ + --enable-rpath \ + --disable-gcc-hidden-visibility + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{tde_pkg} + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/%{tde_pkg}.desktop" +%endif + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{tde_pkg}.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/ +%{tde_tdedocdir}/HTML/en/soundkonverter/ +%{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/ + + +%changelog diff --git a/redhat/applications/multimedia/tderadio/tderadio.spec b/redhat/applications/multimedia/tderadio/tderadio.spec new file mode 100644 index 000000000..9ada63fa5 --- /dev/null +++ b/redhat/applications/multimedia/tderadio/tderadio.spec @@ -0,0 +1,233 @@ +# +# spec file for package tderadio (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} +%define with_lirc 1 +%endif + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg tderadio +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.1.1.1 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Comfortable Radio Application for TDE +Group: Applications/Utilities +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: cmake +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: fdupes + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +BuildRequires: libsndfile-devel +%{?with_lirc:BuildRequires: lirc-devel} + +# LAME support +%if 0%{?opensuse_bs} == 0 +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} || 0%{?rhel} +%define with_lame 1 + +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?pclinuxos} +BuildRequires: liblame-devel +%else +%if 0%{?mgaversion} >= 6 +BuildRequires: %{_lib}mp3lame-devel +%else +BuildRequires: %{_lib}lame-devel +%endif +%endif +%endif +%if 0%{?suse_version} +BuildRequires: libmp3lame-devel +%endif +%if 0%{?fedora} || 0%{?rhel} +BuildRequires: lame-devel +%endif +%endif +%endif + +Obsoletes: trinity-kradio < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-kradio = %{?epoch:%{epoch}:}%{version}-%{release} + + +%description +TDERadio is a comfortable radio application for Trinity with support for +V4L and V4L2 radio cards drivers. + +TDERadio 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 TDERadio users. + +As TDERadio is based on an extendable plugin architecture, contributions +of new plugins (e.g. Internet Radio Streams, new cool GUIs) are welcome. + + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_SKIP_INSTALL_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -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} \ + \ + -DBUILD_ALL=ON \ + .. + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%find_lang %{tde_pkg} + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file -G "Radio Tuner" %{tde_pkg} AudioVideo Tuner +%endif + +# Remove devel files +%__rm -f %{?buildroot}%{tde_libdir}/libtderadio.la +%__rm -f %{?buildroot}%{tde_libdir}/libtderadio.so + +# Remove pixmas +%__rm -fr %{?buildroot}%{tde_datadir}/pixmaps/ + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%{tde_bindir}/convert-presets +%{tde_bindir}/tderadio +%{tde_libdir}/libtderadio.so.0 +%{tde_libdir}/libtderadio.so.0.0.0 +%dir %{tde_libdir}/tderadio +%dir %{tde_libdir}/tderadio/plugins +%{tde_libdir}/tderadio/plugins/*.la +%{tde_libdir}/tderadio/plugins/*.so +%{tde_tdeappdir}/tderadio.desktop +%{tde_datadir}/apps/tderadio/ +%dir %{tde_datadir}/icons/hicolor/256x256 +%dir %{tde_datadir}/icons/hicolor/256x256/actions +%{tde_datadir}/icons/hicolor/*/*/tderadio*.png +%{tde_datadir}/icons/locolor/*/*/tderadio*.png +%lang(de) %{tde_datadir}/locale/de/LC_MESSAGES/*.mo +%lang(nl) %{tde_datadir}/locale/nl/LC_MESSAGES/*.mo +%lang(pt) %{tde_datadir}/locale/pt/LC_MESSAGES/*.mo +%lang(ru) %{tde_datadir}/locale/ru/LC_MESSAGES/*.mo +%{tde_tdedocdir}/HTML/en/tderadio/ +%{tde_mandir}/man1/convert-presets.1* +%{tde_mandir}/man1/tderadio.1* + + +%changelog diff --git a/redhat/applications/office/basket/basket.spec b/redhat/applications/office/basket/basket.spec new file mode 100644 index 000000000..2f66f7f8f --- /dev/null +++ b/redhat/applications/office/basket/basket.spec @@ -0,0 +1,192 @@ +# +# spec file for package basket (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg basket +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_confdir %{_sysconfdir}/trinity +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 1.0.3.1 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Taking care of your ideas +Group: Applications/Utilities +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: trinity-tdepim-devel >= %{tde_version} +BuildRequires: trinity-kontact-devel >= %{tde_version} + +BuildRequires: desktop-file-utils +BuildRequires: gpgme-devel + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: libtool + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + + +%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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INCLUDE_PATH="%{tde_tdeincludedir}" \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DCONFIG_INSTALL_DIR="%{tde_confdir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + \ + -DBUILD_ALL=ON \ + -DWITH_ALL_OPTIONS="ON" \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%find_lang %{tde_pkg} + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file -G "Extended Clipboard" "%{?buildroot}%{tde_tdeappdir}/%{tde_pkg}.desktop" DesktopUtility +%endif + +# Apps that should stay in TDE +echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/%{tde_pkg}.desktop" + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/basket +%{tde_tdeappdir}/basket.desktop +%{tde_datadir}/apps/basket/ +%dir %{tde_datadir}/apps/kontact/ksettingsdialog +%{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 +%config(noreplace) %{tde_confdir}/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_general.desktop +%{tde_datadir}/services/basket_config_new_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_tdedocdir}/HTML/en/basket/ +%config(noreplace) %{tde_confdir}/magic/basket.magic.mgc +%{tde_mandir}/man1/basket.* + + +%changelog diff --git a/redhat/applications/office/kbibtex/kbibtex.spec b/redhat/applications/office/kbibtex/kbibtex.spec new file mode 100644 index 000000000..4777b3b36 --- /dev/null +++ b/redhat/applications/office/kbibtex/kbibtex.spec @@ -0,0 +1,184 @@ +# +# spec file for package kbibtex (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg kbibtex +%define tde_prefix /opt/trinity +%define tde_appdir %{tde_datadir}/applications +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.2.3 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: A BibTeX editor for TDE +Group: Applications/Internet +URL: http://www.unix-ag.uni-kl.de/~fischer/kbibtex/download.html + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: gettext + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig + +# ACL support +BuildRequires: libacl-devel + +# IDN support +BuildRequires: libidn-devel + +# OPENSSL support +BuildRequires: openssl-devel + +# XSLT support +BuildRequires: libxslt-devel + +# YAZ support +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?suse_version} +BuildRequires: libyaz-devel +%endif + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +%description +KBibTeX is a BibTeX editor for TDE to edit bibliographies used with LaTeX. +KBibTeX is released under the GNU Public License (GPL) version 2 or any later version. + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +%__rm -rf $RPM_BUILD_ROOT +%__make install DESTDIR=$RPM_BUILD_ROOT -C build + +%find_lang %{tde_pkg} + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file -G "Bibliography Manager" "%{?buildroot}%{tde_tdeappdir}/kbibtex.desktop" TDE Office Database +%endif + + +%clean +%__rm -rf $RPM_BUILD_ROOT + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING NEWS README.md TODO ChangeLog +%{tde_bindir}/kbibtex +%{tde_tdelibdir}/libkbibtexpart.la +%{tde_tdelibdir}/libkbibtexpart.so +%{tde_tdeappdir}/kbibtex.desktop +%{tde_datadir}/apps/kbibtex/ +%dir %{tde_datadir}/apps/kbibtexpart +%{tde_datadir}/apps/kbibtexpart/kbibtex_part.rc +%dir %{tde_datadir}/apps/kbibtexpart/xslt +%{tde_datadir}/apps/kbibtexpart/xslt/MARC21slim2MODS3.xsl +%{tde_datadir}/apps/kbibtexpart/xslt/MARC21slimUtils.xsl +%{tde_datadir}/apps/kbibtexpart/xslt/UNIMARC2MODS3.xsl +%{tde_datadir}/apps/kbibtexpart/xslt/html.xsl +%{tde_datadir}/icons/hicolor/*/apps/kbibtex.png +%{tde_datadir}/services/kbibtex_part.desktop +%{tde_mandir}/man1/kbibtex.1* +%{tde_tdedocdir}/HTML/en/kbibtex/ + + +%changelog diff --git a/redhat/applications/office/kbookreader/kbookreader.spec b/redhat/applications/office/kbookreader/kbookreader.spec new file mode 100644 index 000000000..8cc7ca8c4 --- /dev/null +++ b/redhat/applications/office/kbookreader/kbookreader.spec @@ -0,0 +1,169 @@ +# +# spec file for package kbookreader (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg kbookreader +%define tde_prefix /opt/trinity +%define tde_appdir %{tde_datadir}/applications +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.2.0 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: eBook reader for Trinity +Group: Applications/Utilities +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig + +# ACL support +BuildRequires: libacl-devel + +# IDN support +BuildRequires: libidn-devel + +# OPENSSL support +BuildRequires: openssl-devel + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + + +%description +kbookreader is an application which allows you to view eBooks +within the Trinity Desktop Environment. + + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file "%{?buildroot}%{tde_tdeappdir}/kbookreader.desktop" Office Viewer +%endif + +%find_lang %{tde_pkg} || touch %{tde_pkg}.lang + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/kbookreader +%{tde_bindir}/kbookreader_client +%{tde_tdeappdir}/kbookreader.desktop +%{tde_datadir}/apps/kbookreader/ +%{tde_datadir}/config.kcfg/kbookreader.kcfg +%{tde_tdedocdir}/HTML/en/kbookreader/ +%{tde_datadir}/icons/hicolor/*/apps/kbookreader.png + + +%changelog diff --git a/redhat/applications/office/keximdb/keximdb.spec b/redhat/applications/office/keximdb/keximdb.spec new file mode 100644 index 000000000..bf89c420e --- /dev/null +++ b/redhat/applications/office/keximdb/keximdb.spec @@ -0,0 +1,166 @@ +# +# spec file for package keximdb (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg keximdb +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_confdir %{_sysconfdir}/trinity +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 1.1.0 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: MS Access (MDB) driver for Kexi [Trinity] +Group: Applications/Multimedia +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: trinity-koffice-devel +BuildRequires: trinity-koffice-kexi + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: libtool + +# IDN support +BuildRequires: libidn-devel + +# ACL support +BuildRequires: libacl-devel + +# OPENSSL support +BuildRequires: openssl-devel + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + + +%description +MDB migration driver for converting MS Access databases in MDB files +into KexiDB databases. + +This driver allows Kexi, the KOffice database program, to convert MDB +database files to Kexi databases via the Tools->Migration->Import Database +menu option. Note that this package does not allow MDB files to be opened +directly - they must be converted to a Kexi database first. + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + + +%clean +%__rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%{tde_tdelibdir}/keximigrate_mdb.la +%{tde_tdelibdir}/keximigrate_mdb.so +%{tde_datadir}/services/keximigrate_mdb.desktop + + +%post + + +%postun + + +%changelog diff --git a/redhat/applications/office/kile/kile.spec b/redhat/applications/office/kile/kile.spec new file mode 100644 index 000000000..b424e7ae5 --- /dev/null +++ b/redhat/applications/office/kile/kile.spec @@ -0,0 +1,224 @@ +# +# spec file for package kile (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg kile +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 2.0.3 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: TDE Integrated LaTeX Environment [Trinity] +Group: Applications/Publishing +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: gettext + +BuildRequires: cmake +BuildRequires: gcc-c++ +BuildRequires: pkgconfig + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +Obsoletes: %{name}-i18n-ar < %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: %{name}-i18n-bg < %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: %{name}-i18n-br < %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: %{name}-i18n-ca < %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: %{name}-i18n-cs < %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: %{name}-i18n-cy < %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: %{name}-i18n-da < %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: %{name}-i18n-de < %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: %{name}-i18n-el < %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: %{name}-i18n-engb < %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: %{name}-i18n-es < %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: %{name}-i18n-et < %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: %{name}-i18n-eu < %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: %{name}-i18n-fi < %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: %{name}-i18n-fr < %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: %{name}-i18n-ga < %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: %{name}-i18n-gl < %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: %{name}-i18n-hi < %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: %{name}-i18n-hu < %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: %{name}-i18n-is < %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: %{name}-i18n-it < %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: %{name}-i18n-ja < %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: %{name}-i18n-lt < %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: %{name}-i18n-ms < %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: %{name}-i18n-mt < %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: %{name}-i18n-nb < %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: %{name}-i18n-nds < %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: %{name}-i18n-nl < %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: %{name}-i18n-nn < %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: %{name}-i18n-pa < %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: %{name}-i18n-pl < %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: %{name}-i18n-pt < %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: %{name}-i18n-ptbr < %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: %{name}-i18n-ro < %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: %{name}-i18n-ru < %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: %{name}-i18n-rw < %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: %{name}-i18n-sk < %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: %{name}-i18n-sr < %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: %{name}-i18n-srlatin < %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: %{name}-i18n-sv < %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: %{name}-i18n-ta < %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: %{name}-i18n-th < %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: %{name}-i18n-tr < %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: %{name}-i18n-uk < %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: %{name}-i18n-zhcn < %{?epoch:%{epoch}:}%{version}-%{release} + + +%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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +# Warning: GCC visibility causes the KCM not to work at all ! +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_SKIP_INSTALL_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DDATA_INSTALL_DIR=%{tde_datadir}/apps \ + -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 %{tde_pkg} + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file kile Office WordProcessor +%endif + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%{tde_bindir}/kile +%{tde_tdeappdir}/kile.desktop +%{tde_datadir}/apps/tdeconf_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/ + +%{tde_mandir}/man1/kile.1* + + +%changelog diff --git a/redhat/applications/office/kmymoney/kmymoney.spec b/redhat/applications/office/kmymoney/kmymoney.spec new file mode 100644 index 000000000..ac1fe772a --- /dev/null +++ b/redhat/applications/office/kmymoney/kmymoney.spec @@ -0,0 +1,255 @@ +%if 0%{?fedora} >= 23 || 0%{?rhel} >= 8 +%define _configure_libtool_hardening_hack 0 +%endif + +# +# spec file for package kmymoney (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg kmymoney +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +# Required for Mageia >= 2: removes the ldflag '--no-undefined' +%define _disable_ld_no_undefined 1 + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 1.0.5 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Personal finance manager for TDE +Group: Applications/Utilities +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz +Source1: kmymoneytitlelabel.png +Source2: %{name}-rpmlintrc + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: cmake +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: libtool +BuildRequires: fdupes + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +BuildRequires: html2ps +BuildRequires: recode +BuildRequires: libofx-devel + +# OPENSP support +%if 0%{?mgaversion} || 0%{?pclinuxos} || 0%{?mdkversion} +%if 0%{?mgaversion} || 0%{?pclinuxos} +%if 0%{?mgaversion} >= 4 +BuildRequires: %{_lib}osp-devel +%else +BuildRequires: %{_lib}OpenSP5-devel +%endif +%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 + +# TQT3-sqlite3 +BuildRequires: libtqt3-mt-sqlite3 +Requires: libtqt3-mt-sqlite3 + +Requires: %{name}-common = %{?epoch:%{epoch}:}%{version}-%{release} + + +%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. + +%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 + +########## + +%package common +Summary: KMyMoney architecture independent files +Group: Applications/Utilities +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} + +%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. + +%files common -f kmymoney2.lang +%defattr(-,root,root,-) +%{tde_datadir}/apps/kmymoney2/ +%{tde_datadir}/config.kcfg/kmymoney2.kcfg +%{tde_datadir}/icons/hicolor/*/*/*.png +#%dir %{tde_datadir}/icons/Tango/ +#%dir %{tde_datadir}/icons/Tango/*/ +#%dir %{tde_datadir}/icons/Tango/*/*/ +#%{tde_datadir}/icons/Tango/*/*/*.png +#%{tde_datadir}/icons/Tango/scalable/*.svgz +%{tde_datadir}/icons/locolor/*/*/*.png +#%dir %{tde_datadir}/icons/oxygen/ +#%dir %{tde_datadir}/icons/oxygen/*/ +#%dir %{tde_datadir}/icons/oxygen/*/*/ +#%{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/ +%{tde_datadir}/services/kmm_ofximport.desktop + +########## + +%package devel +Summary: KMyMoney development files +Group: Development/Libraries +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} + +%description devel +This package contains development files needed for KMyMoney plugins. + +%files devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/kmymoney/ +%{tde_libdir}/libkmm_kdchart.la +%{tde_libdir}/libkmm_mymoney.la +%{tde_libdir}/libkmm_plugin.la +%{tde_libdir}/*.so +%{_libdir}/tqt3/plugins/designer/libkmymoney.la +%{_libdir}/tqt3/plugins/designer/libkmymoney.so + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + +%__install -m644 %{SOURCE1} kmymoney2/widgets/ + + +%build +unset QTDIR QTLIB QTINC +export PATH="%{tde_bindir}:${PATH}" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_SKIP_INSTALL_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DBIN_INSTALL_DIR="%{tde_bindir}" \ + -DDOC_INSTALL_DIR="%{tde_docdir}" \ + -DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + -DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \ + -DSYSCONF_INSTALL_DIR="%{_sysconfdir}/trinity" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + \ + -DBUILD_ALL=ON \ + \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%find_lang kmymoney2 + +# Links duplicate files +%fdupes "%{?buildroot}%{tde_datadir}" + + +%clean +%__rm -rf %{buildroot} + + +%changelog diff --git a/redhat/applications/office/kmymoney/kmymoneytitlelabel.png b/redhat/applications/office/kmymoney/kmymoneytitlelabel.png new file mode 100644 index 000000000..70d72ac98 Binary files /dev/null and b/redhat/applications/office/kmymoney/kmymoneytitlelabel.png differ diff --git a/redhat/applications/office/kmymoney/trinity-kmymoney-rpmlintrc b/redhat/applications/office/kmymoney/trinity-kmymoney-rpmlintrc new file mode 100644 index 000000000..529351884 --- /dev/null +++ b/redhat/applications/office/kmymoney/trinity-kmymoney-rpmlintrc @@ -0,0 +1,2 @@ +setBadness('library-without-ldconfig-postun', 0) +setBadness('library-without-ldconfig-postin', 0) diff --git a/redhat/applications/office/knowit/knowit.spec b/redhat/applications/office/knowit/knowit.spec new file mode 100644 index 000000000..d9b671aa0 --- /dev/null +++ b/redhat/applications/office/knowit/knowit.spec @@ -0,0 +1,161 @@ +# +# spec file for package knowit (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg knowit +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.10 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Tool for managing notes [Trinity] +Group: Applications/Utilities +URL: http://www.trinitydesktop.org + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: libtool + +# IDN support +BuildRequires: libidn-devel + +# ACL support +BuildRequires: libacl-devel + +# OPENSSL support +BuildRequires: openssl-devel + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + + +%description +KnowIt is a tool for managing notes which are organized in +tree-like hierarchy. It is similar to TuxCards, +but TDE-based, and requires Trinity. + + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -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 + +%find_lang %{tde_pkg} + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file -r %{tde_pkg} Utility Applet X-SuSE-DesktopUtility +%endif + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%{tde_bindir}/knowit +%{tde_tdeappdir}/knowit.desktop +%{tde_datadir}/apps/knowit/ +%{tde_datadir}/icons/hicolor/*/apps/knowit.png +%{tde_datadir}/mimelnk/application/x-knowit.desktop +%{tde_tdedocdir}/HTML/en/knowit/ +%{tde_mandir}/man*/knowit.* + +%changelog diff --git a/redhat/applications/office/koffice-i18n/koffice-i18n.spec b/redhat/applications/office/koffice-i18n/koffice-i18n.spec new file mode 100644 index 000000000..8e1c91577 --- /dev/null +++ b/redhat/applications/office/koffice-i18n/koffice-i18n.spec @@ -0,0 +1,1113 @@ +# +# spec file for package koffice-i18n (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg koffice-i18n +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +# Builds all supported languages (not unsupported ones) +%if "%{?TDE_LANGS}" == "" +%define TDE_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-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 1.6.3 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Internationalization support for Koffice [Trinity] +Group: User Interface/Desktops +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch + +# Speed build options +%define debug_package %{nil} +%define __spec_install_post %{nil} +AutoReq: no + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils +BuildRequires: findutils +BuildRequires: gettext + +BuildRequires: cmake +BuildRequires: gcc-c++ +BuildRequires: pkgconfig + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + + +%description +%{summary}. + +%package Bulgarian +Summary: Bulgarian(bg) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-bg = %{?epoch:%{epoch}:}%{version}-%{release} +%description Bulgarian +%{summary}. + +%package Bengali +Summary: Bengali(bn) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-bn = %{?epoch:%{epoch}:}%{version}-%{release} +%description Bengali +%{summary}. + +%package Tibetan +Summary: Tibetan(bo) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-bo = %{?epoch:%{epoch}:}%{version}-%{release} +%description Tibetan +%{summary}. + +%package Breton +Summary: Breton(br) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-br = %{?epoch:%{epoch}:}%{version}-%{release} +%description Breton +%{summary}. + +%package Bosnian +Summary: Bosnian(bs) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-bs = %{?epoch:%{epoch}:}%{version}-%{release} +%description Bosnian +%{summary}. + +%package Catalan +Summary: Catalan(ca) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-ca = %{?epoch:%{epoch}:}%{version}-%{release} +%description Catalan +%{summary}. + +%package Czech +Summary: Czech(cs) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-cs = %{?epoch:%{epoch}:}%{version}-%{release} +%description Czech +%{summary}. + +%package Cymraeg +Summary: Cymraeg language support for Koffice [Trinity] +Group: User Interface/Desktops +%description Cymraeg +%{summary}. + +%package Welsh +Summary: Welsh(cy) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-cy = %{?epoch:%{epoch}:}%{version}-%{release} +%description Welsh +%{summary}. + +%package Danish +Summary: Danish(da) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-da = %{?epoch:%{epoch}:}%{version}-%{release} +%description Danish +%{summary}. + +%package German +Summary: German(de) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-de = %{?epoch:%{epoch}:}%{version}-%{release} +%description German +%{summary}. + +%package Greek +Summary: Greek(el) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-el = %{?epoch:%{epoch}:}%{version}-%{release} +%description Greek +%{summary}. + +%package British +Summary: British(en_GB) English support for TDE +Group: User Interface/Desktops +Provides: %{name}-en_GB = %{?epoch:%{epoch}:}%{version}-%{release} +%description British +%{summary}. + +%package Esperanto +Summary: Esperanto(eo) support for TDE +Group: User Interface/Desktops +Provides: %{name}-eo = %{?epoch:%{epoch}:}%{version}-%{release} +%description Esperanto +%{summary}. + +%package Spanish +Summary: Spanish(es) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-es = %{?epoch:%{epoch}:}%{version}-%{release} +%description Spanish +%{summary}. + +%package Estonian +Summary: Estonian(et) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-et = %{?epoch:%{epoch}:}%{version}-%{release} +%description Estonian +%{summary}. + +%package Basque +Summary: Basque(eu) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-eu = %{?epoch:%{epoch}:}%{version}-%{release} +%description Basque +%{summary}. + +%package Finnish +Summary: Finnish(fi) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-fi = %{?epoch:%{epoch}:}%{version}-%{release} +%description Finnish +%{summary}. + +%package Faroese +Summary: Faroese(fo) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-fo = %{?epoch:%{epoch}:}%{version}-%{release} +%description Faroese +%{summary}. + +%package French +Summary: French(fr) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-fr = %{?epoch:%{epoch}:}%{version}-%{release} +%description French +%{summary}. + +%package Frisian +Summary: Frisian(fy) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-fy = %{?epoch:%{epoch}:}%{version}-%{release} +%description Frisian +%{summary}. + +%package Irish +Summary: Irish(ga) language support for Koffice [Trinity] +Group: User Interface/Desktops +Obsoletes: kde-i18n-Gaeilge < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: %{name}-ga = %{?epoch:%{epoch}:}%{version}-%{release} +%description Irish +%{summary}. + +%package Galician +Summary: Galician(gl) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-gl = %{?epoch:%{epoch}:}%{version}-%{release} +%description Galician +%{summary}. + +%package Hebrew +Summary: Hebrew(he) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-he = %{?epoch:%{epoch}:}%{version}-%{release} +%description Hebrew +%{summary}. + +%package Hindi +Summary: Hindi(hi) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-hi = %{?epoch:%{epoch}:}%{version}-%{release} +%description Hindi +%{summary}. + +%package Croatian +Summary: Croatian(hr) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-hr = %{?epoch:%{epoch}:}%{version}-%{release} +%description Croatian +%{summary}. + +%package Hungarian +Summary: Hungarian(hu) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-hu = %{?epoch:%{epoch}:}%{version}-%{release} +%description Hungarian +%{summary}. + +%package Indonesian +Summary: Indonesian(id) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-id = %{?epoch:%{epoch}:}%{version}-%{release} +%description Indonesian +%{summary}. + +%package Icelandic +Summary: Icelandic(is) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-is = %{?epoch:%{epoch}:}%{version}-%{release} +%description Icelandic +%{summary}. + +%package Italian +Summary: Italian(it) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-it = %{?epoch:%{epoch}:}%{version}-%{release} +%description Italian +%{summary}. + +%package Japanese +Summary: Japanese(ja) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-ja = %{?epoch:%{epoch}:}%{version}-%{release} +%description Japanese +%{summary}. + +%package Khmer +Summary: Khmer(km) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-km = %{?epoch:%{epoch}:}%{version}-%{release} +%description Khmer +%{summary}. + +%package Korean +Summary: Korean(ko) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-ko = %{?epoch:%{epoch}:}%{version}-%{release} +%description Korean +%{summary}. + +%package Kurdish +Summary: Kurdish(ku) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-ku = %{?epoch:%{epoch}:}%{version}-%{release} +%description Kurdish +%{summary}. + +%package Lao +Summary: Lao(lo) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-lo = %{?epoch:%{epoch}:}%{version}-%{release} +%description Lao +%{summary}. + +%package Lithuanian +Summary: Lithuanian(lt) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-lt = %{?epoch:%{epoch}:}%{version}-%{release} +%description Lithuanian +%{summary}. + +%package Latvian +Summary: Latvian(lv) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-lv = %{?epoch:%{epoch}:}%{version}-%{release} +%description Latvian +%{summary}. + +%package Maori +Summary: Maori(mi) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-mi = %{?epoch:%{epoch}:}%{version}-%{release} +%description Maori +%{summary}. + +%package Macedonian +Summary: Macedonian(mk) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-mk = %{?epoch:%{epoch}:}%{version}-%{release} +%description Macedonian +%{summary}. + +%package Malay +Summary: Malay(ms) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-ms = %{?epoch:%{epoch}:}%{version}-%{release} +%description Malay +%{summary}. + +%package Maltese +Summary: Maltese(mt) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-mt = %{?epoch:%{epoch}:}%{version}-%{release} +%description Maltese +%{summary}. + +%package LowSaxon +Summary: Low Saxon (nds) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-nds = %{?epoch:%{epoch}:}%{version}-%{release} +%description LowSaxon +%{summary}. + +%package Nepali +Summary: Nepali(ne) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-ne = %{?epoch:%{epoch}:}%{version}-%{release} +%description Nepali +%{summary}. + +%package Dutch +Summary: Dutch(nl) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-nl = %{?epoch:%{epoch}:}%{version}-%{release} +%description Dutch +%{summary}. + +%package Norwegian +Summary: Norwegian(no) (Bokmaal) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-no = %{?epoch:%{epoch}:}%{version}-%{release} +%description Norwegian +%{summary}. + +%package Norwegian-Nynorsk +Summary: Norwegian(nn) (Nynorsk) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-nn = %{?epoch:%{epoch}:}%{version}-%{release} +%description Norwegian-Nynorsk +%{summary}. + +%package Occitan +Summary: Occitan(oc) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-oc = %{?epoch:%{epoch}:}%{version}-%{release} +%description Occitan +%{summary}. + +%package Polish +Summary: Polish(pl) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-pl = %{?epoch:%{epoch}:}%{version}-%{release} +%description Polish +%{summary}. + +%package Portuguese +Summary: Portuguese(pt) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-pt = %{?epoch:%{epoch}:}%{version}-%{release} +%description Portuguese +%{summary}. + +%package Punjabi +Summary: Punjabi(pa) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-pa = %{?epoch:%{epoch}:}%{version}-%{release} +%description Punjabi +%{summary}. + +%package Brazil +Summary: Brazil(pt_BR) Portuguese language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-pt_BR = %{?epoch:%{epoch}:}%{version}-%{release} +%description Brazil +%{summary}. + +%package Romanian +Summary: Romanian(ro) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-ro = %{?epoch:%{epoch}:}%{version}-%{release} +%description Romanian +%{summary}. + +%package Russian +Summary: Russian(ru) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-ru = %{?epoch:%{epoch}:}%{version}-%{release} +%description Russian +%{summary}. + +%package Slovak +Summary: Slovak(sk) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-sk = %{?epoch:%{epoch}:}%{version}-%{release} +%description Slovak +%{summary}. + +%package Slovenian +Summary: Slovenian(sl) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-sl = %{?epoch:%{epoch}:}%{version}-%{release} +%description Slovenian +%{summary}. + +%package Serbian +Summary: Serbian(sr) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-sr = %{?epoch:%{epoch}:}%{version}-%{release} +%description Serbian +%{summary}. + +%package Swedish +Summary: Swedish(sv) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-sv = %{?epoch:%{epoch}:}%{version}-%{release} +%description Swedish +%{summary}. + +%package Tamil +Summary: Tamil(ta) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-ta = %{?epoch:%{epoch}:}%{version}-%{release} +%description Tamil +%{summary}. + +%package Tajik +Summary: Tajik(tg) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-tg = %{?epoch:%{epoch}:}%{version}-%{release} +%description Tajik +%{summary}. + +%package Thai +Summary: Thai(th) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-th = %{?epoch:%{epoch}:}%{version}-%{release} +%description Thai +%{summary}. + +%package Turkish +Summary: Turkish(tr) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-tr = %{?epoch:%{epoch}:}%{version}-%{release} +%description Turkish +%{summary}. + +%package Ukrainian +Summary: Ukrainian(uk) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-uk = %{?epoch:%{epoch}:}%{version}-%{release} +%description Ukrainian +%{summary}. + +%package Venda +Summary: Venda(ven) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-ven = %{?epoch:%{epoch}:}%{version}-%{release} +%description Venda +%{summary}. + +%package Vietnamese +Summary: Vietnamese(vi) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-vi = %{?epoch:%{epoch}:}%{version}-%{release} +%description Vietnamese +%{summary}. + +%package Walloon +Summary: Walloon(wa) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-wa = %{?epoch:%{epoch}:}%{version}-%{release} +%description Walloon +%{summary}. + +%package Xhosa +Summary: Xhosa(xh) (a Bantu language) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-xh = %{?epoch:%{epoch}:}%{version}-%{release} +%description Xhosa +%{summary}. + +%package Chinese +Summary: Chinese(zh_CN) (Simplified Chinese) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-zh_CN = %{?epoch:%{epoch}:}%{version}-%{release} +%description Chinese +%{summary}. + +%package Chinese-Big5 +Summary: Chinese(zh_TW) (Big5) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-tz_TW = %{?epoch:%{epoch}:}%{version}-%{release} +%description Chinese-Big5 +%{summary}. + + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +( +for l in . %{TDE_LANGS}; do + if [ $l != '.' ]; then + pushd "%{tde_pkg}-${l}" + else + pushd ${l} + fi + + if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build + fi + + %cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_SKIP_INSTALL_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DDATA_INSTALL_DIR=%{tde_datadir}/apps \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + \ + -DBUILD_ALL=ON \ + \ + .. + + %__make %{?_smp_mflags} + + popd +done +) 2>&1 | tee /tmp/rpmbuild.$$ + +if grep -qw TDE_Error /tmp/rpmbuild.$$; then + echo "Error while building. See '/tmp/rpmbuild.$$'" + exit 1 +fi + +wait +rm -f /tmp/rpmbuild.$$ + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} + +for l in %{TDE_LANGS}; do + %__make DESTDIR=%{buildroot} -C build install-${l} +done + + +%clean +%__rm -rf %{buildroot} + +%if "%( grep -w af <<< '%{TDE_LANGS}' )" != "" +%files Afrikaans +%defattr(-,root,root,-) +%{tde_datadir}/locale/af/* +%endif + +%if "%( grep -w ar <<< '%{TDE_LANGS}' )" != "" +%files Arabic +%defattr(-,root,root,-) +%{tde_datadir}/locale/ar/* +%endif + +%if "%( grep -w az <<< '%{TDE_LANGS}' )" != "" +%files Azerbaijani +%defattr(-,root,root,-) +%{tde_datadir}/locale/az/* +%endif + +%if "%( grep -w be <<< '%{TDE_LANGS}' )" != "" +%files Belarusian +%defattr(-,root,root,-) +%{tde_datadir}/locale/be/* +%endif + +%if "%( grep -w bg <<< '%{TDE_LANGS}' )" != "" +%files Bulgarian +%defattr(-,root,root,-) +%{tde_datadir}/locale/bg/* +%endif + +%if "%( grep -w bn <<< '%{TDE_LANGS}' )" != "" +%files Bengali +%defattr(-,root,root,-) +%{tde_datadir}/locale/bn/* +%endif + +%if "%( grep -w bo <<< '%{TDE_LANGS}' )" != "" +%files Tibetan +%defattr(-,root,root,-) +%{tde_datadir}/locale/bo/* +%endif + +%if "%( grep -w br <<< '%{TDE_LANGS}' )" != "" +%files Breton +%defattr(-,root,root,-) +%{tde_datadir}/locale/br/* +%endif + +%if "%( grep -w bs <<< '%{TDE_LANGS}' )" != "" +%files Bosnian +%defattr(-,root,root,-) +%{tde_datadir}/locale/bs/* +%endif + +%if "%( grep -w ca <<< '%{TDE_LANGS}' )" != "" +%files Catalan +%defattr(-,root,root,-) +%{tde_datadir}/locale/ca/* +%{tde_tdedocdir}/HTML/ca/ +%dir %{tde_datadir}/apps/koffice +%dir %{tde_datadir}/apps/koffice/autocorrect +%{tde_datadir}/apps/koffice/autocorrect/ca.xml +%endif + +%if "%( grep -w cs <<< '%{TDE_LANGS}' )" != "" +%files Czech +%defattr(-,root,root,-) +%{tde_datadir}/locale/cs/* +%dir %{tde_datadir}/apps/koffice +%dir %{tde_datadir}/apps/koffice/autocorrect +%{tde_datadir}/apps/koffice/autocorrect/cs.xml +%endif + +%if "%( grep -w cy <<< '%{TDE_LANGS}' )" != "" +%files Welsh +%defattr(-,root,root,-) +%{tde_datadir}/locale/cy/* +%endif + +%if "%( grep -w da <<< '%{TDE_LANGS}' )" != "" +%files Danish +%defattr(-,root,root,-) +%{tde_datadir}/locale/da/* +%{tde_tdedocdir}/HTML/da/ +%endif + +%if "%( grep -w de <<< '%{TDE_LANGS}' )" != "" +%files German +%defattr(-,root,root,-) +%{tde_datadir}/locale/de/* +%{tde_tdedocdir}/HTML/de/ +%dir %{tde_datadir}/apps/koffice +%dir %{tde_datadir}/apps/koffice/autocorrect +%{tde_datadir}/apps/koffice/autocorrect/de.xml +%endif + +%if "%( grep -w el <<< '%{TDE_LANGS}' )" != "" +%files Greek +%defattr(-,root,root,-) +%{tde_datadir}/locale/el/* +%endif + +%if "%( grep -w en_GB <<< '%{TDE_LANGS}' )" != "" +%files British +%defattr(-,root,root,-) +%{tde_datadir}/locale/en_GB/* +%{tde_tdedocdir}/HTML/en_GB/ +%endif + +%if "%( grep -w eo <<< '%{TDE_LANGS}' )" != "" +%files Esperanto +%defattr(-,root,root,-) +%{tde_datadir}/locale/eo/* +%endif + +%if "%( grep -w es <<< '%{TDE_LANGS}' )" != "" +%files Spanish +%defattr(-,root,root,-) +%{tde_datadir}/locale/es/* +%{tde_tdedocdir}/HTML/es/ +%dir %{tde_datadir}/apps/koffice +%dir %{tde_datadir}/apps/koffice/autocorrect +%{tde_datadir}/apps/koffice/autocorrect/es.xml +%endif + +%if "%( grep -w et <<< '%{TDE_LANGS}' )" != "" +%files Estonian +%defattr(-,root,root,-) +%{tde_datadir}/locale/et/* +%{tde_tdedocdir}/HTML/et/ +%endif + +%if "%( grep -w eu <<< '%{TDE_LANGS}' )" != "" +%files Basque +%defattr(-,root,root,-) +%{tde_datadir}/locale/eu/* +%endif + +%if "%( grep -w fa <<< '%{TDE_LANGS}' )" != "" +%files Farsi +%defattr(-,root,root,-) +%{tde_datadir}/locale/fa/* +%endif + +%if "%( grep -w fi <<< '%{TDE_LANGS}' )" != "" +%files Finnish +%defattr(-,root,root,-) +%{tde_datadir}/locale/fi/* +%endif + +%if "%( grep -w fo <<< '%{TDE_LANGS}' )" != "" +%files Faroese +%defattr(-,root,root,-) +%{tde_datadir}/locale/fo/* +%endif + +%if "%( grep -w fr <<< '%{TDE_LANGS}' )" != "" +%files French +%defattr(-,root,root,-) +%{tde_datadir}/locale/fr/* +%{tde_tdedocdir}/HTML/fr/ +%dir %{tde_datadir}/apps/koffice +%dir %{tde_datadir}/apps/koffice/autocorrect +%{tde_datadir}/apps/koffice/autocorrect/fr.xml +%endif + +%if "%( grep -w fy <<< '%{TDE_LANGS}' )" != "" +%files Frisian +%defattr(-,root,root,-) +%{tde_datadir}/locale/fy/* +%endif + +%if "%( grep -w ga <<< '%{TDE_LANGS}' )" != "" +%files Irish +%defattr(-,root,root,-) +%{tde_datadir}/locale/ga/* +%endif + +%if "%( grep -w gl <<< '%{TDE_LANGS}' )" != "" +%files Galician +%defattr(-,root,root,-) +%{tde_datadir}/locale/gl/* +%endif + +%if "%( grep -w he <<< '%{TDE_LANGS}' )" != "" +%files Hebrew +%defattr(-,root,root,-) +%{tde_datadir}/locale/he/* +%endif + +%if "%( grep -w hi <<< '%{TDE_LANGS}' )" != "" +%files Hindi +%defattr(-,root,root,-) +%{tde_datadir}/locale/hi/* +%endif + +%if "%( grep -w hr <<< '%{TDE_LANGS}' )" != "" +%files Croatian +%defattr(-,root,root,-) +%{tde_datadir}/locale/hr/* +%endif + +%if "%( grep -w hu <<< '%{TDE_LANGS}' )" != "" +%files Hungarian +%defattr(-,root,root,-) +%{tde_datadir}/locale/hu/* +%dir %{tde_datadir}/apps/koffice +%dir %{tde_datadir}/apps/koffice/autocorrect +%{tde_datadir}/apps/koffice/autocorrect/hu.xml +%endif + +%if "%( grep -w id <<< '%{TDE_LANGS}' )" != "" +%files Indonesian +%defattr(-,root,root,-) +%{tde_datadir}/locale/id/* +%endif + +%if "%( grep -w is <<< '%{TDE_LANGS}' )" != "" +%files Icelandic +%defattr(-,root,root,-) +%{tde_datadir}/locale/is/* +%endif + +%if "%( grep -w it <<< '%{TDE_LANGS}' )" != "" +%files Italian +%defattr(-,root,root,-) +%{tde_datadir}/locale/it/* +%{tde_tdedocdir}/HTML/it/ +%dir %{tde_datadir}/apps/koffice +%dir %{tde_datadir}/apps/koffice/autocorrect +%{tde_datadir}/apps/koffice/autocorrect/it.xml +%endif + +%if "%( grep -w ja <<< '%{TDE_LANGS}' )" != "" +%files Japanese +%defattr(-,root,root,-) +%{tde_datadir}/locale/ja/* +%endif + +%if "%( grep -w km <<< '%{TDE_LANGS}' )" != "" +%files Khmer +%defattr(-,root,root,-) +%{tde_datadir}/locale/km/* +%endif + +%if "%( grep -w ko <<< '%{TDE_LANGS}' )" != "" +%files Korean +%defattr(-,root,root,-) +%{tde_datadir}/locale/ko/* +%endif + +%if "%( grep -w ku <<< '%{TDE_LANGS}' )" != "" +%files Kurdish +%defattr(-,root,root,-) +%{tde_datadir}/locale/ku/* +%endif + +%if "%( grep -w lao <<< '%{TDE_LANGS}' )" != "" +%files Lao +%defattr(-,root,root,-) +%{tde_datadir}/locale/lo/* +%endif + +%if "%( grep -w lt <<< '%{TDE_LANGS}' )" != "" +%files Lithuanian +%defattr(-,root,root,-) +%{tde_datadir}/locale/lt/* +%endif + +%if "%( grep -w lv <<< '%{TDE_LANGS}' )" != "" +%files Latvian +%defattr(-,root,root,-) +%{tde_datadir}/locale/lv +%{tde_datadir}/locale/lv/* +%endif + +%if "%( grep -w mi <<< '%{TDE_LANGS}' )" != "" +%files Maori +%defattr(-,root,root,-) +%{tde_datadir}/locale/mi/* +%endif + +%if "%( grep -w mk <<< '%{TDE_LANGS}' )" != "" +%files Macedonian +%defattr(-,root,root,-) +%{tde_datadir}/locale/mk/* +%endif + +%if "%( grep -w ms <<< '%{TDE_LANGS}' )" != "" +%files Malay +%defattr(-,root,root,-) +%{tde_datadir}/locale/ms/* +%endif + +%if "%( grep -w mt <<< '%{TDE_LANGS}' )" != "" +%files Maltese +%defattr(-,root,root,-) +%{tde_datadir}/locale/mt/* +%endif + +%if "%( grep -w nds <<< '%{TDE_LANGS}' )" != "" +%files LowSaxon +%defattr(-,root,root,-) +%{tde_datadir}/locale/nds/* +%endif + +%if "%( grep -w ne <<< '%{TDE_LANGS}' )" != "" +%files Nepali +%defattr(-,root,root,-) +%{tde_datadir}/locale/ne/* +%endif + +%if "%( grep -w nl <<< '%{TDE_LANGS}' )" != "" +%files Dutch +%defattr(-,root,root,-) +%{tde_datadir}/locale/nl/* +%{tde_tdedocdir}/HTML/nl/ +%endif + +%if "%( grep -w nb <<< '%{TDE_LANGS}' )" != "" +%files Norwegian +%defattr(-,root,root,-) +%{tde_datadir}/locale/nb/* +%endif + +%if "%( grep -w nn <<< '%{TDE_LANGS}' )" != "" +%files Norwegian-Nynorsk +%defattr(-,root,root,-) +%{tde_datadir}/locale/nn/* +%endif + +%if "%( grep -w oc <<< '%{TDE_LANGS}' )" != "" +%files Occitan +%defattr(-,root,root,-) +%{tde_datadir}/locale/oc/* +%endif + +%if "%( grep -w pa <<< '%{TDE_LANGS}' )" != "" +%files Punjabi +%defattr(-,root,root,-) +%{tde_datadir}/locale/pa/* +%endif + +%if "%( grep -w pl <<< '%{TDE_LANGS}' )" != "" +%files Polish +%defattr(-,root,root,-) +%{tde_datadir}/locale/pl/* +%endif + +%if "%( grep -w pt <<< '%{TDE_LANGS}' )" != "" +%files Portuguese +%defattr(-,root,root,-) +%{tde_datadir}/locale/pt/* +%{tde_tdedocdir}/HTML/pt/ +%endif + +%if "%( grep -w pt_BR <<< '%{TDE_LANGS}' )" != "" +%files Brazil +%defattr(-,root,root,-) +%{tde_datadir}/locale/pt_BR/* +%{tde_tdedocdir}/HTML/pt_BR/ +%endif + +%if "%( grep -w ro <<< '%{TDE_LANGS}' )" != "" +%files Romanian +%defattr(-,root,root,-) +%{tde_datadir}/locale/ro/* +%endif + +%if "%( grep -w ru <<< '%{TDE_LANGS}' )" != "" +%files Russian +%defattr(-,root,root,-) +%{tde_datadir}/locale/ru/* +%{tde_tdedocdir}/HTML/ru/ +%endif + +%if "%( grep -w sk <<< '%{TDE_LANGS}' )" != "" +%files Slovak +%defattr(-,root,root,-) +%{tde_datadir}/locale/sk/* +%{tde_tdedocdir}/HTML/sk/ +%dir %{tde_datadir}/apps/koffice +%dir %{tde_datadir}/apps/koffice/autocorrect +%{tde_datadir}/apps/koffice/autocorrect/sk.xml +%endif + +%if "%( grep -w sl <<< '%{TDE_LANGS}' )" != "" +%files Slovenian +%defattr(-,root,root,-) +%{tde_datadir}/locale/sl/* +%{tde_tdedocdir}/HTML/sl/ +%endif + +%if "%( grep -w sr <<< '%{TDE_LANGS}' )" != "" +%files Serbian +%defattr(-,root,root,-) +%{tde_datadir}/locale/sr/* +%endif + +%if "%( grep -w sv <<< '%{TDE_LANGS}' )" != "" +%files Swedish +%defattr(-,root,root,-) +%{tde_datadir}/locale/sv/* +%{tde_tdedocdir}/HTML/sv/ +%endif + +%if "%( grep -w ta <<< '%{TDE_LANGS}' )" != "" +%files Tamil +%defattr(-,root,root,-) +%{tde_datadir}/locale/ta/* +%endif + +%if "%( grep -w tg <<< '%{TDE_LANGS}' )" != "" +%files Tajik +%defattr(-,root,root,-) +%{tde_datadir}/locale/tg/* +%endif + +%if "%( grep -w th <<< '%{TDE_LANGS}' )" != "" +%files Thai +%defattr(-,root,root,-) +%{tde_datadir}/locale/th/* +%endif + +%if "%( grep -w tr <<< '%{TDE_LANGS}' )" != "" +%files Turkish +%defattr(-,root,root,-) +%{tde_datadir}/locale/tr/* +%endif + +%if "%( grep -w uk <<< '%{TDE_LANGS}' )" != "" +%files Ukrainian +%defattr(-,root,root,-) +%{tde_datadir}/locale/uk/* +%endif + +%if "%( grep -w ven <<< '%{TDE_LANGS}' )" != "" +%files Venda +%defattr(-,root,root,-) +%{tde_datadir}/locale/ven/* +%endif + +%if "%( grep -w vi <<< '%{TDE_LANGS}' )" != "" +%files Vietnamese +%defattr(-,root,root,-) +%{tde_datadir}/locale/vi/* +%endif + +%if "%( grep -w wa <<< '%{TDE_LANGS}' )" != "" +%files Walloon +%defattr(-,root,root,-) +%{tde_datadir}/locale/wa/* +%endif + +%if "%( grep -w xh <<< '%{TDE_LANGS}' )" != "" +%files Xhosa +%defattr(-,root,root,-) +%{tde_datadir}/locale/xh/* +%endif + +%if "%( grep -w zh_CN <<< '%{TDE_LANGS}' )" != "" +%files Chinese +%defattr(-,root,root,-) +%{tde_datadir}/locale/zh_CN/* +%endif + +%if "%( grep -w zh_TW <<< '%{TDE_LANGS}' )" != "" +%files Chinese-Big5 +%defattr(-,root,root,-) +%{tde_datadir}/locale/zh_TW/* +%endif + + +%changelog diff --git a/redhat/applications/office/koffice/koffice.spec b/redhat/applications/office/koffice/koffice.spec new file mode 100644 index 000000000..42851dd74 --- /dev/null +++ b/redhat/applications/office/koffice/koffice.spec @@ -0,0 +1,1186 @@ +# +# spec file for package koffice (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg koffice +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_confdir %{_sysconfdir}/trinity +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +# Disable Kross support for RHEL <= 5 (python is too old) +%if 0%{?fedora} || 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/') + +# Required for Mageia 2: removes the ldflag '--no-undefined' +%define _disable_ld_no_undefined 1 + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 1.6.3 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: An integrated office suite +Group: Applications/Productivity +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz +Source1: trinity-koffice-rpmlintrc + +# BuildRequires: world-devel ;) +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils +BuildRequires: trinity-tdegraphics-devel >= %{tde_version} +BuildRequires: trinity-libpoppler-tqt-devel >= %{tde_version} + +BuildRequires: autoconf automake libtool m4 +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: fdupes + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +BuildRequires: fontconfig-devel +BuildRequires: libart_lgpl-devel +BuildRequires: libtiff-devel +BuildRequires: libjpeg-devel +BuildRequires: ImageMagick-devel +BuildRequires: zlib-devel +BuildRequires: openssl-devel +BuildRequires: pcre-devel +BuildRequires: gettext-devel +BuildRequires: mysql-devel +BuildRequires: perl +BuildRequires: doxygen +BuildRequires: aspell-devel +BuildRequires: libxslt-devel +BuildRequires: OpenEXR-devel +BuildRequires: libexif-devel +BuildRequires: readline-devel + +# PYTHON support +%if 0%{?sle_version} >= 150400 || 0%{?rhel} >= 9 +%define with_python 0 +%global __python %__python3 +%else +%define with_python 1 +%if 0%{?rhel} == 8 || 0%{?fedora} >= 31 || 0%{?suse_version} >= 1500 || 0%{?mgaversion} >= 8 +%global python python2 +%global __python %__python2 +%global python_sitearch %{python2_sitearch} +%else +%global python python +%endif +%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} +BuildRequires: %{python} +BuildRequires: %{python}-devel +%endif + +# LCMS support +%if 0%{?suse_version} || 0%{?rhel} >= 7 +BuildRequires: liblcms-devel +%else +BuildRequires: lcms-devel +%endif + +# LCMS2 support +%if 0%{?suse_version} +BuildRequires: liblcms2-devel +%endif + +# BZIP2 support +%if 0%{?suse_version} +BuildRequires: libbz2-devel +%else +BuildRequires: bzip2-devel +%endif + +# PAPER support +BuildRequires: libpaper-devel + +# RUBY support +%if 0%{?with_ruby} +BuildRequires: ruby ruby-devel >= 1.8.1 +%if 0%{?fedora} >= 19 +BuildRequires: rubypick +%endif +%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} +BuildRequires: %{_lib}utempter-devel +%endif +%if 0%{?fedora} || 0%{?rhel} >= 5 +BuildRequires: libutempter-devel +%endif + +# POPPLER support +%if 0%{?rhel} >=6 || 0%{?fedora} >= 15 || 0%{?suse_version} +%if 0%{?suse_version} >= 1500 +BuildRequires: libpoppler-devel >= 0.12 +%else +BuildRequires: poppler-devel >= 0.12 +%endif +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}poppler-devel +%endif +%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5 +# On RHEL 5, the distro-provided poppler is too old. We built a newer one. +BuildRequires: trinity-poppler-devel >= 0.12 +%endif + +# POSTGRESQL support +# Requires 'libpqxx', for kexi-driver-pgqsl +%if 0%{?mdkversion} || 0%{?fedora} || 0%{?suse_version} +%if 0%{?suse_version} != 1500 && 0%{?suse_version} != 1550 && 0%{?pclinuxos} == 0 +%define with_postgresql 1 +%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8 +BuildRequires: postgresql-server-devel +%else +BuildRequires: postgresql-devel +BuildRequires: libpqxx-devel +%endif +%endif +%endif +Obsoletes: trinity-libpqxx < %{?epoch:%{epoch}:}%{version}-%{release} + +# WPD support +# For chalk and filters +BuildRequires: libwpd-devel +Obsoletes: trinity-libwpd < %{?epoch:%{epoch}:}%{version}-%{release} + +# 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 + +# SQLITE support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: sqlite3-devel +%else +BuildRequires: sqlite-devel +%endif + + +%description +KOffice is an integrated office suite. + +########## + +%package suite +Summary: An integrated office suite +Group: Applications/Productivity +Obsoletes: %{name} <= %{?epoch:%{epoch}:}%{version}-%{release} +Requires: %{name}-core = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: %{name}-kword = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: %{name}-kspread = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: %{name}-kpresenter = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: %{name}-kivio = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: %{name}-karbon = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: %{name}-kugar = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: %{name}-kexi = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: %{name}-kexi-driver-mysql = %{?epoch:%{epoch}:}%{version}-%{release} +%{?with_postgresql:Requires: %{name}-kexi-driver-pgsql = %{?epoch:%{epoch}:}%{version}-%{release}} +Requires: %{name}-kchart = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: %{name}-kformula = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: %{name}-filters = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: %{name}-kplato = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: %{name}-chalk = %{?epoch:%{epoch}:}%{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 = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: perl + +%description core +%{summary}. + +%files core +%defattr(-,root,root,-) +%doc AUTHORS COPYING README +%{tde_bindir}/koshell +%{tde_bindir}/kthesaurus +%{tde_bindir}/koconverter +%{tde_libdir}/libtdeinit_koshell.so +%{tde_libdir}/libtdeinit_kthesaurus.so +%{tde_tdelibdir}/tdefile_koffice.* +%{tde_tdelibdir}/tdefile_ooo.* +%{tde_tdelibdir}/tdefile_abiword.* +%{tde_tdelibdir}/tdefile_gnumeric.* +%{tde_tdelibdir}/kodocinfopropspage.* +%{tde_tdelibdir}/kofficescan.* +%{tde_tdelibdir}/kofficethumbnail.* +%{tde_tdelibdir}/koshell.* +%{tde_tdelibdir}/kthesaurus.* +%{tde_tdelibdir}/kwmailmerge_classic.* +%{tde_tdelibdir}/kwmailmerge_tdeabc.* +%{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/tdefile_abiword.desktop +%{tde_datadir}/services/tdefile_gnumeric.desktop +%{tde_datadir}/services/tdefile_koffice.desktop +%{tde_datadir}/services/tdefile_ooo.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} +%if 0%{?with_python} +%{tde_datadir}/apps/kross/ +%{tde_tdelibdir}/krosspython.* +%endif +%if 0%{?with_ruby} +%{tde_tdelibdir}/krossruby.* +%endif +%endif +%{tde_mandir}/man1/koconverter.1* +%{tde_mandir}/man1/koscript.1* +%{tde_mandir}/man1/koshell.1* +%{tde_mandir}/man1/kthesaurus.1* + +########## + +%package libs +Summary: Runtime libraries for %{name} +Group: System Environment/Libraries +Conflicts: %{name} <= %{version}-%{release} +Requires: trinity-tdelibs +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 +%{tde_mandir}/man1/kspread.1* + +########## + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name}-libs = %{?epoch:%{epoch}:}%{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}/libtdeinit_*.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 = %{?epoch:%{epoch}:}%{version}-%{release} + +%description kword +%{summary}. + +%files kword +%defattr(-,root,root,-) +%lang(en) %{tde_tdedocdir}/HTML/en/kword/ +%{tde_bindir}/kword +%{tde_libdir}/libtdeinit_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 +%{tde_mandir}/man1/kword.1* + +########## + +%package kspread +Summary: A powerful spreadsheet application +Group: Applications/Productivity +Requires: %{name}-core = %{?epoch:%{epoch}:}%{version}-%{release} + +%description kspread +%{summary}. + +%files kspread +%defattr(-,root,root,-) +%lang(en) %{tde_tdedocdir}/HTML/en/kspread/ +%{tde_bindir}/kspread +%{tde_libdir}/libtdeinit_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 = %{?epoch:%{epoch}:}%{version}-%{release} + +%description kpresenter +%{summary}. + +%files kpresenter +%defattr(-,root,root,-) +%lang(en) %{tde_tdedocdir}/HTML/en/kpresenter/ +%{tde_bindir}/kpresenter +%{tde_bindir}/kprconverter.pl +%{tde_libdir}/libtdeinit_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 +%{tde_mandir}/man1/kprconverter.pl.1* +%{tde_mandir}/man1/kpresenter.1* + +########## + +%package kivio +Summary: A flowcharting application +Group: Applications/Productivity +Requires: %{name}-core = %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: kivio < %{?epoch:%{epoch}:}%{version}-%{release} + +%description kivio +%{summary}. + +%files kivio +%defattr(-,root,root,-) +%lang(en) %{tde_tdedocdir}/HTML/en/kivio/ +%{tde_bindir}/kivio +%{tde_libdir}/libtdeinit_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 +%{tde_mandir}/man1/kivio.1* + +########## + +%package karbon +Summary: A vector drawing application +Group: Applications/Productivity +Requires: %{name}-core = %{?epoch:%{epoch}:}%{version}-%{release} + +%description karbon +%{summary}. + +%files karbon +%defattr(-,root,root,-) +%lang(en) %{tde_tdedocdir}/HTML/en/karbon/ +%{tde_bindir}/karbon +%{tde_libdir}/libtdeinit_karbon.so +%exclude %{tde_tdelibdir}/libkarbonepsimport.* +%{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 +%{tde_mandir}/man1/karbon.1* + +########## + +%package kugar +Summary: A tool for generating business quality reports +Group: Applications/Productivity +Requires: %{name}-core = %{?epoch:%{epoch}:}%{version}-%{release} + +%description kugar +%{summary}. + +%files kugar +%defattr(-,root,root,-) +%lang(en) %{tde_tdedocdir}/HTML/en/kugar/ +%{tde_bindir}/kugar +%{tde_bindir}/kudesigner +%{tde_libdir}/libtdeinit_kugar.so +%{tde_libdir}/libtdeinit_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 +%{tde_mandir}/man1/kudesigner.1* +%{tde_mandir}/man1/kugar.1* + +########## + +%package kexi +Summary: An integrated environment for managing data +Group: Applications/Productivity +Requires: %{name}-core = %{?epoch:%{epoch}:}%{version}-%{release} + +%if 0%{?with_postgresql} == 0 +Obsoletes: %{name}-kexi-driver-pgsql < %{?epoch:%{epoch}:}%{version}-%{release} +%endif + +%description kexi +%{summary}. +For additional database drivers take a look at %{name}-kexi-driver-* + +%files kexi +%defattr(-,root,root,-) +%lang(en) %{tde_tdedocdir}/HTML/en/kexi/ +%{tde_bindir}/kexi* +%{tde_bindir}/ksqlite* +%{tde_libdir}/libtdeinit_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.* +%config(noreplace) %{tde_confdir}/kexirc +%config(noreplace) %{tde_confdir}/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 +%config(noreplace) %{tde_confdir}/magic/kexi.magic.mgc + +########## + +%package kexi-driver-mysql +Summary: Mysql-driver for kexi +Group: Applications/Productivity +Requires: %{name}-kexi = %{?epoch:%{epoch}:}%{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 = %{?epoch:%{epoch}:}%{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 = %{?epoch:%{epoch}:}%{version}-%{release} + +%description kchart +%{summary}. + +%files kchart +%defattr(-,root,root,-) +%lang(en) %{tde_tdedocdir}/HTML/en/kchart/ +%{tde_bindir}/kchart +%{tde_libdir}/libkchart*.so.* +%{tde_libdir}/libtdeinit_kchart.so +%{tde_tdelibdir}/*kchart*.* +%{tde_datadir}/apps/kchart/ +%{tde_datadir}/services/kchart*.desktop +%{tde_tdeappdir}/*kchart.desktop +%{tde_mandir}/man1/kchart.1* + +########## + +%package kformula +Summary: A powerful formula editor +Group: Applications/Productivity +Requires: %{name}-core = %{?epoch:%{epoch}:}%{version}-%{release} + +%if 0%{?mgaversion} || 0%{?mdkversion} +Requires: fonts-ttf-dejavu +%else +%if 0%{?fedora} >= 11 || 0%{?rhel} == 6 || 0%{?rhel} == 7 +Requires: dejavu-lgc-sans-fonts +%endif +%if 0%{?fedora} >= 11 || 0%{?rhel} == 6 || 0%{?rhel} == 7 +Requires: lyx-cmex10-fonts +%endif +%if 0%{?rhel} == 5 +Requires: dejavu-lgc-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}/libtdeinit_kformula.so +%{tde_tdelibdir}/*kformula*.* +%{tde_datadir}/apps/kformula/ +%{tde_datadir}/services/kformula*.desktop +%{tde_tdeappdir}/*kformula.desktop +%{tde_mandir}/man1/kformula.1* + +########## + +%package filters +Summary: Import and Export Filters for KOffice +Group: Applications/Productivity +Requires: %{name}-core = %{?epoch:%{epoch}:}%{version}-%{release} + +%description filters +%{summary}. + +%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 = %{?epoch:%{epoch}:}%{version}-%{release} + +%description kplato +%{summary}. + +%files kplato +%defattr(-,root,root,-) +%lang(en) %{tde_tdedocdir}/HTML/en/kplato/ +%{tde_bindir}/kplato +%{tde_libdir}/libtdeinit_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 = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: %{name}-chalk-data = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: %{name}-filters = %{?epoch:%{epoch}:}%{version}-%{release} + +%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. + +%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}/libtdeinit_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/chalk/ +%{tde_datadir}/apps/chalkplugins/ +%lang(en) %{tde_tdedocdir}/HTML/en/chalk/ +%{tde_datadir}/services/chalk*.desktop +%{tde_datadir}/servicetypes/chalk*.desktop + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" +export kde_confdir="%{tde_confdir}" + +%if 0%{?suse_version} == 1220 +RD=$(ruby -r rbconfig -e 'printf("%s",Config::CONFIG["rubyhdrdir"])') +CXXFLAGS="${CXXFLAGS} -I${RD}/%_normalized_cpu-linux" +%endif + +%if 0%{?suse_version} >= 1550 +CXXFLAGS="${CXXFLAGS} -std=c++11" +%endif + +# FTBFS on RHEL 5 +%if 0%{?rhel} == 5 +%__sed -i "kexi/migration/keximigratetest.cpp" \ + -e "/TDEApplication/ s|\");|\", true, true, true);|" +%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-dependency-tracking \ + --disable-debug \ + --enable-new-ldflags \ + --enable-final \ + --enable-closure \ + --enable-rpath \ + --disable-gcc-hidden-visibility \ + \ + --with-extra-libs=%{tde_libdir} \ + --with-extra-includes=%{tde_includedir}/arts \ + \ + --disable-kexi-macros \ + %{?with_kross:--enable-scripting} %{!?with_kross:--disable-scripting} \ + %{?with_postgresql:--enable-pgsql} %{!?with_postgresql:--disable-pgsql} \ + +%__make %{?_smp_mflags} || %__make + + +%install +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +#%__mkdir_p "%{buildroot}%{tde_datadir}/icons/hicolor/{16x16,22x22,32x32,48x48,64x64,128x128}/apps/" +#for i in {16x16,22x22,32x32,48x48,64x64,128x128}; do +# mv "%{buildroot}%{tde_datadir}/icons/crystalsvg/$i/apps/kplato.png %{buildroot}/opt/kde3/share/icons/hicolor/$i/apps/; +#done + +# Fix desktop icon location +%__mv -f "%{?buildroot}%{tde_datadir}/applnk/"*"/KThesaurus.desktop" "%{?buildroot}%{tde_tdeappdir}" + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file kudesigner Office FlowChart +%suse_update_desktop_file kivio Office FlowChart +%suse_update_desktop_file kchart Office FlowChart +%suse_update_desktop_file kexi Office Database +%suse_update_desktop_file -r chalk Graphics RasterGraphics +%suse_update_desktop_file -r karbon Graphics VectorGraphics +%suse_update_desktop_file kpresenter Office Presentation +%suse_update_desktop_file kspread Office Spreadsheet +%suse_update_desktop_file -u KThesaurus Office +%suse_update_desktop_file -r kformula Science Math +%suse_update_desktop_file kword Office WordProcessor +%suse_update_desktop_file koshell Office Core-Office +%suse_update_desktop_file kplato Office ProjectManagement +%endif + +# Apps that should stay in TDE +for i in kivio kplato; do + echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/${i}.desktop" +done + +# Links duplicate files +%fdupes %{buildroot} + +## 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 + + +%clean +%__rm -rf %{buildroot} + + +%changelog diff --git a/redhat/applications/office/koffice/koshell.png b/redhat/applications/office/koffice/koshell.png new file mode 100644 index 000000000..c66ef99e8 Binary files /dev/null and b/redhat/applications/office/koffice/koshell.png differ diff --git a/redhat/applications/office/koffice/trinity-koffice-rpmlintrc b/redhat/applications/office/koffice/trinity-koffice-rpmlintrc new file mode 100644 index 000000000..529351884 --- /dev/null +++ b/redhat/applications/office/koffice/trinity-koffice-rpmlintrc @@ -0,0 +1,2 @@ +setBadness('library-without-ldconfig-postun', 0) +setBadness('library-without-ldconfig-postin', 0) diff --git a/redhat/applications/office/kpilot/kpilot.spec b/redhat/applications/office/kpilot/kpilot.spec new file mode 100644 index 000000000..39f4382f6 --- /dev/null +++ b/redhat/applications/office/kpilot/kpilot.spec @@ -0,0 +1,229 @@ +# +# spec file for package kpilot (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg kpilot +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.7 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: TDE Palm Pilot hot-sync tool +Group: Applications/Utilities +URL: http://www.trinitydesktop.org + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils +BuildRequires: trinity-tdepim-devel >= %{tde_version} +BuildRequires: gettext + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: fdupes + +# ACL support +BuildRequires: libacl-devel + +# ICAL support +BuildRequires: libical-devel + +# IDN support +BuildRequires: libidn-devel + +# OPENSSL support +BuildRequires: openssl-devel + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +# FLEX +%if 0%{?suse_version} || 0%{?mgaversion} +BuildRequires: flex +%endif +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: flex +%if 0%{?rhel} != 5 +BuildRequires: flex-devel +%endif +%endif + +# PILOT support +BuildRequires: pilot-link-devel >= 0.12 + + +%description +KPilot is an application that synchronizes your Palm Pilot or similar device +(like the Handspring Visor) with your TDE 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 TDE counterparts. + + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%find_lang %{tde_pkg} + +# Unwanted files +%__rm -f %{?buildroot}%{tde_libdir}/libkpilot.so +%__rm -fr %{?buildroot}%{tde_tdeincludedir}/kpilot/ %{?buildroot}%{_includedir}/kpilot/ + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/kpilot.desktop Utility PDA SyncUtility X-KDE-Utilities-Peripherals +%suse_update_desktop_file -u -r %{?buildroot}%{tde_tdeappdir}/kpalmdoc.desktop Utility PDA X-TDE-Utilities-File +%endif + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%{tde_bindir}/kpalmdoc +%{tde_bindir}/kpilot +%{tde_bindir}/kpilotDaemon +%{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/ +%{tde_datadir}/apps/tdeconf_update/kpalmdoc.upd +%{tde_datadir}/apps/tdeconf_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}/services/*.desktop +%{tde_datadir}/servicetypes/kpilotconduit.desktop +%{tde_tdedocdir}/HTML/en/kpilot/ + + +%changelog diff --git a/redhat/applications/office/kpilot/trinity-kpilot-rpmlintrc b/redhat/applications/office/kpilot/trinity-kpilot-rpmlintrc new file mode 100644 index 000000000..529351884 --- /dev/null +++ b/redhat/applications/office/kpilot/trinity-kpilot-rpmlintrc @@ -0,0 +1,2 @@ +setBadness('library-without-ldconfig-postun', 0) +setBadness('library-without-ldconfig-postin', 0) diff --git a/redhat/applications/office/tellico/tellico.spec b/redhat/applications/office/tellico/tellico.spec new file mode 100644 index 000000000..7002a965b --- /dev/null +++ b/redhat/applications/office/tellico/tellico.spec @@ -0,0 +1,361 @@ +%if 0%{?fedora} >= 23 || 0%{?rhel} >= 9 +%define _hardened_ldflags %nil +%endif + +# +# spec file for package tellico (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that confolrms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg tellico +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_confdir %{_sysconfdir}/trinity +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 1.3.2.1 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Icollection manager for books, videos, music [Trinity] +Group: Applications/Utilities +URL: http://periapsis.org/tellico/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: trinity-tdemultimedia-devel >= %{tde_version} +BuildRequires: trinity-libkcal-devel >= %{tde_version} +BuildRequires: trinity-libpoppler-tqt-devel >= %{tde_version} +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: fdupes + +# POPPLER support +%if 0%{?rhel} >=6 || 0%{?fedora} >= 15 || 0%{?suse_version} +%if 0%{?suse_version} >= 1500 +BuildRequires: libpoppler-devel >= 0.12 +%else +BuildRequires: poppler-devel >= 0.12 +%endif +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}poppler-devel +%endif +%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5 +# On RHEL 5, the distro-provided poppler is too old. We built a newer one. +BuildRequires: trinity-poppler-devel >= 0.12 +%endif + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +# YAZ support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: yaz +BuildRequires: %{_lib}yaz-devel +%endif + +# XML2 support +BuildRequires: libxml2-devel + +# XSLT support +BuildRequires: libxslt-devel +%if 0%{?rhel} == 4 +# a bogus dep in libexslt.la file from EL-4 (WONTFIX bug http://bugzilla.redhat.com/142241) +BuildRequires: libgcrypt-devel +%endif + +# V4L support +%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?suse_version} +BuildRequires: libv4l-devel +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}v4l-devel +%endif + +# EXEMPI support +%if 0%{?suse_version} +BuildRequires: libexempi-devel +%else +BuildRequires: exempi-devel +%endif + +# PCRE support +BuildRequires: pcre-devel + +# IDN support +BuildRequires: libidn-devel + +# GAMIN support +# Not on openSUSE. +%if ( 0%{?rhel} && 0%{?rhel} <= 8 ) || ( 0%{?fedora} && 0%{?fedora} <= 33 ) || 0%{?mgaversion} || 0%{?mdkversion} +%define with_gamin 1 +BuildRequires: gamin-devel +%endif + +# OPENSSL support +BuildRequires: openssl-devel + +# ACL support +BuildRequires: libacl-devel + +# ATTR support +BuildRequires: libattr-devel + +# PYTHON support +%if 0%{?sle_version} >= 150400 || 0%{?rhel} >= 9 +%define python python3 +%define __python %__python3 +%else +%if 0%{?rhel} == 8 || 0%{?fedora} >= 31 || 0%{?suse_version} >= 1550 || 0%{?mgaversion} >= 8 +%global python python2 +%global __python %__python2 +%global python_sitearch %{python2_sitearch} +%else +%global python python +%endif +%endif +%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} +BuildRequires: %{python} +BuildRequires: %{python}-devel + +# Readline support +BuildRequires: readline-devel + + +Requires: %{name}-data = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: %{name}-scripts = %{?epoch:%{epoch}:}%{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. + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%{tde_bindir}/tellico +%{tde_datadir}/applications +%config(noreplace) %{tde_confdir}/tellicorc +%{tde_mandir}/man1/tellico.1* + +########## + +%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. + +%files data +%defattr(-,root,root,-) +%dir %{tde_datadir}/apps/tellico +%{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/hicolor/*/apps/tellico.png +%{tde_datadir}/icons/hicolor/*/mimetypes/application-x-tellico.png +%{tde_datadir}/icons/hicolor/scalable/apps/tellico.svg +%{tde_datadir}/icons/hicolor/scalable/mimetypes/application-x-tellico.svg +%{tde_datadir}/mime/packages/tellico.xml +%{tde_datadir}/mimelnk/application/x-tellico.desktop +%{tde_datadir}/apps/tdeconf_update/tellico-1-3-update.pl +%{tde_datadir}/apps/tdeconf_update/tellico-rename.upd +%{tde_datadir}/apps/tdeconf_update/tellico.upd + +########## + +%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. + +%files scripts +%defattr(-,root,root,-) +%{tde_datadir}/apps/tellico/data-sources +%{tde_datadir}/apps/tellico/z3950-servers.cfg + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + +if [ -r /usr/include/libv4l1-videodev.h ]; then +%__sed -i "src/barcode/barcode_v4l.h" -e "s|linux/videodev.h|libv4l1.h|" +fi + +%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8 || 0%{?mgaversion} >= 8 +%__sed -i "src/fetch/scripts/dark_horse_comics.py" \ + "src/fetch/scripts/ministerio_de_cultura.py" \ + "src/fetch/scripts/fr.allocine.py" \ + "src/translators/griffith2tellico.py" \ + -e "s|/usr/bin/env python|/usr/bin/env %{python}|" +%endif + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +# Warning: GCC visibility causes FTBFS [Bug #1285] +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_NO_BUILTIN_CHRPATH=ON \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DCONFIG_INSTALL_DIR="%{tde_confdir}" \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_LIBKCDDB=ON \ + -DWITH_LIBKCAL=ON \ + -DWITH_LIBBTPARSE=OFF \ + -DWITH_SAX_LOADER=ON \ +%if 0%{?rhel} == 5 + -DBUILD_WEBCAM_SUPPORT=OFF \ +%endif + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=$RPM_BUILD_ROOT -C build + +# 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" + +%find_lang %{tde_pkg} + + +%clean +%__rm -rf %{buildroot} + + +%changelog diff --git a/redhat/applications/polkit-agent-tde/polkit-agent-tde.spec b/redhat/applications/polkit-agent-tde/polkit-agent-tde.spec deleted file mode 100644 index c71ddce8e..000000000 --- a/redhat/applications/polkit-agent-tde/polkit-agent-tde.spec +++ /dev/null @@ -1,131 +0,0 @@ -# -# spec file for package polkit-agent-tde (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg polkit-agent-tde -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_confdir %{_sysconfdir}/trinity -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Version: 0.99.1 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: TDE dialogs for PolicyKit -Group: Environment/Desktop -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: libpolkit-tqt-devel - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: libtool - -%description -PolicyKit is an application-level toolkit for defining and handling the policy -that allows unprivileged processes to speak to privileged processes. - -It is a framework for centralizing the decision making process with respect to -granting access to privileged operations for unprivileged (desktop) applications. - -PolicyKit-agent-tde provides a D-Bus session bus service that is used to -bring up authentication dialogs used for obtaining privileges. - - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DBUILD_ALL=ON \ - -DWITH_ALL_OPTIONS=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%find_lang %{tde_pkg} - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%{_bindir}/polkit-agent-tde -%dir %{_datadir}/autostart -%{_datadir}/autostart/polkit-agent-tde.desktop - - -%changelog diff --git a/redhat/applications/qalculate-tde/qalculate-tde.spec b/redhat/applications/qalculate-tde/qalculate-tde.spec deleted file mode 100644 index d786285a8..000000000 --- a/redhat/applications/qalculate-tde/qalculate-tde.spec +++ /dev/null @@ -1,170 +0,0 @@ -# -# spec file for package qalculate-tde (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg qalculate-tde -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_confdir %{_sysconfdir}/trinity -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.9.7 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Powerful and easy to use desktop calculator - TDE version -Group: Applications/Multimedia -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: libtool - -BuildRequires: libqalculate-devel >= 0.9.6 - -%if 0%{?suse_version} == 1330 || 0%{?suse_version} >= 1500 || 0%{?rhel} -BuildRequires: cln-devel -%endif -%if 0%{?pclinuxos} >= 2018 -BuildRequires: libcln-devel -%endif -%if 0%{?mgaversion} >= 7 -BuildRequires: %{_lib}cln-devel -%endif - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - - -%description -Qalculate! is small and simple to use but with much power and versatility -underneath. Features include customizable functions, units, arbitrary -precision, plotting, and a graphical interface that uses a one-line -fault-tolerant expression entry (although it supports optional traditional -buttons). - -This package contains the TDE user interface of qalculate. - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_NO_BUILTIN_CHRPATH=ON \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - \ - -DBUILD_ALL=ON \ - -DWITH_ALL_OPTIONS=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%find_lang qalculate_tde - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file qalculate_tde -r TDE Utility Calculator -%endif - - -%clean -%__rm -rf %{buildroot} - - -%files -f qalculate_tde.lang -%defattr(-,root,root,-) -%{tde_bindir}/qalculate-tde -%{tde_datadir}/apps/qalculate_tde/ -%{tde_tdeappdir}/qalculate_tde.desktop -%{tde_tdedocdir}/HTML/en/qalculate_tde/ -%{tde_datadir}/icons/hicolor/*/apps/qalculate_tde.png -%{tde_datadir}/icons/hicolor/*/actions/qalculate_convert.png -%{tde_mandir}/man1/qalculate-tde.1* - - -%changelog diff --git a/redhat/applications/qt4-tqt-theme-engine/qt4-tqt-theme-engine.spec b/redhat/applications/qt4-tqt-theme-engine/qt4-tqt-theme-engine.spec deleted file mode 100644 index d564e576e..000000000 --- a/redhat/applications/qt4-tqt-theme-engine/qt4-tqt-theme-engine.spec +++ /dev/null @@ -1,158 +0,0 @@ -# -# spec file for package qt4-tqt-theme-engine (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg qt4-tqt-theme-engine -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%if "%{?_qt4_plugindir}" == "" -%define _qt4_plugindir %{_libdir}/qt4/plugins -%endif - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.1 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: TDE theme engine for Qt4 -Group: Applications/Utilities -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: autoconf automake libtool m4 -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: fdupes - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -# QT4 support -%if 0%{?suse_version} -%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150200 -BuildRequires: libqt4-devel -%else -BuildRequires: qt-devel -%endif -%else -BuildRequires: qt4-devel -%endif - - -%description -TDE theme engine for Qt4 - - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -# Fix compilation with 'lib64' -%if "%_lib" == "lib64" -%__sed -i */*.pro -e "s|/opt/trinity/lib|/opt/trinity/lib64|g" -%endif - -# Fix TDE include directory -%__sed -i */*.pro -e "s|INCLUDEPATH += /opt/trinity/include|INCLUDEPATH += %{tde_tdeincludedir}|" - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -if [ -x "%{_libdir}/qt4/bin/qmake" ]; then - export PATH="%{_libdir}/qt4/bin:${PATH}" -fi - -# Use QT4's qmake -qmake - - -# Not SMP SAFE ! -%__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install INSTALL_ROOT=%{buildroot} - -# Unwanted files (-devel ?) -%__rm -f %{?buildroot}%{_libdir}/libtdeqt4interface.so - - -%clean -%__rm -rf %{buildroot} - - -%files -%defattr(-,root,root,-) -%{_libdir}/libtdeqt4interface.so.1 -%{_libdir}/libtdeqt4interface.so.1.0 -%{_libdir}/libtdeqt4interface.so.1.0.0 -%dir %{_qt4_plugindir}/styles/ -%{_qt4_plugindir}/styles/libsimplestyleplugin.so - - -%changelog diff --git a/redhat/applications/rosegarden/rosegarden.spec b/redhat/applications/rosegarden/rosegarden.spec deleted file mode 100644 index c4debe030..000000000 --- a/redhat/applications/rosegarden/rosegarden.spec +++ /dev/null @@ -1,258 +0,0 @@ -# -# spec file for package rosegarden (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg rosegarden -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -# Required for Mageia 2: removes the ldflag '--no-undefined' -%define _disable_ld_no_undefined 1 - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 1.7.0 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Music editor and MIDI/audio sequencer [Trinity] -Group: Applications/Multimedia -URL: http://www.rosegardenmusic.com/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: libtool -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: fdupes - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -BuildRequires: fftw-devel -BuildRequires: liblo-devel -BuildRequires: fontconfig-devel - -# DSSI support -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?suse_version} -BuildRequires: dssi-devel -%endif - -# 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 - -# ACL support -BuildRequires: libacl-devel - -# LIRC support -%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 -%define with_lirc 1 -BuildRequires: lirc-devel -%endif - -# IDN support -BuildRequires: libidn-devel - -# GAMIN support -# Not on openSUSE. -%if ( 0%{?rhel} && 0%{?rhel} <= 8 ) || ( 0%{?fedora} && 0%{?fedora} <= 33 ) || 0%{?mgaversion} || 0%{?mdkversion} -%define with_gamin 1 -BuildRequires: gamin-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 - -# OPENSSL support -BuildRequires: openssl-devel - - -Requires: %{name}-data = %{?epoch:%{epoch}:}%{version}-%{release} - - -%description -Rosegarden is a TDE 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} = %{?epoch:%{epoch}:}%{version}-%{release} -Summary: music editor and MIDI/audio sequencer data files [Trinity] - -%description data -Rosegarden is a TDE 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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -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} \ - \ - -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 \ - -DWANT_DEBUG=OFF \ - -DWANT_FULLDBG=OFF \ - -DBUILD_ALL=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -# Unwanted files -%__rm -f %{?buildroot}%{tde_libdir}/*.a - -%find_lang %{tde_pkg} - - -%clean -%__rm -rf %{buildroot} - - -%files -%defattr(-,root,root,-) -%{tde_bindir}/rosegarden -%{tde_bindir}/rosegarden-audiofile-importer -%{tde_bindir}/rosegarden-lilypondview -%{tde_bindir}/rosegarden-project-package -%{tde_bindir}/rosegardensequencer -%{tde_mandir}/man1/rosegarden-audiofile-importer.1* -%{tde_mandir}/man1/rosegarden-lilypondview.1* -%{tde_mandir}/man1/rosegarden-project-package.1* -%{tde_mandir}/man1/rosegarden.1* - -%files data -f %{tde_pkg}.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 diff --git a/redhat/applications/settings/kima/kima.spec b/redhat/applications/settings/kima/kima.spec new file mode 100644 index 000000000..279725f90 --- /dev/null +++ b/redhat/applications/settings/kima/kima.spec @@ -0,0 +1,172 @@ +# +# spec file for package kima (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg kima +%define tde_prefix /opt/trinity +%define tde_appdir %{tde_datadir}/applications +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.7.3.2 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Kicker monitoring applet [Trinity] +Group: Applications/Utilities +URL: http://www.elliptique.net/~ken/kima/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: gettext + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +# UDEV support +%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} || 0%{?rhel} >= 6 +%define with_tdehwlib 1 +BuildRequires: libudev-devel +%endif + +# IDN support +BuildRequires: libidn-devel + +# OPENSSL support +BuildRequires: openssl-devel + + +%description +This applet monitors various temperature, +frequency and fan sources in your kicker +panel. + + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + -DPLUGIN_INSTALL_DIR="%{tde_tdelibdir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + -DWITH_NVCONTROL=OFF \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + + +%find_lang %{tde_pkg} + + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING README.md TODO +%{tde_tdelibdir}/libkima.la +%{tde_tdelibdir}/libkima.so +%{tde_datadir}/apps/kicker/applets/kima.desktop +%{tde_tdedocdir}/HTML/en/kima/ + + +%changelog diff --git a/redhat/applications/settings/kiosktool/kiosktool.spec b/redhat/applications/settings/kiosktool/kiosktool.spec new file mode 100644 index 000000000..913ff3ed4 --- /dev/null +++ b/redhat/applications/settings/kiosktool/kiosktool.spec @@ -0,0 +1,186 @@ +# +# spec file for package kiosktool (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg kiosktool +%define tde_prefix /opt/trinity +%define tde_appdir %{tde_datadir}/applications +%define tde_bindir %{tde_prefix}/bin +%define tde_confdir %{_sysconfdir}/trinity +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 1.0 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Tool to configure the TDE kiosk framework +Group: Applications/Multimedia +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: gettext + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig + +# ACL support +BuildRequires: libacl-devel + +# IDN support +BuildRequires: libidn-devel + +# OPENSSL support +BuildRequires: openssl-devel + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + + +%description +A Point&Click tool for system administrators to enable +TDE's KIOSK features or otherwise preconfigure TDE for +groups of users. + + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf $RPM_BUILD_ROOT +%__make install DESTDIR=$RPM_BUILD_ROOT -C build + +%find_lang %{tde_pkg} + +%__mkdir_p "%{?buildroot}%{tde_confdir}" +cat <"%{?buildroot}%{tde_confdir}/kiosktoolrc" +[General] +GroupBlacklist=bin,daemon,sys,tty,disk,lp,www,kmem,wheel,mail,news,uucp,shadow,utmp,at,xok,named,ftp,postfix,maildrop,man,sshd,distcc,nobody,nogroup +EOF + +# Updates applications categories for openSUSE +echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/%{tde_pkg}.desktop" +%if 0%{?suse_version} +%suse_update_desktop_file "%{?buildroot}%{tde_tdeappdir}/%{tde_pkg}.desktop" System SystemSetup +%endif + + +%clean +%__rm -rf $RPM_BUILD_ROOT + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%doc ChangeLog COPYING README.md TODO +%{tde_bindir}/kiosktool +%{tde_bindir}/kiosktool-tdedirs +%{tde_tdeappdir}/kiosktool.desktop +%{tde_datadir}/apps/kiosktool/ +%lang(da) %{tde_tdedocdir}/HTML/da/kiosktool/ +%lang(en) %{tde_tdedocdir}/HTML/en/kiosktool/ +%lang(it) %{tde_tdedocdir}/HTML/it/kiosktool/ +%lang(nl) %{tde_tdedocdir}/HTML/nl/kiosktool/ +%lang(pt) %{tde_tdedocdir}/HTML/pt/kiosktool/ +%lang(sv) %{tde_tdedocdir}/HTML/sv/kiosktool/ +%{tde_datadir}/icons/crystalsvg/*/apps/kiosktool.png +%config(noreplace) %{tde_confdir}/kiosktoolrc +%{tde_mandir}/man1/*.1* + + +%changelog diff --git a/redhat/applications/settings/kkbswitch/kkbswitch.spec b/redhat/applications/settings/kkbswitch/kkbswitch.spec new file mode 100644 index 000000000..0f6c24db8 --- /dev/null +++ b/redhat/applications/settings/kkbswitch/kkbswitch.spec @@ -0,0 +1,191 @@ +# +# spec file for package kkbswitch (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg kkbswitch +%define tde_prefix /opt/trinity +%define tde_appdir %{tde_datadir}/applications +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 1.4.3 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Keyboard layout indicator for TDE +Group: Applications/Utilities +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig + +# ACL support +BuildRequires: libacl-devel + +# IDN support +BuildRequires: libidn-devel + +# OPENSSL support +BuildRequires: openssl-devel + +# XKBFILES support +BuildRequires: libxkbfile-devel + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + + +%description +KKBSwitch displays an icon in the system tray that indicates which layout is +currently active and enables you to switch layouts by clicking the icon or by +selecting from the menu. It works with all desktop environments. + +Features include: +- Configurable icons for the keyboard layouts. +- The "toggle mode" to toggle between the two most recently-used keyboard + layouts. +- Choose to use a global layout or per-application or per-window layouts. +- Configurable keyboard shortcuts. + + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%find_lang %{tde_pkg} + +# Fix desktop icon location +if [ -d "%{?buildroot}%{tde_datadir}/applnk" ]; then + %__mkdir_p "%{?buildroot}%{tde_tdeappdir}" + %__mv -f "%{?buildroot}%{tde_datadir}/applnk/"*"/%{tde_pkg}.desktop" "%{?buildroot}%{tde_tdeappdir}" + %__rm -r "%{buildroot}%{tde_datadir}/applnk" +fi + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file -r "%{?buildroot}%{tde_tdeappdir}/%{tde_pkg}.desktop" System TrayIcon +%endif + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog README.md TODO +%{tde_bindir}/kkbswitch +%{tde_tdeappdir}/kkbswitch.desktop +%{tde_datadir}/apps/kkbswitch/ +%{tde_datadir}/apps/tdeconf_update/kkbswitch.upd +%{tde_datadir}/apps/tdeconf_update/kkbswitch_update_14_icons +%{tde_datadir}/apps/tdeconf_update/kkbswitch_update_14_options +%{tde_datadir}/autostart/kkbswitch.desktop +%{tde_datadir}/X11/xkb/symbols/ru_ua +%{tde_tdedocdir}/HTML/en/kkbswitch/ +%{tde_mandir}/man1/kkbswitch.1 +%{tde_datadir}/icons/hicolor/*/apps/kkbswitch.png + + +%changelog diff --git a/redhat/applications/settings/klcddimmer/klcddimmer.spec b/redhat/applications/settings/klcddimmer/klcddimmer.spec new file mode 100644 index 000000000..c62c09936 --- /dev/null +++ b/redhat/applications/settings/klcddimmer/klcddimmer.spec @@ -0,0 +1,158 @@ +# +# spec file for package klcddimmer (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg klcddimmer +%define tde_prefix /opt/trinity +%define tde_appdir %{tde_datadir}/applications +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.3 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Applet to adjust LCD brightness for TDE +Group: Applications/Utilities +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig + +# IDN support +BuildRequires: libidn-devel + +# OPENSSL support +BuildRequires: openssl-devel + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + + +%description + + + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%find_lang %{tde_pkg} || touch %{tde_pkg}.lang + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING LICENSE NEWS README.md +%{tde_libdir}/klcddimmer_panelapplet.la +%{tde_libdir}/klcddimmer_panelapplet.so +%{tde_datadir}/apps/kicker/applets/klcddimmer.desktop +%{tde_tdedocdir}/HTML/en/klcddimmer/ +%{tde_datadir}/icons/hicolor/*/apps/klcddimmer.png + + +%changelog diff --git a/redhat/applications/settings/kmyfirewall/kmyfirewall.spec b/redhat/applications/settings/kmyfirewall/kmyfirewall.spec new file mode 100644 index 000000000..7998140e5 --- /dev/null +++ b/redhat/applications/settings/kmyfirewall/kmyfirewall.spec @@ -0,0 +1,224 @@ +# +# spec file for package kmyfirewall (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg kmyfirewall +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_confdir %{_sysconfdir}/trinity +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 1.1.1 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Iptables based firewall configuration tool for TDE +Group: Applications/Utilities +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz +Source1: %{name}-rpmlintrc + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: autoconf automake libtool m4 +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: libtool + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + + +%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.) + +%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/ +%{tde_datadir}/apps/kmfipteditorpart/ +%{tde_datadir}/apps/kmfsystray/ +%{tde_datadir}/apps/kmyfirewall/ +%{tde_datadir}/config.kcfg/kmfconfig.kcfg +%config(noreplace) %{tde_confdir}/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 + +########## + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +%{summary} + +%files devel +%{tde_tdeincludedir}/kmyfirewall +%{tde_libdir}/libkmfcore.la +%{tde_libdir}/libkmfcore.so +%{tde_libdir}/libkmfwidgets.la +%{tde_libdir}/libkmfwidgets.so + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export kde_confdir="%{tde_confdir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + \ + --disable-dependency-tracking \ + --disable-debug \ + --enable-new-ldflags \ + --enable-final \ + --enable-closure \ + --enable-rpath \ + --disable-gcc-hidden-visibility + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file -r "%{tde_pkg}" System Network +%endif + + +%clean +%__rm -rf %{buildroot} + + +%changelog diff --git a/redhat/applications/settings/kmyfirewall/trinity-kmyfirewall-rpmlintrc b/redhat/applications/settings/kmyfirewall/trinity-kmyfirewall-rpmlintrc new file mode 100644 index 000000000..529351884 --- /dev/null +++ b/redhat/applications/settings/kmyfirewall/trinity-kmyfirewall-rpmlintrc @@ -0,0 +1,2 @@ +setBadness('library-without-ldconfig-postun', 0) +setBadness('library-without-ldconfig-postin', 0) diff --git a/redhat/applications/settings/knetworkmanager8/knetworkmanager8.spec b/redhat/applications/settings/knetworkmanager8/knetworkmanager8.spec new file mode 100644 index 000000000..923d189f4 --- /dev/null +++ b/redhat/applications/settings/knetworkmanager8/knetworkmanager8.spec @@ -0,0 +1,193 @@ +# +# spec file for package knetworkmanager8 (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg knetworkmanager +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.8 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Trinity applet for Network Manager +Group: Applications/Internet +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}8-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-dbus-1-tqt-devel >= 1:0.9 +BuildRequires: trinity-dbus-tqt-devel >= 1:0.63 +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: autoconf automake libtool m4 +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: libtool + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +%if 0%{?rhel} || 0%{?fedora} +Requires: NetworkManager-gnome +%else +Requires: networkmanager +%endif + +# NetworkManager support +BuildRequires: NetworkManager-glib-devel + +# HAL support +BuildRequires: hal-devel + +Obsoletes: trinity-knetworkmanager < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-knetworkmanager = %{?epoch:%{epoch}:}%{version}-%{release} + +%description +KNetworkManager is a system tray applet for controlling network +connections on systems that use the NetworkManager daemon. + +%files -f knetworkmanager.lang +%defattr(-,root,root,-) +%{tde_bindir}/knetworkmanager +%{tde_libdir}/*.la +%{tde_libdir}/*.so +%{tde_tdelibdir}/knetworkmanager_openvpn.so.* +%{tde_tdelibdir}/knetworkmanager_pptp.so.* +%{tde_tdelibdir}/knetworkmanager_vpnc.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 +%{tde_datadir}/services/knetworkmanager_openvpn.desktop +%{tde_datadir}/services/knetworkmanager_pptp.desktop +%{tde_datadir}/services/knetworkmanager_vpnc.desktop + +########## + +%package devel +Summary: Common data shared among the MySQL GUI Suites +Group: Development/Libraries +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} + +Obsoletes: trinity-knetworkmanager-devel < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-knetworkmanager-devel = %{?epoch:%{epoch}:}%{version}-%{release} + +%description devel +Development headers for knetworkmanager + +%files devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/*.h +%{tde_tdelibdir}/*.la +%{tde_tdelibdir}/*.so + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}8-%{tde_version}%{?preversion:~%{preversion}} + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" + +# Warning: --enable-final causes FTBFS +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + \ + --disable-dependency-tracking \ + --disable-debug \ + --enable-new-ldflags \ + --disable-final \ + --enable-closure \ + --enable-rpath \ + --disable-gcc-hidden-visibility \ + \ + --with-openvpn \ + --with-vpnc \ + --with-pptp + +# Does not support parallel build +%__make + + +%install +%__rm -rf $RPM_BUILD_ROOT +%__make install DESTDIR=%{?buildroot} +%find_lang knetworkmanager + + +%clean +%__rm -rf $RPM_BUILD_ROOT + + +%changelog diff --git a/redhat/applications/settings/tde-guidance/tde-guidance.spec b/redhat/applications/settings/tde-guidance/tde-guidance.spec new file mode 100644 index 000000000..202b88003 --- /dev/null +++ b/redhat/applications/settings/tde-guidance/tde-guidance.spec @@ -0,0 +1,462 @@ +# +# spec file for package tde-guidance (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg tde-guidance +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define __arch_install_post %{nil} + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.8.0svn20080103 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: A collection of system administration tools for Trinity +Group: Applications/Utilities +URL: http://www.simonzone.com/software/guidance + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz +Source1: trinity-%{tde_pkg}-rpmlintrc + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: trinity-pytdeextensions +BuildRequires: trinity-libpythonize0-devel +BuildRequires: trinity-python-trinity +BuildRequires: chrpath + +BuildRequires: autoconf automake libtool m4 +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: fdupes + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +# SIP support +BuildRequires: sip4-tqt-devel >= 4.10.5 +Requires: sip4-tqt >= 4.10.5 + +# PYTHON-QT support +BuildRequires: python-tqt-devel +BuildRequires: trinity-python-trinity-devel +BuildRequires: trinity-pytqt-tools + +# LIBXXF86VM support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}xxf86vm-devel +%endif +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} >= 1210 +BuildRequires: libXxf86vm-devel +%endif + +# XSCREENSAVER support +# RHEL 4: disabled +# RHEL 6: available in EPEL +# RHEL 7: available in NUX +# RHEL 8: available in EPEL +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version} +%define with_xscreensaver 1 + +%if 0%{?fedora} || 0%{?rhel} >= 5 +BuildRequires: libXScrnSaver-devel +BuildRequires: xscreensaver +BuildRequires: xscreensaver-base +BuildRequires: xscreensaver-extras +%if 0%{?fedora} +BuildRequires: xscreensaver-extras-base +%endif +BuildRequires: xscreensaver-gl-base +BuildRequires: xscreensaver-gl-extras +%endif + +%if 0%{?suse_version} +BuildRequires: libXScrnSaver-devel +BuildRequires: xscreensaver +BuildRequires: xscreensaver-data +BuildRequires: xscreensaver-data-extra +%endif + +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?mgaversion} >= 4 +BuildRequires: %{_lib}xscrnsaver-devel +%else +BuildRequires: %{_lib}xscrnsaver%{?mgaversion:1}-devel +%endif +BuildRequires: xscreensaver +BuildRequires: xscreensaver-base +%if 0%{?pclinuxos} == 0 +BuildRequires: xscreensaver-extrusion +%endif +BuildRequires: xscreensaver-gl +%endif +%endif + +# PYTHON support +%if 0%{?rhel} >= 8 || 0%{?fedora} >= 31 || 0%{?suse_version} >= 1550 || 0%{?mgaversion} >= 8 +%global python python2 +%global __python %__python2 +%global python_sitearch %{python2_sitearch} +%else +%global python python +%endif +%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} +BuildRequires: %{python} +BuildRequires: %{python}-devel + +Requires: python-tqt +Requires: trinity-python-trinity +Requires: trinity-pytdeextensions +%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +Requires: hwdata +%endif + +Requires: %{name}-backends = %{?epoch:%{epoch}:}%{version}-%{release} + +# POWERMANAGER support (requires HAL) +#define with_powermanager 1 +Obsoletes: trinity-tde-guidance-powermanager < %{?epoch:%{epoch}:}%{version}-%{release} + +Obsoletes: trinity-guidance < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-guidance = %{?epoch:%{epoch}:}%{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. + +%files +%defattr(-,root,root,-) +%doc ChangeLog COPYING README TODO +%{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_tdeappdir}/*.desktop +%{tde_datadir}/icons/crystalsvg/*/*/*.png +%{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}/mountconfig.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 powermanager +%if 0%{?with_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 +%endif + +########## + +%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 < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-guidance-backends = %{?epoch:%{epoch}:}%{version}-%{release} + +%description backends +This package contains the platform neutral backends used in the +Guidance configuration tools. + +%files backends +%defattr(-,root,root,-) +%dir %{python_sitearch}/%{name} +%{python_sitearch}/%{name}/MicroHAL.py* +%{python_sitearch}/%{name}/drivedetect.py* +%{python_sitearch}/%{name}/wineread.py* +%{python_sitearch}/%{name}/winewrite.py* +%{python_sitearch}/%{name}/xf86misc.py* +%{python_sitearch}/ixf86misc.so + +########## + +%if 0%{?with_powermanager} + +%package powermanager +Group: Applications/Utilities +Summary: HAL based power manager applet [Trinity] +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: hal + +Obsoletes: trinity-guidance-powermanager < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-guidance-powermanager = %{?epoch:%{epoch}:}%{version}-%{release} + +%if "%{tde_prefix}" == "/usr" +Conflicts: guidance-power-manager +Conflicts: kde-guidance-powermanager +%endif + +%description powermanager +A power management applet to indicate battery levels and perform hibernate or +suspend using HAL. + +%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 + +%endif + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + +%if 0%{?rhel} || 0%{?mgaversion} || 0%{?mdkversion} +%__sed -i "userconfig/unixauthdb.py" \ + -e "s|self.first_uid = .*|self.first_uid = 500|" \ + -e "s|self.first_gid = .*|self.first_gid = 500|" +%endif + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +#export PYTHONPATH=%{python_sitearch}/python-tqt + +# Avoids 'error: byte-compiling is disabled.' on Mandriva/Mageia +export PYTHONDONTWRITEBYTECODE= + +# FTBFS on PCLOS ... +export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -I%{tde_tdeincludedir} -I%{tde_includedir}" + +# Specific path for RHEL4 +if [ -d /usr/X11R6 ]; then + export RPM_OPT_FLAGS="${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 + +%__python ./setup.py build + + +%install +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export EXTRA_MODULE_DIR="%{python_sitearch}/%{name}" +export SIPTQT_DIR="%{python_sitearch}/sip4_tqt" +export PYTHONPATH="%{python_sitearch}/python-tqt" + +# Support for 'sip4-tqt' +export PYTHONPATH="%{python_sitearch}/sip4_tqt:${PYTHONPATH}" + +# For Mageia/Mandriva: Avoids 'error: byte-compiling must be disabled. +export PYTHONDONTWRITEBYTECODE= + +%__rm -rf %{buildroot} +%__python ./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 +%__cp -f %{buildroot}%{tde_datadir}/apps/guidance/pics/hi32-app-daemons.png \ + %{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps/daemons.png +%__cp -f %{buildroot}%{tde_datadir}/apps/guidance/pics/kcmpartitions.png \ + %{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps/disksfilesystems.png +%__cp -f %{buildroot}%{tde_datadir}/apps/guidance/pics/hi32-user.png \ + %{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps/userconfig.png +%__cp -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 -r %{tde_libdir} %{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} + +# Generates the startup scripts +%__rm -f %{buildroot}%{tde_bindir}/* +%__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 + +# fix script-not-executable +%__chmod 0755 %{buildroot}%{python_sitearch}/%{name}/fuser.py +%__chmod 0755 %{buildroot}%{python_sitearch}/%{name}/grubconfig.py + +##### BACKENDS INSTALLATION + +# 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 + +%if 0%{?with_powermanager} +##### 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}/sip4-tqt +%{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 + +%else +%__rm -f %{buildroot}%{python_sitearch}/%{name}/gpmhelper.py* +%__rm -f %{buildroot}%{python_sitearch}/%{name}/guidance-power-manager.py* +%__rm -f %{buildroot}%{python_sitearch}/%{name}/guidance_power_manager_ui.py* +%__rm -f %{buildroot}%{python_sitearch}/%{name}/powermanage.py* +%__rm -f %{buildroot}%{python_sitearch}/%{name}/powermanager_ui.py* +%__rm -f %{buildroot}%{tde_datadir}/apps/guidance/powermanager_ui.ui + +%endif + +# Replace all '#!' calls to python with /usr/bin/python +# and make them executable +%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8 || 0%{?mgaversion} >= 8 +%define python /usr/bin/python2 +%else +%define python /usr/bin/python +%endif +for i in `find %{buildroot} -type f`; do + sed '1s,#!.*python[^ ]*\(.*\),#! %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 {} \; + + +%clean +%__rm -rf %{buildroot} + + +%changelog diff --git a/redhat/applications/settings/tde-guidance/trinity-tde-guidance-rpmlintrc b/redhat/applications/settings/tde-guidance/trinity-tde-guidance-rpmlintrc new file mode 100644 index 000000000..bd7a50a17 --- /dev/null +++ b/redhat/applications/settings/tde-guidance/trinity-tde-guidance-rpmlintrc @@ -0,0 +1 @@ +setBadness('file-contains-buildroot', 0) diff --git a/redhat/applications/settings/tde-systemsettings/tde-settings-laptops.directory b/redhat/applications/settings/tde-systemsettings/tde-settings-laptops.directory new file mode 100644 index 000000000..d37d9ba13 --- /dev/null +++ b/redhat/applications/settings/tde-systemsettings/tde-settings-laptops.directory @@ -0,0 +1,14 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Laptops & Power +Name[br]=Gremm +Name[el]=Ισχύς +Name[it]=Energia +Name[mt]=Elettriku +Name[nl]=Energie +Name[pa]=ਊਰਜਾ(power) +Name[pt_BR]=Energia +Name[ru]=Управление питанием +Name[sv]=Effekt +Icon=energy +OnlyShowIn=TDE; diff --git a/redhat/applications/settings/tde-systemsettings/tde-systemsettings.spec b/redhat/applications/settings/tde-systemsettings/tde-systemsettings.spec new file mode 100644 index 000000000..c51e46f4c --- /dev/null +++ b/redhat/applications/settings/tde-systemsettings/tde-systemsettings.spec @@ -0,0 +1,196 @@ +# +# spec file for package tde-systemsettings (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg tde-systemsettings +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_confdir %{_sysconfdir}/trinity +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_sysconfdir %{_sysconfdir}/trinity +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.0svn20070312 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Easy to use control centre for TDE +Group: Applications/Utilities +URL: http://www.trinitydesktop.org + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz +Source1: tde-settings-laptops.directory + + +Provides: trinity-kde-systemsettings = %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: trinity-kde-systemsettings < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-systemsettings = %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: trinity-systemsettings < %{?epoch:%{epoch}:}%{version}-%{release} + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: fdupes + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +%if 0%{?suse_version} == 0 || 0%{?sle_version} <= 150300 +Requires: trinity-guidance +%endif + + +%description +System preferences is a replacement for the TDE +Control Centre with an improved user interface. + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +# Warning: GCC visibility causes FTBFS [Bug #1285] +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_NO_BUILTIN_CHRPATH=ON \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DCONFIG_INSTALL_DIR="%{tde_confdir}" \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DSYSCONF_INSTALL_DIR="/etc/trinity" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DBUILD_ALL=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%__install -D -m 644 %{SOURCE1} %{buildroot}%{tde_datadir}/desktop-directories/tde-settings-laptops.directory + +# Unwanted files +%__rm -f %{buildroot}%{tde_datadir}/applications/tde/kcmfontinst.desktop +%__rm -f %{buildroot}%{tde_datadir}/desktop-directories/tde-settings-power.directory +%__rm -f %{buildroot}%{tde_datadir}/desktop-directories/tde-settings-system.directory + +%__rm -f %{buildroot}%{tde_datadir}/applications/tde/laptop.desktop + +echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/audioencoding.desktop" +echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/defaultapplication.desktop" +echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/kcm_knetworkconfmodule_ss.desktop" +echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/medianotifications.desktop" +echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/systemsettings.desktop" + +# Fix translation names +for d in "%{buildroot}%{tde_datadir}/locale/"*"/LC_MESSAGES"; do + mv "${d}/"*".mo" "${d}/%{tde_pkg}.mo" +done + +%find_lang %{tde_pkg} + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%doc README.md TODO +%dir %{tde_sysconfdir}/xdg +%dir %{tde_sysconfdir}/xdg/menus +%dir %{tde_sysconfdir}/xdg/menus/applications-merged +%{tde_sysconfdir}/xdg/menus/applications-merged/tde-system-settings-merge.menu +%{tde_sysconfdir}/xdg/menus/tde-system-settings.menu +%{tde_bindir}/systemsettings +%{tde_datadir}/applications/tde/audioencoding.desktop +%{tde_datadir}/applications/tde/defaultapplication.desktop +%{tde_datadir}/applications/tde/kcm_knetworkconfmodule_ss.desktop +%{tde_datadir}/applications/tde/medianotifications.desktop +%{tde_datadir}/applications/tde/systemsettings.desktop +%{tde_datadir}/apps/systemsettings/ +%config(noreplace) %{tde_confdir}/systemsettingsrc +%{tde_datadir}/desktop-directories/*.directory +%{tde_datadir}/icons/crystalsvg/*/apps/systemsettings.png +%{tde_tdedocdir}/HTML/en/tde-systemsettings/ +%{tde_mandir}/man1/systemsettings.1* + +%changelog diff --git a/redhat/applications/settings/tdenetworkmanager/tdenetworkmanager.spec b/redhat/applications/settings/tdenetworkmanager/tdenetworkmanager.spec new file mode 100644 index 000000000..e1b15a209 --- /dev/null +++ b/redhat/applications/settings/tdenetworkmanager/tdenetworkmanager.spec @@ -0,0 +1,250 @@ +# +# spec file for package tdenetworkmanager (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg tdenetworkmanager +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.9 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Trinity applet for Network Manager +Group: Applications/Internet +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz +Source1: %{name}-rpmlintrc + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: libtool +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: fdupes + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +Obsoletes: trinity-knetworkmanager < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-knetworkmanager = %{?epoch:%{epoch}:}%{version}-%{release} + +# NETWORKMANAGER support +%if 0%{?rhel} || 0%{?fedora} +%if 0%{?fedora} >= 20 || 0%{?rhel} >= 7 +Requires: NetworkManager +%if 0%{?fedora} >= 29 || 0%{?rhel} >= 8 +BuildRequires: NetworkManager-libnm-devel +%else +BuildRequires: NetworkManager-devel +%endif +%else +Requires: NetworkManager-gnome +%endif +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +Requires: networkmanager +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?mgaversion} != 8 +BuildRequires: %{_lib}nm-util-devel +%endif +%endif +%if 0%{?rhel} || 0%{?fedora} || 0%{?mdkversion} +%if 0%{?pclinuxos} == 0 +%if 0%{?fedora} >= 29 || 0%{?rhel} >= 8 +BuildRequires: NetworkManager-libnm-devel +%else +BuildRequires: NetworkManager-glib-devel +%endif +%endif +%endif +%if 0%{?suse_version} +BuildRequires: NetworkManager-devel +Requires: NetworkManager +%endif + +# ACL support +BuildRequires: libacl-devel + +# DBUS support +BuildRequires: trinity-dbus-1-tqt-devel >= 1:0.9 +BuildRequires: trinity-dbus-tqt-devel >= 1:0.63 + +# ACL support +BuildRequires: libacl-devel + +# UDEV support +%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} || 0%{?rhel} >= 6 +BuildRequires: libudev-devel +%endif + +# IDN support +BuildRequires: libidn-devel + +# GAMIN support +# Not on openSUSE. +%if ( 0%{?rhel} && 0%{?rhel} <= 8 ) || ( 0%{?fedora} && 0%{?fedora} <= 33 ) || 0%{?mgaversion} || 0%{?mdkversion} +%define with_gamin 1 +BuildRequires: gamin-devel +%endif + +# OPENSSL support +BuildRequires: openssl-devel + + +%description +TDENetworkManager is a system tray applet for controlling network +connections on systems that use the NetworkManager daemon. + +%post +# Prevent autostart of 'nm-applet', if installed. +if [ -r "/etc/xdg/autostart/nm-applet.desktop" ]; then + if ! grep -qw "TDE" "/etc/xdg/autostart/nm-applet.desktop" ; then + sed -i "/etc/xdg/autostart/nm-applet.desktop" -e "s|\(NotShowIn=.*\)|\1TDE;|" + fi +fi + +%files +%defattr(-,root,root,-) +%{tde_bindir}/tdenetworkmanager +%{tde_libdir}/*.la +%{tde_libdir}/*.so +%{_sysconfdir}/dbus-1/system.d/tdenetworkmanager.conf +%{tde_tdeappdir}/tdenetworkmanager.desktop +%{tde_datadir}/apps/tdenetworkmanager +%{tde_datadir}/icons/hicolor/*/apps/tdenetworkmanager* +%{tde_datadir}/servicetypes/tdenetworkmanager_plugin.desktop +%{tde_datadir}/servicetypes/tdenetworkmanager_vpnplugin.desktop +%{tde_datadir}/autostart/tdenetworkmanager.desktop +#{tde_datadir}/services/tdenetman_openvpn.desktop +#{tde_datadir}/services/tdenetman_pptp.desktop +#{tde_datadir}/services/tdenetman_strongswan.desktop +#{tde_datadir}/services/tdenetman_vpnc.desktop +#{tde_tdedocdir}/HTML/en/tdenetworkmanager/ + +########## + +%package devel +Summary: Common data shared among the MySQL GUI Suites +Group: Development/Libraries +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} + +%description devel +Development headers for tdenetworkmanager + +%files devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/*.h +%{tde_tdelibdir}/*.la +%{tde_tdelibdir}/*.so + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -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} \ + .. + +%__make %{?_smp_mflags} + + +%install +%__rm -rf $RPM_BUILD_ROOT +%__make install DESTDIR=%{?buildroot} -C build + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file -r %{tde_pkg} Utility TrayIcon System Applet +%endif + + +%clean +%__rm -rf $RPM_BUILD_ROOT + + +%changelog diff --git a/redhat/applications/settings/tdenetworkmanager/trinity-tdenetworkmanager-rpmlintrc b/redhat/applications/settings/tdenetworkmanager/trinity-tdenetworkmanager-rpmlintrc new file mode 100644 index 000000000..8668d5e81 --- /dev/null +++ b/redhat/applications/settings/tdenetworkmanager/trinity-tdenetworkmanager-rpmlintrc @@ -0,0 +1 @@ +setBadness('suse-dbus-unauthorized-service', 0) diff --git a/redhat/applications/settings/tdesudo/tdesudo.spec b/redhat/applications/settings/tdesudo/tdesudo.spec new file mode 100644 index 000000000..89ffa7add --- /dev/null +++ b/redhat/applications/settings/tdesudo/tdesudo.spec @@ -0,0 +1,164 @@ +# +# spec file for package tdesudo (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg tdesudo +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 2.5.1 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Sudo frontend for Trinity +Group: Applications/Utilities +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: fdupes + +# ACL support +BuildRequires: libacl-devel + +# IDN support +BuildRequires: libidn-devel + +# OPENSSL support +BuildRequires: openssl-devel + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +Obsoletes: trinity-kdesudo < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-kdesudo = %{?epoch:%{epoch}:}%{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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%find_lang %{tde_pkg} + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%{tde_bindir}/tdesudo +%{tde_tdedocdir}/HTML/en/tdesudo/ +%{tde_mandir}/man1/*.1* + + +%changelog diff --git a/redhat/applications/settings/wlassistant/wlassistant.spec b/redhat/applications/settings/wlassistant/wlassistant.spec new file mode 100644 index 000000000..85fefd29f --- /dev/null +++ b/redhat/applications/settings/wlassistant/wlassistant.spec @@ -0,0 +1,203 @@ +# +# spec file for package wlassistant (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg wlassistant +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.5.7 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: User friendly TDE frontend for wireless network connection +Group: Applications/Utilities +URL: http://wlassistant.sourceforge.net/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: libtool +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: fdupes + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +# Wireless support +%if 0%{?fedora} >= 6 || 0%{?rhel} >= 5 +BuildRequires: wireless-tools-devel +%endif +%if 0%{?mgaversion} == 2 || 0%{?mdkversion} +BuildRequires: %{_lib}iw29-devel +%endif +%if 0%{?rhel} == 5 || 0%{?suse_version} +BuildRequires: wireless-tools +%endif +%if 0%{?suse_version} || 0%{?mgaversion} >= 3 +BuildRequires: libiw-devel +%endif + +# IDN support +BuildRequires: libidn-devel + +# GAMIN support +# Not on openSUSE. +%if ( 0%{?rhel} && 0%{?rhel} <= 8 ) || ( 0%{?fedora} && 0%{?fedora} <= 33 ) || 0%{?mgaversion} || 0%{?mdkversion} +%define with_gamin 1 +BuildRequires: gamin-devel +%endif + +# PYTHON support +%if 0%{?sle_version} >= 150400 || 0%{?rhel} >= 9 +%define python python3 +%define __python %__python3 +%else +%if 0%{?rhel} == 8 || 0%{?fedora} >= 31 || 0%{?suse_version} >= 1550 || 0%{?mgaversion} >= 8 +%global python python2 +%global __python %__python2 +%global python_sitearch %{python2_sitearch} +%else +%global python python +%endif +%endif +%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} +BuildRequires: %{python} +BuildRequires: %{python}-devel + +# OPENSSL support +BuildRequires: openssl-devel + + +%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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +# Shitty hack for RHEL4 ... +if [ -d "/usr/X11R6" ]; then + export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH}:/usr/X11R6/include:/usr/X11R6/%{_lib}" + export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -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 + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file -i -r "%{?buildroot}%{tde_tdeappdir}/wlassistant.desktop" System Network +%endif + +%find_lang %{tde_pkg} + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{tde_pkg}.lang +%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 diff --git a/redhat/applications/smartcardauth/smartcardauth.spec b/redhat/applications/smartcardauth/smartcardauth.spec deleted file mode 100644 index 1578431a9..000000000 --- a/redhat/applications/smartcardauth/smartcardauth.spec +++ /dev/null @@ -1,222 +0,0 @@ -# -# spec file for package smartcardauth (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg smartcardauth -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%if 0%{?fedora} >= 27 || 0%{?mgaversion} -%define debug_package %{nil} -%endif - -%define dont_check_desktop_files 1 - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 1.0 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: SmartCard Login and LUKS Decrypt, Setup Utility -Group: Applications/System -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz -Source1: trinity-%{tde_pkg}-rpmlintrc - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: fdupes - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -# PCSC support -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?pclinuxos} -Requires: perl-pcsc-perl -%endif -%if 0%{?rhel} || 0%{?fedora} -Requires: pcsc-perl -%endif -%if 0%{?suse_version} -Requires: perl-pcsc -%endif - -# PKCS11 support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}pkcs11-helper-devel -%endif -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -BuildRequires: pkcs11-helper-devel -%endif - -# DB4/DB5 support -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} >= 1220 || 0%{?mdkversion} || 0%{?mgaversion} -%define with_db 1 -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: db5-devel -%endif -%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7 -BuildRequires: libdb-devel -BuildRequires: libdb-cxx-devel -%endif -%if 0%{?suse_version} -BuildRequires: libdb-4_8-devel -%endif -%if 0%{?rhel} && 0%{?rhel} <= 6 -BuildRequires: db4-devel -%endif -%endif - -# PAM support -BuildRequires: pam-devel - -# TLS support -%if 0%{?suse_version} -BuildRequires: libgnutls-devel -%else -BuildRequires: gnutls-devel -%endif - -# The 'pp' utility -BuildRequires: perl-PAR-Packer - - -%description -This utility will allow you to set up your computer to accept a SmartCard as an authentication source for: -- Your encrypted LUKS partition -- TDE, 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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{_prefix}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_GCC_VISIBILITY=ON \ -%if 0%{?mgaversion} || 0%{?pclinuxos} - -DPERL_PAR_PACKER="pp.pl" \ -%endif -%if 0%{?mgaversion} == 6 || 0%{?pclinuxos} - -DPERL_LIB_CHIPCARD="%{perl_sitearch}" \ -%endif -%if 0%{?suse_version} - -DPERL_LIB_CHIPCARD="%{perl_vendorarch}" \ -%endif - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR="%{?buildroot}" -C build - -# Debian stuff -%__rm -f %{buildroot}/usr/share/initramfs-tools/hooks/cryptlukssc - - -%clean -%__rm -rf %{buildroot} - - -%files -%defattr(-,root,root,-) -%doc gpl.txt -%{_bindir}/cardpincheck -%{_bindir}/cryptosmartcard.sh - - -%changelog diff --git a/redhat/applications/smartcardauth/trinity-smartcardauth-rpmlintrc b/redhat/applications/smartcardauth/trinity-smartcardauth-rpmlintrc deleted file mode 100644 index 7dc0bac20..000000000 --- a/redhat/applications/smartcardauth/trinity-smartcardauth-rpmlintrc +++ /dev/null @@ -1 +0,0 @@ -setBadness('64bit-portability-issue', 0) diff --git a/redhat/applications/smb4k/smb4k.spec b/redhat/applications/smb4k/smb4k.spec deleted file mode 100644 index 8d1ee44d5..000000000 --- a/redhat/applications/smb4k/smb4k.spec +++ /dev/null @@ -1,198 +0,0 @@ -# -# spec file for package smb4k (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg smb4k -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.9.4 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: A Samba (SMB) share advanced browser for Trinity -Group: Applications/Utilities -URL: http://www.trinitydesktop.org - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: autoconf automake libtool m4 -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: fdupes - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - - -%description -Smb4K is a SMB (Windows) share browser for TDE. 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 %{tde_pkg}.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}/libsmb4tdeconfigdialog.la -%{tde_tdelibdir}/libsmb4tdeconfigdialog.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/ -%{tde_datadir}/apps/smb4knetworkbrowserpart/ -%{tde_datadir}/apps/smb4ksharesiconviewpart/ -%{tde_datadir}/apps/smb4kshareslistviewpart/ -%{tde_datadir}/config.kcfg/smb4k.kcfg -%{tde_datadir}/icons/crystalsvg/*/apps/smb4k.png -%{tde_tdedocdir}/HTML/en/smb4k/ - -########## - -%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 - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --program-prefix="" \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-final \ - --enable-new-ldflags \ - --enable-closure \ - --enable-rpath \ - --disable-gcc-hidden-visibility - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{tde_pkg} - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/%{tde_pkg}.desktop" -%suse_update_desktop_file -r %{tde_pkg} System Network -%endif - -# Removes duplicate files -%fdupes -s %buildroot - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/applications/soundkonverter/soundkonverter.spec b/redhat/applications/soundkonverter/soundkonverter.spec deleted file mode 100644 index 6c3ffae19..000000000 --- a/redhat/applications/soundkonverter/soundkonverter.spec +++ /dev/null @@ -1,209 +0,0 @@ -# -# spec file for package soundkonverter (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg soundkonverter -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.3.8 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Audio converter frontend for Trinity -Group: Application/Multimedia -URL: http://potracegui.sourceforge.net - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: autoconf automake libtool m4 -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: fdupes - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -# TAGLIB support -BuildRequires: taglib-devel - -# CDDA support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: libcdda-devel -%endif -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -BuildRequires: cdparanoia-devel -%endif - - -%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} = %{?epoch:%{epoch}:}%{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 'trinity-soundkonverter' package for more information. - - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --program-prefix="" \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-final \ - --enable-new-ldflags \ - --enable-closure \ - --enable-rpath \ - --disable-gcc-hidden-visibility - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{tde_pkg} - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/%{tde_pkg}.desktop" -%endif - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.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/ -%{tde_tdedocdir}/HTML/en/soundkonverter/ -%{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/ - - -%changelog diff --git a/redhat/applications/system/adept/adept.spec b/redhat/applications/system/adept/adept.spec new file mode 100644 index 000000000..ba1c416f4 --- /dev/null +++ b/redhat/applications/system/adept/adept.spec @@ -0,0 +1,208 @@ +# +# spec file for package adept (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# Default version for this component +%define tde_pkg adept +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif + +# TDE specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{tde_pkg} +Summary: Package management suite for Trinity +Version: 2.1.3 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} + +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}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-util + +BuildRequires: libapt-front-devel + +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 TDE 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 TDE, 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}-%{tde_version}%{?preversion:~%{preversion}} + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + \ + --enable-rpath \ + --enable-closure \ + \ + --with-extra-includes=%{_includedir}/tqt3 \ + \ + --enable-adept + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{tde_pkg} + + +%clean +%__rm -rf %{buildroot} + + + + +%changelog diff --git a/redhat/applications/system/dolphin/dolphin.spec b/redhat/applications/system/dolphin/dolphin.spec new file mode 100644 index 000000000..09b73918d --- /dev/null +++ b/redhat/applications/system/dolphin/dolphin.spec @@ -0,0 +1,182 @@ +# +# spec file for package dolphin (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg dolphin +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.9.2 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: File manager for TDE focusing on usability +Group: Applications/Utilities +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: gettext + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: libtool + +# ACL support +BuildRequires: libacl-devel + +# IDN support +BuildRequires: libidn-devel + +# OPENSSL support +BuildRequires: openssl-devel + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + + +%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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +# 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 + +# Locales +%find_lang d3lphin + + +%clean +%__rm -rf %{buildroot} + + +%post +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 + + +%files -f d3lphin.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING TODO +%{tde_bindir}/d3lphin +%{tde_tdeappdir}/d3lphin.desktop +%{tde_datadir}/apps/d3lphin/ +%{tde_datadir}/icons/hicolor/*/apps/d3lphin.png +%{tde_mandir}/man1/*.1* +%lang(en) %{tde_tdedocdir}/HTML/en/d3lphin/ + + +%changelog diff --git a/redhat/applications/system/katapult/katapult.spec b/redhat/applications/system/katapult/katapult.spec new file mode 100644 index 000000000..456a9958b --- /dev/null +++ b/redhat/applications/system/katapult/katapult.spec @@ -0,0 +1,217 @@ +# +# spec file for package katapult (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg katapult +%define tde_prefix /opt/trinity +%define tde_appdir %{tde_datadir}/applications +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.3.2.1 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Faster access to applications, bookmarks, and other items. +Group: Applications/Utilities +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig + +# ACL support +BuildRequires: libacl-devel + +# IDN support +BuildRequires: libidn-devel + +# OPENSSL support +BuildRequires: openssl-devel + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +%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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%find_lang %{tde_pkg} + +# Removes useless files (-devel ?) +%__rm -f %{?buildroot}%{tde_libdir}/*.so +%__rm -f %{?buildroot}%{tde_libdir}/*.la + +# Fix desktop files (openSUSE only) +echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/%{tde_pkg}.desktop" +%if 0%{?suse_version} +%suse_update_desktop_file -G "Application Launcher" "%{?buildroot}%{tde_tdeappdir}/%{tde_pkg}.desktop" DesktopUtility +%endif + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{tde_pkg}.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_mandir}/man1/*.1* +%{tde_tdedocdir}/HTML/en/katapult/ + + +%changelog diff --git a/redhat/applications/system/kbfx/kbfx.spec b/redhat/applications/system/kbfx/kbfx.spec new file mode 100644 index 000000000..44df9443c --- /dev/null +++ b/redhat/applications/system/kbfx/kbfx.spec @@ -0,0 +1,233 @@ +# +# spec file for package kbfx (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg kbfx +%define tde_prefix /opt/trinity +%define tde_appdir %{tde_datadir}/applications +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.4.9.3.1 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: An alternative to K-Menu for TDE +Group: Applications/Utilities +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: libtool +BuildRequires: gcc-c++ +BuildRequires: pkgconfig + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +# IDN support +BuildRequires: libidn-devel + +# GAMIN support +# Not on openSUSE. +%if ( 0%{?rhel} && 0%{?rhel} <= 8 ) || ( 0%{?fedora} && 0%{?fedora} <= 33 ) || 0%{?mgaversion} || 0%{?mdkversion} +%define with_gamin 1 +BuildRequires: gamin-devel +%endif + +# PCRE support +BuildRequires: pcre-devel + +# ACL support +BuildRequires: libacl-devel + +# OPENSSL support +BuildRequires: openssl-devel + + +%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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + +# 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||" + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +# Shitty hack for RHEL4 ... +if [ -d "/usr/X11R6" ]; then + export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH}:/usr/X11R6/include:/usr/X11R6/%{_lib}" + export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -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} \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}"\ + -DDOC_INSTALL_DIR=%{tde_tdedocdir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + \ + -DUSE_STRIGI=OFF \ + -DUSE_MENUDRAKE=OFF \ + -DBUILD_DOC=ON \ + -DBUILD_ALL=ON \ + .. + +# Not SMP safe ! +%__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build VERBOSE=1 + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file -G "KBFX Configuration Utility" kbfxconfigapp -r KDE Utility DesktopUtility +%suse_update_desktop_file %{buildroot}%{tde_datadir}/apps/konqueror/servicemenus/kbfx_prepare_theme.desktop +%suse_update_desktop_file %{buildroot}%{tde_datadir}/apps/konqueror/servicemenus/kbfx_install_theme.desktop +%suse_update_desktop_file %{buildroot}%{tde_datadir}/apps/kicker/applets/kbfxspinx.desktop +%suse_update_desktop_file %{buildroot}%{tde_datadir}/mimelnk/application/x-kbfxtheme.desktop +%suse_update_desktop_file %{buildroot}%{tde_datadir}/applications/tde/kbfx_theme.desktop +%endif + + +%clean +%__rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%{tde_bindir}/kbfxconfigapp +%{tde_tdeincludedir}/kbfx/ +%dir %{tde_libdir}/kbfx +%dir %{tde_libdir}/kbfx/plugins +%{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/ +%dir %{tde_datadir}/apps/kbfxconfigapp +%{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/kbfxconfigapp/ +%{tde_docdir}/kbfx/ +%{tde_datadir}/icons/hicolor/*/apps/kbfx.png +%{tde_datadir}/icons/hicolor/*/apps/kbfxconfigapp.png +%lang(bg) %{tde_datadir}/locale/bg/LC_MESSAGES/kbfxconfigapp.mo +%lang(de) %{tde_datadir}/locale/de/LC_MESSAGES/kbfxconfigapp.mo +%lang(hu) %{tde_datadir}/locale/hu/LC_MESSAGES/kbfxconfigapp.mo +%lang(it) %{tde_datadir}/locale/it/LC_MESSAGES/kbfxconfigapp.mo +%lang(nl) %{tde_datadir}/locale/nl/LC_MESSAGES/kbfxconfigapp.mo +%{tde_datadir}/mimelnk/application/x-kbfxtheme.desktop + + +%changelog diff --git a/redhat/applications/system/kcmautostart/kcmautostart.spec b/redhat/applications/system/kcmautostart/kcmautostart.spec new file mode 100644 index 000000000..bd0a90c70 --- /dev/null +++ b/redhat/applications/system/kcmautostart/kcmautostart.spec @@ -0,0 +1,162 @@ +# +# spec file for package kcmautostart (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg kcmautostart +%define tde_prefix /opt/trinity +%define tde_appdir %{tde_datadir}/applications +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 1.0 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Manage applications automatic startup +Group: Applications/Utilities +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig + +# ACL support +BuildRequires: libacl-devel + +# IDN support +BuildRequires: libidn-devel + +# OPENSSL support +BuildRequires: openssl-devel + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +Requires: trinity-tdebase >= %{tde_version} + + +%description +%{summary} + + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%find_lang autostart + + +%clean +%__rm -rf %{buildroot} + + +%files -f autostart.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING INSTALL README.md +%{tde_tdelibdir}/kcm_autostart.la +%{tde_tdelibdir}/kcm_autostart.so +%{tde_tdeappdir}/autostart.desktop +%{tde_tdedocdir}/HTML/en/autostart/ + + +%changelog diff --git a/redhat/applications/system/kdbusnotification/kdbusnotification.spec b/redhat/applications/system/kdbusnotification/kdbusnotification.spec new file mode 100644 index 000000000..194020fbc --- /dev/null +++ b/redhat/applications/system/kdbusnotification/kdbusnotification.spec @@ -0,0 +1,176 @@ +# +# spec file for package kdbusnotification (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg kdbusnotification +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.1 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: a DBUS notification service [Trinity] +Group: Applications/Utilities +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: libtool + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +# GTK2 stuff +BuildRequires: gtk2-devel + +# DBUS stuff +%if 0%{?suse_version} +BuildRequires: dbus-1-glib-devel +%else +BuildRequires: dbus-glib-devel +%endif + +# ACL support +BuildRequires: libacl-devel + +# IDN support +BuildRequires: libidn-devel + +# OPENSSL support +BuildRequires: openssl-devel + + +%description +kdbusnotification is a small program for Trinity that displays +DBUS notifications via unobtrusive, easily dismissed passive popups. + + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +# Fix for Fedora 31 +if [ -r "/usr/include/harfbuzz/hb.h" ]; then + #export CMAKE_INCLUDE_PATH="/usr/include/harfbuzz" + RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -I/usr/include/harfbuzz" +fi + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + -DPLUGIN_INSTALL_DIR="%{tde_tdelibdir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + + + +%clean +%__rm -rf %{buildroot} + + + +%files +%defattr(-,root,root,-) +%{tde_bindir}/notification-daemon-tde +%{tde_datadir}/autostart/kdbusnotification-autostart.desktop + + + +%changelog diff --git a/redhat/applications/system/klamav/klamav.spec b/redhat/applications/system/klamav/klamav.spec new file mode 100644 index 000000000..af6b1725d --- /dev/null +++ b/redhat/applications/system/klamav/klamav.spec @@ -0,0 +1,150 @@ +# +# spec file for package klamav (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg klamav +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_appdir %{tde_datadir}/applications +%define tde_tdeappdir %{tde_appdir}/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Summary: Frontend for clamav +Version: 0.46 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +#URL: http://www.trinitydesktop.org/ +Url: http://klamav.sourceforge.net/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-cmake >= %{tde_version} + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: gettext +BuildRequires: curl-devel +BuildRequires: gmp-devel +BuildRequires: sqlite-devel +#BuildRequires: unsermake + +# CLAMAV support +BuildRequires: clamav +BuildRequires: clamav-devel +Requires: clamav + +# OPENSSL support +BuildRequires: openssl-devel + + +%description +A TDE front-end for the Clam AntiVirus antivirus toolkit. + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DBUILD_ALL=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build +chmod u+r %{buildroot}%{tde_bindir}/ScanWithKlamAV + +%find_lang %{tde_pkg} + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%attr(111,root,root) %{tde_bindir}/ScanWithKlamAV +%{tde_bindir}/klamav +%{tde_bindir}/klammail +%{tde_tdeappdir}/klamav.desktop +%{tde_datadir}/apps/klamav/ +%{tde_datadir}/apps/konqueror/servicemenus/klamav-dropdown.desktop +%{tde_tdedocdir}/HTML/en/klamav/ +%{tde_datadir}/icons/hicolor/32x32/apps/klamav.png +%{tde_datadir}/icons/hicolor/48x48/apps/klamav.png + + +%changelog diff --git a/redhat/applications/system/knemo/knemo.spec b/redhat/applications/system/knemo/knemo.spec new file mode 100644 index 000000000..29ef60d10 --- /dev/null +++ b/redhat/applications/system/knemo/knemo.spec @@ -0,0 +1,199 @@ +# +# spec file for package knemo (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg knemo +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.4.8 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Network interfaces monitor for the Trinity systray +Group: Applications/Utilities +URL: http://www.trinitydesktop.org/ +#URL: http://beta.smileaf.org/projects + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: libtool + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +BuildRequires: gettext + +%if 0%{?fedora} >= 18 || 0%{?suse_version} || 0%{?mgaversion} +BuildRequires: net-tools +Requires: net-tools +%endif + +%if 0%{?suse_version} > 1320 +BuildRequires: net-tools-deprecated +Requires: net-tools-deprecated +%endif + +# ACL support +BuildRequires: libacl-devel + +# IDN support +BuildRequires: libidn-devel + +# OPENSSL support +BuildRequires: openssl-devel + +# Wireless support +%define with_wifi 1 +%if 0%{?fedora} >= 6 || 0%{?rhel} >= 5 +BuildRequires: wireless-tools-devel +%endif +%if 0%{?mgaversion} == 2 || 0%{?mdkversion} +BuildRequires: %{_lib}iw29-devel +%endif +%if 0%{?rhel} == 5 || 0%{?suse_version} +BuildRequires: wireless-tools +%endif +%if 0%{?suse_version} || 0%{?mgaversion} >= 3 +BuildRequires: libiw-devel +%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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + %{!?with_wifi:-DWITH_LIBIW=OFF} \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + + +%clean +%__rm -rf %{buildroot} + + +%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/ +%{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 +%{tde_tdedocdir}/HTML/en/kcontrol/knemo/ + + +%changelog diff --git a/redhat/applications/system/knetload/knetload.spec b/redhat/applications/system/knetload/knetload.spec new file mode 100644 index 000000000..c6d482b2f --- /dev/null +++ b/redhat/applications/system/knetload/knetload.spec @@ -0,0 +1,181 @@ +# +# spec file for package knetload (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg knetload +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 2.3 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: A network meter for Kicker [Trinity] +Group: Applications/Utilities +URL: http://www.trinitydesktop.org + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: libtool + +# ACL support +BuildRequires: libacl-devel + +# IDN support +BuildRequires: libidn-devel + +# OPENSSL support +BuildRequires: openssl-devel + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + + +%description +KNetLoad is a small network meter for Kicker (the TDE 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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%find_lang %{tde_pkg} + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file %{tde_pkg} System Monitor +%endif + +# These icons are copied from 'crystalsvg' theme, provided by 'tdelibs'. +%__mkdir_p "%{?buildroot}%{tde_datadir}/icons/hicolor/"{16x16,32x32,48x48}"/apps/" +pushd "%{?buildroot}%{tde_datadir}/icons" +for i in {16,32,48}; do %__cp crystalsvg/"$i"x"$i"/apps/knetload.png hicolor/"$i"x"$i"/apps/knetload.png ;done +popd + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{tde_pkg}.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/hicolor/*/apps/knetload.png +%{tde_datadir}/icons/locolor/*/apps/knetload.png +%{tde_tdedocdir}/HTML/en/knetload/ +%{tde_mandir}/man1/*.1* + + +%changelog diff --git a/redhat/applications/system/knetstats/knetstats.spec b/redhat/applications/system/knetstats/knetstats.spec new file mode 100644 index 000000000..d6dfad2c8 --- /dev/null +++ b/redhat/applications/system/knetstats/knetstats.spec @@ -0,0 +1,168 @@ +# +# spec file for package knetstats (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg knetstats +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 1.6.1 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Network interfaces monitor for the Trinity systray +Group: Applications/Utilities +URL: http://www.trinitydesktop.org + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: libtool + +# ACL support +BuildRequires: libacl-devel + +# IDN support +BuildRequires: libidn-devel + +# OPENSSL support +BuildRequires: openssl-devel + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + + +%description +A simple TDE network monitor that show rx/tx LEDs of any +network interface on a system tray icon + + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%find_lang %{tde_pkg} + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file %{tde_pkg} System Monitor +%endif + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{tde_pkg}.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 +%{tde_mandir}/man*/knetstats.* + + +%changelog diff --git a/redhat/applications/system/kooldock/kooldock.spec b/redhat/applications/system/kooldock/kooldock.spec new file mode 100644 index 000000000..4d5338bc0 --- /dev/null +++ b/redhat/applications/system/kooldock/kooldock.spec @@ -0,0 +1,173 @@ +# +# spec file for package kooldock (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg kooldock +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_confdir %{_sysconfdir}/trinity +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.4.7 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Dock for TDE with cool visual enhancements +Group: Applications/Utilities +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} + +BuildRequires: desktop-file-utils + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: libtool + +# IDN support +BuildRequires: libidn-devel + +# ACL support +BuildRequires: libacl-devel + +# OPENSSL support +BuildRequires: openssl-devel + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + + +%description +KoolDock is a fork of the original work of Dang Viet Dung,. +KSmoothDock 2.1. KoolDock is a dock for TDE with cool. +visual enhancements and effects. + +Some of it features are: +* Display quick launchers to your favourite apps +* A builtin task bar +* Pager and clock. (Not done yet) +* Smooth zooming effect (like Apple's OS X dock) +* Transparent Background + +Homepage: http://sourceforge.net/projects/kooldock/ + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%find_lang %{tde_pkg} + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING README TODO +%{tde_bindir}/kooldock +%{tde_datadir}/apps/kooldock/ +%{tde_datadir}/icons/crystalsvg/16x16/apps/kooldock.png +%{tde_datadir}/icons/crystalsvg/32x32/apps/kooldock.png +%{tde_datadir}/icons/crystalsvg/64x64/apps/kooldock.png +%{tde_datadir}/icons/crystalsvg/128x128/apps/kooldock.png + + +%changelog diff --git a/redhat/applications/system/kpowersave/kpowersave.spec b/redhat/applications/system/kpowersave/kpowersave.spec new file mode 100644 index 000000000..30563e4fd --- /dev/null +++ b/redhat/applications/system/kpowersave/kpowersave.spec @@ -0,0 +1,210 @@ +# +# spec file for package kpowersave (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg kpowersave +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.7.3 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: HAL based power management applet for Trinityfiles or directories. +Group: Applications/Utilities +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils +BuildRequires: hal-devel +BuildRequires: trinity-dbus-tqt-devel >= 1:0.63 + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: libtool +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: fdupes + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +# XSCREENSAVER support +# RHEL 4: disabled +# RHEL 6: available in EPEL +# RHEL 7: available in NUX +# RHEL 8: available in EPEL +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version} +%define with_xscreensaver 1 + +%if 0%{?fedora} || 0%{?rhel} >= 5 +BuildRequires: libXScrnSaver-devel +BuildRequires: xscreensaver +BuildRequires: xscreensaver-base +BuildRequires: xscreensaver-extras +%if 0%{?fedora} +BuildRequires: xscreensaver-extras-base +%endif +BuildRequires: xscreensaver-gl-base +BuildRequires: xscreensaver-gl-extras +%endif + +%if 0%{?suse_version} +BuildRequires: libXScrnSaver-devel +BuildRequires: xscreensaver +BuildRequires: xscreensaver-data +BuildRequires: xscreensaver-data-extra +%endif + +%endif + + +%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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + +%build +unset QTDIR QTINC QTLIB +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_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -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} + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README.md TODO +%{tde_bindir}/kpowersave +%{tde_libdir}/libtdeinit_kpowersave.la +%{tde_libdir}/libtdeinit_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 diff --git a/redhat/applications/system/krusader/krusader.spec b/redhat/applications/system/krusader/krusader.spec new file mode 100644 index 000000000..cf314c68f --- /dev/null +++ b/redhat/applications/system/krusader/krusader.spec @@ -0,0 +1,183 @@ +# +# spec file for package krusader (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg krusader +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 1.90.0 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Twin-panel (commander-style) file manager for TDE (and other desktops) +Group: Applications/Utilities +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils +BuildRequires: trinity-tdebindings-devel >= %{tde_version} + +BuildRequires: autoconf automake libtool m4 +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: fdupes + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + + +%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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" + +# Warning: --enable-final causes FTBFS +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + \ + --disable-dependency-tracking \ + --disable-debug \ + --enable-new-ldflags \ + --disable-final \ + --enable-closure \ + --enable-rpath \ + --disable-gcc-hidden-visibility + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{tde_pkg} + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/%{tde_pkg}.desktop" +%suse_update_desktop_file krusader System FileManager +%suse_update_desktop_file krusader_root-mode System FileManager +%endif + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING FAQ README TODO +%{tde_bindir}/krusader +%{tde_tdelibdir}/tdeio_krarc.la +%{tde_tdelibdir}/tdeio_krarc.so +%{tde_tdelibdir}/tdeio_virt.la +%{tde_tdelibdir}/tdeio_virt.so +%{tde_tdeappdir}/krusader.desktop +%{tde_tdeappdir}/krusader_root-mode.desktop +%{tde_datadir}/apps/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 +%{tde_tdedocdir}/HTML/en/krusader/ +%{tde_tdedocdir}/HTML/en/tdeioslave/krarc/ +%{tde_tdedocdir}/HTML/en/tdeioslave/virt/ +%lang(ru) %{tde_tdedocdir}/HTML/ru/krusader/ + + +%changelog diff --git a/redhat/applications/system/kshutdown/kshutdown.spec b/redhat/applications/system/kshutdown/kshutdown.spec new file mode 100644 index 000000000..3889525f7 --- /dev/null +++ b/redhat/applications/system/kshutdown/kshutdown.spec @@ -0,0 +1,180 @@ +# +# spec file for package kshutdown (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg kshutdown +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 1.0.4 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: An advanced shut down utility for TDE +Group: Applications/Multimedia +URL: http://kde-apps.org/content/show.php?content=41180 + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: fdupes + +# ACL support +BuildRequires: libacl-devel + +# IDN support +BuildRequires: libidn-devel + +# OPENSSL support +BuildRequires: openssl-devel + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + + +%description +It has 4 main commands: + +- Shut Down (logout and halt the system), +- Reboot (logout and reboot the system), +- Lock Screen (lock the screen using a screen saver), +- Logout (end the session and logout the user). + +It features time and delay options, command line support, wizard, +and sounds. + + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +%__rm -rf $RPM_BUILD_ROOT +%__make install DESTDIR=$RPM_BUILD_ROOT -C build + +%find_lang %{tde_pkg} + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/kshutdown.desktop" +%suse_update_desktop_file %{tde_pkg} Utility DesktopUtility +%endif + + +%clean +%__rm -rf $RPM_BUILD_ROOT + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING README.md +%{tde_bindir}/kshutdown +%{tde_tdelibdir}/kshutdownlockout_panelapplet.la +%{tde_tdelibdir}/kshutdownlockout_panelapplet.so +%{tde_tdeappdir}/kshutdown.desktop +%{tde_datadir}/apps/kicker/applets/kshutdownlockout.desktop +%{tde_datadir}/apps/kshutdown/ +%{tde_datadir}/apps/tdeconf_update/kshutdown.upd +%{tde_datadir}/icons/hicolor/*/apps/kshutdown.png +%lang(de) %{tde_datadir}/doc/tde/HTML/de/kshutdown/ +%lang(en) %{tde_datadir}/doc/tde/HTML/en/kshutdown/ +%{tde_mandir}/man1/*.1* + + +%changelog diff --git a/redhat/applications/system/ksystemlog/ksystemlog.spec b/redhat/applications/system/ksystemlog/ksystemlog.spec new file mode 100644 index 000000000..412aab89d --- /dev/null +++ b/redhat/applications/system/ksystemlog/ksystemlog.spec @@ -0,0 +1,163 @@ +# +# spec file for package ksystemlog (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg ksystemlog +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.3.2 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: System log viewer tool for Trinity +Group: Applications/System +URL: http://ksystemlog.forum-software.org + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: fdupes + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + + +%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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +# Warning: GCC visibility causes FTBFS [Bug #1285] +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_NO_BUILTIN_CHRPATH=ON \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DCONFIG_INSTALL_DIR="%{tde_confdir}" \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DBUILD_ALL=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +# Missing category will make this fail. +echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/%{tde_pkg}.desktop" + +%find_lang %{tde_pkg} + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING README.md +%{tde_bindir}/ksystemlog +%{tde_tdeappdir}/ksystemlog.desktop +%{tde_datadir}/apps/ksystemlog/ +%{tde_datadir}/config.kcfg/ksystemlog.kcfg +%{tde_datadir}/icons/hicolor/*/apps/ksystemlog.png +%{tde_datadir}/icons/hicolor/*/apps/ksystemlog.svgz +%{tde_tdedocdir}/HTML/en/ksystemlog/ +%{tde_mandir}/man1/ksystemlog.1* + + +%changelog diff --git a/redhat/applications/system/kvkbd/kvkbd.spec b/redhat/applications/system/kvkbd/kvkbd.spec new file mode 100644 index 000000000..14d1ae3bd --- /dev/null +++ b/redhat/applications/system/kvkbd/kvkbd.spec @@ -0,0 +1,168 @@ +# +# spec file for package kvkbd (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg kvkbd +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.4.8 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Virtual keyboard for TDE +Group: Applications/System +URL: http://pan4os.info/main/index.php + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: fdupes + +# ACL support +BuildRequires: libacl-devel + +# IDN support +BuildRequires: libidn-devel + +# OPENSSL support +BuildRequires: openssl-devel + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + + +%description +Virtual keyboard for TDE for use with accessibility. Application contains +a systray widget as well as a dockwidget. + + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%find_lang %{tde_pkg} + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file -r kvkbd Utility Accessibility +%endif + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING README.md +%{tde_bindir}/kvkbd +%{tde_tdeappdir}/kvkbd.desktop +%{tde_datadir}/apps/kvkbd/ +%{tde_datadir}/icons/hicolor/*/apps/kvkbd.png +%{tde_tdedocdir}/HTML/en/kvkbd/ + + +%changelog diff --git a/redhat/applications/system/polkit-agent-tde/polkit-agent-tde.spec b/redhat/applications/system/polkit-agent-tde/polkit-agent-tde.spec new file mode 100644 index 000000000..c71ddce8e --- /dev/null +++ b/redhat/applications/system/polkit-agent-tde/polkit-agent-tde.spec @@ -0,0 +1,131 @@ +# +# spec file for package polkit-agent-tde (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg polkit-agent-tde +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_confdir %{_sysconfdir}/trinity +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Version: 0.99.1 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: TDE dialogs for PolicyKit +Group: Environment/Desktop +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: libpolkit-tqt-devel + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: libtool + +%description +PolicyKit is an application-level toolkit for defining and handling the policy +that allows unprivileged processes to speak to privileged processes. + +It is a framework for centralizing the decision making process with respect to +granting access to privileged operations for unprivileged (desktop) applications. + +PolicyKit-agent-tde provides a D-Bus session bus service that is used to +bring up authentication dialogs used for obtaining privileges. + + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DBUILD_ALL=ON \ + -DWITH_ALL_OPTIONS=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%find_lang %{tde_pkg} + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%{_bindir}/polkit-agent-tde +%dir %{_datadir}/autostart +%{_datadir}/autostart/polkit-agent-tde.desktop + + +%changelog diff --git a/redhat/applications/system/smartcardauth/smartcardauth.spec b/redhat/applications/system/smartcardauth/smartcardauth.spec new file mode 100644 index 000000000..1578431a9 --- /dev/null +++ b/redhat/applications/system/smartcardauth/smartcardauth.spec @@ -0,0 +1,222 @@ +# +# spec file for package smartcardauth (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg smartcardauth +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%if 0%{?fedora} >= 27 || 0%{?mgaversion} +%define debug_package %{nil} +%endif + +%define dont_check_desktop_files 1 + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 1.0 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: SmartCard Login and LUKS Decrypt, Setup Utility +Group: Applications/System +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz +Source1: trinity-%{tde_pkg}-rpmlintrc + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: fdupes + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +# PCSC support +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?pclinuxos} +Requires: perl-pcsc-perl +%endif +%if 0%{?rhel} || 0%{?fedora} +Requires: pcsc-perl +%endif +%if 0%{?suse_version} +Requires: perl-pcsc +%endif + +# PKCS11 support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}pkcs11-helper-devel +%endif +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +BuildRequires: pkcs11-helper-devel +%endif + +# DB4/DB5 support +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} >= 1220 || 0%{?mdkversion} || 0%{?mgaversion} +%define with_db 1 +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: db5-devel +%endif +%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7 +BuildRequires: libdb-devel +BuildRequires: libdb-cxx-devel +%endif +%if 0%{?suse_version} +BuildRequires: libdb-4_8-devel +%endif +%if 0%{?rhel} && 0%{?rhel} <= 6 +BuildRequires: db4-devel +%endif +%endif + +# PAM support +BuildRequires: pam-devel + +# TLS support +%if 0%{?suse_version} +BuildRequires: libgnutls-devel +%else +BuildRequires: gnutls-devel +%endif + +# The 'pp' utility +BuildRequires: perl-PAR-Packer + + +%description +This utility will allow you to set up your computer to accept a SmartCard as an authentication source for: +- Your encrypted LUKS partition +- TDE, 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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{_prefix}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ +%if 0%{?mgaversion} || 0%{?pclinuxos} + -DPERL_PAR_PACKER="pp.pl" \ +%endif +%if 0%{?mgaversion} == 6 || 0%{?pclinuxos} + -DPERL_LIB_CHIPCARD="%{perl_sitearch}" \ +%endif +%if 0%{?suse_version} + -DPERL_LIB_CHIPCARD="%{perl_vendorarch}" \ +%endif + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR="%{?buildroot}" -C build + +# Debian stuff +%__rm -f %{buildroot}/usr/share/initramfs-tools/hooks/cryptlukssc + + +%clean +%__rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%doc gpl.txt +%{_bindir}/cardpincheck +%{_bindir}/cryptosmartcard.sh + + +%changelog diff --git a/redhat/applications/system/smartcardauth/trinity-smartcardauth-rpmlintrc b/redhat/applications/system/smartcardauth/trinity-smartcardauth-rpmlintrc new file mode 100644 index 000000000..7dc0bac20 --- /dev/null +++ b/redhat/applications/system/smartcardauth/trinity-smartcardauth-rpmlintrc @@ -0,0 +1 @@ +setBadness('64bit-portability-issue', 0) diff --git a/redhat/applications/system/tastymenu/tastymenu.spec b/redhat/applications/system/tastymenu/tastymenu.spec new file mode 100644 index 000000000..59e0991ab --- /dev/null +++ b/redhat/applications/system/tastymenu/tastymenu.spec @@ -0,0 +1,166 @@ +# +# spec file for package tastymenu (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg tastymenu +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_confdir %{_sysconfdir}/trinity +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 1.0.8 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Replacement for TMenu +Group: Applications/Multimedia +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: libtool + +# ACL support +BuildRequires: libacl-devel + +# IDN support +BuildRequires: libidn-devel + +# OPENSSL support +BuildRequires: openssl-devel + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + + +%description +Tasty Menu is a TMenu replacement aiming to provide the maximum usability and flexibility. + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%find_lang %{tde_pkg} + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%{tde_tdelibdir}/tastymenu_panelapplet.la +%{tde_tdelibdir}/tastymenu_panelapplet.so +%{tde_datadir}/apps/kicker/applets/tastymenu.desktop +%{tde_datadir}/config.kcfg/tastymenu.kcfg +%{tde_tdedocdir}/HTML/en/tastymenu/ + + +%post + + +%postun + + +%changelog diff --git a/redhat/applications/system/tdedocker/tdedocker.spec b/redhat/applications/system/tdedocker/tdedocker.spec new file mode 100644 index 000000000..2a88d64c2 --- /dev/null +++ b/redhat/applications/system/tdedocker/tdedocker.spec @@ -0,0 +1,196 @@ +# +# spec file for package tdedocker (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg tdedocker +%define tde_prefix /opt/trinity +%define tde_appdir %{tde_datadir}/applications +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 1.4 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Minimize all applications to system tray +Group: Applications/Utilities +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig + +# ACL support +BuildRequires: libacl-devel + +# IDN support +BuildRequires: libidn-devel + +# OPENSSL support +BuildRequires: openssl-devel + +# XKBFILES support +BuildRequires: libxkbfile-devel + +# XMU support +%if 0%{?suse_version} == 1140 +BuildRequires: xorg-x11-libXmu-devel +%endif +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} >= 1210 +BuildRequires: libXmu-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} >= 4 +BuildRequires: libxmu-devel +%endif +%if 0%{?mgaversion} == 2 || 0%{?mgaversion} == 3 +BuildRequires: %{_lib}xmu%{?mgaversion:6}-devel +%endif + +# XPM support +%if 0%{?suse_version} || 0%{?rhel} || 0%{?fedora} +BuildRequires: libXpm-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: %{_lib}xpm-devel +%endif + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + + +%description +tdedocker will help you dock any application into the system tray. +This means you can dock openoffice, xmms, firefox, thunderbird, +anything! Just point and click. Works for all NET WM compliant +window managers - that includes TDE, KDE, GNOME, Xfce, Fluxbox +and many more. + + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/tdedocker.desktop Utility DesktopUtility +%endif + +%find_lang %{tde_pkg} + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%doc AUTHORS BUGS ChangeLog COPYING CREDITS HACKING INSTALL README TODO VERSION +%{tde_bindir}/tdedocker +%{tde_tdeappdir}/tdedocker.desktop +%{tde_datadir}/apps/tdedocker/ +%{tde_datadir}/icons/hicolor/*/apps/tdedocker.png +%{tde_datadir}/apps/tdedocker/icons/question.png +%{tde_mandir}/man1/tdedocker.1* + + +%changelog diff --git a/redhat/applications/system/tdepowersave/tdepowersave.spec b/redhat/applications/system/tdepowersave/tdepowersave.spec new file mode 100644 index 000000000..bec9a33c3 --- /dev/null +++ b/redhat/applications/system/tdepowersave/tdepowersave.spec @@ -0,0 +1,257 @@ +# +# spec file for package tdepowersave (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg tdepowersave +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_confdir %{_sysconfdir}/trinity +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.7.3 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Power management applet for Trinity +Group: Applications/Utilities +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils +BuildRequires: libdbus-tqt-1-devel >= %{tde_epoch}:0.63 +BuildRequires: libdbus-1-tqt-devel >= %{tde_epoch}:0.9 + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: libtool +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: fdupes + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +# UDEV support +%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} || 0%{?rhel} >= 6 +%define with_tdehwlib 1 +BuildRequires: libudev-devel +%endif + +# XSCREENSAVER support +# Disabled on RHEL4 +# RHEL 8: available in EPEL +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version} +%define with_xscreensaver 1 +%if 0%{?rhel} == 5 +BuildRequires: xorg-x11-proto-devel +#BuildRequires: gnome-screensaver +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?mgaversion} >= 4 +BuildRequires: %{_lib}xscrnsaver-devel +%else +BuildRequires: %{_lib}xscrnsaver%{?mgaversion:1}-devel +%endif +%endif +%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version} >= 1220 +BuildRequires: libXScrnSaver-devel +%endif +%if 0%{?suse_version} == 1140 +BuildRequires: xscreensaver +%endif +%endif + +# ACL support +BuildRequires: libacl-devel + +# IDN support +BuildRequires: libidn-devel + +# GAMIN support +# Not on openSUSE. +%if ( 0%{?rhel} && 0%{?rhel} <= 8 ) || ( 0%{?fedora} && 0%{?fedora} <= 33 ) || 0%{?mgaversion} || 0%{?mdkversion} +%define with_gamin 1 +BuildRequires: gamin-devel +%endif + +# OPENSSL support +BuildRequires: openssl-devel + + +Obsoletes: trinity-kpowersave < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-kpowersave = %{?epoch:%{epoch}:}%{version}-%{release} + + +%description +TDEPowersave is a TDE systray applet which allows to control the power +management settings and policies of your computer. + +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 + +TDEPowersave supports schemes with following configurable specific +settings for: + * screensaver + * DPMS + * autosuspend + * scheme specific blacklist for autosuspend + * notification settings + + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DCONFIG_INSTALL_DIR="%{tde_confdir}" \ + -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 + +%find_lang %{tde_pkg} + + +%clean +%__rm -rf %{buildroot} + + +%post +# Disables automatic poweroff, make sure we match both "kpowersave" and "tdepowersave" +if [ $1 = 1 ] && [ -r /etc/acpi/actions/power.sh ]; then + %__cp -f "/etc/acpi/actions/power.sh" "/etc/acpi/actions/power.sh.tdepowersavebackup" + %__sed -i "/etc/acpi/actions/power.sh" -e "s|kpowersave|powersave|" +fi + +%postun +if [ $1 = 0 ] && [ -r "/etc/acpi/actions/power.sh.tdepowersavebackup" ]; then + %__mv -f "/etc/acpi/actions/power.sh.tdepowersavebackup" "/etc/acpi/actions/power.sh" +fi + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING TODO +%{tde_bindir}/tdepowersave +%{tde_libdir}/libtdeinit_tdepowersave.la +%{tde_libdir}/libtdeinit_tdepowersave.so +%{tde_tdelibdir}/tdepowersave.la +%{tde_tdelibdir}/tdepowersave.so +%{tde_tdeappdir}/tdepowersave.desktop +%{tde_datadir}/apps/tdepowersave/ +%{tde_datadir}/icons/hicolor/*/*/*.png +%{tde_datadir}/autostart/tdepowersave-autostart.desktop +%config(noreplace) %{tde_confdir}/tdepowersaverc +%{tde_mandir}/man1/tdepowersave.* + +%lang(cs) %{tde_tdedocdir}/HTML/cs/tdepowersave/ +%lang(de) %{tde_tdedocdir}/HTML/de/tdepowersave/ +%lang(en) %{tde_tdedocdir}/HTML/en/tdepowersave/ +%lang(fi) %{tde_tdedocdir}/HTML/fi/tdepowersave/ +%lang(hu) %{tde_tdedocdir}/HTML/hu/tdepowersave/ +%lang(nb) %dir %{tde_tdedocdir}/HTML/nb +%lang(nb) %{tde_tdedocdir}/HTML/nb/tdepowersave/ + + +%changelog diff --git a/redhat/applications/system/yakuake/yakuake.spec b/redhat/applications/system/yakuake/yakuake.spec new file mode 100644 index 000000000..2dd8f3cf9 --- /dev/null +++ b/redhat/applications/system/yakuake/yakuake.spec @@ -0,0 +1,160 @@ +# +# spec file for package yakuake (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg yakuake +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 2.8.1 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Yakuake is a Quake-style terminal emulator based on TDE Konsole technology +Group: Applications/Utilities +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: fdupes + +# ACL support +BuildRequires: libacl-devel + +# IDN support +BuildRequires: libidn-devel + +# OPENSSL support +BuildRequires: openssl-devel + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + + +%description +Yakuake is a Quake-style terminal emulator based on TDE Konsole technology. + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + + +%clean +%__rm -rf %{buildroot} + + +%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 +%{tde_tdedocdir}/HTML/en/yakuake/ +%{tde_mandir}/man1/*.1* + + +%changelog diff --git a/redhat/applications/tastymenu/tastymenu.spec b/redhat/applications/tastymenu/tastymenu.spec deleted file mode 100644 index 59e0991ab..000000000 --- a/redhat/applications/tastymenu/tastymenu.spec +++ /dev/null @@ -1,166 +0,0 @@ -# -# spec file for package tastymenu (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg tastymenu -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_confdir %{_sysconfdir}/trinity -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 1.0.8 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Replacement for TMenu -Group: Applications/Multimedia -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: libtool - -# ACL support -BuildRequires: libacl-devel - -# IDN support -BuildRequires: libidn-devel - -# OPENSSL support -BuildRequires: openssl-devel - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - - -%description -Tasty Menu is a TMenu replacement aiming to provide the maximum usability and flexibility. - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%find_lang %{tde_pkg} - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%{tde_tdelibdir}/tastymenu_panelapplet.la -%{tde_tdelibdir}/tastymenu_panelapplet.so -%{tde_datadir}/apps/kicker/applets/tastymenu.desktop -%{tde_datadir}/config.kcfg/tastymenu.kcfg -%{tde_tdedocdir}/HTML/en/tastymenu/ - - -%post - - -%postun - - -%changelog diff --git a/redhat/applications/tde-guidance/tde-guidance.spec b/redhat/applications/tde-guidance/tde-guidance.spec deleted file mode 100644 index 202b88003..000000000 --- a/redhat/applications/tde-guidance/tde-guidance.spec +++ /dev/null @@ -1,462 +0,0 @@ -# -# spec file for package tde-guidance (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg tde-guidance -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define __arch_install_post %{nil} - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.8.0svn20080103 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: A collection of system administration tools for Trinity -Group: Applications/Utilities -URL: http://www.simonzone.com/software/guidance - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz -Source1: trinity-%{tde_pkg}-rpmlintrc - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: trinity-pytdeextensions -BuildRequires: trinity-libpythonize0-devel -BuildRequires: trinity-python-trinity -BuildRequires: chrpath - -BuildRequires: autoconf automake libtool m4 -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: fdupes - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -# SIP support -BuildRequires: sip4-tqt-devel >= 4.10.5 -Requires: sip4-tqt >= 4.10.5 - -# PYTHON-QT support -BuildRequires: python-tqt-devel -BuildRequires: trinity-python-trinity-devel -BuildRequires: trinity-pytqt-tools - -# LIBXXF86VM support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}xxf86vm-devel -%endif -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} >= 1210 -BuildRequires: libXxf86vm-devel -%endif - -# XSCREENSAVER support -# RHEL 4: disabled -# RHEL 6: available in EPEL -# RHEL 7: available in NUX -# RHEL 8: available in EPEL -%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version} -%define with_xscreensaver 1 - -%if 0%{?fedora} || 0%{?rhel} >= 5 -BuildRequires: libXScrnSaver-devel -BuildRequires: xscreensaver -BuildRequires: xscreensaver-base -BuildRequires: xscreensaver-extras -%if 0%{?fedora} -BuildRequires: xscreensaver-extras-base -%endif -BuildRequires: xscreensaver-gl-base -BuildRequires: xscreensaver-gl-extras -%endif - -%if 0%{?suse_version} -BuildRequires: libXScrnSaver-devel -BuildRequires: xscreensaver -BuildRequires: xscreensaver-data -BuildRequires: xscreensaver-data-extra -%endif - -%if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?mgaversion} >= 4 -BuildRequires: %{_lib}xscrnsaver-devel -%else -BuildRequires: %{_lib}xscrnsaver%{?mgaversion:1}-devel -%endif -BuildRequires: xscreensaver -BuildRequires: xscreensaver-base -%if 0%{?pclinuxos} == 0 -BuildRequires: xscreensaver-extrusion -%endif -BuildRequires: xscreensaver-gl -%endif -%endif - -# PYTHON support -%if 0%{?rhel} >= 8 || 0%{?fedora} >= 31 || 0%{?suse_version} >= 1550 || 0%{?mgaversion} >= 8 -%global python python2 -%global __python %__python2 -%global python_sitearch %{python2_sitearch} -%else -%global python python -%endif -%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} -BuildRequires: %{python} -BuildRequires: %{python}-devel - -Requires: python-tqt -Requires: trinity-python-trinity -Requires: trinity-pytdeextensions -%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -Requires: hwdata -%endif - -Requires: %{name}-backends = %{?epoch:%{epoch}:}%{version}-%{release} - -# POWERMANAGER support (requires HAL) -#define with_powermanager 1 -Obsoletes: trinity-tde-guidance-powermanager < %{?epoch:%{epoch}:}%{version}-%{release} - -Obsoletes: trinity-guidance < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-guidance = %{?epoch:%{epoch}:}%{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. - -%files -%defattr(-,root,root,-) -%doc ChangeLog COPYING README TODO -%{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_tdeappdir}/*.desktop -%{tde_datadir}/icons/crystalsvg/*/*/*.png -%{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}/mountconfig.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 powermanager -%if 0%{?with_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 -%endif - -########## - -%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 < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-guidance-backends = %{?epoch:%{epoch}:}%{version}-%{release} - -%description backends -This package contains the platform neutral backends used in the -Guidance configuration tools. - -%files backends -%defattr(-,root,root,-) -%dir %{python_sitearch}/%{name} -%{python_sitearch}/%{name}/MicroHAL.py* -%{python_sitearch}/%{name}/drivedetect.py* -%{python_sitearch}/%{name}/wineread.py* -%{python_sitearch}/%{name}/winewrite.py* -%{python_sitearch}/%{name}/xf86misc.py* -%{python_sitearch}/ixf86misc.so - -########## - -%if 0%{?with_powermanager} - -%package powermanager -Group: Applications/Utilities -Summary: HAL based power manager applet [Trinity] -Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: hal - -Obsoletes: trinity-guidance-powermanager < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-guidance-powermanager = %{?epoch:%{epoch}:}%{version}-%{release} - -%if "%{tde_prefix}" == "/usr" -Conflicts: guidance-power-manager -Conflicts: kde-guidance-powermanager -%endif - -%description powermanager -A power management applet to indicate battery levels and perform hibernate or -suspend using HAL. - -%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 - -%endif - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -%if 0%{?rhel} || 0%{?mgaversion} || 0%{?mdkversion} -%__sed -i "userconfig/unixauthdb.py" \ - -e "s|self.first_uid = .*|self.first_uid = 500|" \ - -e "s|self.first_gid = .*|self.first_gid = 500|" -%endif - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -#export PYTHONPATH=%{python_sitearch}/python-tqt - -# Avoids 'error: byte-compiling is disabled.' on Mandriva/Mageia -export PYTHONDONTWRITEBYTECODE= - -# FTBFS on PCLOS ... -export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -I%{tde_tdeincludedir} -I%{tde_includedir}" - -# Specific path for RHEL4 -if [ -d /usr/X11R6 ]; then - export RPM_OPT_FLAGS="${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 - -%__python ./setup.py build - - -%install -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export EXTRA_MODULE_DIR="%{python_sitearch}/%{name}" -export SIPTQT_DIR="%{python_sitearch}/sip4_tqt" -export PYTHONPATH="%{python_sitearch}/python-tqt" - -# Support for 'sip4-tqt' -export PYTHONPATH="%{python_sitearch}/sip4_tqt:${PYTHONPATH}" - -# For Mageia/Mandriva: Avoids 'error: byte-compiling must be disabled. -export PYTHONDONTWRITEBYTECODE= - -%__rm -rf %{buildroot} -%__python ./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 -%__cp -f %{buildroot}%{tde_datadir}/apps/guidance/pics/hi32-app-daemons.png \ - %{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps/daemons.png -%__cp -f %{buildroot}%{tde_datadir}/apps/guidance/pics/kcmpartitions.png \ - %{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps/disksfilesystems.png -%__cp -f %{buildroot}%{tde_datadir}/apps/guidance/pics/hi32-user.png \ - %{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps/userconfig.png -%__cp -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 -r %{tde_libdir} %{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} - -# Generates the startup scripts -%__rm -f %{buildroot}%{tde_bindir}/* -%__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 - -# fix script-not-executable -%__chmod 0755 %{buildroot}%{python_sitearch}/%{name}/fuser.py -%__chmod 0755 %{buildroot}%{python_sitearch}/%{name}/grubconfig.py - -##### BACKENDS INSTALLATION - -# 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 - -%if 0%{?with_powermanager} -##### 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}/sip4-tqt -%{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 - -%else -%__rm -f %{buildroot}%{python_sitearch}/%{name}/gpmhelper.py* -%__rm -f %{buildroot}%{python_sitearch}/%{name}/guidance-power-manager.py* -%__rm -f %{buildroot}%{python_sitearch}/%{name}/guidance_power_manager_ui.py* -%__rm -f %{buildroot}%{python_sitearch}/%{name}/powermanage.py* -%__rm -f %{buildroot}%{python_sitearch}/%{name}/powermanager_ui.py* -%__rm -f %{buildroot}%{tde_datadir}/apps/guidance/powermanager_ui.ui - -%endif - -# Replace all '#!' calls to python with /usr/bin/python -# and make them executable -%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8 || 0%{?mgaversion} >= 8 -%define python /usr/bin/python2 -%else -%define python /usr/bin/python -%endif -for i in `find %{buildroot} -type f`; do - sed '1s,#!.*python[^ ]*\(.*\),#! %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 {} \; - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/applications/tde-guidance/trinity-tde-guidance-rpmlintrc b/redhat/applications/tde-guidance/trinity-tde-guidance-rpmlintrc deleted file mode 100644 index bd7a50a17..000000000 --- a/redhat/applications/tde-guidance/trinity-tde-guidance-rpmlintrc +++ /dev/null @@ -1 +0,0 @@ -setBadness('file-contains-buildroot', 0) diff --git a/redhat/applications/tde-style-baghira/tde-style-baghira.spec b/redhat/applications/tde-style-baghira/tde-style-baghira.spec deleted file mode 100644 index 7cab17109..000000000 --- a/redhat/applications/tde-style-baghira/tde-style-baghira.spec +++ /dev/null @@ -1,196 +0,0 @@ -# -# spec file for package tde-style-baghira (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg tde-style-baghira -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_confdir %{_sysconfdir}/trinity -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -# Required for Mageia and PCLinuxOS: removes the ldflag '--no-undefined' -%define _disable_ld_no_undefined 1 - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.8 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: TDE style for Apple junkies :) -Group: Graphical desktop/TDE -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: libtool - -%if 0%{?fedora} || 0%{?rhel} || 0%{?suse_version} -BuildRequires: libjpeg-devel -%else -BuildRequires: jpeg-devel -%endif - -%description -Based upon mosfet-liquid0.9.6pre4... the last heir of mosfet. -Baghira includes both an style (custom widgets) and twin decoration as -well as colour schemes. - -Baghira (panther, in german) makes TDE resemble Apple's MacOS X's Aqua, -Panther and Jaguar looks, and also includes its own 'Baghira' look - - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DDATA_INSTALL_DIR=%{tde_datadir}/apps \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DBUILD_ALL=ON \ - .. - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - - -%clean -%__rm -rf $RPM_BUILD_ROOT - - -%files -%defattr(-,root,root) -%{tde_bindir}/bab -%{tde_libdir}/libbaghirastarter.la -%{tde_libdir}/libbaghirastarter.so -%{tde_tdelibdir}/b_menu_panelapplet.la -%{tde_tdelibdir}/b_menu_panelapplet.so -%{tde_tdelibdir}/plugins/styles/baghira.la -%{tde_tdelibdir}/plugins/styles/baghira.so -%{tde_tdelibdir}/tdestyle_baghira_config.la -%{tde_tdelibdir}/tdestyle_baghira_config.so -%{tde_tdelibdir}/twin3_baghira.la -%{tde_tdelibdir}/twin3_baghira.so -%{tde_tdelibdir}/twin_baghira_config.la -%{tde_tdelibdir}/twin_baghira_config.so -%{tde_libdir}/usermanager_panelapplet.la -%{tde_libdir}/usermanager_panelapplet.so -%{tde_tdeappdir}/bab.desktop -%{tde_datadir}/apps/baghira/ -%{tde_datadir}/apps/kicker/applets/baghira-starter.desktop -%{tde_datadir}/apps/kicker/applets/baghira-usermanager.desktop -%{tde_datadir}/apps/tdedisplay/color-schemes/AquaBlue.kcsrc -%{tde_datadir}/apps/tdedisplay/color-schemes/AquaGraphite.kcsrc -%{tde_datadir}/apps/tdestyle/themes/baghira.themerc -%{tde_datadir}/apps/twin/baghira.desktop -%{tde_datadir}/icons/crystalsvg/128x128/apps/baghira.png -%{tde_datadir}/icons/crystalsvg/128x128/apps/baghira_blue.png -%{tde_datadir}/icons/crystalsvg/128x128/apps/baghira_grey.png -%{tde_datadir}/icons/crystalsvg/128x128/apps/baghira_white.png -%{tde_datadir}/icons/crystalsvg/128x128/apps/baghira_yellow.png -%{tde_datadir}/icons/crystalsvg/16x16/apps/baghira.png -%{tde_datadir}/icons/crystalsvg/16x16/apps/baghira_blue.png -%{tde_datadir}/icons/crystalsvg/16x16/apps/baghira_grey.png -%{tde_datadir}/icons/crystalsvg/16x16/apps/baghira_white.png -%{tde_datadir}/icons/crystalsvg/16x16/apps/baghira_yellow.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/bStarter.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/bStarter_down.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/bStarter_hover.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/bab_itunes.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/bab_jaguar.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/bab_milk.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/bab_panther.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/bab_tiger.png -%{tde_datadir}/icons/crystalsvg/22x22/apps/baghira.png -%{tde_datadir}/icons/crystalsvg/22x22/apps/baghira_blue.png -%{tde_datadir}/icons/crystalsvg/22x22/apps/baghira_grey.png -%{tde_datadir}/icons/crystalsvg/22x22/apps/baghira_white.png -%{tde_datadir}/icons/crystalsvg/22x22/apps/baghira_yellow.png -%{tde_datadir}/icons/crystalsvg/32x32/apps/baghira.png -%{tde_datadir}/icons/crystalsvg/32x32/apps/baghira_blue.png -%{tde_datadir}/icons/crystalsvg/32x32/apps/baghira_grey.png -%{tde_datadir}/icons/crystalsvg/32x32/apps/baghira_white.png -%{tde_datadir}/icons/crystalsvg/32x32/apps/baghira_yellow.png -%{tde_datadir}/icons/crystalsvg/48x48/apps/baghira.png -%{tde_datadir}/icons/crystalsvg/48x48/apps/baghira_blue.png -%{tde_datadir}/icons/crystalsvg/48x48/apps/baghira_grey.png -%{tde_datadir}/icons/crystalsvg/48x48/apps/baghira_white.png -%{tde_datadir}/icons/crystalsvg/48x48/apps/baghira_yellow.png -%{tde_datadir}/icons/crystalsvg/64x64/apps/baghira.png -%{tde_datadir}/icons/crystalsvg/64x64/apps/baghira_blue.png -%{tde_datadir}/icons/crystalsvg/64x64/apps/baghira_grey.png -%{tde_datadir}/icons/crystalsvg/64x64/apps/baghira_white.png -%{tde_datadir}/icons/crystalsvg/64x64/apps/baghira_yellow.png -%lang(de) %{tde_datadir}/locale/de/LC_MESSAGES/baghira-starter.mo -%{tde_mandir}/man1/bab.1* - - -%changelog diff --git a/redhat/applications/tde-style-domino/tde-style-domino.spec b/redhat/applications/tde-style-domino/tde-style-domino.spec deleted file mode 100644 index 7bb66c619..000000000 --- a/redhat/applications/tde-style-domino/tde-style-domino.spec +++ /dev/null @@ -1,141 +0,0 @@ -# -# spec file for package domino (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg tde-style-domino -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_confdir %{_sysconfdir}/trinity -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -# Required for Mageia and PCLinuxOS: removes the ldflag '--no-undefined' -%define _disable_ld_no_undefined 1 - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.4 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Domino widget style and twin decoration for TDE -Group: Graphical desktop/TDE -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: libtool - -%if 0%{?fedora} || 0%{?rhel} || 0%{?suse_version} -BuildRequires: libjpeg-devel -%else -BuildRequires: jpeg-devel -%endif - -%description -Domino is a style with a soft look. It allows to fine adjust the shininess -of the widgets by customizable color gradients. - - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DDATA_INSTALL_DIR=%{tde_datadir}/apps \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DBUILD_ALL=ON \ - .. - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - - -%clean -%__rm -rf $RPM_BUILD_ROOT - - -%files -%defattr(-,root,root) -%{tde_tdelibdir}/plugins/styles/domino.la -%{tde_tdelibdir}/plugins/styles/domino.so -%{tde_tdelibdir}/tdestyle_domino_config.la -%{tde_tdelibdir}/tdestyle_domino_config.so -%{tde_tdelibdir}/twin3_domino.la -%{tde_tdelibdir}/twin3_domino.so -%{tde_tdelibdir}/twin_domino_config.la -%{tde_tdelibdir}/twin_domino_config.so -%{tde_datadir}/apps/tdedisplay/color-schemes/Domino.kcsrc -%{tde_datadir}/apps/tdestyle/themes/domino.themerc -%{tde_datadir}/apps/twin/domino.desktop -%lang(de) %{tde_datadir}/locale/de/LC_MESSAGES/tdestyle_domino_config.mo - - -%changelog diff --git a/redhat/applications/tde-style-ia-ora/tde-style-ia-ora.spec b/redhat/applications/tde-style-ia-ora/tde-style-ia-ora.spec deleted file mode 100644 index 14277f757..000000000 --- a/redhat/applications/tde-style-ia-ora/tde-style-ia-ora.spec +++ /dev/null @@ -1,149 +0,0 @@ -# -# spec file for package tde-style-ia-ora (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg tde-style-ia-ora -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_confdir %{_sysconfdir}/trinity -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 1.0.8 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Mandriva theme for TDE - Widget design -Group: Environment/Desktop -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: libtool - -# ACL support -BuildRequires: libacl-devel - -# IDN support -BuildRequires: libidn-devel - -# OPENSSL support -BuildRequires: openssl-devel - -Requires: trinity-twin - -Obsoletes: trinity-style-ia-ora < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-style-ia-ora = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -Mandriva theme for Trinity - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - - -%clean -%__rm -rf %{buildroot} - - -%files -%defattr(-,root,root,-) -%{tde_tdelibdir}/plugins/styles/ia_ora.la -%{tde_tdelibdir}/plugins/styles/ia_ora.so -%{tde_tdelibdir}/twin3_iaora.la -%{tde_tdelibdir}/twin3_iaora.so -%{tde_tdelibdir}/twin_iaora_config.la -%{tde_tdelibdir}/twin_iaora_config.so -%{tde_datadir}/apps/tdestyle/themes/ia_ora.themerc -%{tde_datadir}/apps/twin/iaora.desktop - - -%changelog diff --git a/redhat/applications/tde-style-lipstik/tde-style-lipstik.spec b/redhat/applications/tde-style-lipstik/tde-style-lipstik.spec deleted file mode 100644 index 629182637..000000000 --- a/redhat/applications/tde-style-lipstik/tde-style-lipstik.spec +++ /dev/null @@ -1,169 +0,0 @@ -# -# spec file for package tde-style-lipstik (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg tde-style-lipstik -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 2.2.3 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Lipstik style for TDE -Group: Applications/Utilities -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -Obsoletes: trinity-kde-style-lipstik < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-kde-style-lipstik = %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: trinity-style-lipstik < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-style-lipstik = %{?epoch:%{epoch}:}%{version}-%{release} - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: fdupes - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -# IDN support -BuildRequires: libidn-devel - -# OPENSSL support -BuildRequires: openssl-devel - - -%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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DDATA_INSTALL_DIR="%{tde_datadir}/apps" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%find_lang %{tde_pkg} - - -%clean -%__rm -rf %{buildroot} - - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_tdelibdir}/tdestyle_lipstik_config.la -%{tde_tdelibdir}/tdestyle_lipstik_config.so -%{tde_tdelibdir}/plugins/styles/lipstik.la -%{tde_tdelibdir}/plugins/styles/lipstik.so -%{tde_datadir}/apps/tdedisplay/color-schemes/lipstiknoble.kcsrc -%{tde_datadir}/apps/tdedisplay/color-schemes/lipstikstandard.kcsrc -%{tde_datadir}/apps/tdedisplay/color-schemes/lipstikwhite.kcsrc -%{tde_datadir}/apps/tdestyle/themes/lipstik.themerc - - -%changelog diff --git a/redhat/applications/tde-style-qtcurve/tde-style-qtcurve.spec b/redhat/applications/tde-style-qtcurve/tde-style-qtcurve.spec deleted file mode 100644 index 08edda0f9..000000000 --- a/redhat/applications/tde-style-qtcurve/tde-style-qtcurve.spec +++ /dev/null @@ -1,193 +0,0 @@ -# -# spec file for package tde-style-qtcurve (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg tde-style-qtcurve -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.55.2 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: This is a set of widget styles for Trinity based apps -Group: Applications/Utilities -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: libtool -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: fdupes - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -# IDN support -BuildRequires: libidn-devel - -# ACL support -BuildRequires: libacl-devel - -# GAMIN support -# Not on openSUSE. -%if ( 0%{?rhel} && 0%{?rhel} <= 8 ) || ( 0%{?fedora} && 0%{?fedora} <= 33 ) || 0%{?mgaversion} || 0%{?mdkversion} -%define with_gamin 1 -BuildRequires: gamin-devel -%endif - -# OPENSSL support -BuildRequires: openssl-devel - - -Obsoletes: trinity-kde-style-qtcurve < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-kde-style-qtcurve = %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: trinity-style-qtcurve < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-style-qtcurve = %{?epoch:%{epoch}:}%{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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" - -# Shitty hack for RHEL4 ... -if [ -d "/usr/X11R6" ]; then - export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH}:/usr/X11R6/include:/usr/X11R6/%{_lib}" - export RPM_OPT_FLAGS="${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 ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - \ - -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}/tdestyle_qtcurve_config.la -%{tde_tdelibdir}/tdestyle_qtcurve_config.so -%{tde_tdelibdir}/plugins/styles/qtcurve.so -%{tde_tdelibdir}/plugins/styles/qtcurve.la -%{tde_datadir}/apps/tdedisplay/color-schemes/QtCurve.kcsrc -%{tde_datadir}/apps/tdestyle/themes/qtcurve.themerc -%{tde_datadir}/apps/QtCurve/ - - -%changelog diff --git a/redhat/applications/tde-systemsettings/tde-settings-laptops.directory b/redhat/applications/tde-systemsettings/tde-settings-laptops.directory deleted file mode 100644 index d37d9ba13..000000000 --- a/redhat/applications/tde-systemsettings/tde-settings-laptops.directory +++ /dev/null @@ -1,14 +0,0 @@ -[Desktop Entry] -Encoding=UTF-8 -Name=Laptops & Power -Name[br]=Gremm -Name[el]=Ισχύς -Name[it]=Energia -Name[mt]=Elettriku -Name[nl]=Energie -Name[pa]=ਊਰਜਾ(power) -Name[pt_BR]=Energia -Name[ru]=Управление питанием -Name[sv]=Effekt -Icon=energy -OnlyShowIn=TDE; diff --git a/redhat/applications/tde-systemsettings/tde-systemsettings.spec b/redhat/applications/tde-systemsettings/tde-systemsettings.spec deleted file mode 100644 index c51e46f4c..000000000 --- a/redhat/applications/tde-systemsettings/tde-systemsettings.spec +++ /dev/null @@ -1,196 +0,0 @@ -# -# spec file for package tde-systemsettings (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg tde-systemsettings -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_confdir %{_sysconfdir}/trinity -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_sysconfdir %{_sysconfdir}/trinity -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.0svn20070312 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Easy to use control centre for TDE -Group: Applications/Utilities -URL: http://www.trinitydesktop.org - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz -Source1: tde-settings-laptops.directory - - -Provides: trinity-kde-systemsettings = %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: trinity-kde-systemsettings < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-systemsettings = %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: trinity-systemsettings < %{?epoch:%{epoch}:}%{version}-%{release} - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: fdupes - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -%if 0%{?suse_version} == 0 || 0%{?sle_version} <= 150300 -Requires: trinity-guidance -%endif - - -%description -System preferences is a replacement for the TDE -Control Centre with an improved user interface. - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -# Warning: GCC visibility causes FTBFS [Bug #1285] -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_NO_BUILTIN_CHRPATH=ON \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DCONFIG_INSTALL_DIR="%{tde_confdir}" \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DSYSCONF_INSTALL_DIR="/etc/trinity" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DBUILD_ALL=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%__install -D -m 644 %{SOURCE1} %{buildroot}%{tde_datadir}/desktop-directories/tde-settings-laptops.directory - -# Unwanted files -%__rm -f %{buildroot}%{tde_datadir}/applications/tde/kcmfontinst.desktop -%__rm -f %{buildroot}%{tde_datadir}/desktop-directories/tde-settings-power.directory -%__rm -f %{buildroot}%{tde_datadir}/desktop-directories/tde-settings-system.directory - -%__rm -f %{buildroot}%{tde_datadir}/applications/tde/laptop.desktop - -echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/audioencoding.desktop" -echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/defaultapplication.desktop" -echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/kcm_knetworkconfmodule_ss.desktop" -echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/medianotifications.desktop" -echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/systemsettings.desktop" - -# Fix translation names -for d in "%{buildroot}%{tde_datadir}/locale/"*"/LC_MESSAGES"; do - mv "${d}/"*".mo" "${d}/%{tde_pkg}.mo" -done - -%find_lang %{tde_pkg} - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc README.md TODO -%dir %{tde_sysconfdir}/xdg -%dir %{tde_sysconfdir}/xdg/menus -%dir %{tde_sysconfdir}/xdg/menus/applications-merged -%{tde_sysconfdir}/xdg/menus/applications-merged/tde-system-settings-merge.menu -%{tde_sysconfdir}/xdg/menus/tde-system-settings.menu -%{tde_bindir}/systemsettings -%{tde_datadir}/applications/tde/audioencoding.desktop -%{tde_datadir}/applications/tde/defaultapplication.desktop -%{tde_datadir}/applications/tde/kcm_knetworkconfmodule_ss.desktop -%{tde_datadir}/applications/tde/medianotifications.desktop -%{tde_datadir}/applications/tde/systemsettings.desktop -%{tde_datadir}/apps/systemsettings/ -%config(noreplace) %{tde_confdir}/systemsettingsrc -%{tde_datadir}/desktop-directories/*.directory -%{tde_datadir}/icons/crystalsvg/*/apps/systemsettings.png -%{tde_tdedocdir}/HTML/en/tde-systemsettings/ -%{tde_mandir}/man1/systemsettings.1* - -%changelog diff --git a/redhat/applications/tdedocker/tdedocker.spec b/redhat/applications/tdedocker/tdedocker.spec deleted file mode 100644 index 2a88d64c2..000000000 --- a/redhat/applications/tdedocker/tdedocker.spec +++ /dev/null @@ -1,196 +0,0 @@ -# -# spec file for package tdedocker (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg tdedocker -%define tde_prefix /opt/trinity -%define tde_appdir %{tde_datadir}/applications -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 1.4 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Minimize all applications to system tray -Group: Applications/Utilities -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig - -# ACL support -BuildRequires: libacl-devel - -# IDN support -BuildRequires: libidn-devel - -# OPENSSL support -BuildRequires: openssl-devel - -# XKBFILES support -BuildRequires: libxkbfile-devel - -# XMU support -%if 0%{?suse_version} == 1140 -BuildRequires: xorg-x11-libXmu-devel -%endif -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} >= 1210 -BuildRequires: libXmu-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} >= 4 -BuildRequires: libxmu-devel -%endif -%if 0%{?mgaversion} == 2 || 0%{?mgaversion} == 3 -BuildRequires: %{_lib}xmu%{?mgaversion:6}-devel -%endif - -# XPM support -%if 0%{?suse_version} || 0%{?rhel} || 0%{?fedora} -BuildRequires: libXpm-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: %{_lib}xpm-devel -%endif - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - - -%description -tdedocker will help you dock any application into the system tray. -This means you can dock openoffice, xmms, firefox, thunderbird, -anything! Just point and click. Works for all NET WM compliant -window managers - that includes TDE, KDE, GNOME, Xfce, Fluxbox -and many more. - - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/tdedocker.desktop Utility DesktopUtility -%endif - -%find_lang %{tde_pkg} - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS BUGS ChangeLog COPYING CREDITS HACKING INSTALL README TODO VERSION -%{tde_bindir}/tdedocker -%{tde_tdeappdir}/tdedocker.desktop -%{tde_datadir}/apps/tdedocker/ -%{tde_datadir}/icons/hicolor/*/apps/tdedocker.png -%{tde_datadir}/apps/tdedocker/icons/question.png -%{tde_mandir}/man1/tdedocker.1* - - -%changelog diff --git a/redhat/applications/tdeio-appinfo/tdeio-appinfo.spec b/redhat/applications/tdeio-appinfo/tdeio-appinfo.spec deleted file mode 100644 index 66c56bf9c..000000000 --- a/redhat/applications/tdeio-appinfo/tdeio-appinfo.spec +++ /dev/null @@ -1,160 +0,0 @@ -# -# spec file for package tdeio-appinfo (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg tdeio-appinfo -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.3 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: TDEIO slave for the appinfo protocol -Group: Productivity/Networking/Ftp/Clients -URL: http://lukeplant.me.uk/kio-appinfo/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: fdupes - -# ACL support -BuildRequires: libacl-devel - -# IDN support -BuildRequires: libidn-devel - -# OPENSSL support -BuildRequires: openssl-devel - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - - -%description -Adds support for the "appinfo:" protocol -to Konqueror and other TDE applications. -. -This enables you to perform appinfo: searches in TDE. - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_SKIP_INSTALL_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -%__rm -rf %{?buildroot} -%__make install DESTDIR=%{buildroot} -C build - - -%clean -%__rm -rf %{?buildroot} - - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING README.md -%{tde_tdelibdir}/tdeio_appinfo.la -%{tde_tdelibdir}/tdeio_appinfo.so -%{tde_datadir}/services/appinfo.protocol - - -%changelog diff --git a/redhat/applications/tdeio-apt/tdeio-apt.spec b/redhat/applications/tdeio-apt/tdeio-apt.spec deleted file mode 100644 index d52db658a..000000000 --- a/redhat/applications/tdeio-apt/tdeio-apt.spec +++ /dev/null @@ -1,164 +0,0 @@ -# -# spec file for package tdeio-apt (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg tdeio-apt -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.13.2 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: An apt-cache ioslave for Trinity -Group: Applications/Utilities -URL: http://lpnotfr.free.fr/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: fdupes - -# ACL support -BuildRequires: libacl-devel - -# IDN support -BuildRequires: libidn-devel - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - - -%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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DBUILD_ALL=ON \ - -DBUILD_TRANSLATIONS=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%find_lang tdeio_apt - - -%clean -%__rm -rf %{buildroot} - - -%files -f tdeio_apt.lang -%defattr(-,root,root,-) -%doc AUTHORS CHANGELOG ChangeLog COPYING -%{tde_tdelibdir}/tdeio_apt.la -%{tde_tdelibdir}/tdeio_apt.so -%{tde_datadir}/apps/tdeio_apt/ -%{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 diff --git a/redhat/applications/tdeio-ftps/tdeio-ftps.spec b/redhat/applications/tdeio-ftps/tdeio-ftps.spec deleted file mode 100644 index efb471c97..000000000 --- a/redhat/applications/tdeio-ftps/tdeio-ftps.spec +++ /dev/null @@ -1,163 +0,0 @@ -# -# spec file for package tdeio-ftps (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg tdeio-ftps -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.1 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: An ftps TDEIO slave for Trinity -Group: Productivity/Networking/Ftp/Clients -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: fdupes - -# ACL support -BuildRequires: libacl-devel - -# IDN support -BuildRequires: libidn-devel - -# OPENSSL support -BuildRequires: openssl-devel - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -Obsoletes: trinity-kio-ftps < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-kio-ftps = %{?epoch:%{epoch}:}%{version}-%{release} - - -%description -An ftps TDEIO slave for Trinity, based on rfc4217. It should work yet with -most server implementations. - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -%__rm -rf %{?buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%find_lang tdeio_ftps - - -%clean -%__rm -rf %{?buildroot} - - -%files -f tdeio_ftps.lang -%defattr(-,root,root,-) -%defattr(-,root,root,-) -%doc README.md Changelog COPYING AUTHORS -%{tde_tdelibdir}/tdeio_ftps.la -%{tde_tdelibdir}/tdeio_ftps.so -%{tde_datadir}/services/ftps.protocol - - -%changelog diff --git a/redhat/applications/tdeio-gopher/tdeio-gopher.spec b/redhat/applications/tdeio-gopher/tdeio-gopher.spec deleted file mode 100644 index c8fd9e09d..000000000 --- a/redhat/applications/tdeio-gopher/tdeio-gopher.spec +++ /dev/null @@ -1,180 +0,0 @@ -# -# spec file for package tdeio-gopher (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg tdeio-gopher -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.1.4 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: tdeio-slave for the gopher protocol -Group: Productivity/Networking/Ftp/Clients -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: fdupes - -# ACL support -BuildRequires: libacl-devel - -# IDN support -BuildRequires: libidn-devel - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - - -%description -Adds support for the "gopher:" protocol -to Konqueror and other TDE applications. - -This enables you to perform gopher searches in Konqueror. - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -%__rm -rf %{?buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%find_lang tdeio_gopher - - -%clean -%__rm -rf %{?buildroot} - - -%files -f tdeio_gopher.lang -%defattr(-,root,root,-) -%doc ChangeLog COPYING FAQ README VERSION -%{tde_tdelibdir}/tdeio_gopher.la -%{tde_tdelibdir}/tdeio_gopher.so -%{tde_datadir}/services/gopher.protocol -%lang(ca) %{tde_tdedocdir}/HTML/ca/tdeioslave/ -%lang(da) %{tde_tdedocdir}/HTML/da/tdeioslave/ -%lang(de) %{tde_tdedocdir}/HTML/de/tdeioslave/ -%lang(en) %{tde_tdedocdir}/HTML/en/tdeioslave/ -%lang(en_GB) %{tde_tdedocdir}/HTML/en_GB/tdeioslave/ -%lang(es) %{tde_tdedocdir}/HTML/es/tdeioslave/ -%lang(et) %{tde_tdedocdir}/HTML/et/tdeioslave/ -%lang(fr) %{tde_tdedocdir}/HTML/fr/tdeioslave/ -%lang(gl) %{tde_tdedocdir}/HTML/gl/tdeioslave/ -%lang(hu) %{tde_tdedocdir}/HTML/hu/tdeioslave/ -%lang(it) %{tde_tdedocdir}/HTML/it/tdeioslave/ -%lang(nl) %{tde_tdedocdir}/HTML/nl/tdeioslave/ -%lang(pl) %{tde_tdedocdir}/HTML/pl/tdeioslave/ -%lang(pt) %{tde_tdedocdir}/HTML/pt/tdeioslave/ -%lang(pt_BR) %{tde_tdedocdir}/HTML/pt_BR/tdeioslave/ -%lang(ro) %{tde_tdedocdir}/HTML/ro/tdeioslave/ -%lang(ru) %{tde_tdedocdir}/HTML/ru/tdeioslave/ -%lang(sk) %{tde_tdedocdir}/HTML/sk/tdeioslave/ -%lang(sr) %{tde_tdedocdir}/HTML/sr/tdeioslave/ -%lang(sr@Latn) %{tde_tdedocdir}/HTML/sr@Latn/tdeioslave/ -%lang(sv) %{tde_tdedocdir}/HTML/sv/tdeioslave/ -%lang(uk) %{tde_tdedocdir}/HTML/uk/tdeioslave/ - - -%changelog diff --git a/redhat/applications/tdeio-locate/tdeio-locate.spec b/redhat/applications/tdeio-locate/tdeio-locate.spec deleted file mode 100644 index b00e4a7ef..000000000 --- a/redhat/applications/tdeio-locate/tdeio-locate.spec +++ /dev/null @@ -1,177 +0,0 @@ -# -# spec file for package tdeio-locate (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg tdeio-locate -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.4.5 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Tdeio-slave for the locate command [Trinity] -Group: Applications/Utilities -URL: http://www.trinitydesktop.org - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: libtool -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: fdupes - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -# ACL support -BuildRequires: libacl-devel - -# IDN support -BuildRequires: libidn-devel - -# GAMIN support -# Not on openSUSE. -%if ( 0%{?rhel} && 0%{?rhel} <= 8 ) || ( 0%{?fedora} && 0%{?fedora} <= 33 ) || 0%{?mgaversion} || 0%{?mdkversion} -%define with_gamin 1 -BuildRequires: gamin-devel -%endif - -# OPENSSL support -BuildRequires: openssl-devel - -Obsoletes: trinity-kio-locate < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-kio-locate = %{?epoch:%{epoch}:}%{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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -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} \ - \ - -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 tdeio_locate - - -%clean -%__rm -rf %{buildroot} - - - -%files -f tdeio_locate.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING TODO -%{tde_tdelibdir}/tdeio_locate.la -%{tde_tdelibdir}/tdeio_locate.so -%{tde_tdedocdir}/HTML/en/tdeioslave/locate/ -%{tde_datadir}/services/locate.protocol -%{tde_datadir}/services/locater.protocol -%{tde_datadir}/services/rlocate.protocol -%{tde_datadir}/services/searchproviders/locate.desktop - -%changelog diff --git a/redhat/applications/tdeio-sword/tdeio-sword.spec b/redhat/applications/tdeio-sword/tdeio-sword.spec deleted file mode 100644 index c95b32631..000000000 --- a/redhat/applications/tdeio-sword/tdeio-sword.spec +++ /dev/null @@ -1,176 +0,0 @@ -# -# spec file for package tdeio-sword (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# Required for PCLinuxOS: removes the ldflag '--no-undefined' -%if 0%{?pclinuxos} >= 2018 -%define _disable_ld_no_undefined 1 -%endif - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg tdeio-sword -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.3 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Tdeio-slave for the Sword Bible tool -Group: Productivity/Networking/Ftp/Clients -URL: http://lukeplant.me.uk/kio-sword/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: fdupes - -# ACL support -BuildRequires: libacl-devel - -# IDN support -BuildRequires: libidn-devel - -# OPENSSL support -BuildRequires: openssl-devel - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -# Requires: sword -BuildRequires: sword-devel -Requires: sword - - -%description -TDEio-Sword provides access to Bibles, commentaries -and other texts in an easy to use and attractive -interface -- the Konqueror web browser. It does so -using the SWORD Bible project and implementing a TDE -ioslave, providing the sword:/ protocol. - - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -%__rm -rf %{?buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%find_lang tdeio_sword - - -%clean -%__rm -rf %{?buildroot} - - -%files -f tdeio_sword.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING README.md TODO -%{tde_tdelibdir}/tdeio_sword.la -%{tde_tdelibdir}/tdeio_sword.so -%{tde_datadir}/apps/tdeio_sword/ -%{tde_tdedocdir}/HTML/en/tdeioslave/sword/ -%{tde_datadir}/icons/hicolor/*/apps/tdeio_sword.png -%{tde_datadir}/icons/hicolor/scalable/apps/tdeio_sword.svgz -%{tde_datadir}/services/sword.protocol - - -%changelog diff --git a/redhat/applications/tdeio-umountwrapper/media_safelyremove.desktop b/redhat/applications/tdeio-umountwrapper/media_safelyremove.desktop deleted file mode 100644 index 22b716ad5..000000000 --- a/redhat/applications/tdeio-umountwrapper/media_safelyremove.desktop +++ /dev/null @@ -1,74 +0,0 @@ -[Desktop Entry] -ServiceTypes=media/removable_mounted,media/removable_mounted_decrypted,media/removable_unmounted,media/removable_unmounted_decrypted,media/camera_mounted,media/camera_unmounted -Actions=MediaSafelyRemove; -X-TDE-Priority=TopLevel -X-TDE-MediaNotifierHide=true - -[Desktop Action MediaSafelyRemove] -Name=Safely Remove -Name[af]=Verwyder veilig -Name[ar]=أحذف بأمان -Name[be]=Бяспечна адлучыць -Name[bg]=Безопасно изваждане -Name[bn]=নিরাপদভাবে সরাও -Name[bs]=Sigurno ukloni -Name[ca]=Extreu amb seguretat -Name[cs]=Bezpečně odstranit -Name[csb]=Remôj na bezpieczny ôrt -Name[da]=Fjern sikkert -Name[de]=Sicher entfernen -Name[el]=Ασφαλής αφαίρεση -Name[eo]=Sekura Forigo -Name[es]=Extracción segura -Name[et]=Eemalda turvaliselt -Name[eu]=Atera arriskurik gabe -Name[fa]=حذف امن -Name[fi]=Poista turvallisesti -Name[fr]=Enlever en toute sécurité -Name[fy]=Feilich ferwiderje -Name[ga]=Bain Amach go Sábháilte -Name[gl]=Eliminar de Maneira Segura -Name[he]=שליפה בבטחה -Name[hr]=Slobodno uklonite -Name[hu]=Biztonságos leválasztás -Name[is]=Fjarlægja öruggt -Name[it]=Rimozione sicura -Name[ja]=安全に取り除く -Name[kk]=Қауіпсіз алып шығу -Name[km]=យកចេញ​ដោយ​សុវត្ថិភាព -Name[lt]=Saugiai pašalinti -Name[mk]=Безбедно отстрани -Name[ms]=Buang Dengan Selamat -Name[nb]=Sikker fjerning -Name[nds]=Seker rutnehmen -Name[ne]=सुरक्षीत रुपमा हटाउनुहोस् -Name[nl]=Veilig verwijderen -Name[nn]=Trygg fjerning -Name[pa]=ਸੁਰੱਖਿਅਤ ਹਟਾਓ -Name[pl]=Usuń w sposób bezpieczny -Name[pt]=Retirar com Segurança -Name[pt_BR]=Remover de Modo Seguro -Name[ro]=Scoate în siguranță -Name[ru]=Безопасно извлечь -Name[rw]=Gukuramo Neza -Name[se]=Dorvvošlaš eretváldin -Name[sk]=Bezpečne odpojiť -Name[sl]=Varno odstrani -Name[sr]=Безбедно уклони -Name[sr@Latn]=Bezbedno ukloni -Name[sv]=Säker urkoppling -Name[ta]=பாதுகாப்பாக நீக்கு -Name[te]=జాగరత్తగా తియి -Name[tg]=Баровардани бехетар -Name[th]=ถอดออกอย่างปลอดภัย -Name[tr]=Güvenli Kaldır -Name[tt]=İmin Çığaru -Name[uk]=Безпечно вилучити -Name[uz]=Эҳтиётлик билан узиш -Name[vi]=Gỡ ra An toàn -Name[wa]=Ositer e såvrité -Name[zh_CN]=安全删除 -Name[zh_TW]=安全的移除 -Exec=kio_umountwrapper %u - -X-Ubuntu-Gettext-Domain=desktop_tdebase diff --git a/redhat/applications/tdeio-umountwrapper/media_safelyremove.desktop_tdeio b/redhat/applications/tdeio-umountwrapper/media_safelyremove.desktop_tdeio deleted file mode 100644 index 38fa25d92..000000000 --- a/redhat/applications/tdeio-umountwrapper/media_safelyremove.desktop_tdeio +++ /dev/null @@ -1,74 +0,0 @@ -[Desktop Entry] -ServiceTypes=media/removable_mounted,media/removable_mounted_decrypted,media/removable_unmounted,media/removable_unmounted_decrypted,media/camera_mounted,media/camera_unmounted -Actions=MediaSafelyRemove; -X-TDE-Priority=TopLevel -X-TDE-MediaNotifierHide=true - -[Desktop Action MediaSafelyRemove] -Name=Safely Remove -Name[af]=Verwyder veilig -Name[ar]=أحذف بأمان -Name[be]=Бяспечна адлучыць -Name[bg]=Безопасно изваждане -Name[bn]=নিরাপদভাবে সরাও -Name[bs]=Sigurno ukloni -Name[ca]=Extreu amb seguretat -Name[cs]=Bezpečně odstranit -Name[csb]=Remôj na bezpieczny ôrt -Name[da]=Fjern sikkert -Name[de]=Sicher entfernen -Name[el]=Ασφαλής αφαίρεση -Name[eo]=Sekura Forigo -Name[es]=Extracción segura -Name[et]=Eemalda turvaliselt -Name[eu]=Atera arriskurik gabe -Name[fa]=حذف امن -Name[fi]=Poista turvallisesti -Name[fr]=Enlever en toute sécurité -Name[fy]=Feilich ferwiderje -Name[ga]=Bain Amach go Sábháilte -Name[gl]=Eliminar de Maneira Segura -Name[he]=שליפה בבטחה -Name[hr]=Slobodno uklonite -Name[hu]=Biztonságos leválasztás -Name[is]=Fjarlægja öruggt -Name[it]=Rimozione sicura -Name[ja]=安全に取り除く -Name[kk]=Қауіпсіз алып шығу -Name[km]=យកចេញ​ដោយ​សុវត្ថិភាព -Name[lt]=Saugiai pašalinti -Name[mk]=Безбедно отстрани -Name[ms]=Buang Dengan Selamat -Name[nb]=Sikker fjerning -Name[nds]=Seker rutnehmen -Name[ne]=सुरक्षीत रुपमा हटाउनुहोस् -Name[nl]=Veilig verwijderen -Name[nn]=Trygg fjerning -Name[pa]=ਸੁਰੱਖਿਅਤ ਹਟਾਓ -Name[pl]=Usuń w sposób bezpieczny -Name[pt]=Retirar com Segurança -Name[pt_BR]=Remover de Modo Seguro -Name[ro]=Scoate în siguranță -Name[ru]=Безопасно извлечь -Name[rw]=Gukuramo Neza -Name[se]=Dorvvošlaš eretváldin -Name[sk]=Bezpečne odpojiť -Name[sl]=Varno odstrani -Name[sr]=Безбедно уклони -Name[sr@Latn]=Bezbedno ukloni -Name[sv]=Säker urkoppling -Name[ta]=பாதுகாப்பாக நீக்கு -Name[te]=జాగరత్తగా తియి -Name[tg]=Баровардани бехетар -Name[th]=ถอดออกอย่างปลอดภัย -Name[tr]=Güvenli Kaldır -Name[tt]=İmin Çığaru -Name[uk]=Безпечно вилучити -Name[uz]=Эҳтиётлик билан узиш -Name[vi]=Gỡ ra An toàn -Name[wa]=Ositer e såvrité -Name[zh_CN]=安全删除 -Name[zh_TW]=安全的移除 -Exec=tdeio_umountwrapper %u - -X-Ubuntu-Gettext-Domain=desktop_tdebase diff --git a/redhat/applications/tdeio-umountwrapper/tdeio-umountwrapper.spec b/redhat/applications/tdeio-umountwrapper/tdeio-umountwrapper.spec deleted file mode 100644 index 3509b473d..000000000 --- a/redhat/applications/tdeio-umountwrapper/tdeio-umountwrapper.spec +++ /dev/null @@ -1,190 +0,0 @@ -# -# spec file for package tdeio-umountwrapper (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg tdeio-umountwrapper -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.2 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Progress dialog for safely removing devices in Trinity -Group: Applications/Utilities -URL: http://frode.kde.no/misc/tdeio_umountwrapper/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz -Source1: media_safelyremove.desktop_tdeio - - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -Obsoletes: trinity-kio-umountwrapper < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-kio-umountwrapper = %{?epoch:%{epoch}:}%{version}-%{release} - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: fdupes - -# ACL support -BuildRequires: libacl-devel - -# IDN support -BuildRequires: libidn-devel - -# OPENSSL support -BuildRequires: openssl-devel - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - - -%description -Wrapper around tdeio_media_mountwrapper. -Provides a progress dialog for Safely Removing of devices in Trinity. - - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%__install -D -m 644 "%{SOURCE1}" %{?buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdeio-umountwrapper -%__install -D -m 644 "%{SOURCE1}" %{?buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_tdeio-umountwrapper - -%find_lang tdeio_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_tdeio-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_tdeio-umountwrapper || : - done -fi - - -%files -f tdeio_umountwrapper.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING README.md -%{tde_bindir}/tdeio_umountwrapper -%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdeio-umountwrapper -%dir %{tde_datadir}/apps/d3lphin -%dir %{tde_datadir}/apps/d3lphin/servicemenus -%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_tdeio-umountwrapper - - -%changelog diff --git a/redhat/applications/tdeio/tdeio-appinfo/tdeio-appinfo.spec b/redhat/applications/tdeio/tdeio-appinfo/tdeio-appinfo.spec new file mode 100644 index 000000000..66c56bf9c --- /dev/null +++ b/redhat/applications/tdeio/tdeio-appinfo/tdeio-appinfo.spec @@ -0,0 +1,160 @@ +# +# spec file for package tdeio-appinfo (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg tdeio-appinfo +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.3 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: TDEIO slave for the appinfo protocol +Group: Productivity/Networking/Ftp/Clients +URL: http://lukeplant.me.uk/kio-appinfo/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: fdupes + +# ACL support +BuildRequires: libacl-devel + +# IDN support +BuildRequires: libidn-devel + +# OPENSSL support +BuildRequires: openssl-devel + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + + +%description +Adds support for the "appinfo:" protocol +to Konqueror and other TDE applications. +. +This enables you to perform appinfo: searches in TDE. + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_SKIP_INSTALL_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +%__rm -rf %{?buildroot} +%__make install DESTDIR=%{buildroot} -C build + + +%clean +%__rm -rf %{?buildroot} + + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING README.md +%{tde_tdelibdir}/tdeio_appinfo.la +%{tde_tdelibdir}/tdeio_appinfo.so +%{tde_datadir}/services/appinfo.protocol + + +%changelog diff --git a/redhat/applications/tdeio/tdeio-apt/tdeio-apt.spec b/redhat/applications/tdeio/tdeio-apt/tdeio-apt.spec new file mode 100644 index 000000000..d52db658a --- /dev/null +++ b/redhat/applications/tdeio/tdeio-apt/tdeio-apt.spec @@ -0,0 +1,164 @@ +# +# spec file for package tdeio-apt (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg tdeio-apt +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.13.2 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: An apt-cache ioslave for Trinity +Group: Applications/Utilities +URL: http://lpnotfr.free.fr/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: fdupes + +# ACL support +BuildRequires: libacl-devel + +# IDN support +BuildRequires: libidn-devel + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + + +%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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_TRANSLATIONS=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%find_lang tdeio_apt + + +%clean +%__rm -rf %{buildroot} + + +%files -f tdeio_apt.lang +%defattr(-,root,root,-) +%doc AUTHORS CHANGELOG ChangeLog COPYING +%{tde_tdelibdir}/tdeio_apt.la +%{tde_tdelibdir}/tdeio_apt.so +%{tde_datadir}/apps/tdeio_apt/ +%{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 diff --git a/redhat/applications/tdeio/tdeio-ftps/tdeio-ftps.spec b/redhat/applications/tdeio/tdeio-ftps/tdeio-ftps.spec new file mode 100644 index 000000000..efb471c97 --- /dev/null +++ b/redhat/applications/tdeio/tdeio-ftps/tdeio-ftps.spec @@ -0,0 +1,163 @@ +# +# spec file for package tdeio-ftps (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg tdeio-ftps +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.1 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: An ftps TDEIO slave for Trinity +Group: Productivity/Networking/Ftp/Clients +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: fdupes + +# ACL support +BuildRequires: libacl-devel + +# IDN support +BuildRequires: libidn-devel + +# OPENSSL support +BuildRequires: openssl-devel + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +Obsoletes: trinity-kio-ftps < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-kio-ftps = %{?epoch:%{epoch}:}%{version}-%{release} + + +%description +An ftps TDEIO slave for Trinity, based on rfc4217. It should work yet with +most server implementations. + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +%__rm -rf %{?buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%find_lang tdeio_ftps + + +%clean +%__rm -rf %{?buildroot} + + +%files -f tdeio_ftps.lang +%defattr(-,root,root,-) +%defattr(-,root,root,-) +%doc README.md Changelog COPYING AUTHORS +%{tde_tdelibdir}/tdeio_ftps.la +%{tde_tdelibdir}/tdeio_ftps.so +%{tde_datadir}/services/ftps.protocol + + +%changelog diff --git a/redhat/applications/tdeio/tdeio-gopher/tdeio-gopher.spec b/redhat/applications/tdeio/tdeio-gopher/tdeio-gopher.spec new file mode 100644 index 000000000..c8fd9e09d --- /dev/null +++ b/redhat/applications/tdeio/tdeio-gopher/tdeio-gopher.spec @@ -0,0 +1,180 @@ +# +# spec file for package tdeio-gopher (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg tdeio-gopher +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.1.4 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: tdeio-slave for the gopher protocol +Group: Productivity/Networking/Ftp/Clients +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: fdupes + +# ACL support +BuildRequires: libacl-devel + +# IDN support +BuildRequires: libidn-devel + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + + +%description +Adds support for the "gopher:" protocol +to Konqueror and other TDE applications. + +This enables you to perform gopher searches in Konqueror. + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +%__rm -rf %{?buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%find_lang tdeio_gopher + + +%clean +%__rm -rf %{?buildroot} + + +%files -f tdeio_gopher.lang +%defattr(-,root,root,-) +%doc ChangeLog COPYING FAQ README VERSION +%{tde_tdelibdir}/tdeio_gopher.la +%{tde_tdelibdir}/tdeio_gopher.so +%{tde_datadir}/services/gopher.protocol +%lang(ca) %{tde_tdedocdir}/HTML/ca/tdeioslave/ +%lang(da) %{tde_tdedocdir}/HTML/da/tdeioslave/ +%lang(de) %{tde_tdedocdir}/HTML/de/tdeioslave/ +%lang(en) %{tde_tdedocdir}/HTML/en/tdeioslave/ +%lang(en_GB) %{tde_tdedocdir}/HTML/en_GB/tdeioslave/ +%lang(es) %{tde_tdedocdir}/HTML/es/tdeioslave/ +%lang(et) %{tde_tdedocdir}/HTML/et/tdeioslave/ +%lang(fr) %{tde_tdedocdir}/HTML/fr/tdeioslave/ +%lang(gl) %{tde_tdedocdir}/HTML/gl/tdeioslave/ +%lang(hu) %{tde_tdedocdir}/HTML/hu/tdeioslave/ +%lang(it) %{tde_tdedocdir}/HTML/it/tdeioslave/ +%lang(nl) %{tde_tdedocdir}/HTML/nl/tdeioslave/ +%lang(pl) %{tde_tdedocdir}/HTML/pl/tdeioslave/ +%lang(pt) %{tde_tdedocdir}/HTML/pt/tdeioslave/ +%lang(pt_BR) %{tde_tdedocdir}/HTML/pt_BR/tdeioslave/ +%lang(ro) %{tde_tdedocdir}/HTML/ro/tdeioslave/ +%lang(ru) %{tde_tdedocdir}/HTML/ru/tdeioslave/ +%lang(sk) %{tde_tdedocdir}/HTML/sk/tdeioslave/ +%lang(sr) %{tde_tdedocdir}/HTML/sr/tdeioslave/ +%lang(sr@Latn) %{tde_tdedocdir}/HTML/sr@Latn/tdeioslave/ +%lang(sv) %{tde_tdedocdir}/HTML/sv/tdeioslave/ +%lang(uk) %{tde_tdedocdir}/HTML/uk/tdeioslave/ + + +%changelog diff --git a/redhat/applications/tdeio/tdeio-locate/tdeio-locate.spec b/redhat/applications/tdeio/tdeio-locate/tdeio-locate.spec new file mode 100644 index 000000000..b00e4a7ef --- /dev/null +++ b/redhat/applications/tdeio/tdeio-locate/tdeio-locate.spec @@ -0,0 +1,177 @@ +# +# spec file for package tdeio-locate (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg tdeio-locate +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.4.5 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Tdeio-slave for the locate command [Trinity] +Group: Applications/Utilities +URL: http://www.trinitydesktop.org + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: libtool +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: fdupes + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +# ACL support +BuildRequires: libacl-devel + +# IDN support +BuildRequires: libidn-devel + +# GAMIN support +# Not on openSUSE. +%if ( 0%{?rhel} && 0%{?rhel} <= 8 ) || ( 0%{?fedora} && 0%{?fedora} <= 33 ) || 0%{?mgaversion} || 0%{?mdkversion} +%define with_gamin 1 +BuildRequires: gamin-devel +%endif + +# OPENSSL support +BuildRequires: openssl-devel + +Obsoletes: trinity-kio-locate < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-kio-locate = %{?epoch:%{epoch}:}%{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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -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} \ + \ + -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 tdeio_locate + + +%clean +%__rm -rf %{buildroot} + + + +%files -f tdeio_locate.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING TODO +%{tde_tdelibdir}/tdeio_locate.la +%{tde_tdelibdir}/tdeio_locate.so +%{tde_tdedocdir}/HTML/en/tdeioslave/locate/ +%{tde_datadir}/services/locate.protocol +%{tde_datadir}/services/locater.protocol +%{tde_datadir}/services/rlocate.protocol +%{tde_datadir}/services/searchproviders/locate.desktop + +%changelog diff --git a/redhat/applications/tdeio/tdeio-sword/tdeio-sword.spec b/redhat/applications/tdeio/tdeio-sword/tdeio-sword.spec new file mode 100644 index 000000000..c95b32631 --- /dev/null +++ b/redhat/applications/tdeio/tdeio-sword/tdeio-sword.spec @@ -0,0 +1,176 @@ +# +# spec file for package tdeio-sword (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# Required for PCLinuxOS: removes the ldflag '--no-undefined' +%if 0%{?pclinuxos} >= 2018 +%define _disable_ld_no_undefined 1 +%endif + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg tdeio-sword +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.3 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Tdeio-slave for the Sword Bible tool +Group: Productivity/Networking/Ftp/Clients +URL: http://lukeplant.me.uk/kio-sword/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: fdupes + +# ACL support +BuildRequires: libacl-devel + +# IDN support +BuildRequires: libidn-devel + +# OPENSSL support +BuildRequires: openssl-devel + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +# Requires: sword +BuildRequires: sword-devel +Requires: sword + + +%description +TDEio-Sword provides access to Bibles, commentaries +and other texts in an easy to use and attractive +interface -- the Konqueror web browser. It does so +using the SWORD Bible project and implementing a TDE +ioslave, providing the sword:/ protocol. + + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +%__rm -rf %{?buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%find_lang tdeio_sword + + +%clean +%__rm -rf %{?buildroot} + + +%files -f tdeio_sword.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING README.md TODO +%{tde_tdelibdir}/tdeio_sword.la +%{tde_tdelibdir}/tdeio_sword.so +%{tde_datadir}/apps/tdeio_sword/ +%{tde_tdedocdir}/HTML/en/tdeioslave/sword/ +%{tde_datadir}/icons/hicolor/*/apps/tdeio_sword.png +%{tde_datadir}/icons/hicolor/scalable/apps/tdeio_sword.svgz +%{tde_datadir}/services/sword.protocol + + +%changelog diff --git a/redhat/applications/tdeio/tdeio-umountwrapper/media_safelyremove.desktop b/redhat/applications/tdeio/tdeio-umountwrapper/media_safelyremove.desktop new file mode 100644 index 000000000..22b716ad5 --- /dev/null +++ b/redhat/applications/tdeio/tdeio-umountwrapper/media_safelyremove.desktop @@ -0,0 +1,74 @@ +[Desktop Entry] +ServiceTypes=media/removable_mounted,media/removable_mounted_decrypted,media/removable_unmounted,media/removable_unmounted_decrypted,media/camera_mounted,media/camera_unmounted +Actions=MediaSafelyRemove; +X-TDE-Priority=TopLevel +X-TDE-MediaNotifierHide=true + +[Desktop Action MediaSafelyRemove] +Name=Safely Remove +Name[af]=Verwyder veilig +Name[ar]=أحذف بأمان +Name[be]=Бяспечна адлучыць +Name[bg]=Безопасно изваждане +Name[bn]=নিরাপদভাবে সরাও +Name[bs]=Sigurno ukloni +Name[ca]=Extreu amb seguretat +Name[cs]=Bezpečně odstranit +Name[csb]=Remôj na bezpieczny ôrt +Name[da]=Fjern sikkert +Name[de]=Sicher entfernen +Name[el]=Ασφαλής αφαίρεση +Name[eo]=Sekura Forigo +Name[es]=Extracción segura +Name[et]=Eemalda turvaliselt +Name[eu]=Atera arriskurik gabe +Name[fa]=حذف امن +Name[fi]=Poista turvallisesti +Name[fr]=Enlever en toute sécurité +Name[fy]=Feilich ferwiderje +Name[ga]=Bain Amach go Sábháilte +Name[gl]=Eliminar de Maneira Segura +Name[he]=שליפה בבטחה +Name[hr]=Slobodno uklonite +Name[hu]=Biztonságos leválasztás +Name[is]=Fjarlægja öruggt +Name[it]=Rimozione sicura +Name[ja]=安全に取り除く +Name[kk]=Қауіпсіз алып шығу +Name[km]=យកចេញ​ដោយ​សុវត្ថិភាព +Name[lt]=Saugiai pašalinti +Name[mk]=Безбедно отстрани +Name[ms]=Buang Dengan Selamat +Name[nb]=Sikker fjerning +Name[nds]=Seker rutnehmen +Name[ne]=सुरक्षीत रुपमा हटाउनुहोस् +Name[nl]=Veilig verwijderen +Name[nn]=Trygg fjerning +Name[pa]=ਸੁਰੱਖਿਅਤ ਹਟਾਓ +Name[pl]=Usuń w sposób bezpieczny +Name[pt]=Retirar com Segurança +Name[pt_BR]=Remover de Modo Seguro +Name[ro]=Scoate în siguranță +Name[ru]=Безопасно извлечь +Name[rw]=Gukuramo Neza +Name[se]=Dorvvošlaš eretváldin +Name[sk]=Bezpečne odpojiť +Name[sl]=Varno odstrani +Name[sr]=Безбедно уклони +Name[sr@Latn]=Bezbedno ukloni +Name[sv]=Säker urkoppling +Name[ta]=பாதுகாப்பாக நீக்கு +Name[te]=జాగరత్తగా తియి +Name[tg]=Баровардани бехетар +Name[th]=ถอดออกอย่างปลอดภัย +Name[tr]=Güvenli Kaldır +Name[tt]=İmin Çığaru +Name[uk]=Безпечно вилучити +Name[uz]=Эҳтиётлик билан узиш +Name[vi]=Gỡ ra An toàn +Name[wa]=Ositer e såvrité +Name[zh_CN]=安全删除 +Name[zh_TW]=安全的移除 +Exec=kio_umountwrapper %u + +X-Ubuntu-Gettext-Domain=desktop_tdebase diff --git a/redhat/applications/tdeio/tdeio-umountwrapper/media_safelyremove.desktop_tdeio b/redhat/applications/tdeio/tdeio-umountwrapper/media_safelyremove.desktop_tdeio new file mode 100644 index 000000000..38fa25d92 --- /dev/null +++ b/redhat/applications/tdeio/tdeio-umountwrapper/media_safelyremove.desktop_tdeio @@ -0,0 +1,74 @@ +[Desktop Entry] +ServiceTypes=media/removable_mounted,media/removable_mounted_decrypted,media/removable_unmounted,media/removable_unmounted_decrypted,media/camera_mounted,media/camera_unmounted +Actions=MediaSafelyRemove; +X-TDE-Priority=TopLevel +X-TDE-MediaNotifierHide=true + +[Desktop Action MediaSafelyRemove] +Name=Safely Remove +Name[af]=Verwyder veilig +Name[ar]=أحذف بأمان +Name[be]=Бяспечна адлучыць +Name[bg]=Безопасно изваждане +Name[bn]=নিরাপদভাবে সরাও +Name[bs]=Sigurno ukloni +Name[ca]=Extreu amb seguretat +Name[cs]=Bezpečně odstranit +Name[csb]=Remôj na bezpieczny ôrt +Name[da]=Fjern sikkert +Name[de]=Sicher entfernen +Name[el]=Ασφαλής αφαίρεση +Name[eo]=Sekura Forigo +Name[es]=Extracción segura +Name[et]=Eemalda turvaliselt +Name[eu]=Atera arriskurik gabe +Name[fa]=حذف امن +Name[fi]=Poista turvallisesti +Name[fr]=Enlever en toute sécurité +Name[fy]=Feilich ferwiderje +Name[ga]=Bain Amach go Sábháilte +Name[gl]=Eliminar de Maneira Segura +Name[he]=שליפה בבטחה +Name[hr]=Slobodno uklonite +Name[hu]=Biztonságos leválasztás +Name[is]=Fjarlægja öruggt +Name[it]=Rimozione sicura +Name[ja]=安全に取り除く +Name[kk]=Қауіпсіз алып шығу +Name[km]=យកចេញ​ដោយ​សុវត្ថិភាព +Name[lt]=Saugiai pašalinti +Name[mk]=Безбедно отстрани +Name[ms]=Buang Dengan Selamat +Name[nb]=Sikker fjerning +Name[nds]=Seker rutnehmen +Name[ne]=सुरक्षीत रुपमा हटाउनुहोस् +Name[nl]=Veilig verwijderen +Name[nn]=Trygg fjerning +Name[pa]=ਸੁਰੱਖਿਅਤ ਹਟਾਓ +Name[pl]=Usuń w sposób bezpieczny +Name[pt]=Retirar com Segurança +Name[pt_BR]=Remover de Modo Seguro +Name[ro]=Scoate în siguranță +Name[ru]=Безопасно извлечь +Name[rw]=Gukuramo Neza +Name[se]=Dorvvošlaš eretváldin +Name[sk]=Bezpečne odpojiť +Name[sl]=Varno odstrani +Name[sr]=Безбедно уклони +Name[sr@Latn]=Bezbedno ukloni +Name[sv]=Säker urkoppling +Name[ta]=பாதுகாப்பாக நீக்கு +Name[te]=జాగరత్తగా తియి +Name[tg]=Баровардани бехетар +Name[th]=ถอดออกอย่างปลอดภัย +Name[tr]=Güvenli Kaldır +Name[tt]=İmin Çığaru +Name[uk]=Безпечно вилучити +Name[uz]=Эҳтиётлик билан узиш +Name[vi]=Gỡ ra An toàn +Name[wa]=Ositer e såvrité +Name[zh_CN]=安全删除 +Name[zh_TW]=安全的移除 +Exec=tdeio_umountwrapper %u + +X-Ubuntu-Gettext-Domain=desktop_tdebase diff --git a/redhat/applications/tdeio/tdeio-umountwrapper/tdeio-umountwrapper.spec b/redhat/applications/tdeio/tdeio-umountwrapper/tdeio-umountwrapper.spec new file mode 100644 index 000000000..3509b473d --- /dev/null +++ b/redhat/applications/tdeio/tdeio-umountwrapper/tdeio-umountwrapper.spec @@ -0,0 +1,190 @@ +# +# spec file for package tdeio-umountwrapper (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg tdeio-umountwrapper +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.2 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Progress dialog for safely removing devices in Trinity +Group: Applications/Utilities +URL: http://frode.kde.no/misc/tdeio_umountwrapper/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz +Source1: media_safelyremove.desktop_tdeio + + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +Obsoletes: trinity-kio-umountwrapper < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-kio-umountwrapper = %{?epoch:%{epoch}:}%{version}-%{release} + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: fdupes + +# ACL support +BuildRequires: libacl-devel + +# IDN support +BuildRequires: libidn-devel + +# OPENSSL support +BuildRequires: openssl-devel + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + + +%description +Wrapper around tdeio_media_mountwrapper. +Provides a progress dialog for Safely Removing of devices in Trinity. + + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%__install -D -m 644 "%{SOURCE1}" %{?buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdeio-umountwrapper +%__install -D -m 644 "%{SOURCE1}" %{?buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_tdeio-umountwrapper + +%find_lang tdeio_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_tdeio-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_tdeio-umountwrapper || : + done +fi + + +%files -f tdeio_umountwrapper.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING README.md +%{tde_bindir}/tdeio_umountwrapper +%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdeio-umountwrapper +%dir %{tde_datadir}/apps/d3lphin +%dir %{tde_datadir}/apps/d3lphin/servicemenus +%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_tdeio-umountwrapper + + +%changelog diff --git a/redhat/applications/tdenetworkmanager/tdenetworkmanager.spec b/redhat/applications/tdenetworkmanager/tdenetworkmanager.spec deleted file mode 100644 index e1b15a209..000000000 --- a/redhat/applications/tdenetworkmanager/tdenetworkmanager.spec +++ /dev/null @@ -1,250 +0,0 @@ -# -# spec file for package tdenetworkmanager (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg tdenetworkmanager -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.9 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Trinity applet for Network Manager -Group: Applications/Internet -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz -Source1: %{name}-rpmlintrc - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: libtool -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: fdupes - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -Obsoletes: trinity-knetworkmanager < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-knetworkmanager = %{?epoch:%{epoch}:}%{version}-%{release} - -# NETWORKMANAGER support -%if 0%{?rhel} || 0%{?fedora} -%if 0%{?fedora} >= 20 || 0%{?rhel} >= 7 -Requires: NetworkManager -%if 0%{?fedora} >= 29 || 0%{?rhel} >= 8 -BuildRequires: NetworkManager-libnm-devel -%else -BuildRequires: NetworkManager-devel -%endif -%else -Requires: NetworkManager-gnome -%endif -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -Requires: networkmanager -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?mgaversion} != 8 -BuildRequires: %{_lib}nm-util-devel -%endif -%endif -%if 0%{?rhel} || 0%{?fedora} || 0%{?mdkversion} -%if 0%{?pclinuxos} == 0 -%if 0%{?fedora} >= 29 || 0%{?rhel} >= 8 -BuildRequires: NetworkManager-libnm-devel -%else -BuildRequires: NetworkManager-glib-devel -%endif -%endif -%endif -%if 0%{?suse_version} -BuildRequires: NetworkManager-devel -Requires: NetworkManager -%endif - -# ACL support -BuildRequires: libacl-devel - -# DBUS support -BuildRequires: trinity-dbus-1-tqt-devel >= 1:0.9 -BuildRequires: trinity-dbus-tqt-devel >= 1:0.63 - -# ACL support -BuildRequires: libacl-devel - -# UDEV support -%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} || 0%{?rhel} >= 6 -BuildRequires: libudev-devel -%endif - -# IDN support -BuildRequires: libidn-devel - -# GAMIN support -# Not on openSUSE. -%if ( 0%{?rhel} && 0%{?rhel} <= 8 ) || ( 0%{?fedora} && 0%{?fedora} <= 33 ) || 0%{?mgaversion} || 0%{?mdkversion} -%define with_gamin 1 -BuildRequires: gamin-devel -%endif - -# OPENSSL support -BuildRequires: openssl-devel - - -%description -TDENetworkManager is a system tray applet for controlling network -connections on systems that use the NetworkManager daemon. - -%post -# Prevent autostart of 'nm-applet', if installed. -if [ -r "/etc/xdg/autostart/nm-applet.desktop" ]; then - if ! grep -qw "TDE" "/etc/xdg/autostart/nm-applet.desktop" ; then - sed -i "/etc/xdg/autostart/nm-applet.desktop" -e "s|\(NotShowIn=.*\)|\1TDE;|" - fi -fi - -%files -%defattr(-,root,root,-) -%{tde_bindir}/tdenetworkmanager -%{tde_libdir}/*.la -%{tde_libdir}/*.so -%{_sysconfdir}/dbus-1/system.d/tdenetworkmanager.conf -%{tde_tdeappdir}/tdenetworkmanager.desktop -%{tde_datadir}/apps/tdenetworkmanager -%{tde_datadir}/icons/hicolor/*/apps/tdenetworkmanager* -%{tde_datadir}/servicetypes/tdenetworkmanager_plugin.desktop -%{tde_datadir}/servicetypes/tdenetworkmanager_vpnplugin.desktop -%{tde_datadir}/autostart/tdenetworkmanager.desktop -#{tde_datadir}/services/tdenetman_openvpn.desktop -#{tde_datadir}/services/tdenetman_pptp.desktop -#{tde_datadir}/services/tdenetman_strongswan.desktop -#{tde_datadir}/services/tdenetman_vpnc.desktop -#{tde_tdedocdir}/HTML/en/tdenetworkmanager/ - -########## - -%package devel -Summary: Common data shared among the MySQL GUI Suites -Group: Development/Libraries -Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} - -%description devel -Development headers for tdenetworkmanager - -%files devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/*.h -%{tde_tdelibdir}/*.la -%{tde_tdelibdir}/*.so - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -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} \ - .. - -%__make %{?_smp_mflags} - - -%install -%__rm -rf $RPM_BUILD_ROOT -%__make install DESTDIR=%{?buildroot} -C build - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file -r %{tde_pkg} Utility TrayIcon System Applet -%endif - - -%clean -%__rm -rf $RPM_BUILD_ROOT - - -%changelog diff --git a/redhat/applications/tdenetworkmanager/trinity-tdenetworkmanager-rpmlintrc b/redhat/applications/tdenetworkmanager/trinity-tdenetworkmanager-rpmlintrc deleted file mode 100644 index 8668d5e81..000000000 --- a/redhat/applications/tdenetworkmanager/trinity-tdenetworkmanager-rpmlintrc +++ /dev/null @@ -1 +0,0 @@ -setBadness('suse-dbus-unauthorized-service', 0) diff --git a/redhat/applications/tdepowersave/tdepowersave.spec b/redhat/applications/tdepowersave/tdepowersave.spec deleted file mode 100644 index bec9a33c3..000000000 --- a/redhat/applications/tdepowersave/tdepowersave.spec +++ /dev/null @@ -1,257 +0,0 @@ -# -# spec file for package tdepowersave (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg tdepowersave -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_confdir %{_sysconfdir}/trinity -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.7.3 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Power management applet for Trinity -Group: Applications/Utilities -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils -BuildRequires: libdbus-tqt-1-devel >= %{tde_epoch}:0.63 -BuildRequires: libdbus-1-tqt-devel >= %{tde_epoch}:0.9 - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: libtool -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: fdupes - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -# UDEV support -%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} || 0%{?rhel} >= 6 -%define with_tdehwlib 1 -BuildRequires: libudev-devel -%endif - -# XSCREENSAVER support -# Disabled on RHEL4 -# RHEL 8: available in EPEL -%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version} -%define with_xscreensaver 1 -%if 0%{?rhel} == 5 -BuildRequires: xorg-x11-proto-devel -#BuildRequires: gnome-screensaver -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?mgaversion} >= 4 -BuildRequires: %{_lib}xscrnsaver-devel -%else -BuildRequires: %{_lib}xscrnsaver%{?mgaversion:1}-devel -%endif -%endif -%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version} >= 1220 -BuildRequires: libXScrnSaver-devel -%endif -%if 0%{?suse_version} == 1140 -BuildRequires: xscreensaver -%endif -%endif - -# ACL support -BuildRequires: libacl-devel - -# IDN support -BuildRequires: libidn-devel - -# GAMIN support -# Not on openSUSE. -%if ( 0%{?rhel} && 0%{?rhel} <= 8 ) || ( 0%{?fedora} && 0%{?fedora} <= 33 ) || 0%{?mgaversion} || 0%{?mdkversion} -%define with_gamin 1 -BuildRequires: gamin-devel -%endif - -# OPENSSL support -BuildRequires: openssl-devel - - -Obsoletes: trinity-kpowersave < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-kpowersave = %{?epoch:%{epoch}:}%{version}-%{release} - - -%description -TDEPowersave is a TDE systray applet which allows to control the power -management settings and policies of your computer. - -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 - -TDEPowersave supports schemes with following configurable specific -settings for: - * screensaver - * DPMS - * autosuspend - * scheme specific blacklist for autosuspend - * notification settings - - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DCONFIG_INSTALL_DIR="%{tde_confdir}" \ - -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 - -%find_lang %{tde_pkg} - - -%clean -%__rm -rf %{buildroot} - - -%post -# Disables automatic poweroff, make sure we match both "kpowersave" and "tdepowersave" -if [ $1 = 1 ] && [ -r /etc/acpi/actions/power.sh ]; then - %__cp -f "/etc/acpi/actions/power.sh" "/etc/acpi/actions/power.sh.tdepowersavebackup" - %__sed -i "/etc/acpi/actions/power.sh" -e "s|kpowersave|powersave|" -fi - -%postun -if [ $1 = 0 ] && [ -r "/etc/acpi/actions/power.sh.tdepowersavebackup" ]; then - %__mv -f "/etc/acpi/actions/power.sh.tdepowersavebackup" "/etc/acpi/actions/power.sh" -fi - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING TODO -%{tde_bindir}/tdepowersave -%{tde_libdir}/libtdeinit_tdepowersave.la -%{tde_libdir}/libtdeinit_tdepowersave.so -%{tde_tdelibdir}/tdepowersave.la -%{tde_tdelibdir}/tdepowersave.so -%{tde_tdeappdir}/tdepowersave.desktop -%{tde_datadir}/apps/tdepowersave/ -%{tde_datadir}/icons/hicolor/*/*/*.png -%{tde_datadir}/autostart/tdepowersave-autostart.desktop -%config(noreplace) %{tde_confdir}/tdepowersaverc -%{tde_mandir}/man1/tdepowersave.* - -%lang(cs) %{tde_tdedocdir}/HTML/cs/tdepowersave/ -%lang(de) %{tde_tdedocdir}/HTML/de/tdepowersave/ -%lang(en) %{tde_tdedocdir}/HTML/en/tdepowersave/ -%lang(fi) %{tde_tdedocdir}/HTML/fi/tdepowersave/ -%lang(hu) %{tde_tdedocdir}/HTML/hu/tdepowersave/ -%lang(nb) %dir %{tde_tdedocdir}/HTML/nb -%lang(nb) %{tde_tdedocdir}/HTML/nb/tdepowersave/ - - -%changelog diff --git a/redhat/applications/tderadio/tderadio.spec b/redhat/applications/tderadio/tderadio.spec deleted file mode 100644 index 9ada63fa5..000000000 --- a/redhat/applications/tderadio/tderadio.spec +++ /dev/null @@ -1,233 +0,0 @@ -# -# spec file for package tderadio (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} -%define with_lirc 1 -%endif - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg tderadio -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.1.1.1 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Comfortable Radio Application for TDE -Group: Applications/Utilities -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: cmake -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: fdupes - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -BuildRequires: libsndfile-devel -%{?with_lirc:BuildRequires: lirc-devel} - -# LAME support -%if 0%{?opensuse_bs} == 0 -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} || 0%{?rhel} -%define with_lame 1 - -%if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?pclinuxos} -BuildRequires: liblame-devel -%else -%if 0%{?mgaversion} >= 6 -BuildRequires: %{_lib}mp3lame-devel -%else -BuildRequires: %{_lib}lame-devel -%endif -%endif -%endif -%if 0%{?suse_version} -BuildRequires: libmp3lame-devel -%endif -%if 0%{?fedora} || 0%{?rhel} -BuildRequires: lame-devel -%endif -%endif -%endif - -Obsoletes: trinity-kradio < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-kradio = %{?epoch:%{epoch}:}%{version}-%{release} - - -%description -TDERadio is a comfortable radio application for Trinity with support for -V4L and V4L2 radio cards drivers. - -TDERadio 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 TDERadio users. - -As TDERadio is based on an extendable plugin architecture, contributions -of new plugins (e.g. Internet Radio Streams, new cool GUIs) are welcome. - - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_SKIP_INSTALL_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -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} \ - \ - -DBUILD_ALL=ON \ - .. - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%find_lang %{tde_pkg} - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file -G "Radio Tuner" %{tde_pkg} AudioVideo Tuner -%endif - -# Remove devel files -%__rm -f %{?buildroot}%{tde_libdir}/libtderadio.la -%__rm -f %{?buildroot}%{tde_libdir}/libtderadio.so - -# Remove pixmas -%__rm -fr %{?buildroot}%{tde_datadir}/pixmaps/ - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%{tde_bindir}/convert-presets -%{tde_bindir}/tderadio -%{tde_libdir}/libtderadio.so.0 -%{tde_libdir}/libtderadio.so.0.0.0 -%dir %{tde_libdir}/tderadio -%dir %{tde_libdir}/tderadio/plugins -%{tde_libdir}/tderadio/plugins/*.la -%{tde_libdir}/tderadio/plugins/*.so -%{tde_tdeappdir}/tderadio.desktop -%{tde_datadir}/apps/tderadio/ -%dir %{tde_datadir}/icons/hicolor/256x256 -%dir %{tde_datadir}/icons/hicolor/256x256/actions -%{tde_datadir}/icons/hicolor/*/*/tderadio*.png -%{tde_datadir}/icons/locolor/*/*/tderadio*.png -%lang(de) %{tde_datadir}/locale/de/LC_MESSAGES/*.mo -%lang(nl) %{tde_datadir}/locale/nl/LC_MESSAGES/*.mo -%lang(pt) %{tde_datadir}/locale/pt/LC_MESSAGES/*.mo -%lang(ru) %{tde_datadir}/locale/ru/LC_MESSAGES/*.mo -%{tde_tdedocdir}/HTML/en/tderadio/ -%{tde_mandir}/man1/convert-presets.1* -%{tde_mandir}/man1/tderadio.1* - - -%changelog diff --git a/redhat/applications/tdesudo/tdesudo.spec b/redhat/applications/tdesudo/tdesudo.spec deleted file mode 100644 index 89ffa7add..000000000 --- a/redhat/applications/tdesudo/tdesudo.spec +++ /dev/null @@ -1,164 +0,0 @@ -# -# spec file for package tdesudo (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg tdesudo -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 2.5.1 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Sudo frontend for Trinity -Group: Applications/Utilities -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: fdupes - -# ACL support -BuildRequires: libacl-devel - -# IDN support -BuildRequires: libidn-devel - -# OPENSSL support -BuildRequires: openssl-devel - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -Obsoletes: trinity-kdesudo < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-kdesudo = %{?epoch:%{epoch}:}%{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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%find_lang %{tde_pkg} - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%{tde_bindir}/tdesudo -%{tde_tdedocdir}/HTML/en/tdesudo/ -%{tde_mandir}/man1/*.1* - - -%changelog diff --git a/redhat/applications/tdmtheme/tdmtheme.spec b/redhat/applications/tdmtheme/tdmtheme.spec deleted file mode 100644 index 0dcf28d8c..000000000 --- a/redhat/applications/tdmtheme/tdmtheme.spec +++ /dev/null @@ -1,162 +0,0 @@ -# -# spec file for package tdmtheme (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg tdmtheme -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 1.2.2 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Theme manager for TDM -Group: Applications/Utilities -URL: http://beta.smileaf.org/projects - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: fdupes - -# ACL support -BuildRequires: libacl-devel - -# IDN support -BuildRequires: libidn-devel - -# OPENSSL support -BuildRequires: openssl-devel - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -Obsoletes: trinity-kdmtheme < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-kdmtheme = %{?epoch:%{epoch}:}%{version}-%{release} - - -%description -tdmtheme is a theme manager for TDM. It provides a Trinity Control Module (TDECM) -that allows you to easily install, remove and change your TDM themes. - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%find_lang %{tde_pkg} - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%{tde_tdelibdir}/kcm_tdmtheme.la -%{tde_tdelibdir}/kcm_tdmtheme.so -%{tde_tdeappdir}/tdmtheme.desktop -%{tde_tdedocdir}/HTML/en/tdmtheme/ - - -%changelog diff --git a/redhat/applications/tellico/tellico.spec b/redhat/applications/tellico/tellico.spec deleted file mode 100644 index 7002a965b..000000000 --- a/redhat/applications/tellico/tellico.spec +++ /dev/null @@ -1,361 +0,0 @@ -%if 0%{?fedora} >= 23 || 0%{?rhel} >= 9 -%define _hardened_ldflags %nil -%endif - -# -# spec file for package tellico (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that confolrms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg tellico -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_confdir %{_sysconfdir}/trinity -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 1.3.2.1 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Icollection manager for books, videos, music [Trinity] -Group: Applications/Utilities -URL: http://periapsis.org/tellico/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: trinity-tdemultimedia-devel >= %{tde_version} -BuildRequires: trinity-libkcal-devel >= %{tde_version} -BuildRequires: trinity-libpoppler-tqt-devel >= %{tde_version} -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: fdupes - -# POPPLER support -%if 0%{?rhel} >=6 || 0%{?fedora} >= 15 || 0%{?suse_version} -%if 0%{?suse_version} >= 1500 -BuildRequires: libpoppler-devel >= 0.12 -%else -BuildRequires: poppler-devel >= 0.12 -%endif -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}poppler-devel -%endif -%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5 -# On RHEL 5, the distro-provided poppler is too old. We built a newer one. -BuildRequires: trinity-poppler-devel >= 0.12 -%endif - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -# YAZ support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: yaz -BuildRequires: %{_lib}yaz-devel -%endif - -# XML2 support -BuildRequires: libxml2-devel - -# XSLT support -BuildRequires: libxslt-devel -%if 0%{?rhel} == 4 -# a bogus dep in libexslt.la file from EL-4 (WONTFIX bug http://bugzilla.redhat.com/142241) -BuildRequires: libgcrypt-devel -%endif - -# V4L support -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?suse_version} -BuildRequires: libv4l-devel -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}v4l-devel -%endif - -# EXEMPI support -%if 0%{?suse_version} -BuildRequires: libexempi-devel -%else -BuildRequires: exempi-devel -%endif - -# PCRE support -BuildRequires: pcre-devel - -# IDN support -BuildRequires: libidn-devel - -# GAMIN support -# Not on openSUSE. -%if ( 0%{?rhel} && 0%{?rhel} <= 8 ) || ( 0%{?fedora} && 0%{?fedora} <= 33 ) || 0%{?mgaversion} || 0%{?mdkversion} -%define with_gamin 1 -BuildRequires: gamin-devel -%endif - -# OPENSSL support -BuildRequires: openssl-devel - -# ACL support -BuildRequires: libacl-devel - -# ATTR support -BuildRequires: libattr-devel - -# PYTHON support -%if 0%{?sle_version} >= 150400 || 0%{?rhel} >= 9 -%define python python3 -%define __python %__python3 -%else -%if 0%{?rhel} == 8 || 0%{?fedora} >= 31 || 0%{?suse_version} >= 1550 || 0%{?mgaversion} >= 8 -%global python python2 -%global __python %__python2 -%global python_sitearch %{python2_sitearch} -%else -%global python python -%endif -%endif -%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} -BuildRequires: %{python} -BuildRequires: %{python}-devel - -# Readline support -BuildRequires: readline-devel - - -Requires: %{name}-data = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: %{name}-scripts = %{?epoch:%{epoch}:}%{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. - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%{tde_bindir}/tellico -%{tde_datadir}/applications -%config(noreplace) %{tde_confdir}/tellicorc -%{tde_mandir}/man1/tellico.1* - -########## - -%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. - -%files data -%defattr(-,root,root,-) -%dir %{tde_datadir}/apps/tellico -%{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/hicolor/*/apps/tellico.png -%{tde_datadir}/icons/hicolor/*/mimetypes/application-x-tellico.png -%{tde_datadir}/icons/hicolor/scalable/apps/tellico.svg -%{tde_datadir}/icons/hicolor/scalable/mimetypes/application-x-tellico.svg -%{tde_datadir}/mime/packages/tellico.xml -%{tde_datadir}/mimelnk/application/x-tellico.desktop -%{tde_datadir}/apps/tdeconf_update/tellico-1-3-update.pl -%{tde_datadir}/apps/tdeconf_update/tellico-rename.upd -%{tde_datadir}/apps/tdeconf_update/tellico.upd - -########## - -%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. - -%files scripts -%defattr(-,root,root,-) -%{tde_datadir}/apps/tellico/data-sources -%{tde_datadir}/apps/tellico/z3950-servers.cfg - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -if [ -r /usr/include/libv4l1-videodev.h ]; then -%__sed -i "src/barcode/barcode_v4l.h" -e "s|linux/videodev.h|libv4l1.h|" -fi - -%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8 || 0%{?mgaversion} >= 8 -%__sed -i "src/fetch/scripts/dark_horse_comics.py" \ - "src/fetch/scripts/ministerio_de_cultura.py" \ - "src/fetch/scripts/fr.allocine.py" \ - "src/translators/griffith2tellico.py" \ - -e "s|/usr/bin/env python|/usr/bin/env %{python}|" -%endif - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -# Warning: GCC visibility causes FTBFS [Bug #1285] -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_NO_BUILTIN_CHRPATH=ON \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DCONFIG_INSTALL_DIR="%{tde_confdir}" \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_LIBKCDDB=ON \ - -DWITH_LIBKCAL=ON \ - -DWITH_LIBBTPARSE=OFF \ - -DWITH_SAX_LOADER=ON \ -%if 0%{?rhel} == 5 - -DBUILD_WEBCAM_SUPPORT=OFF \ -%endif - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=$RPM_BUILD_ROOT -C build - -# 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" - -%find_lang %{tde_pkg} - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/applications/themes/gtk-qt-engine/gtk-qt-engine.spec b/redhat/applications/themes/gtk-qt-engine/gtk-qt-engine.spec new file mode 100644 index 000000000..7d9db849a --- /dev/null +++ b/redhat/applications/themes/gtk-qt-engine/gtk-qt-engine.spec @@ -0,0 +1,181 @@ +# +# spec file for package gtk-qt-engine (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg gtk-qt-engine +%define tde_prefix /opt/trinity +%define tde_appdir %{tde_datadir}/applications +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.8 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Theme engine using Qt for GTK+ 2.x and Trinity +Group: Applications/Utilities +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: gettext +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: libtool + +# GTK2 support +%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} +BuildRequires: gtk2-devel +%endif +%if 0%{?mgaversion} >= 5 +BuildRequires: %{_lib}gtk+2.0-devel +%endif +%if 0%{?mdkversion} +%if 0%{?pclinuxos} +BuildRequires: %{_lib}gtk+2.0_0-devel +%else +BuildRequires: gtk+2.0-devel +%endif +%endif + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + + +%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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +# Warning: GCC visibility causes the KCM not to work at all ! +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DDATA_INSTALL_DIR=%{tde_datadir}/apps \ + -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 %{tde_pkg} + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING TODO +%{tde_tdelibdir}/kcm_kcmgtk.la +%{tde_tdelibdir}/kcm_kcmgtk.so +%{tde_tdeappdir}/kcmgtk.desktop +%{tde_tdedocdir}/HTML/en/kcontrol/gtk/ + +# The following files are outside TDE's directory +%dir %{_libdir}/gtk-2.0 +%dir %{_libdir}/gtk-2.0/2.10.0 +%dir %{_libdir}/gtk-2.0/2.10.0/engines +%{_libdir}/gtk-2.0/2.10.0/engines/libqtengine.la +%{_libdir}/gtk-2.0/2.10.0/engines/libqtengine.so +%dir %{_datadir}/themes +%dir %{_datadir}/themes/Qt +%dir %{_datadir}/themes/Qt/gtk-2.0 +%{_datadir}/themes/Qt/gtk-2.0/gtkrc + + +%changelog diff --git a/redhat/applications/themes/gtk3-tqt-engine/gtk3-tqt-engine.spec b/redhat/applications/themes/gtk3-tqt-engine/gtk3-tqt-engine.spec new file mode 100644 index 000000000..e4100aaca --- /dev/null +++ b/redhat/applications/themes/gtk3-tqt-engine/gtk3-tqt-engine.spec @@ -0,0 +1,173 @@ +# +# spec file for package gtk3-tqt-engine (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg gtk3-tqt-engine +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.5 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: GTK3 theme engine for TDE +Group: Applications/Utilities +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: gettext + +BuildRequires: autoconf automake libtool m4 +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: libtool + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 7 +BuildRequires: gtk3-devel +%else +BuildRequires: gtk+3.0-devel +%endif + +%description +GTK3 style engine which uses the active TDE style to draw its widgets + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} +%if "%_lib" == "lib64" +%__sed -i "tdegtk/Makefile.am" -e "s|/lib/|/lib64/|g" +%endif + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" + +if [ -d "/usr/include/atk-1.0" ]; then + extra_includes="%{_includedir}/atk-1.0:${extra_includes}" +fi +if [ -d "/usr/include/gdk-pixbuf-2.0" ]; then + extra_includes="%{_includedir}/gdk-pixbuf-2.0:${extra_includes}" +fi +if [ -d "/usr/include/gtk-3.0" ]; then + extra_includes="%{_includedir}/gtk-3.0:${extra_includes}" +fi +if [ -d "/usr/include/pango-1.0" ]; then + extra_includes="%{_includedir}/pango-1.0:${extra_includes}" +fi + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --docdir=%{tde_tdedocdir} \ + --libdir=%{tde_libdir} \ + \ + --disable-dependency-tracking \ + --disable-debug \ + --enable-new-ldflags \ + --enable-final \ + --enable-closure \ + --enable-rpath \ + --disable-gcc-hidden-visibility \ + \ + --with-extra-includes=${extra_includes} + +%__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_libdir}/libtqtcairo.la +%{tde_libdir}/libtqtcairo.so +%{tde_libdir}/libtqtcairo.so.0 +%{tde_libdir}/libtqtcairo.so.0.0.0 +%{_libdir}/gtk-3.0/3.0.0/theming-engines/libtdegtk.la +%{_libdir}/gtk-3.0/3.0.0/theming-engines/libtdegtk.so +%{_libdir}/gtk-3.0/3.0.0/theming-engines/libtdegtk.so.0 +%{_libdir}/gtk-3.0/3.0.0/theming-engines/libtdegtk.so.0.0.0 +%dir %{_datadir}/themes/tdegtk +%dir %{_datadir}/themes/tdegtk/gtk-3.0 +%{_datadir}/themes/tdegtk/gtk-3.0/gtk.css + + +%changelog diff --git a/redhat/applications/themes/kgtk-qt3/kgtk-qt3.spec b/redhat/applications/themes/kgtk-qt3/kgtk-qt3.spec new file mode 100644 index 000000000..ecc87aad6 --- /dev/null +++ b/redhat/applications/themes/kgtk-qt3/kgtk-qt3.spec @@ -0,0 +1,191 @@ +# +# spec file for package kgtk-qt3 (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg kgtk-qt3 +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.10.2 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Use TDE dialogs in Gtk apps +Group: Applications/Utilities +URL: http://www.trinitydesktop.org + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: gettext + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: libtool +BuildRequires: gcc-c++ +BuildRequires: pkgconfig + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +# IDN support +BuildRequires: libidn-devel + +# GTK2 support +%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} +BuildRequires: gtk2-devel +%else +BuildRequires: gtk+2.0-devel +%endif + +# GAMIN support +# Not on openSUSE. +%if ( 0%{?rhel} && 0%{?rhel} <= 8 ) || ( 0%{?fedora} && 0%{?fedora} <= 33 ) || 0%{?mgaversion} || 0%{?mdkversion} +%define with_gamin 1 +BuildRequires: gamin-devel +%endif + +# ACL support +BuildRequires: libacl-devel + +# OPENSSL support +BuildRequires: openssl-devel + + +%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 TDE module/application. + +This package includes the kqt3-wrapper + + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -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} \ + \ + -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 +%dir %{tde_datadir}/kgtk +%dir %{tde_libdir}/kgtk +%{tde_libdir}/kgtk/libkgtk2.so +%{tde_libdir}/kgtk/libkqt3.so +%{tde_datadir}/kgtk/preload + + +%changelog diff --git a/redhat/applications/themes/ksplash-engine-moodin/ksplash-engine-moodin.spec b/redhat/applications/themes/ksplash-engine-moodin/ksplash-engine-moodin.spec new file mode 100644 index 000000000..8a6c3aeac --- /dev/null +++ b/redhat/applications/themes/ksplash-engine-moodin/ksplash-engine-moodin.spec @@ -0,0 +1,175 @@ +# +# spec file for package ksplash-engine-moodin (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg ksplash-engine-moodin +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.4.2 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Fading splash screen engine for Trinity +Group: Applications/Utilities +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: fdupes + +# IDN support +BuildRequires: libidn-devel + +# OPENSSL support +BuildRequires: openssl-devel + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + + +%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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%find_lang %{tde_pkg} + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%{tde_tdelibdir}/ksplashmoodin.la +%{tde_tdelibdir}/ksplashmoodin.so +%if "%{?tde_version}" == "14.1.0" +%{tde_datadir}/apps/ksplash/Themes/Architecture/ +%endif +%{tde_datadir}/apps/ksplash/Themes/FingerPrint/ +%{tde_datadir}/apps/ksplash/Themes/MoodinKDE/ +%{tde_datadir}/services/ksplashmoodin.desktop + + +%changelog diff --git a/redhat/applications/themes/qt4-tqt-theme-engine/qt4-tqt-theme-engine.spec b/redhat/applications/themes/qt4-tqt-theme-engine/qt4-tqt-theme-engine.spec new file mode 100644 index 000000000..d564e576e --- /dev/null +++ b/redhat/applications/themes/qt4-tqt-theme-engine/qt4-tqt-theme-engine.spec @@ -0,0 +1,158 @@ +# +# spec file for package qt4-tqt-theme-engine (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg qt4-tqt-theme-engine +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%if "%{?_qt4_plugindir}" == "" +%define _qt4_plugindir %{_libdir}/qt4/plugins +%endif + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.1 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: TDE theme engine for Qt4 +Group: Applications/Utilities +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: autoconf automake libtool m4 +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: fdupes + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +# QT4 support +%if 0%{?suse_version} +%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150200 +BuildRequires: libqt4-devel +%else +BuildRequires: qt-devel +%endif +%else +BuildRequires: qt4-devel +%endif + + +%description +TDE theme engine for Qt4 + + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + +# Fix compilation with 'lib64' +%if "%_lib" == "lib64" +%__sed -i */*.pro -e "s|/opt/trinity/lib|/opt/trinity/lib64|g" +%endif + +# Fix TDE include directory +%__sed -i */*.pro -e "s|INCLUDEPATH += /opt/trinity/include|INCLUDEPATH += %{tde_tdeincludedir}|" + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +if [ -x "%{_libdir}/qt4/bin/qmake" ]; then + export PATH="%{_libdir}/qt4/bin:${PATH}" +fi + +# Use QT4's qmake +qmake + + +# Not SMP SAFE ! +%__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install INSTALL_ROOT=%{buildroot} + +# Unwanted files (-devel ?) +%__rm -f %{?buildroot}%{_libdir}/libtdeqt4interface.so + + +%clean +%__rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%{_libdir}/libtdeqt4interface.so.1 +%{_libdir}/libtdeqt4interface.so.1.0 +%{_libdir}/libtdeqt4interface.so.1.0.0 +%dir %{_qt4_plugindir}/styles/ +%{_qt4_plugindir}/styles/libsimplestyleplugin.so + + +%changelog diff --git a/redhat/applications/themes/tde-style-baghira/tde-style-baghira.spec b/redhat/applications/themes/tde-style-baghira/tde-style-baghira.spec new file mode 100644 index 000000000..7cab17109 --- /dev/null +++ b/redhat/applications/themes/tde-style-baghira/tde-style-baghira.spec @@ -0,0 +1,196 @@ +# +# spec file for package tde-style-baghira (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg tde-style-baghira +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_confdir %{_sysconfdir}/trinity +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +# Required for Mageia and PCLinuxOS: removes the ldflag '--no-undefined' +%define _disable_ld_no_undefined 1 + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.8 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: TDE style for Apple junkies :) +Group: Graphical desktop/TDE +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: libtool + +%if 0%{?fedora} || 0%{?rhel} || 0%{?suse_version} +BuildRequires: libjpeg-devel +%else +BuildRequires: jpeg-devel +%endif + +%description +Based upon mosfet-liquid0.9.6pre4... the last heir of mosfet. +Baghira includes both an style (custom widgets) and twin decoration as +well as colour schemes. + +Baghira (panther, in german) makes TDE resemble Apple's MacOS X's Aqua, +Panther and Jaguar looks, and also includes its own 'Baghira' look + + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DDATA_INSTALL_DIR=%{tde_datadir}/apps \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DBUILD_ALL=ON \ + .. + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + + +%clean +%__rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root) +%{tde_bindir}/bab +%{tde_libdir}/libbaghirastarter.la +%{tde_libdir}/libbaghirastarter.so +%{tde_tdelibdir}/b_menu_panelapplet.la +%{tde_tdelibdir}/b_menu_panelapplet.so +%{tde_tdelibdir}/plugins/styles/baghira.la +%{tde_tdelibdir}/plugins/styles/baghira.so +%{tde_tdelibdir}/tdestyle_baghira_config.la +%{tde_tdelibdir}/tdestyle_baghira_config.so +%{tde_tdelibdir}/twin3_baghira.la +%{tde_tdelibdir}/twin3_baghira.so +%{tde_tdelibdir}/twin_baghira_config.la +%{tde_tdelibdir}/twin_baghira_config.so +%{tde_libdir}/usermanager_panelapplet.la +%{tde_libdir}/usermanager_panelapplet.so +%{tde_tdeappdir}/bab.desktop +%{tde_datadir}/apps/baghira/ +%{tde_datadir}/apps/kicker/applets/baghira-starter.desktop +%{tde_datadir}/apps/kicker/applets/baghira-usermanager.desktop +%{tde_datadir}/apps/tdedisplay/color-schemes/AquaBlue.kcsrc +%{tde_datadir}/apps/tdedisplay/color-schemes/AquaGraphite.kcsrc +%{tde_datadir}/apps/tdestyle/themes/baghira.themerc +%{tde_datadir}/apps/twin/baghira.desktop +%{tde_datadir}/icons/crystalsvg/128x128/apps/baghira.png +%{tde_datadir}/icons/crystalsvg/128x128/apps/baghira_blue.png +%{tde_datadir}/icons/crystalsvg/128x128/apps/baghira_grey.png +%{tde_datadir}/icons/crystalsvg/128x128/apps/baghira_white.png +%{tde_datadir}/icons/crystalsvg/128x128/apps/baghira_yellow.png +%{tde_datadir}/icons/crystalsvg/16x16/apps/baghira.png +%{tde_datadir}/icons/crystalsvg/16x16/apps/baghira_blue.png +%{tde_datadir}/icons/crystalsvg/16x16/apps/baghira_grey.png +%{tde_datadir}/icons/crystalsvg/16x16/apps/baghira_white.png +%{tde_datadir}/icons/crystalsvg/16x16/apps/baghira_yellow.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/bStarter.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/bStarter_down.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/bStarter_hover.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/bab_itunes.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/bab_jaguar.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/bab_milk.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/bab_panther.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/bab_tiger.png +%{tde_datadir}/icons/crystalsvg/22x22/apps/baghira.png +%{tde_datadir}/icons/crystalsvg/22x22/apps/baghira_blue.png +%{tde_datadir}/icons/crystalsvg/22x22/apps/baghira_grey.png +%{tde_datadir}/icons/crystalsvg/22x22/apps/baghira_white.png +%{tde_datadir}/icons/crystalsvg/22x22/apps/baghira_yellow.png +%{tde_datadir}/icons/crystalsvg/32x32/apps/baghira.png +%{tde_datadir}/icons/crystalsvg/32x32/apps/baghira_blue.png +%{tde_datadir}/icons/crystalsvg/32x32/apps/baghira_grey.png +%{tde_datadir}/icons/crystalsvg/32x32/apps/baghira_white.png +%{tde_datadir}/icons/crystalsvg/32x32/apps/baghira_yellow.png +%{tde_datadir}/icons/crystalsvg/48x48/apps/baghira.png +%{tde_datadir}/icons/crystalsvg/48x48/apps/baghira_blue.png +%{tde_datadir}/icons/crystalsvg/48x48/apps/baghira_grey.png +%{tde_datadir}/icons/crystalsvg/48x48/apps/baghira_white.png +%{tde_datadir}/icons/crystalsvg/48x48/apps/baghira_yellow.png +%{tde_datadir}/icons/crystalsvg/64x64/apps/baghira.png +%{tde_datadir}/icons/crystalsvg/64x64/apps/baghira_blue.png +%{tde_datadir}/icons/crystalsvg/64x64/apps/baghira_grey.png +%{tde_datadir}/icons/crystalsvg/64x64/apps/baghira_white.png +%{tde_datadir}/icons/crystalsvg/64x64/apps/baghira_yellow.png +%lang(de) %{tde_datadir}/locale/de/LC_MESSAGES/baghira-starter.mo +%{tde_mandir}/man1/bab.1* + + +%changelog diff --git a/redhat/applications/themes/tde-style-domino/tde-style-domino.spec b/redhat/applications/themes/tde-style-domino/tde-style-domino.spec new file mode 100644 index 000000000..7bb66c619 --- /dev/null +++ b/redhat/applications/themes/tde-style-domino/tde-style-domino.spec @@ -0,0 +1,141 @@ +# +# spec file for package domino (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg tde-style-domino +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_confdir %{_sysconfdir}/trinity +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +# Required for Mageia and PCLinuxOS: removes the ldflag '--no-undefined' +%define _disable_ld_no_undefined 1 + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.4 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Domino widget style and twin decoration for TDE +Group: Graphical desktop/TDE +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: libtool + +%if 0%{?fedora} || 0%{?rhel} || 0%{?suse_version} +BuildRequires: libjpeg-devel +%else +BuildRequires: jpeg-devel +%endif + +%description +Domino is a style with a soft look. It allows to fine adjust the shininess +of the widgets by customizable color gradients. + + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DDATA_INSTALL_DIR=%{tde_datadir}/apps \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DBUILD_ALL=ON \ + .. + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + + +%clean +%__rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root) +%{tde_tdelibdir}/plugins/styles/domino.la +%{tde_tdelibdir}/plugins/styles/domino.so +%{tde_tdelibdir}/tdestyle_domino_config.la +%{tde_tdelibdir}/tdestyle_domino_config.so +%{tde_tdelibdir}/twin3_domino.la +%{tde_tdelibdir}/twin3_domino.so +%{tde_tdelibdir}/twin_domino_config.la +%{tde_tdelibdir}/twin_domino_config.so +%{tde_datadir}/apps/tdedisplay/color-schemes/Domino.kcsrc +%{tde_datadir}/apps/tdestyle/themes/domino.themerc +%{tde_datadir}/apps/twin/domino.desktop +%lang(de) %{tde_datadir}/locale/de/LC_MESSAGES/tdestyle_domino_config.mo + + +%changelog diff --git a/redhat/applications/themes/tde-style-ia-ora/tde-style-ia-ora.spec b/redhat/applications/themes/tde-style-ia-ora/tde-style-ia-ora.spec new file mode 100644 index 000000000..14277f757 --- /dev/null +++ b/redhat/applications/themes/tde-style-ia-ora/tde-style-ia-ora.spec @@ -0,0 +1,149 @@ +# +# spec file for package tde-style-ia-ora (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg tde-style-ia-ora +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_confdir %{_sysconfdir}/trinity +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 1.0.8 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Mandriva theme for TDE - Widget design +Group: Environment/Desktop +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: libtool + +# ACL support +BuildRequires: libacl-devel + +# IDN support +BuildRequires: libidn-devel + +# OPENSSL support +BuildRequires: openssl-devel + +Requires: trinity-twin + +Obsoletes: trinity-style-ia-ora < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-style-ia-ora = %{?epoch:%{epoch}:}%{version}-%{release} + +%description +Mandriva theme for Trinity + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + + +%clean +%__rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%{tde_tdelibdir}/plugins/styles/ia_ora.la +%{tde_tdelibdir}/plugins/styles/ia_ora.so +%{tde_tdelibdir}/twin3_iaora.la +%{tde_tdelibdir}/twin3_iaora.so +%{tde_tdelibdir}/twin_iaora_config.la +%{tde_tdelibdir}/twin_iaora_config.so +%{tde_datadir}/apps/tdestyle/themes/ia_ora.themerc +%{tde_datadir}/apps/twin/iaora.desktop + + +%changelog diff --git a/redhat/applications/themes/tde-style-lipstik/tde-style-lipstik.spec b/redhat/applications/themes/tde-style-lipstik/tde-style-lipstik.spec new file mode 100644 index 000000000..629182637 --- /dev/null +++ b/redhat/applications/themes/tde-style-lipstik/tde-style-lipstik.spec @@ -0,0 +1,169 @@ +# +# spec file for package tde-style-lipstik (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg tde-style-lipstik +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 2.2.3 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Lipstik style for TDE +Group: Applications/Utilities +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +Obsoletes: trinity-kde-style-lipstik < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-kde-style-lipstik = %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: trinity-style-lipstik < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-style-lipstik = %{?epoch:%{epoch}:}%{version}-%{release} + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: fdupes + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +# IDN support +BuildRequires: libidn-devel + +# OPENSSL support +BuildRequires: openssl-devel + + +%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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DDATA_INSTALL_DIR="%{tde_datadir}/apps" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%find_lang %{tde_pkg} + + +%clean +%__rm -rf %{buildroot} + + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_tdelibdir}/tdestyle_lipstik_config.la +%{tde_tdelibdir}/tdestyle_lipstik_config.so +%{tde_tdelibdir}/plugins/styles/lipstik.la +%{tde_tdelibdir}/plugins/styles/lipstik.so +%{tde_datadir}/apps/tdedisplay/color-schemes/lipstiknoble.kcsrc +%{tde_datadir}/apps/tdedisplay/color-schemes/lipstikstandard.kcsrc +%{tde_datadir}/apps/tdedisplay/color-schemes/lipstikwhite.kcsrc +%{tde_datadir}/apps/tdestyle/themes/lipstik.themerc + + +%changelog diff --git a/redhat/applications/themes/tde-style-qtcurve/tde-style-qtcurve.spec b/redhat/applications/themes/tde-style-qtcurve/tde-style-qtcurve.spec new file mode 100644 index 000000000..08edda0f9 --- /dev/null +++ b/redhat/applications/themes/tde-style-qtcurve/tde-style-qtcurve.spec @@ -0,0 +1,193 @@ +# +# spec file for package tde-style-qtcurve (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg tde-style-qtcurve +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.55.2 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: This is a set of widget styles for Trinity based apps +Group: Applications/Utilities +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: libtool +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: fdupes + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +# IDN support +BuildRequires: libidn-devel + +# ACL support +BuildRequires: libacl-devel + +# GAMIN support +# Not on openSUSE. +%if ( 0%{?rhel} && 0%{?rhel} <= 8 ) || ( 0%{?fedora} && 0%{?fedora} <= 33 ) || 0%{?mgaversion} || 0%{?mdkversion} +%define with_gamin 1 +BuildRequires: gamin-devel +%endif + +# OPENSSL support +BuildRequires: openssl-devel + + +Obsoletes: trinity-kde-style-qtcurve < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-kde-style-qtcurve = %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: trinity-style-qtcurve < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-style-qtcurve = %{?epoch:%{epoch}:}%{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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" + +# Shitty hack for RHEL4 ... +if [ -d "/usr/X11R6" ]; then + export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH}:/usr/X11R6/include:/usr/X11R6/%{_lib}" + export RPM_OPT_FLAGS="${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 ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + \ + -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}/tdestyle_qtcurve_config.la +%{tde_tdelibdir}/tdestyle_qtcurve_config.so +%{tde_tdelibdir}/plugins/styles/qtcurve.so +%{tde_tdelibdir}/plugins/styles/qtcurve.la +%{tde_datadir}/apps/tdedisplay/color-schemes/QtCurve.kcsrc +%{tde_datadir}/apps/tdestyle/themes/qtcurve.themerc +%{tde_datadir}/apps/QtCurve/ + + +%changelog diff --git a/redhat/applications/themes/tdmtheme/tdmtheme.spec b/redhat/applications/themes/tdmtheme/tdmtheme.spec new file mode 100644 index 000000000..0dcf28d8c --- /dev/null +++ b/redhat/applications/themes/tdmtheme/tdmtheme.spec @@ -0,0 +1,162 @@ +# +# spec file for package tdmtheme (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg tdmtheme +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 1.2.2 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Theme manager for TDM +Group: Applications/Utilities +URL: http://beta.smileaf.org/projects + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: fdupes + +# ACL support +BuildRequires: libacl-devel + +# IDN support +BuildRequires: libidn-devel + +# OPENSSL support +BuildRequires: openssl-devel + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +Obsoletes: trinity-kdmtheme < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-kdmtheme = %{?epoch:%{epoch}:}%{version}-%{release} + + +%description +tdmtheme is a theme manager for TDM. It provides a Trinity Control Module (TDECM) +that allows you to easily install, remove and change your TDM themes. + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%find_lang %{tde_pkg} + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%{tde_tdelibdir}/kcm_tdmtheme.la +%{tde_tdelibdir}/kcm_tdmtheme.so +%{tde_tdeappdir}/tdmtheme.desktop +%{tde_tdedocdir}/HTML/en/tdmtheme/ + + +%changelog diff --git a/redhat/applications/themes/twin-style-crystal/twin-style-crystal.spec b/redhat/applications/themes/twin-style-crystal/twin-style-crystal.spec new file mode 100644 index 000000000..093d4e599 --- /dev/null +++ b/redhat/applications/themes/twin-style-crystal/twin-style-crystal.spec @@ -0,0 +1,154 @@ +# +# spec file for package twin-style-crystal (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg twin-style-crystal +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 1.0.5 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Semi transparant window decoration for Trinity +Group: Applications/Utilities +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: fdupes + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +Obsoletes: trinity-kwin-style-crystal < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-kwin-style-crystal = %{?epoch:%{epoch}:}%{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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_NO_BUILTIN_CHRPATH=ON \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + \ + -DBUILD_ALL=ON \ + -DWITH_ALL_OPTIONS=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + + +%clean +%__rm -rf %{buildroot} + + + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_tdelibdir}/twin3_crystal.la +%{tde_tdelibdir}/twin3_crystal.so +%{tde_tdelibdir}/twin_crystal_config.la +%{tde_tdelibdir}/twin_crystal_config.so +%{tde_datadir}/apps/twin/crystal.desktop + + +%changelog diff --git a/redhat/applications/themes/twin-style-dekorator/twin-style-dekorator.spec b/redhat/applications/themes/twin-style-dekorator/twin-style-dekorator.spec new file mode 100644 index 000000000..058735c56 --- /dev/null +++ b/redhat/applications/themes/twin-style-dekorator/twin-style-dekorator.spec @@ -0,0 +1,158 @@ +# +# spec file for package twin-style-dekorator (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg twin-style-dekorator +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 1.0.5 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Semi transparant window decoration for Trinity +Group: Applications/Utilities +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: fdupes + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + + +%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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +# Warning: GCC visibility causes FTBFS [Bug #1285] +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_NO_BUILTIN_CHRPATH=ON \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DCONFIG_INSTALL_DIR="%{tde_confdir}" \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DSYSCONF_INSTALL_DIR="/etc/trinity" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DBUILD_ALL=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + + +%clean +%__rm -rf %{buildroot} + + + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_tdelibdir}/twin3_deKorator.la +%{tde_tdelibdir}/twin3_deKorator.so +%{tde_tdelibdir}/twin_deKorator_config.la +%{tde_tdelibdir}/twin_deKorator_config.so +%{tde_datadir}/apps/deKorator/ +%{tde_datadir}/apps/twin/deKorator.desktop + + +%changelog diff --git a/redhat/applications/themes/twin-style-machbunt/twin-style-machbunt.spec b/redhat/applications/themes/twin-style-machbunt/twin-style-machbunt.spec new file mode 100644 index 000000000..62b8efb2c --- /dev/null +++ b/redhat/applications/themes/twin-style-machbunt/twin-style-machbunt.spec @@ -0,0 +1,153 @@ +# +# spec file for package twin-style-machbunt (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg twin-style-machbunt +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.1 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: TDE window decoration from SUSE 9.1/9.2 +Group: Applications/Utilities +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: fdupes + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + + +%description +This is a port of the KDE Window decoration extracted from SUSE 9.1/9.2. + +An example color scheme is provided too. + + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +# Warning: GCC visibility causes FTBFS [Bug #1285] +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_SKIP_INSTALL_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_NO_BUILTIN_CHRPATH=ON \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DCONFIG_INSTALL_DIR="%{tde_confdir}" \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DSYSCONF_INSTALL_DIR="/etc/trinity" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DBUILD_ALL=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + + +%clean +%__rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_tdelibdir}/twin3_MachBunt.la +%{tde_tdelibdir}/twin3_MachBunt.so +%{tde_datadir}/apps/tdedisplay/color-schemes/MachBunt.kcsrc +%{tde_datadir}/apps/twin/MachBunt.desktop + + +%changelog diff --git a/redhat/applications/themes/twin-style-suse2/twin-style-suse2.spec b/redhat/applications/themes/twin-style-suse2/twin-style-suse2.spec new file mode 100644 index 000000000..b1cdae23c --- /dev/null +++ b/redhat/applications/themes/twin-style-suse2/twin-style-suse2.spec @@ -0,0 +1,157 @@ +# +# spec file for package twin-style-suse2 (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg twin-style-suse2 +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 1.0.5 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: TDE window decoration from SUSE 9.3 +Group: Applications/Utilities +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: fdupes + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + + +%description +This is a port of the SUSE 9.3 KDE Window decoration extracted from SUSE. + +It features in additon to the original theme several new button +styles and a changeable titlebar image. + +A color scheme for TDE is provided too. + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%find_lang %{tde_pkg} + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING README TODO +%{tde_tdelibdir}/twin3_SUSE2.la +%{tde_tdelibdir}/twin3_SUSE2.so +%{tde_tdelibdir}/twin_SUSE2_config.la +%{tde_tdelibdir}/twin_SUSE2_config.so +%{tde_datadir}/apps/tdedisplay/color-schemes/SUSE2.kcsrc +%{tde_datadir}/apps/twin/SUSE2.desktop +%{tde_datadir}/apps/twin/pics/SUSE2/ + + +%changelog diff --git a/redhat/applications/tork/tork.spec b/redhat/applications/tork/tork.spec deleted file mode 100644 index d9d1cf771..000000000 --- a/redhat/applications/tork/tork.spec +++ /dev/null @@ -1,186 +0,0 @@ -# -# spec file for package tork (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg tork -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.33 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Anonymity Manager for TDE -Group: Applications/Internet -URL: sourceforge.net/projects/tolrk/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils -BuildRequires: trinity-tdepim-devel >= %{tde_version} - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: fdupes - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -# TORSOCKS support -BuildRequires: torsocks - -# OPENSSL support -BuildRequires: openssl-devel - -# GEOIP -%if 0%{?suse_version} -%if 0%{?suse_version} < 1550 -BuildRequires: libGeoIP-devel -%endif -%else -BuildRequires: geoip-devel -%endif - - -%description -TorK is an Anonymity Manager for the TDE Desktop. Browse anonymously on -Konqueror/Firefox/Opera. Send anonymous email via the MixMinion network. -Use ssh/irc/IM anonymously. Control and monitor your anonymous traffic -on the Tor network. - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - \ - -DBUILD_ALL=ON \ - -DWITH_ALL_OPTIONS=ON \ - \ - .. - -%__make %{?_smp_mflags} - - -%install -%__rm -rf $RPM_BUILD_ROOT -%__make install DESTDIR=$RPM_BUILD_ROOT -C build - -%find_lang %{tde_pkg} - - -%clean -%__rm -rf $RPM_BUILD_ROOT - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING README.md TODO USINGTORK -%{tde_bindir}/tork -%{tde_bindir}/torkarkollon -%{tde_bindir}/usewithtor -%{tde_tdelibdir}/kickermenu_tork.la -%{tde_tdelibdir}/kickermenu_tork.so -%{tde_tdelibdir}/tdehtml_tork.la -%{tde_tdelibdir}/tdehtml_tork.so -%{tde_tdelibdir}/tdeio_torioslave.la -%{tde_tdelibdir}/tdeio_torioslave.so -%{tde_tdeappdir}/tork_plug_in.desktop -%{tde_datadir}/apps/kicker/menuext/torkmenu.desktop -%{tde_datadir}/apps/tdehtml/kpartplugins/tork_plug_in.rc -%{tde_datadir}/services/torioslave.protocol -%{tde_tdeappdir}/tork.desktop -%{tde_datadir}/apps/konqueror/servicemenus/tork_downloadwithfirefox.desktop -%{tde_datadir}/apps/konqueror/servicemenus/tork_downloadwithkonqueror.desktop -%{tde_datadir}/apps/konqueror/servicemenus/tork_downloadwithopera.desktop -%{tde_datadir}/apps/tork/ -%{tde_datadir}/config.kcfg/torkconfig.kcfg -%{tde_tdedocdir}/HTML/en/tork/ -%{tde_datadir}/icons/hicolor/*/apps/tork.png -%dir %{tde_datadir}/menu -%{tde_datadir}/menu/tork -%dir %{tde_datadir}/pixmaps -%{tde_datadir}/pixmaps/tork.xpm -%{tde_mandir}/man1/tork.1* -%{tde_mandir}/man1/torkarkollon.1* - - -%changelog diff --git a/redhat/applications/twin-style-crystal/twin-style-crystal.spec b/redhat/applications/twin-style-crystal/twin-style-crystal.spec deleted file mode 100644 index 093d4e599..000000000 --- a/redhat/applications/twin-style-crystal/twin-style-crystal.spec +++ /dev/null @@ -1,154 +0,0 @@ -# -# spec file for package twin-style-crystal (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg twin-style-crystal -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 1.0.5 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Semi transparant window decoration for Trinity -Group: Applications/Utilities -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: fdupes - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -Obsoletes: trinity-kwin-style-crystal < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-kwin-style-crystal = %{?epoch:%{epoch}:}%{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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_NO_BUILTIN_CHRPATH=ON \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - \ - -DBUILD_ALL=ON \ - -DWITH_ALL_OPTIONS=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - - -%clean -%__rm -rf %{buildroot} - - - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_tdelibdir}/twin3_crystal.la -%{tde_tdelibdir}/twin3_crystal.so -%{tde_tdelibdir}/twin_crystal_config.la -%{tde_tdelibdir}/twin_crystal_config.so -%{tde_datadir}/apps/twin/crystal.desktop - - -%changelog diff --git a/redhat/applications/twin-style-dekorator/twin-style-dekorator.spec b/redhat/applications/twin-style-dekorator/twin-style-dekorator.spec deleted file mode 100644 index 058735c56..000000000 --- a/redhat/applications/twin-style-dekorator/twin-style-dekorator.spec +++ /dev/null @@ -1,158 +0,0 @@ -# -# spec file for package twin-style-dekorator (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg twin-style-dekorator -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 1.0.5 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Semi transparant window decoration for Trinity -Group: Applications/Utilities -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: fdupes - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - - -%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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -# Warning: GCC visibility causes FTBFS [Bug #1285] -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_NO_BUILTIN_CHRPATH=ON \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DCONFIG_INSTALL_DIR="%{tde_confdir}" \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DSYSCONF_INSTALL_DIR="/etc/trinity" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DBUILD_ALL=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - - -%clean -%__rm -rf %{buildroot} - - - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_tdelibdir}/twin3_deKorator.la -%{tde_tdelibdir}/twin3_deKorator.so -%{tde_tdelibdir}/twin_deKorator_config.la -%{tde_tdelibdir}/twin_deKorator_config.so -%{tde_datadir}/apps/deKorator/ -%{tde_datadir}/apps/twin/deKorator.desktop - - -%changelog diff --git a/redhat/applications/twin-style-machbunt/twin-style-machbunt.spec b/redhat/applications/twin-style-machbunt/twin-style-machbunt.spec deleted file mode 100644 index 62b8efb2c..000000000 --- a/redhat/applications/twin-style-machbunt/twin-style-machbunt.spec +++ /dev/null @@ -1,153 +0,0 @@ -# -# spec file for package twin-style-machbunt (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg twin-style-machbunt -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.1 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: TDE window decoration from SUSE 9.1/9.2 -Group: Applications/Utilities -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: fdupes - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - - -%description -This is a port of the KDE Window decoration extracted from SUSE 9.1/9.2. - -An example color scheme is provided too. - - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -# Warning: GCC visibility causes FTBFS [Bug #1285] -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_SKIP_INSTALL_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_NO_BUILTIN_CHRPATH=ON \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DCONFIG_INSTALL_DIR="%{tde_confdir}" \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DSYSCONF_INSTALL_DIR="/etc/trinity" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DBUILD_ALL=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - - -%clean -%__rm -rf %{buildroot} - - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_tdelibdir}/twin3_MachBunt.la -%{tde_tdelibdir}/twin3_MachBunt.so -%{tde_datadir}/apps/tdedisplay/color-schemes/MachBunt.kcsrc -%{tde_datadir}/apps/twin/MachBunt.desktop - - -%changelog diff --git a/redhat/applications/twin-style-suse2/twin-style-suse2.spec b/redhat/applications/twin-style-suse2/twin-style-suse2.spec deleted file mode 100644 index b1cdae23c..000000000 --- a/redhat/applications/twin-style-suse2/twin-style-suse2.spec +++ /dev/null @@ -1,157 +0,0 @@ -# -# spec file for package twin-style-suse2 (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg twin-style-suse2 -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 1.0.5 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: TDE window decoration from SUSE 9.3 -Group: Applications/Utilities -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: fdupes - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - - -%description -This is a port of the SUSE 9.3 KDE Window decoration extracted from SUSE. - -It features in additon to the original theme several new button -styles and a changeable titlebar image. - -A color scheme for TDE is provided too. - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%find_lang %{tde_pkg} - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING README TODO -%{tde_tdelibdir}/twin3_SUSE2.la -%{tde_tdelibdir}/twin3_SUSE2.so -%{tde_tdelibdir}/twin_SUSE2_config.la -%{tde_tdelibdir}/twin_SUSE2_config.so -%{tde_datadir}/apps/tdedisplay/color-schemes/SUSE2.kcsrc -%{tde_datadir}/apps/twin/SUSE2.desktop -%{tde_datadir}/apps/twin/pics/SUSE2/ - - -%changelog diff --git a/redhat/applications/utilities/abakus/abakus.spec b/redhat/applications/utilities/abakus/abakus.spec new file mode 100644 index 000000000..e2f921280 --- /dev/null +++ b/redhat/applications/utilities/abakus/abakus.spec @@ -0,0 +1,174 @@ +# +# spec file for package abakus (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg abakus +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.91 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Calculator for TDE +Group: Applications/Utilities +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} + +BuildRequires: desktop-file-utils + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig + +BuildRequires: bison +BuildRequires: flex + +# ACL support +BuildRequires: libacl-devel + +# IDN support +BuildRequires: libidn-devel + +# GAMIN support +# Not on openSUSE. +%if ( 0%{?rhel} && 0%{?rhel} <= 8 ) || ( 0%{?fedora} && 0%{?fedora} <= 33 ) || 0%{?mgaversion} || 0%{?mdkversion} +%define with_gamin 1 +BuildRequires: gamin-devel +%endif + +# OPENSSL support +BuildRequires: openssl-devel + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + + +%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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +# Specific path for RHEL4 +if [ -d "/usr/X11R6" ]; then + export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -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 + +%find_lang %{tde_pkg} + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file -r "%{buildroot}%{tde_tdeappdir}/abakus.desktop" Utility Calculator +%endif + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{tde_pkg}.lang +%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_tdeappdir}/abakus.desktop +%{tde_mandir}/man1/abakus.1* + + +%changelog diff --git a/redhat/applications/utilities/filelight-l10n/filelight-l10n.spec b/redhat/applications/utilities/filelight-l10n/filelight-l10n.spec new file mode 100644 index 000000000..1525e5eb3 --- /dev/null +++ b/redhat/applications/utilities/filelight-l10n/filelight-l10n.spec @@ -0,0 +1,112 @@ +# Default version for this component +%define kdecomp filelight-l10n + +%define debug_package %{nil} + + +# TDE 3.5.13 specific building variables +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_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} + +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: 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/"*"/ltmain.sh" "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 diff --git a/redhat/applications/utilities/filelight/filelight.spec b/redhat/applications/utilities/filelight/filelight.spec new file mode 100644 index 000000000..cd454fbdf --- /dev/null +++ b/redhat/applications/utilities/filelight/filelight.spec @@ -0,0 +1,189 @@ +# +# spec file for package filelight (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg filelight +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_confdir %{_sysconfdir}/trinity +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 1.0 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Graphical disk usage display +Group: Applications/Utilities +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig + +# IDN support +BuildRequires: libidn-devel + +# GAMIN support +# Not on openSUSE. +%if ( 0%{?rhel} && 0%{?rhel} <= 8 ) || ( 0%{?fedora} && 0%{?fedora} <= 33 ) || 0%{?mgaversion} || 0%{?mdkversion} +%define with_gamin 1 +BuildRequires: gamin-devel +%endif + +# OPENSSL support +BuildRequires: openssl-devel + +# ACL support +BuildRequires: libacl-devel + +# ATTR support +BuildRequires: libattr-devel + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +Obsoletes: filelight-l10n < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: filelight-l10n = %{?epoch:%{epoch}:}%{version}-%{release} + +%description +Filelight creates a complex, but data-rich graphical representation of the files and +directories on your computer. + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_NO_BUILTIN_CHRPATH=ON \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DCMAKE_PROGRAM_PATH="%{tde_bindir}" \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DCONFIG_INSTALL_DIR="%{tde_confdir}" \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + \ + -DBUILD_ALL="ON" \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{?buildroot} -C build + +%find_lang %{tde_pkg} + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/filelight.desktop FileManager +%endif + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{tde_pkg}.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 +%config(noreplace) %{tde_confdir}/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/ +%{tde_mandir}/man1/filelight.1* + + +%changelog diff --git a/redhat/applications/utilities/kbarcode/kbarcode.spec b/redhat/applications/utilities/kbarcode/kbarcode.spec new file mode 100644 index 000000000..8684d27bb --- /dev/null +++ b/redhat/applications/utilities/kbarcode/kbarcode.spec @@ -0,0 +1,220 @@ +# +# spec file for package kbarcode (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg kbarcode +%define tde_prefix /opt/trinity +%define tde_appdir %{tde_datadir}/applications +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 2.0.7 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: barcode and label printing application for Trinity +Group: Applications/Utilities +URL: http://www.kbarcode.net + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: gettext + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig + +# ACL support +BuildRequires: libacl-devel + +# IDN support +BuildRequires: libidn-devel + +# OPENSSL support +BuildRequires: openssl-devel + +# PCRE support +BuildRequires: pcre-devel + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +Requires: %{name}-tdefile-plugin = %{?epoch:%{epoch}:}%{version}-%{release} + + +%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 TDE 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. + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING README TODO +%{tde_bindir}/kbarcode +%{tde_tdeappdir}/kbarcode-batch.desktop +%{tde_tdeappdir}/kbarcode-editor.desktop +%{tde_tdeappdir}/kbarcode-single.desktop +%{tde_tdeappdir}/kbarcode.desktop +%{tde_datadir}/mimelnk/application/kbarcode-label.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_mandir}/man1/*.1* +%{tde_tdedocdir}/HTML/en/kbarcode/ + +########## + +%package tdefile-plugin +Summary: tdefile-plugin for %{name} +Group: Applications/Utilities + +%description tdefile-plugin +%{summary}. + +%files tdefile-plugin +%defattr(-,root,root,-) +%{tde_tdelibdir}/tdefile_kbarcode.la +%{tde_tdelibdir}/tdefile_kbarcode.so +%{tde_datadir}/services/tdefile_kbarcode.desktop + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + -DWITH_NATIVE_GNU_BARCODE=OFF \ + -DWITH_JAVASCRIPT=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%find_lang %{tde_pkg} + +# Fix invalid icon path +%__sed -i "%{buildroot}%{tde_tdeappdir}/kbarcode.desktop" -e "s|Icon=.*|Icon=kbarcode|" + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file -r "%{buildroot}%{tde_tdeappdir}/kbarcode.desktop" Utility PrintingUtility +%suse_update_desktop_file -r "%{buildroot}%{tde_tdeappdir}/kbarcode-batch.desktop" Utility PrintingUtility +%suse_update_desktop_file -r "%{buildroot}%{tde_tdeappdir}/kbarcode-editor.desktop" Utility PrintingUtility +%suse_update_desktop_file -r "%{buildroot}%{tde_tdeappdir}/kbarcode-single.desktop" Utility PrintingUtility +%endif + + +%clean +%__rm -rf %{buildroot} + + +%changelog diff --git a/redhat/applications/utilities/kchmviewer/kchmviewer.spec b/redhat/applications/utilities/kchmviewer/kchmviewer.spec new file mode 100644 index 000000000..b6c21725b --- /dev/null +++ b/redhat/applications/utilities/kchmviewer/kchmviewer.spec @@ -0,0 +1,207 @@ +# +# spec file for package kchmviewer (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg kchmviewer +%define tde_prefix /opt/trinity +%define tde_appdir %{tde_datadir}/applications +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 3.1.2 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: CHM viewer for Trinity +Group: Applications/Utilities +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +# CHMLIB support +%if 0%{?rhel} == 8 +%define with_chmlib 0 +%else +%define with_chmlib 1 +BuildRequires: chmlib-devel +%endif + +# ACL support +BuildRequires: libacl-devel + +# IDN support +BuildRequires: libidn-devel + +# OPENSSL support +BuildRequires: openssl-devel + +%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 TDE 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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + -DPLUGIN_INSTALL_DIR="%{tde_tdelibdir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + -DWITH_CHMLIB=%{?with_chmlib} \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%find_lang %{tde_pkg} + +# Removes useless files +%__rm -f %{?buildroot}%{tde_libdir}/*.a + +# Fix desktop icon location +if [ -d "%{?buildroot}%{tde_datadir}/applnk" ]; then + %__mkdir_p "%{?buildroot}%{tde_tdeappdir}" + %__mv -f "%{?buildroot}%{tde_datadir}/applnk/kchmviewer.desktop" "%{?buildroot}%{tde_tdeappdir}/kchmviewer.desktop" + %__rm -r "%{buildroot}%{tde_datadir}/applnk" +fi + +# Updates applications categories for openSUSE +echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/kchmviewer.desktop" +%if 0%{?suse_version} +%suse_update_desktop_file -G "Compressed HTML Viewer" kchmviewer Office Viewer +%endif + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%doc ChangeLog COPYING FAQ README.md +%{tde_bindir}/kchmviewer +%{tde_tdelibdir}/tdeio_msits.la +%{tde_tdelibdir}/tdeio_msits.so +%{tde_tdeappdir}/kchmviewer.desktop +%{tde_datadir}/icons/crystalsvg/*/apps/kchmviewer.png +%{tde_datadir}/services/msits.protocol +%{tde_tdedocdir}/HTML/en/kchmviewer/ +%{tde_tdedocdir}/HTML/en/tdeioslave/msits/ +%{tde_mandir}/man1/kchmviewer.* + + +%changelog diff --git a/redhat/applications/utilities/kcpuload/kcpuload.spec b/redhat/applications/utilities/kcpuload/kcpuload.spec new file mode 100644 index 000000000..12749667d --- /dev/null +++ b/redhat/applications/utilities/kcpuload/kcpuload.spec @@ -0,0 +1,171 @@ +# +# spec file for package kcpuload (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg kcpuload +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 2.00 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: CPU meter for Kicker [Trinity] +Group: Applications/Utilities +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: gettext + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig + +# IDN support +BuildRequires: libidn-devel + +# OPENSSL support +BuildRequires: openssl-devel + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + + +%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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%find_lang %{tde_pkg} || touch %{tde_pkg}.lang + +# Fix desktop files (openSUSE only) +echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/%{tde_pkg}.desktop" +%if 0%{?suse_version} +%suse_update_desktop_file "%{?buildroot}%{tde_tdeappdir}/%{tde_pkg}.desktop" System Monitor +%endif + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%{tde_bindir}/kcpuload +%{tde_tdeappdir}/kcpuload.desktop +%{tde_datadir}/apps/kcpuload/ +%{tde_datadir}/icons/crystalsvg/*/apps/kcpuload.png +%{tde_datadir}/icons/locolor/*/apps/kcpuload.png +%{tde_mandir}/man1/*.1* +%{tde_tdedocdir}/HTML/en/kcpuload/ + + +%changelog diff --git a/redhat/applications/utilities/kdirstat/kdirstat.spec b/redhat/applications/utilities/kdirstat/kdirstat.spec new file mode 100644 index 000000000..cddd115ee --- /dev/null +++ b/redhat/applications/utilities/kdirstat/kdirstat.spec @@ -0,0 +1,177 @@ +# +# spec file for package kdirstat (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg kdirstat +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 2.4.4 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Graphical disk usage display with cleanup facilities [Trinity] +Group: Applications/Utilities +URL: http://www.trinitydesktop.org + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: gettext + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: libtool + +# ACL support +BuildRequires: libacl-devel + +# IDN support +BuildRequires: libidn-devel + +# OPENSSL support +BuildRequires: openssl-devel + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + + +%description +KDirStat (TDE 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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%find_lang %{tde_pkg} + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file -N "KDirStat" -G "Directory Statistics" "%{?buildroot}%{tde_tdeappdir}/%{tde_pkg}.desktop" Filesystem +%endif + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%{tde_bindir}/kdirstat +%{tde_tdeappdir}/kdirstat.desktop +%{tde_datadir}/apps/tdeconf_update/fix_move_to_trash_bin.pl +%{tde_datadir}/apps/tdeconf_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 +%{tde_mandir}/man1/*.1* + + +%changelog diff --git a/redhat/applications/utilities/keep/keep.spec b/redhat/applications/utilities/keep/keep.spec new file mode 100644 index 000000000..e4c67749a --- /dev/null +++ b/redhat/applications/utilities/keep/keep.spec @@ -0,0 +1,179 @@ +# +# spec file for package keep (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg keep +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.4.0 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Backup system for TDE [Trinity] +Group: Applications/Utilities +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: gettext + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: libtool + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +# ACL support +BuildRequires: libacl-devel + +# IDN support +BuildRequires: libidn-devel + +# OPENSSL support +BuildRequires: openssl-devel + +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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + -DPLUGIN_INSTALL_DIR="%{tde_tdelibdir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%find_lang %{tde_pkg} + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file -r "%{?buildroot}%{tde_tdeappdir}/keep.desktop" System Backup +%endif + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{tde_pkg}.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 +%{tde_mandir}/man1/keep.* + + +%changelog diff --git a/redhat/applications/utilities/knutclient/knutclient.spec b/redhat/applications/utilities/knutclient/knutclient.spec new file mode 100644 index 000000000..e171f037e --- /dev/null +++ b/redhat/applications/utilities/knutclient/knutclient.spec @@ -0,0 +1,182 @@ +# +# spec file for package knutclient (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg knutclient +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.9.5 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: A TDE GUI that displays UPS statistics from NUT's upsd [Trinity] +Group: Applications/Utilities +URL: http://www.knut.noveradsl.cz/knutclient/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: fdupes + +# ACL support +BuildRequires: libacl-devel + +# IDN support +BuildRequires: libidn-devel + +# OPENSSL support +BuildRequires: openssl-devel + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + + +%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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + +# Fix permissions +chmod 644 AUTHORS README.md COPYING ChangeLog + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%find_lang %{tde_pkg} + +# Move desktop icon to XDG directory +if [ -d "%{buildroot}%{tde_datadir}/applnk" ]; then + %__mkdir_p %{buildroot}%{tde_tdeappdir} + %__mv "%{buildroot}%{tde_datadir}/applnk/Utilities/knutclient.desktop" "%{buildroot}%{tde_tdeappdir}/%{tde_pkg}.desktop" + %__rm -r "%{buildroot}%{tde_datadir}/applnk" +fi + +# Links duplicate files +%fdupes "%{?buildroot}%{tde_datadir}" + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING README.md +%{tde_bindir}/knutclient +%{tde_tdeappdir}/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 +%{tde_mandir}/man1/*.1* + + +%changelog diff --git a/redhat/applications/utilities/kompose/kompose.spec b/redhat/applications/utilities/kompose/kompose.spec new file mode 100644 index 000000000..6650188b2 --- /dev/null +++ b/redhat/applications/utilities/kompose/kompose.spec @@ -0,0 +1,156 @@ +# +# spec file for package kompose (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg kompose +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_appdir %{tde_datadir}/applications +%define tde_tdeappdir %{tde_appdir}/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Summary: Full-Screen Task Manager for TDE +Version: 0.5.3 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} + +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}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-cmake >= %{tde_version} + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: gettext + +# IMLIB2 support +BuildRequires: imlib2-devel + +# XCOMPOSITE support +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?mgaversion} >= 4 +%define xcomposite_devel %{_lib}xcomposite-devel +%else +%define xcomposite_devel %{_lib}xcomposite%{?mgaversion:1}-devel +%endif +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 +%define xcomposite_devel libXcomposite-devel +%endif +%{?xcomposite_devel:BuildRequires: %{xcomposite_devel}} + +# XDAMAGE support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}xdamage-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 +BuildRequires: libXdamage-devel +%endif + + +%description +Kompose creates a full-screen view in which every window is represented +by a scaled screen shot of it. It appears as a panel applet. + + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DBUILD_ALL=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%find_lang %{tde_pkg} + + +%clean +%__rm -rf %{buildroot} + + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%doc README AUTHORS ChangeLog COPYING +%{tde_bindir}/kompose +%{tde_tdeappdir}/kompose.desktop +%{tde_datadir}/apps/kompose/ +%{tde_tdedocdir}/HTML/en/kompose/ +%{tde_datadir}/icons/hicolor/16x16/apps/kompose.png +%{tde_datadir}/icons/hicolor/32x32/apps/kompose.png + + +%changelog diff --git a/redhat/applications/utilities/krename/krename.spec b/redhat/applications/utilities/krename/krename.spec new file mode 100644 index 000000000..5cbec4e22 --- /dev/null +++ b/redhat/applications/utilities/krename/krename.spec @@ -0,0 +1,171 @@ +# +# spec file for package krename (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg krename +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 3.0.14 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: A TDE batch file renaming utility +Group: Applications/Utilities +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: fdupes + +# IDN support +BuildRequires: libidn-devel + +# ACL support +BuildRequires: libacl-devel + +# OPENSSL support +BuildRequires: openssl-devel + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_NO_BUILTIN_CHRPATH=ON \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DCONFIG_INSTALL_DIR="%{tde_confdir}" \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + \ + -DBUILD_ALL=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%find_lang %{tde_pkg} + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file krename System FileManager +%suse_update_desktop_file -n %{buildroot}%{tde_datadir}/apps/konqueror/servicemenus/krename_dir.desktop +%suse_update_desktop_file -n %{buildroot}%{tde_datadir}/apps/konqueror/servicemenus/krenameservicemenu.desktop +%endif + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{tde_pkg}.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 +%{tde_mandir}/man*/krename.* + + +%changelog diff --git a/redhat/applications/utilities/ksensors/ksensors.spec b/redhat/applications/utilities/ksensors/ksensors.spec new file mode 100644 index 000000000..aa329febc --- /dev/null +++ b/redhat/applications/utilities/ksensors/ksensors.spec @@ -0,0 +1,178 @@ +# +# spec file for package ksensors (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg ksensors +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.7.3 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Trinity Frontend to lm_sensors +Group: Applications/System +URL: http://ksensors.sourceforge.net/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: fdupes + +# IDN support +BuildRequires: libidn-devel + +# OPENSSL support +BuildRequires: openssl-devel + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + +%if 0%{?suse_version} +BuildRequires: libsensors4-devel +%else +BuildRequires: lm_sensors-devel +%endif + +# Keep archs in sync with lm_sensors +ExcludeArch: s390 s390x + + +%description +KSensors is a nice lm-sensors frontend for the K Desktop Environment. +Install the hddtemp package if you wish to monitor hard disk +temperatures with KSensors. + + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +%__rm -rf $RPM_BUILD_ROOT +%__make install DESTDIR=$RPM_BUILD_ROOT -C build + +%find_lang %{tde_pkg} + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file -G "Sensors Frontend" %{tde_pkg} System Monitor +%endif + + +%clean +%__rm -rf $RPM_BUILD_ROOT + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING FAQ README.md TODO +%{tde_bindir}/ksensors +%{tde_tdeappdir}/ksensors.desktop +%{tde_datadir}/apps/ksensors/ +%{tde_datadir}/autostart/ksensors.desktop +%{tde_datadir}/icons/hicolor/*/apps/ksensors.png +%{tde_datadir}/icons/locolor/*/apps/ksensors.png +%{tde_datadir}/sounds/ksensors_alert.wav +%{tde_tdedocdir}/HTML/en/ksensors/ +%{tde_mandir}/man1/*.1* + + +%changelog diff --git a/redhat/applications/utilities/mathemagics/mathemagics.spec b/redhat/applications/utilities/mathemagics/mathemagics.spec new file mode 100644 index 000000000..3eb6700dd --- /dev/null +++ b/redhat/applications/utilities/mathemagics/mathemagics.spec @@ -0,0 +1,132 @@ +# +# spec file for package mathemagics (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg mathemagics +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_mandir %{tde_datadir}/man +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Summary: Mathemagics is a RPN Calculator. +Version: 1.1 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Group: Applications/Utilities +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: libtool + + +%description +Mathemagics is a RPN Calculator. + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DDATA_INSTALL_DIR=%{tde_datadir}/apps \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DBUILD_ALL=ON \ + .. + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%find_lang %{tde_pkg} + + +%clean +%__rm -rf $RPM_BUILD_ROOT + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING README.md +%{tde_bindir}/mathemagics +%{tde_tdeappdir}/mathemagics.desktop +%{tde_datadir}/apps/mathemagics/ +%{tde_datadir}/icons/hicolor/22x22/apps/mathemagics.png +%{tde_datadir}/icons/hicolor/32x32/apps/mathemagics.png +%{tde_datadir}/icons/hicolor/48x48/apps/mathemagics.png +%{tde_datadir}/icons/locolor/16x16/apps/mathemagics.png +%{tde_datadir}/icons/locolor/32x32/apps/mathemagics.png +%{tde_tdedocdir}/HTML/en/mathemagics/ +%{tde_mandir}/man1/mathemagics.1* + + +%changelog diff --git a/redhat/applications/utilities/qalculate-tde/qalculate-tde.spec b/redhat/applications/utilities/qalculate-tde/qalculate-tde.spec new file mode 100644 index 000000000..d786285a8 --- /dev/null +++ b/redhat/applications/utilities/qalculate-tde/qalculate-tde.spec @@ -0,0 +1,170 @@ +# +# spec file for package qalculate-tde (version R14) +# +# Copyright (c) 2014 Trinity Desktop Environment +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. +# +# Please submit bugfixes or comments via http://www.trinitydesktop.org/ +# + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.1.0 +%endif +%define tde_pkg qalculate-tde +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_confdir %{_sysconfdir}/trinity +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.9.7 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Powerful and easy to use desktop calculator - TDE version +Group: Applications/Multimedia +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: trinity-cmake >= %{tde_version} +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: libtool + +BuildRequires: libqalculate-devel >= 0.9.6 + +%if 0%{?suse_version} == 1330 || 0%{?suse_version} >= 1500 || 0%{?rhel} +BuildRequires: cln-devel +%endif +%if 0%{?pclinuxos} >= 2018 +BuildRequires: libcln-devel +%endif +%if 0%{?mgaversion} >= 7 +BuildRequires: %{_lib}cln-devel +%endif + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +%if 0%{?opensuse_bs} && 0%{?suse_version} +# for xdg-menu script +BuildRequires: brp-check-trinity +%endif + + +%description +Qalculate! is small and simple to use but with much power and versatility +underneath. Features include customizable functions, units, arbitrary +precision, plotting, and a graphical interface that uses a one-line +fault-tolerant expression entry (although it supports optional traditional +buttons). + +This package contains the TDE user interface of qalculate. + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" + +if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build +fi + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_NO_BUILTIN_CHRPATH=ON \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + \ + -DBUILD_ALL=ON \ + -DWITH_ALL_OPTIONS=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%find_lang qalculate_tde + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file qalculate_tde -r TDE Utility Calculator +%endif + + +%clean +%__rm -rf %{buildroot} + + +%files -f qalculate_tde.lang +%defattr(-,root,root,-) +%{tde_bindir}/qalculate-tde +%{tde_datadir}/apps/qalculate_tde/ +%{tde_tdeappdir}/qalculate_tde.desktop +%{tde_tdedocdir}/HTML/en/qalculate_tde/ +%{tde_datadir}/icons/hicolor/*/apps/qalculate_tde.png +%{tde_datadir}/icons/hicolor/*/actions/qalculate_convert.png +%{tde_mandir}/man1/qalculate-tde.1* + + +%changelog diff --git a/redhat/applications/wlassistant/wlassistant.spec b/redhat/applications/wlassistant/wlassistant.spec deleted file mode 100644 index 85fefd29f..000000000 --- a/redhat/applications/wlassistant/wlassistant.spec +++ /dev/null @@ -1,203 +0,0 @@ -# -# spec file for package wlassistant (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg wlassistant -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.5.7 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: User friendly TDE frontend for wireless network connection -Group: Applications/Utilities -URL: http://wlassistant.sourceforge.net/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: libtool -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: fdupes - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - -# Wireless support -%if 0%{?fedora} >= 6 || 0%{?rhel} >= 5 -BuildRequires: wireless-tools-devel -%endif -%if 0%{?mgaversion} == 2 || 0%{?mdkversion} -BuildRequires: %{_lib}iw29-devel -%endif -%if 0%{?rhel} == 5 || 0%{?suse_version} -BuildRequires: wireless-tools -%endif -%if 0%{?suse_version} || 0%{?mgaversion} >= 3 -BuildRequires: libiw-devel -%endif - -# IDN support -BuildRequires: libidn-devel - -# GAMIN support -# Not on openSUSE. -%if ( 0%{?rhel} && 0%{?rhel} <= 8 ) || ( 0%{?fedora} && 0%{?fedora} <= 33 ) || 0%{?mgaversion} || 0%{?mdkversion} -%define with_gamin 1 -BuildRequires: gamin-devel -%endif - -# PYTHON support -%if 0%{?sle_version} >= 150400 || 0%{?rhel} >= 9 -%define python python3 -%define __python %__python3 -%else -%if 0%{?rhel} == 8 || 0%{?fedora} >= 31 || 0%{?suse_version} >= 1550 || 0%{?mgaversion} >= 8 -%global python python2 -%global __python %__python2 -%global python_sitearch %{python2_sitearch} -%else -%global python python -%endif -%endif -%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} -BuildRequires: %{python} -BuildRequires: %{python}-devel - -# OPENSSL support -BuildRequires: openssl-devel - - -%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%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -# Shitty hack for RHEL4 ... -if [ -d "/usr/X11R6" ]; then - export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH}:/usr/X11R6/include:/usr/X11R6/%{_lib}" - export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -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 - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file -i -r "%{?buildroot}%{tde_tdeappdir}/wlassistant.desktop" System Network -%endif - -%find_lang %{tde_pkg} - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.lang -%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 diff --git a/redhat/applications/yakuake/yakuake.spec b/redhat/applications/yakuake/yakuake.spec deleted file mode 100644 index 2dd8f3cf9..000000000 --- a/redhat/applications/yakuake/yakuake.spec +++ /dev/null @@ -1,160 +0,0 @@ -# -# spec file for package yakuake (version R14) -# -# Copyright (c) 2014 Trinity Desktop Environment -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. -# -# Please submit bugfixes or comments via http://www.trinitydesktop.org/ -# - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.1.0 -%endif -%define tde_pkg yakuake -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 2.8.1 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Yakuake is a Quake-style terminal emulator based on TDE Konsole technology -Group: Applications/Utilities -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: trinity-cmake >= %{tde_version} -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: fdupes - -# ACL support -BuildRequires: libacl-devel - -# IDN support -BuildRequires: libidn-devel - -# OPENSSL support -BuildRequires: openssl-devel - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -%if 0%{?opensuse_bs} && 0%{?suse_version} -# for xdg-menu script -BuildRequires: brp-check-trinity -%endif - - -%description -Yakuake is a Quake-style terminal emulator based on TDE Konsole technology. - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build -fi - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - - -%clean -%__rm -rf %{buildroot} - - -%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 -%{tde_tdedocdir}/HTML/en/yakuake/ -%{tde_mandir}/man1/*.1* - - -%changelog diff --git a/redhat/docker/f35/rpmmacros b/redhat/docker/f35/rpmmacros index f8169a30e..4ce88c1fd 100644 --- a/redhat/docker/f35/rpmmacros +++ b/redhat/docker/f35/rpmmacros @@ -2,5 +2,6 @@ %_smp_mflags -j8 %jobs 8 %__cmake_builddir %nil +%__cmake_in_source_build 1 %_debugsource_packages %nil %_debugsource_template %nil diff --git a/redhat/docker/f36/rpmmacros b/redhat/docker/f36/rpmmacros index df3e572f4..fd63b7997 100644 --- a/redhat/docker/f36/rpmmacros +++ b/redhat/docker/f36/rpmmacros @@ -3,5 +3,6 @@ %jobs 8 %__brp_remove_la_files %nil %__cmake_builddir %nil +%__cmake_in_source_build 1 %_debugsource_packages %nil %_debugsource_template %nil diff --git a/redhat/docker/osstw/packages b/redhat/docker/osstw/packages index 231ed25aa..971fc4d37 100644 --- a/redhat/docker/osstw/packages +++ b/redhat/docker/osstw/packages @@ -96,6 +96,7 @@ libical-devel libidn-devel libiw-devel libjack-devel +libjasper7 libjasper-devel liblcms2-devel liblo-devel -- cgit v1.2.1