From cd8eb9fd74fafb2435bc1f878cbb2bc91f52d859 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Sun, 3 Nov 2019 11:03:22 +0100 Subject: RPM: update spec files for TDE 14.0.7 --- redhat/applications/abakus/abakus.spec | 2 +- redhat/applications/adept/adept-14.0.0.spec | 208 --- redhat/applications/adept/adept.spec | 208 +++ redhat/applications/amarok/amarok-14.0.0.spec | 521 ------- redhat/applications/amarok/amarok.spec | 521 +++++++ redhat/applications/basket/basket-14.0.0.spec | 190 --- redhat/applications/basket/basket.spec | 188 +++ .../applications/bibletime/bibletime-14.0.0.spec | 176 --- redhat/applications/bibletime/bibletime.spec | 180 +++ redhat/applications/digikam/digikam-14.0.0.spec | 384 ----- redhat/applications/digikam/digikam.spec | 384 +++++ redhat/applications/dolphin/dolphin.spec | 2 +- .../applications/filelight/filelight-14.0.0.spec | 188 --- redhat/applications/filelight/filelight.spec | 188 +++ .../fusion-icon/fusion-icon-14.0.0.spec | 92 -- redhat/applications/fusion-icon/fusion-icon.spec | 2 +- .../gtk-qt-engine/gtk-qt-engine-14.0.0.spec | 193 --- .../applications/gtk-qt-engine/gtk-qt-engine.spec | 193 +++ .../gtk3-tqt-engine/gtk3-tqt-engine-14.0.0.spec | 173 --- .../gtk3-tqt-engine/gtk3-tqt-engine.spec | 173 +++ .../applications/gwenview-i18n/gwenview-i18n.spec | 2 +- redhat/applications/gwenview/gwenview-14.0.0.spec | 214 --- redhat/applications/gwenview/gwenview.spec | 214 +++ redhat/applications/k3b-i18n/k3b-i18n-14.0.0.spec | 432 ------ redhat/applications/k3b-i18n/k3b-i18n.spec | 432 ++++++ redhat/applications/k3b/k3b-14.0.0.spec | 472 ------ redhat/applications/k3b/k3b.spec | 472 ++++++ redhat/applications/k9copy/k9copy-14.0.0.spec | 190 --- redhat/applications/k9copy/k9copy.spec | 190 +++ .../kaffeine-mozilla/kaffeine-mozilla-14.0.0.spec | 151 -- .../kaffeine-mozilla/kaffeine-mozilla.spec | 147 ++ redhat/applications/kaffeine/kaffeine-14.0.0.spec | 318 ---- redhat/applications/kaffeine/kaffeine.spec | 318 ++++ .../applications/kasablanca/kasablanca-14.0.0.spec | 182 --- redhat/applications/kasablanca/kasablanca.spec | 184 +++ redhat/applications/katapult/katapult.spec | 2 +- redhat/applications/kbarcode/kbarcode.spec | 4 +- redhat/applications/kbfx/kbfx.spec | 2 +- redhat/applications/kbibtex/kbibtex.spec | 4 +- redhat/applications/kbiff/kbiff.spec | 2 +- redhat/applications/kbookreader/kbookreader.spec | 6 +- .../applications/kchmviewer/kchmviewer-14.0.0.spec | 190 --- redhat/applications/kchmviewer/kchmviewer.spec | 196 +++ redhat/applications/kcmautostart/kcmautostart.spec | 4 +- redhat/applications/kcmldap/kcmldap.spec | 22 +- .../kcmldapcontroller-14.0.0.spec | 219 --- .../kcmldapcontroller/kcmldapcontroller.spec | 215 +++ .../kcmldapmanager/kcmldapmanager-14.0.0.spec | 204 --- .../kcmldapmanager/kcmldapmanager.spec | 199 +++ redhat/applications/kcpuload/kcpuload.spec | 2 +- redhat/applications/kdbg/kdbg-14.0.0.spec | 172 --- redhat/applications/kdbg/kdbg.spec | 172 +++ .../kdbusnotification-14.0.0.spec | 152 -- .../kdbusnotification/kdbusnotification.spec | 167 +++ redhat/applications/kdiff3/kdiff3-14.0.0.spec | 158 -- redhat/applications/kdiff3/kdiff3.spec | 168 +++ redhat/applications/kdirstat/kdirstat.spec | 2 +- redhat/applications/keep/keep-14.0.0.spec | 161 -- redhat/applications/keep/keep.spec | 170 +++ .../kerberostray/kerberostray-14.0.0.spec | 194 --- redhat/applications/kerberostray/kerberostray.spec | 189 +++ redhat/applications/kerry/kerry-14.0.0.spec | 156 -- redhat/applications/kerry/kerry.spec | 156 ++ redhat/applications/keximdb/keximdb.spec | 2 +- .../kftpgrabber/kftpgrabber-14.0.0.patch | 39 - .../kftpgrabber/kftpgrabber-14.0.0.spec | 202 --- redhat/applications/kftpgrabber/kftpgrabber.spec | 200 +++ redhat/applications/kgtk-qt3/kgtk-qt3-14.0.0.spec | 187 --- redhat/applications/kgtk-qt3/kgtk-qt3.spec | 187 +++ redhat/applications/kile/kile-14.0.0.spec | 226 --- redhat/applications/kile/kile.spec | 226 +++ redhat/applications/kima/kima-14.0.0.spec | 158 -- redhat/applications/kima/kima.spec | 166 +++ redhat/applications/kiosktool/kiosktool.spec | 2 +- redhat/applications/kkbswitch/kkbswitch.spec | 2 +- redhat/applications/klcddimmer/klcddimmer.spec | 6 +- redhat/applications/kmplayer/kmplayer-14.0.0.spec | 299 ---- redhat/applications/kmplayer/kmplayer.spec | 299 ++++ .../kmyfirewall/kmyfirewall-14.0.0.spec | 224 --- redhat/applications/kmyfirewall/kmyfirewall.spec | 224 +++ redhat/applications/kmymoney/kmymoney-14.0.0.spec | 259 ---- redhat/applications/kmymoney/kmymoney.spec | 259 ++++ redhat/applications/knemo/knemo-14.0.0.spec | 169 --- redhat/applications/knemo/knemo.spec | 174 +++ redhat/applications/knetload/knetload.spec | 2 +- redhat/applications/knetstats/knetstats.spec | 2 +- .../knetworkmanager8/knetworkmanager8-14.0.0.spec | 193 --- .../knetworkmanager8/knetworkmanager8.spec | 193 +++ redhat/applications/knights/knights.spec | 2 +- redhat/applications/knmap/knmap.spec | 2 +- redhat/applications/knowit/knowit.spec | 2 +- redhat/applications/knutclient/knutclient.spec | 2 +- .../koffice-i18n/koffice-i18n-14.0.0.spec | 1092 -------------- redhat/applications/koffice-i18n/koffice-i18n.spec | 1092 ++++++++++++++ redhat/applications/koffice/koffice-14.0.0.spec | 1143 --------------- redhat/applications/koffice/koffice.spec | 1155 +++++++++++++++ redhat/applications/konversation/konversation.spec | 6 +- redhat/applications/kooldock/kooldock.spec | 2 +- .../applications/kopete-otr/kopete-otr-14.0.0.spec | 169 --- redhat/applications/kopete-otr/kopete-otr.spec | 169 +++ redhat/applications/kpicosim/kpicosim.spec | 2 +- redhat/applications/kpilot/kpilot.spec | 2 +- redhat/applications/kplayer/kplayer.spec | 2 +- .../applications/kpowersave/kpowersave-14.0.0.spec | 208 --- redhat/applications/kpowersave/kpowersave.spec | 208 +++ redhat/applications/krecipes/krecipes-14.0.0.spec | 180 --- redhat/applications/krecipes/krecipes.spec | 180 +++ redhat/applications/krename/krename.spec | 2 +- redhat/applications/krusader/krusader-14.0.0.spec | 183 --- redhat/applications/krusader/krusader.spec | 183 +++ redhat/applications/kscope/kscope-14.0.0.spec | 186 --- redhat/applications/kscope/kscope.spec | 186 +++ redhat/applications/ksensors/ksensors.spec | 2 +- .../applications/kshowmail/kshowmail-14.0.0.spec | 187 --- redhat/applications/kshowmail/kshowmail.spec | 196 +++ redhat/applications/kshutdown/kshutdown.spec | 2 +- .../ksplash-engine-moodin.spec | 2 +- .../applications/ksquirrel/ksquirrel-14.0.0.spec | 195 --- redhat/applications/ksquirrel/ksquirrel.spec | 195 +++ .../kstreamripper/kstreamripper-14.0.0.spec | 2 +- .../applications/kstreamripper/kstreamripper.spec | 151 ++ .../kstreamripper/scons-local-2.5.1.tar.gz | Bin 0 -> 426545 bytes .../applications/ksystemlog/ksystemlog-14.0.0.spec | 157 -- redhat/applications/ksystemlog/ksystemlog.spec | 157 ++ redhat/applications/ktechlab/ktechlab-14.0.0.spec | 167 --- redhat/applications/ktechlab/ktechlab.spec | 167 +++ redhat/applications/ktorrent/ktorrent-14.0.0.spec | 211 --- redhat/applications/ktorrent/ktorrent.spec | 211 +++ redhat/applications/kuickshow/kuickshow.spec | 168 +++ redhat/applications/kvirc/kvirc-14.0.0.spec | 247 ---- redhat/applications/kvirc/kvirc.spec | 247 ++++ redhat/applications/kvkbd/kvkbd.spec | 2 +- .../kvpnc/kvpnc-14.0.0-fix_install.patch | 19 - redhat/applications/kvpnc/kvpnc-14.0.0.patch | 19 - redhat/applications/kvpnc/kvpnc.spec | 5 +- redhat/applications/kxmleditor/kxmleditor.spec | 2 +- .../applications/mplayerthumbs/mplayerthumbs.spec | 2 +- redhat/applications/piklab/piklab-14.0.0.spec | 189 --- redhat/applications/piklab/piklab.spec | 189 +++ redhat/applications/potracegui/potracegui.spec | 2 +- .../applications/qalculate-tde/qalculate-tde.spec | 2 +- .../qt4-tqt-theme-engine-14.0.0.spec | 154 -- .../qt4-tqt-theme-engine/qt4-tqt-theme-engine.spec | 154 ++ .../applications/rosegarden/rosegarden-14.0.0.spec | 253 ---- redhat/applications/rosegarden/rosegarden.spec | 253 ++++ .../smartcardauth/smartcardauth-14.0.0.spec | 214 --- .../applications/smartcardauth/smartcardauth.spec | 236 +++ redhat/applications/smb4k/smb4k-14.0.0.spec | 197 --- redhat/applications/smb4k/smb4k.spec | 198 +++ .../soundkonverter/soundkonverter-14.0.0.spec | 208 --- .../soundkonverter/soundkonverter.spec | 209 +++ redhat/applications/tastymenu/tastymenu.spec | 2 +- .../tde-guidance/tde-guidance-14.0.0.spec | 450 ------ redhat/applications/tde-guidance/tde-guidance.spec | 458 ++++++ .../tde-style-baghira/tde-style-baghira.spec | 2 +- .../tde-style-domino/tde-style-domino.spec | 2 +- .../tde-style-ia-ora/tde-style-ia-ora.spec | 2 +- .../tde-style-lipstik-14.0.0.spec | 154 -- .../tde-style-lipstik/tde-style-lipstik.spec | 161 ++ .../tde-style-qtcurve-14.0.0.spec | 192 --- .../tde-style-qtcurve/tde-style-qtcurve.spec | 192 +++ .../tde-settings-laptops.directory | 14 + .../tde-systemsettings-14.0.0.spec | 182 --- .../tde-systemsettings/tde-systemsettings.spec | 182 +++ redhat/applications/tdedocker/tdedocker.spec | 2 +- .../applications/tdeio-apt/tdeio-apt-14.0.0.spec | 154 -- redhat/applications/tdeio-apt/tdeio-apt.spec | 154 ++ redhat/applications/tdeio-ftps/tdeio-ftps.spec | 2 +- redhat/applications/tdeio-gopher/tdeio-gopher.spec | 2 +- .../tdeio-locate/tdeio-locate-14.0.0.spec | 176 --- redhat/applications/tdeio-locate/tdeio-locate.spec | 176 +++ redhat/applications/tdeio-sword/tdeio-sword.spec | 2 +- .../tdeio-umountwrapper/tdeio-umountwrapper.spec | 2 +- .../tdenetworkmanager/tdenetworkmanager.spec | 20 +- .../tdepowersave/tdepowersave-14.0.0.spec | 254 ---- redhat/applications/tdepowersave/tdepowersave.spec | 255 ++++ redhat/applications/tderadio/tderadio-14.0.0.spec | 227 --- redhat/applications/tderadio/tderadio.spec | 228 +++ redhat/applications/tdesudo/tdesudo.spec | 2 +- redhat/applications/tdesvn/tdesvn-14.0.0.patch | 57 - redhat/applications/tdesvn/tdesvn-14.0.0.spec | 316 ---- redhat/applications/tdesvn/tdesvn.spec | 314 ++++ redhat/applications/tdmtheme/tdmtheme.spec | 2 +- redhat/applications/tellico/tellico-14.0.0.spec | 337 ----- redhat/applications/tellico/tellico.spec | 337 +++++ redhat/applications/tork/tork-14.0.0.spec | 166 --- redhat/applications/tork/tork.spec | 167 +++ .../twin-style-crystal-14.0.0.spec | 154 -- .../twin-style-crystal/twin-style-crystal.spec | 154 ++ .../wlassistant/wlassistant-14.0.0.spec | 198 --- redhat/applications/wlassistant/wlassistant.spec | 205 +++ redhat/applications/yakuake/yakuake.spec | 2 +- redhat/dependencies/akode/akode-14.0.0.spec | 365 ----- redhat/dependencies/akode/akode.spec | 365 +++++ redhat/dependencies/arts/arts-14.0.0.spec | 303 ---- redhat/dependencies/arts/arts.spec | 303 ++++ .../dependencies/avahi-tqt/avahi-tqt-14.0.0.spec | 239 --- redhat/dependencies/avahi-tqt/avahi-tqt.spec | 239 +++ .../dependencies/dbus-1-tqt/dbus-1-tqt-14.0.0.spec | 191 --- redhat/dependencies/dbus-1-tqt/dbus-1-tqt.spec | 191 +++ redhat/dependencies/dbus-tqt/dbus-tqt-14.0.0.spec | 191 --- redhat/dependencies/dbus-tqt/dbus-tqt.spec | 191 +++ .../libart-lgpl/libart-lgpl-14.0.0.spec | 211 --- redhat/dependencies/libart-lgpl/libart-lgpl.spec | 225 +++ .../dependencies/libcaldav/libcaldav-14.0.0.spec | 198 --- .../libcaldav/libcaldav-14.0.1-rhel5.patch | 193 --- redhat/dependencies/libcaldav/libcaldav.spec | 205 +++ .../dependencies/libcarddav/libcarddav-14.0.0.spec | 197 --- .../libcarddav/libcarddav-14.0.1-rhel5.patch | 164 --- redhat/dependencies/libcarddav/libcarddav.spec | 203 +++ .../dependencies/python-tqt/python-tqt-14.0.0.spec | 264 ---- redhat/dependencies/python-tqt/python-tqt.spec | 271 ++++ redhat/dependencies/sip4-tqt/sip4-tqt-14.0.0.spec | 174 --- redhat/dependencies/sip4-tqt/sip4-tqt.spec | 177 +++ redhat/dependencies/tqca-tls/tqca-tls-14.0.0.spec | 118 -- redhat/dependencies/tqca-tls/tqca-tls.spec | 118 ++ redhat/dependencies/tqca/tqca-14.0.0.spec | 171 --- redhat/dependencies/tqca/tqca.spec | 171 +++ .../tqscintilla/tqscintilla-14.0.0.spec | 232 --- redhat/dependencies/tqscintilla/tqscintilla.spec | 232 +++ redhat/dependencies/tqt3/tqassistant.desktop | 13 - redhat/dependencies/tqt3/tqdesigner.desktop | 78 - redhat/dependencies/tqt3/tqlinguist.desktop | 26 - redhat/dependencies/tqt3/tqt3-14.0.0.spec | 1542 -------------------- redhat/dependencies/tqt3/tqt3.spec | 1522 +++++++++++++++++++ redhat/dependencies/tqt3/tqtconfig.desktop | 13 - .../tqtinterface/tqtinterface-14.0.0.spec | 276 ---- redhat/dependencies/tqtinterface/tqtinterface.spec | 279 ++++ .../brp-check-trinity-14.0.0.spec | 117 -- .../brp-check-trinity/brp-check-trinity.spec | 117 ++ .../extras/icons-nuvola/icons-nuvola-14.0.0.spec | 115 -- redhat/extras/icons-nuvola/icons-nuvola.spec | 115 ++ redhat/extras/kdevmon/kdevmon-14.0.0.spec | 150 -- redhat/extras/kdevmon/kdevmon.spec | 150 ++ redhat/extras/klibido/klibido-14.0.0.spec | 143 -- redhat/extras/klibido/klibido.spec | 143 ++ redhat/extras/kompose/kompose-14.0.0.spec | 151 -- redhat/extras/kompose/kompose.spec | 151 ++ redhat/extras/koverartist/koverartist-14.0.0.spec | 154 -- redhat/extras/koverartist/koverartist.spec | 154 ++ redhat/extras/kpacman/kpacman-14.0.0.spec | 158 -- redhat/extras/kpacman/kpacman.spec | 158 ++ .../extras/style-ia-ora/style-ia-ora-14.0.0.spec | 116 -- redhat/extras/style-ia-ora/style-ia-ora.spec | 114 ++ .../trinity-desktop/trinity-3.5.13-fedora.repo | 12 +- .../trinity-desktop/trinity-3.5.13-rhel.repo | 12 +- .../trinity-desktop/trinity-desktop-14.0.0.spec | 392 ----- redhat/extras/trinity-desktop/trinity-desktop.spec | 355 +++++ .../trinity-filesystem-14.0.0.spec | 625 -------- .../trinity-filesystem/trinity-filesystem.spec | 625 ++++++++ redhat/libraries/kipi-plugins/kipi-plugins.spec | 2 +- redhat/libraries/libkdcraw/libkdcraw-14.0.0.spec | 209 --- redhat/libraries/libkdcraw/libkdcraw.spec | 209 +++ redhat/libraries/libkexiv2/libkexiv2-14.0.0.spec | 189 --- redhat/libraries/libkexiv2/libkexiv2.spec | 184 +++ redhat/libraries/libkipi/libkipi-14.0.0.spec | 206 --- redhat/libraries/libkipi/libkipi.spec | 208 +++ .../libksquirrel/libksquirrel-14.0.0.spec | 564 ------- redhat/libraries/libksquirrel/libksquirrel.spec | 568 +++++++ redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec | 211 --- redhat/libraries/libtdeldap/libtdeldap.spec | 211 +++ .../libraries/libtqt-perl/libtqt-perl-14.0.0.spec | 175 --- redhat/libraries/libtqt-perl/libtqt-perl.spec | 175 +++ .../pytdeextensions/pytdeextensions-14.0.0.spec | 251 ---- .../libraries/pytdeextensions/pytdeextensions.spec | 259 ++++ .../python-trinity/python-trinity-14.0.0.spec | 176 --- .../libraries/python-trinity/python-trinity.spec | 183 +++ redhat/main/tde-i18n/tde-i18n-14.0.0.spec | 1494 ------------------- redhat/main/tde-i18n/tde-i18n.spec | 1494 +++++++++++++++++++ .../tdeaccessibility/tdeaccessibility-14.0.0.spec | 505 ------- redhat/main/tdeaccessibility/tdeaccessibility.spec | 505 +++++++ redhat/main/tdeaddons/tdeaddons-14.0.0.spec | 758 ---------- redhat/main/tdeaddons/tdeaddons.spec | 761 ++++++++++ redhat/main/tdeadmin/tdeadmin.spec | 2 +- redhat/main/tdeartwork/tdeartwork-14.0.0.spec | 772 ---------- redhat/main/tdeartwork/tdeartwork.spec | 772 ++++++++++ redhat/main/tdebase/pamd.kcheckpass-trinity.el8 | 1 + redhat/main/tdebase/pamd.kcheckpass-trinity.fc31 | 5 + redhat/main/tdebase/pamd.kcheckpass-trinity.pclos | 1 + redhat/main/tdebase/pamd.kdm-trinity-np.el8 | 1 + redhat/main/tdebase/pamd.kdm-trinity-np.fc31 | 16 + redhat/main/tdebase/pamd.kdm-trinity-np.pclos | 1 + redhat/main/tdebase/pamd.kdm-trinity.el8 | 1 + redhat/main/tdebase/pamd.kdm-trinity.fc31 | 23 + redhat/main/tdebase/pamd.kdm-trinity.pclos | 1 + redhat/main/tdebase/pamd.kscreensaver-trinity.el8 | 1 + redhat/main/tdebase/pamd.kscreensaver-trinity.fc31 | 5 + .../main/tdebase/pamd.kscreensaver-trinity.pclos | 1 + redhat/main/tdebase/tdebase.spec | 112 +- redhat/main/tdebase/tdm.el8.pp | 1 + redhat/main/tdebase/tdm.fc31.pp | Bin 0 -> 932 bytes redhat/main/tdebase/tdm.service.el8 | 1 + redhat/main/tdebase/tdm.service.fc31 | 12 + redhat/main/tdebase/tdm.service.mga6 | 12 + redhat/main/tdebase/tdm.service.mga7 | 12 + redhat/main/tdebindings/tdebindings-14.0.0.spec | 1164 --------------- redhat/main/tdebindings/tdebindings.spec | 1193 +++++++++++++++ redhat/main/tdeedu/tdeedu-14.0.0.spec | 1158 --------------- redhat/main/tdeedu/tdeedu.spec | 1175 +++++++++++++++ redhat/main/tdegames/tdegames-14.0.0.spec | 1195 --------------- redhat/main/tdegames/tdegames.spec | 1195 +++++++++++++++ redhat/main/tdegraphics/tdegraphics-14.0.0.spec | 1120 -------------- redhat/main/tdegraphics/tdegraphics.spec | 1120 ++++++++++++++ redhat/main/tdelibs/tdelibs-14.0.1.patch | 31 - redhat/main/tdelibs/tdelibs-14.1.0.patch | 13 - redhat/main/tdelibs/tdelibs.spec | 7 +- .../tdemultimedia-14.0.0-autotools.spec | 1145 --------------- .../tdemultimedia/tdemultimedia-14.0.0-cmake.spec | 1158 --------------- .../main/tdemultimedia/tdemultimedia-14.0.0.spec | 1 - redhat/main/tdemultimedia/tdemultimedia.spec | 1158 +++++++++++++++ redhat/main/tdenetwork/tdenetwork-14.0.0.spec | 1187 --------------- redhat/main/tdenetwork/tdenetwork.spec | 1186 +++++++++++++++ redhat/main/tdepim/tdepim-14.0.0.patch | 90 -- redhat/main/tdepim/tdepim.spec | 2 +- redhat/main/tdesdk/tdesdk-14.0.0.spec | 1117 -------------- redhat/main/tdesdk/tdesdk.spec | 1130 ++++++++++++++ redhat/main/tdetoys/tdetoys.spec | 2 +- redhat/main/tdeutils/tdeutils.spec | 2 +- redhat/main/tdevelop/tdevelop-14.0.0.spec | 654 --------- redhat/main/tdevelop/tdevelop.spec | 660 +++++++++ redhat/main/tdewebdev/tdewebdev-14.0.0.spec | 529 ------- redhat/main/tdewebdev/tdewebdev.spec | 529 +++++++ 322 files changed, 38380 insertions(+), 39728 deletions(-) delete mode 100644 redhat/applications/adept/adept-14.0.0.spec create mode 100644 redhat/applications/adept/adept.spec delete mode 100644 redhat/applications/amarok/amarok-14.0.0.spec create mode 100644 redhat/applications/amarok/amarok.spec delete mode 100644 redhat/applications/basket/basket-14.0.0.spec create mode 100644 redhat/applications/basket/basket.spec delete mode 100644 redhat/applications/bibletime/bibletime-14.0.0.spec create mode 100644 redhat/applications/bibletime/bibletime.spec delete mode 100644 redhat/applications/digikam/digikam-14.0.0.spec create mode 100644 redhat/applications/digikam/digikam.spec delete mode 100644 redhat/applications/filelight/filelight-14.0.0.spec create mode 100644 redhat/applications/filelight/filelight.spec delete mode 100644 redhat/applications/fusion-icon/fusion-icon-14.0.0.spec delete mode 100644 redhat/applications/gtk-qt-engine/gtk-qt-engine-14.0.0.spec create mode 100644 redhat/applications/gtk-qt-engine/gtk-qt-engine.spec delete mode 100644 redhat/applications/gtk3-tqt-engine/gtk3-tqt-engine-14.0.0.spec create mode 100644 redhat/applications/gtk3-tqt-engine/gtk3-tqt-engine.spec delete mode 100644 redhat/applications/gwenview/gwenview-14.0.0.spec create mode 100644 redhat/applications/gwenview/gwenview.spec delete mode 100644 redhat/applications/k3b-i18n/k3b-i18n-14.0.0.spec create mode 100644 redhat/applications/k3b-i18n/k3b-i18n.spec delete mode 100644 redhat/applications/k3b/k3b-14.0.0.spec create mode 100644 redhat/applications/k3b/k3b.spec delete mode 100644 redhat/applications/k9copy/k9copy-14.0.0.spec create mode 100644 redhat/applications/k9copy/k9copy.spec delete mode 100644 redhat/applications/kaffeine-mozilla/kaffeine-mozilla-14.0.0.spec create mode 100644 redhat/applications/kaffeine-mozilla/kaffeine-mozilla.spec delete mode 100644 redhat/applications/kaffeine/kaffeine-14.0.0.spec create mode 100644 redhat/applications/kaffeine/kaffeine.spec delete mode 100644 redhat/applications/kasablanca/kasablanca-14.0.0.spec create mode 100644 redhat/applications/kasablanca/kasablanca.spec delete mode 100644 redhat/applications/kchmviewer/kchmviewer-14.0.0.spec create mode 100644 redhat/applications/kchmviewer/kchmviewer.spec delete mode 100644 redhat/applications/kcmldapcontroller/kcmldapcontroller-14.0.0.spec create mode 100644 redhat/applications/kcmldapcontroller/kcmldapcontroller.spec delete mode 100644 redhat/applications/kcmldapmanager/kcmldapmanager-14.0.0.spec create mode 100644 redhat/applications/kcmldapmanager/kcmldapmanager.spec delete mode 100644 redhat/applications/kdbg/kdbg-14.0.0.spec create mode 100644 redhat/applications/kdbg/kdbg.spec delete mode 100644 redhat/applications/kdbusnotification/kdbusnotification-14.0.0.spec create mode 100644 redhat/applications/kdbusnotification/kdbusnotification.spec delete mode 100644 redhat/applications/kdiff3/kdiff3-14.0.0.spec create mode 100644 redhat/applications/kdiff3/kdiff3.spec delete mode 100644 redhat/applications/keep/keep-14.0.0.spec create mode 100644 redhat/applications/keep/keep.spec delete mode 100644 redhat/applications/kerberostray/kerberostray-14.0.0.spec create mode 100644 redhat/applications/kerberostray/kerberostray.spec delete mode 100644 redhat/applications/kerry/kerry-14.0.0.spec create mode 100644 redhat/applications/kerry/kerry.spec delete mode 100644 redhat/applications/kftpgrabber/kftpgrabber-14.0.0.patch delete mode 100644 redhat/applications/kftpgrabber/kftpgrabber-14.0.0.spec create mode 100644 redhat/applications/kftpgrabber/kftpgrabber.spec delete mode 100644 redhat/applications/kgtk-qt3/kgtk-qt3-14.0.0.spec create mode 100644 redhat/applications/kgtk-qt3/kgtk-qt3.spec delete mode 100644 redhat/applications/kile/kile-14.0.0.spec create mode 100644 redhat/applications/kile/kile.spec delete mode 100644 redhat/applications/kima/kima-14.0.0.spec create mode 100644 redhat/applications/kima/kima.spec delete mode 100644 redhat/applications/kmplayer/kmplayer-14.0.0.spec create mode 100644 redhat/applications/kmplayer/kmplayer.spec delete mode 100644 redhat/applications/kmyfirewall/kmyfirewall-14.0.0.spec create mode 100644 redhat/applications/kmyfirewall/kmyfirewall.spec delete mode 100644 redhat/applications/kmymoney/kmymoney-14.0.0.spec create mode 100644 redhat/applications/kmymoney/kmymoney.spec delete mode 100644 redhat/applications/knemo/knemo-14.0.0.spec create mode 100644 redhat/applications/knemo/knemo.spec delete mode 100644 redhat/applications/knetworkmanager8/knetworkmanager8-14.0.0.spec create mode 100644 redhat/applications/knetworkmanager8/knetworkmanager8.spec delete mode 100644 redhat/applications/koffice-i18n/koffice-i18n-14.0.0.spec create mode 100644 redhat/applications/koffice-i18n/koffice-i18n.spec delete mode 100644 redhat/applications/koffice/koffice-14.0.0.spec create mode 100644 redhat/applications/koffice/koffice.spec delete mode 100644 redhat/applications/kopete-otr/kopete-otr-14.0.0.spec create mode 100644 redhat/applications/kopete-otr/kopete-otr.spec delete mode 100644 redhat/applications/kpowersave/kpowersave-14.0.0.spec create mode 100644 redhat/applications/kpowersave/kpowersave.spec delete mode 100644 redhat/applications/krecipes/krecipes-14.0.0.spec create mode 100644 redhat/applications/krecipes/krecipes.spec delete mode 100644 redhat/applications/krusader/krusader-14.0.0.spec create mode 100644 redhat/applications/krusader/krusader.spec delete mode 100644 redhat/applications/kscope/kscope-14.0.0.spec create mode 100644 redhat/applications/kscope/kscope.spec delete mode 100644 redhat/applications/kshowmail/kshowmail-14.0.0.spec create mode 100644 redhat/applications/kshowmail/kshowmail.spec delete mode 100644 redhat/applications/ksquirrel/ksquirrel-14.0.0.spec create mode 100644 redhat/applications/ksquirrel/ksquirrel.spec create mode 100644 redhat/applications/kstreamripper/kstreamripper.spec create mode 100644 redhat/applications/kstreamripper/scons-local-2.5.1.tar.gz delete mode 100644 redhat/applications/ksystemlog/ksystemlog-14.0.0.spec create mode 100644 redhat/applications/ksystemlog/ksystemlog.spec delete mode 100644 redhat/applications/ktechlab/ktechlab-14.0.0.spec create mode 100644 redhat/applications/ktechlab/ktechlab.spec delete mode 100644 redhat/applications/ktorrent/ktorrent-14.0.0.spec create mode 100644 redhat/applications/ktorrent/ktorrent.spec create mode 100644 redhat/applications/kuickshow/kuickshow.spec delete mode 100644 redhat/applications/kvirc/kvirc-14.0.0.spec create mode 100644 redhat/applications/kvirc/kvirc.spec delete mode 100644 redhat/applications/kvpnc/kvpnc-14.0.0-fix_install.patch delete mode 100644 redhat/applications/kvpnc/kvpnc-14.0.0.patch delete mode 100644 redhat/applications/piklab/piklab-14.0.0.spec create mode 100644 redhat/applications/piklab/piklab.spec delete mode 100644 redhat/applications/qt4-tqt-theme-engine/qt4-tqt-theme-engine-14.0.0.spec create mode 100644 redhat/applications/qt4-tqt-theme-engine/qt4-tqt-theme-engine.spec delete mode 100644 redhat/applications/rosegarden/rosegarden-14.0.0.spec create mode 100644 redhat/applications/rosegarden/rosegarden.spec delete mode 100644 redhat/applications/smartcardauth/smartcardauth-14.0.0.spec create mode 100644 redhat/applications/smartcardauth/smartcardauth.spec delete mode 100644 redhat/applications/smb4k/smb4k-14.0.0.spec create mode 100644 redhat/applications/smb4k/smb4k.spec delete mode 100644 redhat/applications/soundkonverter/soundkonverter-14.0.0.spec create mode 100644 redhat/applications/soundkonverter/soundkonverter.spec delete mode 100644 redhat/applications/tde-guidance/tde-guidance-14.0.0.spec create mode 100644 redhat/applications/tde-guidance/tde-guidance.spec delete mode 100644 redhat/applications/tde-style-lipstik/tde-style-lipstik-14.0.0.spec create mode 100644 redhat/applications/tde-style-lipstik/tde-style-lipstik.spec delete mode 100644 redhat/applications/tde-style-qtcurve/tde-style-qtcurve-14.0.0.spec create mode 100644 redhat/applications/tde-style-qtcurve/tde-style-qtcurve.spec create mode 100644 redhat/applications/tde-systemsettings/tde-settings-laptops.directory delete mode 100644 redhat/applications/tde-systemsettings/tde-systemsettings-14.0.0.spec create mode 100644 redhat/applications/tde-systemsettings/tde-systemsettings.spec delete mode 100644 redhat/applications/tdeio-apt/tdeio-apt-14.0.0.spec create mode 100644 redhat/applications/tdeio-apt/tdeio-apt.spec delete mode 100644 redhat/applications/tdeio-locate/tdeio-locate-14.0.0.spec create mode 100644 redhat/applications/tdeio-locate/tdeio-locate.spec delete mode 100644 redhat/applications/tdepowersave/tdepowersave-14.0.0.spec create mode 100644 redhat/applications/tdepowersave/tdepowersave.spec delete mode 100644 redhat/applications/tderadio/tderadio-14.0.0.spec create mode 100644 redhat/applications/tderadio/tderadio.spec delete mode 100644 redhat/applications/tdesvn/tdesvn-14.0.0.patch delete mode 100644 redhat/applications/tdesvn/tdesvn-14.0.0.spec create mode 100644 redhat/applications/tdesvn/tdesvn.spec delete mode 100644 redhat/applications/tellico/tellico-14.0.0.spec create mode 100644 redhat/applications/tellico/tellico.spec delete mode 100644 redhat/applications/tork/tork-14.0.0.spec create mode 100644 redhat/applications/tork/tork.spec delete mode 100644 redhat/applications/twin-style-crystal/twin-style-crystal-14.0.0.spec create mode 100644 redhat/applications/twin-style-crystal/twin-style-crystal.spec delete mode 100644 redhat/applications/wlassistant/wlassistant-14.0.0.spec create mode 100644 redhat/applications/wlassistant/wlassistant.spec delete mode 100644 redhat/dependencies/akode/akode-14.0.0.spec create mode 100644 redhat/dependencies/akode/akode.spec delete mode 100644 redhat/dependencies/arts/arts-14.0.0.spec create mode 100644 redhat/dependencies/arts/arts.spec delete mode 100644 redhat/dependencies/avahi-tqt/avahi-tqt-14.0.0.spec create mode 100644 redhat/dependencies/avahi-tqt/avahi-tqt.spec delete mode 100644 redhat/dependencies/dbus-1-tqt/dbus-1-tqt-14.0.0.spec create mode 100644 redhat/dependencies/dbus-1-tqt/dbus-1-tqt.spec delete mode 100644 redhat/dependencies/dbus-tqt/dbus-tqt-14.0.0.spec create mode 100644 redhat/dependencies/dbus-tqt/dbus-tqt.spec delete mode 100644 redhat/dependencies/libart-lgpl/libart-lgpl-14.0.0.spec create mode 100644 redhat/dependencies/libart-lgpl/libart-lgpl.spec delete mode 100644 redhat/dependencies/libcaldav/libcaldav-14.0.0.spec delete mode 100644 redhat/dependencies/libcaldav/libcaldav-14.0.1-rhel5.patch create mode 100644 redhat/dependencies/libcaldav/libcaldav.spec delete mode 100644 redhat/dependencies/libcarddav/libcarddav-14.0.0.spec delete mode 100644 redhat/dependencies/libcarddav/libcarddav-14.0.1-rhel5.patch create mode 100644 redhat/dependencies/libcarddav/libcarddav.spec delete mode 100644 redhat/dependencies/python-tqt/python-tqt-14.0.0.spec create mode 100644 redhat/dependencies/python-tqt/python-tqt.spec delete mode 100644 redhat/dependencies/sip4-tqt/sip4-tqt-14.0.0.spec create mode 100644 redhat/dependencies/sip4-tqt/sip4-tqt.spec delete mode 100644 redhat/dependencies/tqca-tls/tqca-tls-14.0.0.spec create mode 100644 redhat/dependencies/tqca-tls/tqca-tls.spec delete mode 100644 redhat/dependencies/tqca/tqca-14.0.0.spec create mode 100644 redhat/dependencies/tqca/tqca.spec delete mode 100644 redhat/dependencies/tqscintilla/tqscintilla-14.0.0.spec create mode 100644 redhat/dependencies/tqscintilla/tqscintilla.spec delete mode 100644 redhat/dependencies/tqt3/tqassistant.desktop delete mode 100644 redhat/dependencies/tqt3/tqdesigner.desktop delete mode 100644 redhat/dependencies/tqt3/tqlinguist.desktop delete mode 100644 redhat/dependencies/tqt3/tqt3-14.0.0.spec create mode 100644 redhat/dependencies/tqt3/tqt3.spec delete mode 100644 redhat/dependencies/tqt3/tqtconfig.desktop delete mode 100644 redhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec create mode 100644 redhat/dependencies/tqtinterface/tqtinterface.spec delete mode 100644 redhat/extras/brp-check-trinity/brp-check-trinity-14.0.0.spec create mode 100644 redhat/extras/brp-check-trinity/brp-check-trinity.spec delete mode 100644 redhat/extras/icons-nuvola/icons-nuvola-14.0.0.spec create mode 100644 redhat/extras/icons-nuvola/icons-nuvola.spec delete mode 100644 redhat/extras/kdevmon/kdevmon-14.0.0.spec create mode 100644 redhat/extras/kdevmon/kdevmon.spec delete mode 100644 redhat/extras/klibido/klibido-14.0.0.spec create mode 100644 redhat/extras/klibido/klibido.spec delete mode 100644 redhat/extras/kompose/kompose-14.0.0.spec create mode 100644 redhat/extras/kompose/kompose.spec delete mode 100644 redhat/extras/koverartist/koverartist-14.0.0.spec create mode 100644 redhat/extras/koverartist/koverartist.spec delete mode 100644 redhat/extras/kpacman/kpacman-14.0.0.spec create mode 100644 redhat/extras/kpacman/kpacman.spec delete mode 100644 redhat/extras/style-ia-ora/style-ia-ora-14.0.0.spec create mode 100644 redhat/extras/style-ia-ora/style-ia-ora.spec delete mode 100644 redhat/extras/trinity-desktop/trinity-desktop-14.0.0.spec create mode 100644 redhat/extras/trinity-desktop/trinity-desktop.spec delete mode 100644 redhat/extras/trinity-filesystem/trinity-filesystem-14.0.0.spec create mode 100644 redhat/extras/trinity-filesystem/trinity-filesystem.spec delete mode 100644 redhat/libraries/libkdcraw/libkdcraw-14.0.0.spec create mode 100644 redhat/libraries/libkdcraw/libkdcraw.spec delete mode 100644 redhat/libraries/libkexiv2/libkexiv2-14.0.0.spec create mode 100644 redhat/libraries/libkexiv2/libkexiv2.spec delete mode 100644 redhat/libraries/libkipi/libkipi-14.0.0.spec create mode 100644 redhat/libraries/libkipi/libkipi.spec delete mode 100644 redhat/libraries/libksquirrel/libksquirrel-14.0.0.spec create mode 100644 redhat/libraries/libksquirrel/libksquirrel.spec delete mode 100644 redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec create mode 100644 redhat/libraries/libtdeldap/libtdeldap.spec delete mode 100644 redhat/libraries/libtqt-perl/libtqt-perl-14.0.0.spec create mode 100644 redhat/libraries/libtqt-perl/libtqt-perl.spec delete mode 100644 redhat/libraries/pytdeextensions/pytdeextensions-14.0.0.spec create mode 100644 redhat/libraries/pytdeextensions/pytdeextensions.spec delete mode 100644 redhat/libraries/python-trinity/python-trinity-14.0.0.spec create mode 100644 redhat/libraries/python-trinity/python-trinity.spec delete mode 100644 redhat/main/tde-i18n/tde-i18n-14.0.0.spec create mode 100644 redhat/main/tde-i18n/tde-i18n.spec delete mode 100644 redhat/main/tdeaccessibility/tdeaccessibility-14.0.0.spec create mode 100644 redhat/main/tdeaccessibility/tdeaccessibility.spec delete mode 100644 redhat/main/tdeaddons/tdeaddons-14.0.0.spec create mode 100644 redhat/main/tdeaddons/tdeaddons.spec delete mode 100644 redhat/main/tdeartwork/tdeartwork-14.0.0.spec create mode 100644 redhat/main/tdeartwork/tdeartwork.spec create mode 120000 redhat/main/tdebase/pamd.kcheckpass-trinity.el8 create mode 100644 redhat/main/tdebase/pamd.kcheckpass-trinity.fc31 create mode 120000 redhat/main/tdebase/pamd.kcheckpass-trinity.pclos create mode 120000 redhat/main/tdebase/pamd.kdm-trinity-np.el8 create mode 100644 redhat/main/tdebase/pamd.kdm-trinity-np.fc31 create mode 120000 redhat/main/tdebase/pamd.kdm-trinity-np.pclos create mode 120000 redhat/main/tdebase/pamd.kdm-trinity.el8 create mode 100644 redhat/main/tdebase/pamd.kdm-trinity.fc31 create mode 120000 redhat/main/tdebase/pamd.kdm-trinity.pclos create mode 120000 redhat/main/tdebase/pamd.kscreensaver-trinity.el8 create mode 100644 redhat/main/tdebase/pamd.kscreensaver-trinity.fc31 create mode 120000 redhat/main/tdebase/pamd.kscreensaver-trinity.pclos create mode 120000 redhat/main/tdebase/tdm.el8.pp create mode 100644 redhat/main/tdebase/tdm.fc31.pp create mode 120000 redhat/main/tdebase/tdm.service.el8 create mode 100644 redhat/main/tdebase/tdm.service.fc31 create mode 100644 redhat/main/tdebase/tdm.service.mga6 create mode 100644 redhat/main/tdebase/tdm.service.mga7 delete mode 100644 redhat/main/tdebindings/tdebindings-14.0.0.spec create mode 100644 redhat/main/tdebindings/tdebindings.spec delete mode 100644 redhat/main/tdeedu/tdeedu-14.0.0.spec create mode 100644 redhat/main/tdeedu/tdeedu.spec delete mode 100644 redhat/main/tdegames/tdegames-14.0.0.spec create mode 100644 redhat/main/tdegames/tdegames.spec delete mode 100644 redhat/main/tdegraphics/tdegraphics-14.0.0.spec create mode 100644 redhat/main/tdegraphics/tdegraphics.spec delete mode 100644 redhat/main/tdelibs/tdelibs-14.0.1.patch delete mode 100644 redhat/main/tdelibs/tdelibs-14.1.0.patch delete mode 100644 redhat/main/tdemultimedia/tdemultimedia-14.0.0-autotools.spec delete mode 100644 redhat/main/tdemultimedia/tdemultimedia-14.0.0-cmake.spec delete mode 120000 redhat/main/tdemultimedia/tdemultimedia-14.0.0.spec create mode 100644 redhat/main/tdemultimedia/tdemultimedia.spec delete mode 100644 redhat/main/tdenetwork/tdenetwork-14.0.0.spec create mode 100644 redhat/main/tdenetwork/tdenetwork.spec delete mode 100644 redhat/main/tdepim/tdepim-14.0.0.patch delete mode 100644 redhat/main/tdesdk/tdesdk-14.0.0.spec create mode 100644 redhat/main/tdesdk/tdesdk.spec delete mode 100644 redhat/main/tdevelop/tdevelop-14.0.0.spec create mode 100644 redhat/main/tdevelop/tdevelop.spec delete mode 100644 redhat/main/tdewebdev/tdewebdev-14.0.0.spec create mode 100644 redhat/main/tdewebdev/tdewebdev.spec diff --git a/redhat/applications/abakus/abakus.spec b/redhat/applications/abakus/abakus.spec index fe63fd198..71221b2bc 100644 --- a/redhat/applications/abakus/abakus.spec +++ b/redhat/applications/abakus/abakus.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg abakus %define tde_prefix /opt/trinity diff --git a/redhat/applications/adept/adept-14.0.0.spec b/redhat/applications/adept/adept-14.0.0.spec deleted file mode 100644 index 62e996ddf..000000000 --- a/redhat/applications/adept/adept-14.0.0.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.0.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/adept/adept.spec b/redhat/applications/adept/adept.spec new file mode 100644 index 000000000..f0ec36aff --- /dev/null +++ b/redhat/applications/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.0.7 +%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-14.0.0.spec b/redhat/applications/amarok/amarok-14.0.0.spec deleted file mode 100644 index aa8f35067..000000000 --- a/redhat/applications/amarok/amarok-14.0.0.spec +++ /dev/null @@ -1,521 +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.0.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: cmake >= 2.8 -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 - -BuildRequires: libusb-devel -BuildRequires: mysql-devel -BuildRequires: postgresql-devel -BuildRequires: SDL-devel -BuildRequires: taglib-devel -BuildRequires: sqlite-devel - -# not used anymore, in favor of libvisual ? -- Rex -#{?fedora:BuildRequires: xmms-devel} - -# IDN support -BuildRequires: libidn-devel - -# GAMIN support -# Not on openSUSE. -%if 0%{?rhel} || 0%{?fedora} || 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 - -# IFP support -# IFP package is broken under PCLinuxOS. -%if 0%{?pclinuxos} == 0 -%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_ifp 1 -BuildRequires: libifp-devel -%endif -%endif - -# KARMA support -%if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?pclinuxos} == 0 -%define with_karma 1 -BuildRequires: libkarma-devel -BuildRequires: karma-sharp -%endif -%endif - -# GPOD (ipod) support -%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} -%define with_gpod 1 -BuildRequires: libgpod-devel >= 0.4.2 -%endif - -# MTP players -%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} -%define with_mtp 1 -BuildRequires: libmtp-devel -%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%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} == 18 || 0%{?fedora} == 19 || 0%{?rhel} >= 5 -%define with_xine 1 -%if 0%{?mgaversion} || 0%{?mdkversion} -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 - -# 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 - -# 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 -%{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 -%{tde_confdir}/amarokrc -%{tde_datadir}/config.kcfg/*.kcfg -%{tde_datadir}/services/amarokitpc.protocol -%{tde_datadir}/services/amaroklastfm.protocol -%{tde_datadir}/services/amarokpcast.protocol -# -libs ? -- Rex -%{tde_libdir}/libamarok.so.0 -%{tde_libdir}/libamarok.so.0.0.0 -# DAAP -%{tde_bindir}/amarok_daapserver.rb -%{tde_tdelibdir}/libamarok_daap-mediadevice.* -%{tde_datadir}/services/amarok_daap-mediadevice.desktop -# Mass-storage -%{tde_datadir}/services/amarok_massstorage-device.desktop -%{tde_tdelibdir}/libamarok_massstorage-device.* -# NFS -%{tde_datadir}/services/amarok_nfs-device.desktop -%{tde_tdelibdir}/libamarok_nfs-device.* -# SMB -%{tde_datadir}/services/amarok_smb-device.desktop -%{tde_tdelibdir}/libamarok_smb-device.* -# IPod -%if 0%{?with_gpod} -%{tde_datadir}/services/amarok_ipod-mediadevice.desktop -%{tde_tdelibdir}/libamarok_ipod-mediadevice.* -%endif -# VFAT -%{tde_datadir}/services/amarok_generic-mediadevice.desktop -%{tde_tdelibdir}/libamarok_generic-mediadevice.* -# iRiver -%if 0%{?with_ifp} -%{tde_datadir}/services/amarok_ifp-mediadevice.desktop -%{tde_tdelibdir}/libamarok_ifp-mediadevice.* -%endif -# Creative Zen -%if 0%{?with_njb} -%{tde_datadir}/services/amarok_njb-mediadevice.desktop -%{tde_tdelibdir}/libamarok_njb-mediadevice.* -%endif -# MTP players -%if 0%{?with_mtp} -%{tde_datadir}/services/amarok_mtp-mediadevice.desktop -%{tde_tdelibdir}/libamarok_mtp-mediadevice.* -%endif -# Rio Karma -%if 0%{?with_karma} -%{tde_datadir}/services/amarok_riokarma-mediadevice.desktop -%{tde_tdelibdir}/libamarok_riokarma-mediadevice.* -%endif -# Void engine (noop) -%{tde_datadir}/services/amarok_void-engine_plugin.desktop -%{tde_tdelibdir}/libamarok_void-engine_plugin.* -# Xine engine -%if 0%{?with_xine} -%{tde_datadir}/services/amarok_xine-engine.desktop -%{tde_tdelibdir}/libamarok_xine-engine.* -%endif -## Gstreamer engine -#%{tde_datadir}/services/amarok_gst10engine_plugin.desktop -#%{tde_tdelibdir}/libamarok_gst10engine_plugin.* -# YAUAP -%if 0%{?with_yauap} -%{tde_datadir}/services/amarok_yauap-engine_plugin.desktop -%{tde_tdelibdir}/libamarok_yauap-engine_plugin.* -%endif -# AKODE -%if 0 && 0%{?with_akode} -%{tde_datadir}/services/amarok_aKode-engine.desktop -%{tde_tdelibdir}/libamarok_aKode-engine.* -%endif - -########## - -%package ruby -Summary: %{name} Ruby support -Group: Applications/Multimedia -Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} -# For dir ownership and some default plugins (lyrics) -Requires: ruby - -%description ruby -%{summary}. - -%files ruby -%defattr(-,root,root,-) -%{tde_libdir}/ruby_lib/ - -########## - -%package konqueror -Summary: Amarok konqueror (service menus, sidebar) support -Group: Applications/Multimedia - -Requires: %{name} = %{?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.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 - -%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 -%__sed -i "amarok/src/scripts/playlist2html/playlist2html.py" \ - "amarok/src/scripts/playlist2html/PlaylistServer.py" \ - "amarok/src/scripts/webcontrol/WebControl.py" \ - -e "s|/usr/bin/env python|/usr/bin/env python2|" -%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} -DNDEBUG" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -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_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} \ - -DWITH_DAAP=ON \ - %{?with_mp4v2:-DWITH_MP4V2=ON} \ - %{?with_inotify:-DWITH_INOTIFY=ON} \ - -DBUILD_ALL=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -%__rm -fr $RPM_BUILD_ROOT -%__make install DESTDIR=$RPM_BUILD_ROOT -C build - - -# unpackaged files -%__rm -f $RPM_BUILD_ROOT%{tde_libdir}/lib*.la -# Removes '.so' to avoid automatic -devel dependency -%__rm -f $RPM_BUILD_ROOT%{tde_libdir}/libamarok.so - -# Locales -%find_lang %{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/amarok/amarok.spec b/redhat/applications/amarok/amarok.spec new file mode 100644 index 000000000..852bba9ad --- /dev/null +++ b/redhat/applications/amarok/amarok.spec @@ -0,0 +1,521 @@ +# +# 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.0.7 +%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: cmake >= 2.8 +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 + +BuildRequires: libusb-devel +BuildRequires: mysql-devel +BuildRequires: postgresql-devel +BuildRequires: SDL-devel +BuildRequires: taglib-devel +BuildRequires: sqlite-devel + +# not used anymore, in favor of libvisual ? -- Rex +#{?fedora:BuildRequires: xmms-devel} + +# IDN support +BuildRequires: libidn-devel + +# GAMIN support +# Not on openSUSE. +%if 0%{?rhel} || 0%{?fedora} || 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 + +# IFP support +# IFP package is broken under PCLinuxOS. +%if 0%{?pclinuxos} == 0 +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_ifp 1 +BuildRequires: libifp-devel +%endif +%endif + +# KARMA support +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?pclinuxos} == 0 +%define with_karma 1 +BuildRequires: libkarma-devel +BuildRequires: karma-sharp +%endif +%endif + +# GPOD (ipod) support +%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} +%define with_gpod 1 +BuildRequires: libgpod-devel >= 0.4.2 +%endif + +# MTP players +%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} +%define with_mtp 1 +BuildRequires: libmtp-devel +%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%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} == 18 || 0%{?fedora} == 19 || 0%{?rhel} == 5 || 0%{?rhel} == 6 || 0%{?rhel} == 7 +%define with_xine 1 +%if 0%{?mgaversion} || 0%{?mdkversion} +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 + +# 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 + +# 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 +%{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 +%{tde_confdir}/amarokrc +%{tde_datadir}/config.kcfg/*.kcfg +%{tde_datadir}/services/amarokitpc.protocol +%{tde_datadir}/services/amaroklastfm.protocol +%{tde_datadir}/services/amarokpcast.protocol +# -libs ? -- Rex +%{tde_libdir}/libamarok.so.0 +%{tde_libdir}/libamarok.so.0.0.0 +# DAAP +%{tde_bindir}/amarok_daapserver.rb +%{tde_tdelibdir}/libamarok_daap-mediadevice.* +%{tde_datadir}/services/amarok_daap-mediadevice.desktop +# Mass-storage +%{tde_datadir}/services/amarok_massstorage-device.desktop +%{tde_tdelibdir}/libamarok_massstorage-device.* +# NFS +%{tde_datadir}/services/amarok_nfs-device.desktop +%{tde_tdelibdir}/libamarok_nfs-device.* +# SMB +%{tde_datadir}/services/amarok_smb-device.desktop +%{tde_tdelibdir}/libamarok_smb-device.* +# IPod +%if 0%{?with_gpod} +%{tde_datadir}/services/amarok_ipod-mediadevice.desktop +%{tde_tdelibdir}/libamarok_ipod-mediadevice.* +%endif +# VFAT +%{tde_datadir}/services/amarok_generic-mediadevice.desktop +%{tde_tdelibdir}/libamarok_generic-mediadevice.* +# iRiver +%if 0%{?with_ifp} +%{tde_datadir}/services/amarok_ifp-mediadevice.desktop +%{tde_tdelibdir}/libamarok_ifp-mediadevice.* +%endif +# Creative Zen +%if 0%{?with_njb} +%{tde_datadir}/services/amarok_njb-mediadevice.desktop +%{tde_tdelibdir}/libamarok_njb-mediadevice.* +%endif +# MTP players +%if 0%{?with_mtp} +%{tde_datadir}/services/amarok_mtp-mediadevice.desktop +%{tde_tdelibdir}/libamarok_mtp-mediadevice.* +%endif +# Rio Karma +%if 0%{?with_karma} +%{tde_datadir}/services/amarok_riokarma-mediadevice.desktop +%{tde_tdelibdir}/libamarok_riokarma-mediadevice.* +%endif +# Void engine (noop) +%{tde_datadir}/services/amarok_void-engine_plugin.desktop +%{tde_tdelibdir}/libamarok_void-engine_plugin.* +# Xine engine +%if 0%{?with_xine} +%{tde_datadir}/services/amarok_xine-engine.desktop +%{tde_tdelibdir}/libamarok_xine-engine.* +%endif +## Gstreamer engine +#{tde_datadir}/services/amarok_gst10engine_plugin.desktop +#{tde_tdelibdir}/libamarok_gst10engine_plugin.* +# YAUAP +%if 0%{?with_yauap} +%{tde_datadir}/services/amarok_yauap-engine_plugin.desktop +%{tde_tdelibdir}/libamarok_yauap-engine_plugin.* +%endif +# AKODE +%if 0 && 0%{?with_akode} +%{tde_datadir}/services/amarok_aKode-engine.desktop +%{tde_tdelibdir}/libamarok_aKode-engine.* +%endif + +########## + +%package ruby +Summary: %{name} Ruby support +Group: Applications/Multimedia +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} +# For dir ownership and some default plugins (lyrics) +Requires: ruby + +%description ruby +%{summary}. + +%files ruby +%defattr(-,root,root,-) +%{tde_libdir}/ruby_lib/ + +########## + +%package konqueror +Summary: Amarok konqueror (service menus, sidebar) support +Group: Applications/Multimedia + +Requires: %{name} = %{?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.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 + +%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 +%__sed -i "amarok/src/scripts/playlist2html/playlist2html.py" \ + "amarok/src/scripts/playlist2html/PlaylistServer.py" \ + "amarok/src/scripts/webcontrol/WebControl.py" \ + -e "s|/usr/bin/env python|/usr/bin/env python2|" +%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} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -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_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} \ + -DWITH_DAAP=ON \ + %{?with_mp4v2:-DWITH_MP4V2=ON} \ + %{?with_inotify:-DWITH_INOTIFY=ON} \ + -DBUILD_ALL=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +%__rm -fr $RPM_BUILD_ROOT +%__make install DESTDIR=$RPM_BUILD_ROOT -C build + + +# unpackaged files +%__rm -f $RPM_BUILD_ROOT%{tde_libdir}/lib*.la +# Removes '.so' to avoid automatic -devel dependency +%__rm -f $RPM_BUILD_ROOT%{tde_libdir}/libamarok.so + +# Locales +%find_lang %{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-14.0.0.spec b/redhat/applications/basket/basket-14.0.0.spec deleted file mode 100644 index 66138fcdb..000000000 --- a/redhat/applications/basket/basket-14.0.0.spec +++ /dev/null @@ -1,190 +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.0.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: desktop-file-utils -BuildRequires: gpgme-devel - -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 -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}} - -%__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 kde_confdir="%{tde_confdir}" - -# Warning: --enable-final causes FTBFS -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --disable-final \ - --enable-closure \ - --enable-rpath \ - --disable-gcc-hidden-visibility - -%__make %{?_smp_mflags} || %__make - - -%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} -%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 -%{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_features.desktop -%{tde_datadir}/services/basket_config_general.desktop -%{tde_datadir}/services/basket_config_new_notes.desktop -#%{tde_datadir}/services/basket_config_notes.desktop -%{tde_datadir}/services/basket_config_notes_appearance.desktop -%{tde_datadir}/services/basket_part.desktop -%{tde_datadir}/services/basketthumbcreator.desktop -%{tde_datadir}/services/kontact/basket.desktop -%{tde_datadir}/services/kontact/basket_v4.desktop -%{tde_tdedocdir}/HTML/en/basket/ -%{tde_confdir}/magic/basket.magic.mgc - - -%changelog diff --git a/redhat/applications/basket/basket.spec b/redhat/applications/basket/basket.spec new file mode 100644 index 000000000..fbffbd753 --- /dev/null +++ b/redhat/applications/basket/basket.spec @@ -0,0 +1,188 @@ +# +# 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.0.7 +%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: desktop-file-utils +BuildRequires: gpgme-devel + +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 +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}} + +%__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 kde_confdir="%{tde_confdir}" + +# Warning: --enable-final causes FTBFS +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + \ + --disable-dependency-tracking \ + --disable-debug \ + --enable-new-ldflags \ + --disable-final \ + --enable-closure \ + --enable-rpath \ + --disable-gcc-hidden-visibility + +%__make %{?_smp_mflags} || %__make + + +%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} +%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 +%{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_datadir}/services/kontact/basket_v4.desktop +%{tde_tdedocdir}/HTML/en/basket/ +%{tde_confdir}/magic/basket.magic.mgc + + +%changelog diff --git a/redhat/applications/bibletime/bibletime-14.0.0.spec b/redhat/applications/bibletime/bibletime-14.0.0.spec deleted file mode 100644 index c6a0991a1..000000000 --- a/redhat/applications/bibletime/bibletime-14.0.0.spec +++ /dev/null @@ -1,176 +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.0.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}" - -%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/bibletime/bibletime.spec b/redhat/applications/bibletime/bibletime.spec new file mode 100644 index 000000000..5d18fa118 --- /dev/null +++ b/redhat/applications/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.0.7 +%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 +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/digikam/digikam-14.0.0.spec b/redhat/applications/digikam/digikam-14.0.0.spec deleted file mode 100644 index dc95cb8c7..000000000 --- a/redhat/applications/digikam/digikam-14.0.0.spec +++ /dev/null @@ -1,384 +0,0 @@ -# -# spec file for package digikam (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.0.0 -%endif -%define tde_pkg digikam -%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.6 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Digital photo management 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: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz -Source1: digikam-open_in_digikam.desktop - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: trinity-libkexiv2-devel -BuildRequires: trinity-libkdcraw-devel -BuildRequires: trinity-libkipi-devel - -BuildRequires: autoconf automake libtool m4 -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: libtool - -BuildRequires: libtiff-devel -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 - -# LCMS support -%if 0%{?suse_version} || 0%{?rhel} >= 7 -BuildRequires: liblcms-devel -%else -BuildRequires: lcms-devel -%endif - -# GPHOTO2 support -%if 0%{?rhel} == 4 || 0%{?rhel} == 5 || 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: gphoto2-devel -%else -BuildRequires: libgphoto2-devel -%endif - -# JASPER support -%if 0%{?suse_version} -BuildRequires: libjasper-devel -%else -BuildRequires: jasper-devel -%endif - -# EXIV2 support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}exiv2-devel -%endif -%if 0%{?suse_version} -BuildRequires: libexiv2-devel -%endif -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: exiv2-devel -%endif - -# SQLITE support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: sqlite3-devel -%else -BuildRequires: sqlite-devel -%endif - -Requires: trinity-libkexiv2 -Requires: trinity-libkdcraw -Requires: trinity-libkipi - -%description -An easy to use and powerful digital photo management -application, which makes importing, organizing and manipulating -digital photos a "snap". An interface is provided to connect to -your digital camera, preview the images and download and/or -delete them. - -The digiKam built-in image editor makes the common photo correction -a simple task. The image editor is extensible via plugins and, -the digikamimageplugins project has been merged to digiKam core -since release 0.9.2, all useful image editor plugins are available -in the base installation. - -digiKam can also make use of the KIPI image handling plugins to -extend its capabilities even further for photo manipulations, -import and export, etc. The kipi-plugins package contains many -very useful extentions. - -digiKam is based in part on the work of the Independent JPEG Group. - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/digikam -%{tde_bindir}/digikamthemedesigner -%{tde_bindir}/digitaglinktree -%{tde_bindir}/showfoto -%{tde_libdir}/libdigikam.so.0 -%{tde_libdir}/libdigikam.so.0.0.0 -%{tde_tdelibdir}/tdeio_digikamalbums.la -%{tde_tdelibdir}/tdeio_digikamalbums.so -%{tde_tdelibdir}/tdeio_digikamdates.la -%{tde_tdelibdir}/tdeio_digikamdates.so -%{tde_tdelibdir}/digikamimageplugin_adjustcurves.la -%{tde_tdelibdir}/digikamimageplugin_adjustcurves.so -%{tde_tdelibdir}/digikamimageplugin_adjustlevels.la -%{tde_tdelibdir}/digikamimageplugin_adjustlevels.so -%{tde_tdelibdir}/digikamimageplugin_antivignetting.la -%{tde_tdelibdir}/digikamimageplugin_antivignetting.so -%{tde_tdelibdir}/digikamimageplugin_blurfx.la -%{tde_tdelibdir}/digikamimageplugin_blurfx.so -%{tde_tdelibdir}/digikamimageplugin_border.la -%{tde_tdelibdir}/digikamimageplugin_border.so -%{tde_tdelibdir}/digikamimageplugin_channelmixer.la -%{tde_tdelibdir}/digikamimageplugin_channelmixer.so -%{tde_tdelibdir}/digikamimageplugin_charcoal.la -%{tde_tdelibdir}/digikamimageplugin_charcoal.so -%{tde_tdelibdir}/digikamimageplugin_colorfx.la -%{tde_tdelibdir}/digikamimageplugin_colorfx.so -%{tde_tdelibdir}/digikamimageplugin_core.la -%{tde_tdelibdir}/digikamimageplugin_core.so -%{tde_tdelibdir}/digikamimageplugin_distortionfx.la -%{tde_tdelibdir}/digikamimageplugin_distortionfx.so -%{tde_tdelibdir}/digikamimageplugin_emboss.la -%{tde_tdelibdir}/digikamimageplugin_emboss.so -%{tde_tdelibdir}/digikamimageplugin_filmgrain.la -%{tde_tdelibdir}/digikamimageplugin_filmgrain.so -%{tde_tdelibdir}/digikamimageplugin_freerotation.la -%{tde_tdelibdir}/digikamimageplugin_freerotation.so -%{tde_tdelibdir}/digikamimageplugin_hotpixels.la -%{tde_tdelibdir}/digikamimageplugin_hotpixels.so -%{tde_tdelibdir}/digikamimageplugin_infrared.la -%{tde_tdelibdir}/digikamimageplugin_infrared.so -%{tde_tdelibdir}/digikamimageplugin_inpainting.la -%{tde_tdelibdir}/digikamimageplugin_inpainting.so -%{tde_tdelibdir}/digikamimageplugin_inserttext.la -%{tde_tdelibdir}/digikamimageplugin_inserttext.so -%{tde_tdelibdir}/digikamimageplugin_lensdistortion.la -%{tde_tdelibdir}/digikamimageplugin_lensdistortion.so -%{tde_tdelibdir}/digikamimageplugin_noisereduction.la -%{tde_tdelibdir}/digikamimageplugin_noisereduction.so -%{tde_tdelibdir}/digikamimageplugin_oilpaint.la -%{tde_tdelibdir}/digikamimageplugin_oilpaint.so -%{tde_tdelibdir}/digikamimageplugin_perspective.la -%{tde_tdelibdir}/digikamimageplugin_perspective.so -%{tde_tdelibdir}/digikamimageplugin_raindrop.la -%{tde_tdelibdir}/digikamimageplugin_raindrop.so -%{tde_tdelibdir}/digikamimageplugin_restoration.la -%{tde_tdelibdir}/digikamimageplugin_restoration.so -%{tde_tdelibdir}/digikamimageplugin_sheartool.la -%{tde_tdelibdir}/digikamimageplugin_sheartool.so -%{tde_tdelibdir}/digikamimageplugin_superimpose.la -%{tde_tdelibdir}/digikamimageplugin_superimpose.so -%{tde_tdelibdir}/digikamimageplugin_texture.la -%{tde_tdelibdir}/digikamimageplugin_texture.so -%{tde_tdelibdir}/digikamimageplugin_whitebalance.la -%{tde_tdelibdir}/digikamimageplugin_whitebalance.so -%{tde_tdelibdir}/tdeio_digikamsearch.la -%{tde_tdelibdir}/tdeio_digikamsearch.so -%{tde_tdelibdir}/tdeio_digikamtags.la -%{tde_tdelibdir}/tdeio_digikamtags.so -%{tde_tdelibdir}/tdeio_digikamthumbnail.la -%{tde_tdelibdir}/tdeio_digikamthumbnail.so -%{tde_tdeappdir}/digikam.desktop -%{tde_tdeappdir}/showfoto.desktop -%{tde_datadir}/apps/digikam/ -%{tde_datadir}/apps/konqueror/servicemenus/digikam-download.desktop -%{tde_datadir}/apps/konqueror/servicemenus/digikam-gphoto2-camera.desktop -%{tde_datadir}/apps/konqueror/servicemenus/digikam-mount-and-download.desktop -%{tde_datadir}/apps/konqueror/servicemenus/digikam-open_in_digikam.desktop -%{tde_datadir}/apps/showfoto/ -%{tde_datadir}/icons/hicolor/*/apps/digikam.png -%{tde_datadir}/icons/hicolor/*/apps/showfoto.png -%{tde_datadir}/services/digikamalbums.protocol -%{tde_datadir}/services/digikamdates.protocol -%{tde_datadir}/services/digikamimageplugin_adjustcurves.desktop -%{tde_datadir}/services/digikamimageplugin_adjustlevels.desktop -%{tde_datadir}/services/digikamimageplugin_antivignetting.desktop -%{tde_datadir}/services/digikamimageplugin_blurfx.desktop -%{tde_datadir}/services/digikamimageplugin_border.desktop -%{tde_datadir}/services/digikamimageplugin_channelmixer.desktop -%{tde_datadir}/services/digikamimageplugin_charcoal.desktop -%{tde_datadir}/services/digikamimageplugin_colorfx.desktop -%{tde_datadir}/services/digikamimageplugin_core.desktop -%{tde_datadir}/services/digikamimageplugin_distortionfx.desktop -%{tde_datadir}/services/digikamimageplugin_emboss.desktop -%{tde_datadir}/services/digikamimageplugin_filmgrain.desktop -%{tde_datadir}/services/digikamimageplugin_freerotation.desktop -%{tde_datadir}/services/digikamimageplugin_hotpixels.desktop -%{tde_datadir}/services/digikamimageplugin_infrared.desktop -%{tde_datadir}/services/digikamimageplugin_inpainting.desktop -%{tde_datadir}/services/digikamimageplugin_inserttext.desktop -%{tde_datadir}/services/digikamimageplugin_lensdistortion.desktop -%{tde_datadir}/services/digikamimageplugin_noisereduction.desktop -%{tde_datadir}/services/digikamimageplugin_oilpaint.desktop -%{tde_datadir}/services/digikamimageplugin_perspective.desktop -%{tde_datadir}/services/digikamimageplugin_raindrop.desktop -%{tde_datadir}/services/digikamimageplugin_restoration.desktop -%{tde_datadir}/services/digikamimageplugin_sheartool.desktop -%{tde_datadir}/services/digikamimageplugin_superimpose.desktop -%{tde_datadir}/services/digikamimageplugin_texture.desktop -%{tde_datadir}/services/digikamimageplugin_whitebalance.desktop -%{tde_datadir}/services/digikamsearch.protocol -%{tde_datadir}/services/digikamtags.protocol -%{tde_datadir}/services/digikamthumbnail.protocol -%{tde_datadir}/servicetypes/digikamimageplugin.desktop -%{tde_mandir}/man*/* -%{tde_tdedocdir}/HTML/en/digikam/ -%{tde_tdedocdir}/HTML/en/showfoto/ - -########## - -%package devel -Group: Development/Libraries -Summary: Development files for %{name} -Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} - -%description devel -%{summary} - -%files devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/digikam_export.h -%{tde_tdeincludedir}/digikam/ -%{tde_libdir}/libdigikam.so -%{tde_libdir}/libdigikam.la - -########## - -%package i18n -Summary: Translation files for %{tde_pkg} -Group: Applications/Utilities -Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} - -%description i18n -%{summary} - -%files i18n -%defattr(-,root,root,-) -%lang(da) %{tde_tdedocdir}/HTML/da/digikam/ -%lang(da) %{tde_tdedocdir}/HTML/da/showfoto/ -%lang(de) %{tde_tdedocdir}/HTML/de/digikam/ -%lang(de) %{tde_tdedocdir}/HTML/de/showfoto/ -%lang(es) %{tde_tdedocdir}/HTML/es/digikam/ -%lang(es) %{tde_tdedocdir}/HTML/es/showfoto/ -%lang(et) %{tde_tdedocdir}/HTML/et/digikam/ -%lang(et) %{tde_tdedocdir}/HTML/et/showfoto/ -%lang(it) %{tde_tdedocdir}/HTML/it/digikam/ -%lang(it) %{tde_tdedocdir}/HTML/it/showfoto/ -%lang(nl) %{tde_tdedocdir}/HTML/nl/digikam/ -%lang(nl) %{tde_tdedocdir}/HTML/nl/showfoto/ -%lang(pt_BR) %{tde_tdedocdir}/HTML/pt_BR/digikam/ -#lang(pt_BR) %{tde_tdedocdir}/HTML/pt_BR/showfoto/ -%lang(ru) %{tde_tdedocdir}/HTML/ru/digikam/ -#lang(ru) %{tde_tdedocdir}/HTML/ru/showfoto/ -%lang(sv) %{tde_tdedocdir}/HTML/sv/digikam/ -%lang(sv) %{tde_tdedocdir}/HTML/sv/showfoto/ - -########## - -%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} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --enable-final \ - --enable-closure \ - --enable-rpath \ - --disable-gcc-hidden-visibility \ - \ - --without-included-sqlite3 - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{tde_pkg} - -# Hide 'showfoto'. -echo "NoDisplay=true" >> "$RPM_BUILD_ROOT%{tde_tdeappdir}/showfoto.desktop" - -# Install the 'open in digikam' action for konqueror. -install -D -m 644 "%{SOURCE1}" "$RPM_BUILD_ROOT%{tde_datadir}/apps/konqueror/servicemenus/digikam-open_in_digikam.desktop" - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file digikam Graphics Photography -%suse_update_desktop_file showfoto Graphics Viewer -%suse_update_desktop_file "$RPM_BUILD_ROOT%{tde_datadir}/apps/konqueror/servicemenus/digikam-open_in_digikam.desktop" -%endif - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/applications/digikam/digikam.spec b/redhat/applications/digikam/digikam.spec new file mode 100644 index 000000000..73ec61a98 --- /dev/null +++ b/redhat/applications/digikam/digikam.spec @@ -0,0 +1,384 @@ +# +# spec file for package digikam (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.0.7 +%endif +%define tde_pkg digikam +%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.6 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Digital photo management 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: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz +Source1: digikam-open_in_digikam.desktop + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: trinity-libkexiv2-devel +BuildRequires: trinity-libkdcraw-devel +BuildRequires: trinity-libkipi-devel + +BuildRequires: autoconf automake libtool m4 +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: libtool + +BuildRequires: libtiff-devel +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 + +# LCMS support +%if 0%{?suse_version} || 0%{?rhel} >= 7 +BuildRequires: liblcms-devel +%else +BuildRequires: lcms-devel +%endif + +# GPHOTO2 support +%if 0%{?rhel} == 4 || 0%{?rhel} == 5 || 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: gphoto2-devel +%else +BuildRequires: libgphoto2-devel +%endif + +# JASPER support +%if 0%{?suse_version} +BuildRequires: libjasper-devel +%else +BuildRequires: jasper-devel +%endif + +# EXIV2 support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}exiv2-devel +%endif +%if 0%{?suse_version} +BuildRequires: libexiv2-devel +%endif +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: exiv2-devel +%endif + +# SQLITE support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: sqlite3-devel +%else +BuildRequires: sqlite-devel +%endif + +Requires: trinity-libkexiv2 +Requires: trinity-libkdcraw +Requires: trinity-libkipi + +%description +An easy to use and powerful digital photo management +application, which makes importing, organizing and manipulating +digital photos a "snap". An interface is provided to connect to +your digital camera, preview the images and download and/or +delete them. + +The digiKam built-in image editor makes the common photo correction +a simple task. The image editor is extensible via plugins and, +the digikamimageplugins project has been merged to digiKam core +since release 0.9.2, all useful image editor plugins are available +in the base installation. + +digiKam can also make use of the KIPI image handling plugins to +extend its capabilities even further for photo manipulations, +import and export, etc. The kipi-plugins package contains many +very useful extentions. + +digiKam is based in part on the work of the Independent JPEG Group. + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/digikam +%{tde_bindir}/digikamthemedesigner +%{tde_bindir}/digitaglinktree +%{tde_bindir}/showfoto +%{tde_libdir}/libdigikam.so.0 +%{tde_libdir}/libdigikam.so.0.0.0 +%{tde_tdelibdir}/tdeio_digikamalbums.la +%{tde_tdelibdir}/tdeio_digikamalbums.so +%{tde_tdelibdir}/tdeio_digikamdates.la +%{tde_tdelibdir}/tdeio_digikamdates.so +%{tde_tdelibdir}/digikamimageplugin_adjustcurves.la +%{tde_tdelibdir}/digikamimageplugin_adjustcurves.so +%{tde_tdelibdir}/digikamimageplugin_adjustlevels.la +%{tde_tdelibdir}/digikamimageplugin_adjustlevels.so +%{tde_tdelibdir}/digikamimageplugin_antivignetting.la +%{tde_tdelibdir}/digikamimageplugin_antivignetting.so +%{tde_tdelibdir}/digikamimageplugin_blurfx.la +%{tde_tdelibdir}/digikamimageplugin_blurfx.so +%{tde_tdelibdir}/digikamimageplugin_border.la +%{tde_tdelibdir}/digikamimageplugin_border.so +%{tde_tdelibdir}/digikamimageplugin_channelmixer.la +%{tde_tdelibdir}/digikamimageplugin_channelmixer.so +%{tde_tdelibdir}/digikamimageplugin_charcoal.la +%{tde_tdelibdir}/digikamimageplugin_charcoal.so +%{tde_tdelibdir}/digikamimageplugin_colorfx.la +%{tde_tdelibdir}/digikamimageplugin_colorfx.so +%{tde_tdelibdir}/digikamimageplugin_core.la +%{tde_tdelibdir}/digikamimageplugin_core.so +%{tde_tdelibdir}/digikamimageplugin_distortionfx.la +%{tde_tdelibdir}/digikamimageplugin_distortionfx.so +%{tde_tdelibdir}/digikamimageplugin_emboss.la +%{tde_tdelibdir}/digikamimageplugin_emboss.so +%{tde_tdelibdir}/digikamimageplugin_filmgrain.la +%{tde_tdelibdir}/digikamimageplugin_filmgrain.so +%{tde_tdelibdir}/digikamimageplugin_freerotation.la +%{tde_tdelibdir}/digikamimageplugin_freerotation.so +%{tde_tdelibdir}/digikamimageplugin_hotpixels.la +%{tde_tdelibdir}/digikamimageplugin_hotpixels.so +%{tde_tdelibdir}/digikamimageplugin_infrared.la +%{tde_tdelibdir}/digikamimageplugin_infrared.so +%{tde_tdelibdir}/digikamimageplugin_inpainting.la +%{tde_tdelibdir}/digikamimageplugin_inpainting.so +%{tde_tdelibdir}/digikamimageplugin_inserttext.la +%{tde_tdelibdir}/digikamimageplugin_inserttext.so +%{tde_tdelibdir}/digikamimageplugin_lensdistortion.la +%{tde_tdelibdir}/digikamimageplugin_lensdistortion.so +%{tde_tdelibdir}/digikamimageplugin_noisereduction.la +%{tde_tdelibdir}/digikamimageplugin_noisereduction.so +%{tde_tdelibdir}/digikamimageplugin_oilpaint.la +%{tde_tdelibdir}/digikamimageplugin_oilpaint.so +%{tde_tdelibdir}/digikamimageplugin_perspective.la +%{tde_tdelibdir}/digikamimageplugin_perspective.so +%{tde_tdelibdir}/digikamimageplugin_raindrop.la +%{tde_tdelibdir}/digikamimageplugin_raindrop.so +%{tde_tdelibdir}/digikamimageplugin_restoration.la +%{tde_tdelibdir}/digikamimageplugin_restoration.so +%{tde_tdelibdir}/digikamimageplugin_sheartool.la +%{tde_tdelibdir}/digikamimageplugin_sheartool.so +%{tde_tdelibdir}/digikamimageplugin_superimpose.la +%{tde_tdelibdir}/digikamimageplugin_superimpose.so +%{tde_tdelibdir}/digikamimageplugin_texture.la +%{tde_tdelibdir}/digikamimageplugin_texture.so +%{tde_tdelibdir}/digikamimageplugin_whitebalance.la +%{tde_tdelibdir}/digikamimageplugin_whitebalance.so +%{tde_tdelibdir}/tdeio_digikamsearch.la +%{tde_tdelibdir}/tdeio_digikamsearch.so +%{tde_tdelibdir}/tdeio_digikamtags.la +%{tde_tdelibdir}/tdeio_digikamtags.so +%{tde_tdelibdir}/tdeio_digikamthumbnail.la +%{tde_tdelibdir}/tdeio_digikamthumbnail.so +%{tde_tdeappdir}/digikam.desktop +%{tde_tdeappdir}/showfoto.desktop +%{tde_datadir}/apps/digikam/ +%{tde_datadir}/apps/konqueror/servicemenus/digikam-download.desktop +%{tde_datadir}/apps/konqueror/servicemenus/digikam-gphoto2-camera.desktop +%{tde_datadir}/apps/konqueror/servicemenus/digikam-mount-and-download.desktop +%{tde_datadir}/apps/konqueror/servicemenus/digikam-open_in_digikam.desktop +%{tde_datadir}/apps/showfoto/ +%{tde_datadir}/icons/hicolor/*/apps/digikam.png +%{tde_datadir}/icons/hicolor/*/apps/showfoto.png +%{tde_datadir}/services/digikamalbums.protocol +%{tde_datadir}/services/digikamdates.protocol +%{tde_datadir}/services/digikamimageplugin_adjustcurves.desktop +%{tde_datadir}/services/digikamimageplugin_adjustlevels.desktop +%{tde_datadir}/services/digikamimageplugin_antivignetting.desktop +%{tde_datadir}/services/digikamimageplugin_blurfx.desktop +%{tde_datadir}/services/digikamimageplugin_border.desktop +%{tde_datadir}/services/digikamimageplugin_channelmixer.desktop +%{tde_datadir}/services/digikamimageplugin_charcoal.desktop +%{tde_datadir}/services/digikamimageplugin_colorfx.desktop +%{tde_datadir}/services/digikamimageplugin_core.desktop +%{tde_datadir}/services/digikamimageplugin_distortionfx.desktop +%{tde_datadir}/services/digikamimageplugin_emboss.desktop +%{tde_datadir}/services/digikamimageplugin_filmgrain.desktop +%{tde_datadir}/services/digikamimageplugin_freerotation.desktop +%{tde_datadir}/services/digikamimageplugin_hotpixels.desktop +%{tde_datadir}/services/digikamimageplugin_infrared.desktop +%{tde_datadir}/services/digikamimageplugin_inpainting.desktop +%{tde_datadir}/services/digikamimageplugin_inserttext.desktop +%{tde_datadir}/services/digikamimageplugin_lensdistortion.desktop +%{tde_datadir}/services/digikamimageplugin_noisereduction.desktop +%{tde_datadir}/services/digikamimageplugin_oilpaint.desktop +%{tde_datadir}/services/digikamimageplugin_perspective.desktop +%{tde_datadir}/services/digikamimageplugin_raindrop.desktop +%{tde_datadir}/services/digikamimageplugin_restoration.desktop +%{tde_datadir}/services/digikamimageplugin_sheartool.desktop +%{tde_datadir}/services/digikamimageplugin_superimpose.desktop +%{tde_datadir}/services/digikamimageplugin_texture.desktop +%{tde_datadir}/services/digikamimageplugin_whitebalance.desktop +%{tde_datadir}/services/digikamsearch.protocol +%{tde_datadir}/services/digikamtags.protocol +%{tde_datadir}/services/digikamthumbnail.protocol +%{tde_datadir}/servicetypes/digikamimageplugin.desktop +%{tde_mandir}/man*/* +%{tde_tdedocdir}/HTML/en/digikam/ +%{tde_tdedocdir}/HTML/en/showfoto/ + +########## + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} + +%description devel +%{summary} + +%files devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/digikam_export.h +%{tde_tdeincludedir}/digikam/ +%{tde_libdir}/libdigikam.so +%{tde_libdir}/libdigikam.la + +########## + +%package i18n +Summary: Translation files for %{tde_pkg} +Group: Applications/Utilities +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} + +%description i18n +%{summary} + +%files i18n +%defattr(-,root,root,-) +%lang(da) %{tde_tdedocdir}/HTML/da/digikam/ +%lang(da) %{tde_tdedocdir}/HTML/da/showfoto/ +%lang(de) %{tde_tdedocdir}/HTML/de/digikam/ +%lang(de) %{tde_tdedocdir}/HTML/de/showfoto/ +%lang(es) %{tde_tdedocdir}/HTML/es/digikam/ +%lang(es) %{tde_tdedocdir}/HTML/es/showfoto/ +%lang(et) %{tde_tdedocdir}/HTML/et/digikam/ +%lang(et) %{tde_tdedocdir}/HTML/et/showfoto/ +%lang(it) %{tde_tdedocdir}/HTML/it/digikam/ +%lang(it) %{tde_tdedocdir}/HTML/it/showfoto/ +%lang(nl) %{tde_tdedocdir}/HTML/nl/digikam/ +%lang(nl) %{tde_tdedocdir}/HTML/nl/showfoto/ +%lang(pt_BR) %{tde_tdedocdir}/HTML/pt_BR/digikam/ +#lang(pt_BR) %{tde_tdedocdir}/HTML/pt_BR/showfoto/ +%lang(ru) %{tde_tdedocdir}/HTML/ru/digikam/ +#lang(ru) %{tde_tdedocdir}/HTML/ru/showfoto/ +%lang(sv) %{tde_tdedocdir}/HTML/sv/digikam/ +%lang(sv) %{tde_tdedocdir}/HTML/sv/showfoto/ + +########## + +%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} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + \ + --disable-dependency-tracking \ + --disable-debug \ + --enable-new-ldflags \ + --enable-final \ + --enable-closure \ + --enable-rpath \ + --disable-gcc-hidden-visibility \ + \ + --without-included-sqlite3 + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{tde_pkg} + +# Hide 'showfoto'. +echo "NoDisplay=true" >> "$RPM_BUILD_ROOT%{tde_tdeappdir}/showfoto.desktop" + +# Install the 'open in digikam' action for konqueror. +install -D -m 644 "%{SOURCE1}" "$RPM_BUILD_ROOT%{tde_datadir}/apps/konqueror/servicemenus/digikam-open_in_digikam.desktop" + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file digikam Graphics Photography +%suse_update_desktop_file showfoto Graphics Viewer +%suse_update_desktop_file "$RPM_BUILD_ROOT%{tde_datadir}/apps/konqueror/servicemenus/digikam-open_in_digikam.desktop" +%endif + + +%clean +%__rm -rf %{buildroot} + + +%changelog diff --git a/redhat/applications/dolphin/dolphin.spec b/redhat/applications/dolphin/dolphin.spec index de4f5d627..eef8e8457 100644 --- a/redhat/applications/dolphin/dolphin.spec +++ b/redhat/applications/dolphin/dolphin.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg dolphin %define tde_prefix /opt/trinity diff --git a/redhat/applications/filelight/filelight-14.0.0.spec b/redhat/applications/filelight/filelight-14.0.0.spec deleted file mode 100644 index 674b56560..000000000 --- a/redhat/applications/filelight/filelight-14.0.0.spec +++ /dev/null @@ -1,188 +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.0.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: cmake -BuildRequires: gcc-c++ -BuildRequires: pkgconfig - -# IDN support -BuildRequires: libidn-devel - -# GAMIN support -# Not on openSUSE. -%if 0%{?rhel} || 0%{?fedora} || 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 < %{version}-%{release} -Provides: filelight-l10n = %{version}-%{release} - -%description -Filelight creates a complex, but data-rich graphical representation of the files and -directories on your computer. - -########## - -%if 0%{?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} -DNDEBUG" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -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 filelight 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 -%{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/ - - -%changelog diff --git a/redhat/applications/filelight/filelight.spec b/redhat/applications/filelight/filelight.spec new file mode 100644 index 000000000..e32a92e3d --- /dev/null +++ b/redhat/applications/filelight/filelight.spec @@ -0,0 +1,188 @@ +# +# 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.0.7 +%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: cmake +BuildRequires: gcc-c++ +BuildRequires: pkgconfig + +# IDN support +BuildRequires: libidn-devel + +# GAMIN support +# Not on openSUSE. +%if 0%{?rhel} || 0%{?fedora} || 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 < %{version}-%{release} +Provides: filelight-l10n = %{version}-%{release} + +%description +Filelight creates a complex, but data-rich graphical representation of the files and +directories on your computer. + +########## + +%if 0%{?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} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -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 filelight 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 +%{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/ + + +%changelog diff --git a/redhat/applications/fusion-icon/fusion-icon-14.0.0.spec b/redhat/applications/fusion-icon/fusion-icon-14.0.0.spec deleted file mode 100644 index 7b48df033..000000000 --- a/redhat/applications/fusion-icon/fusion-icon-14.0.0.spec +++ /dev/null @@ -1,92 +0,0 @@ -# Default version for this component -%define tde_pkg fusion-icon -%if "%{?tde_version}" == "" -%define tde_version 14.0.0 -%endif - -%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_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 _docdir %{tde_docdir} - - -Name: trinity-%{tde_pkg} -Summary: tray icon to launch and manage Compiz Fusion [Trinity] -Version: 0.0.0+git20071028 -Release: 2%{?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-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 -export PATH="%{tde_bindir}:${PATH}" - -%__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install \ - DESTDIR=%{buildroot} \ - PREFIX=%{tde_prefix} - -# Removes 'egg-info' -find "%{?buildroot}%{python2_sitelib}" -name "*.egg-info" -delete - - -%clean -%__rm -rf %{buildroot} - - -%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/fusion-icon/fusion-icon.spec b/redhat/applications/fusion-icon/fusion-icon.spec index 99f8992ff..a11b2249f 100644 --- a/redhat/applications/fusion-icon/fusion-icon.spec +++ b/redhat/applications/fusion-icon/fusion-icon.spec @@ -1,6 +1,6 @@ # Default version for this component %define tde_pkg fusion-icon -%define tde_version 14.0.0 +%define tde_version 14.0.7 %if "%{?python2_sitelib}" == "" %define python2_sitelib %(python2 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())") diff --git a/redhat/applications/gtk-qt-engine/gtk-qt-engine-14.0.0.spec b/redhat/applications/gtk-qt-engine/gtk-qt-engine-14.0.0.spec deleted file mode 100644 index ef32736f0..000000000 --- a/redhat/applications/gtk-qt-engine/gtk-qt-engine-14.0.0.spec +++ /dev/null @@ -1,193 +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.0.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 -Source1: gtk-qt-engine.rc.sh -Source2: gtkrc-2.0-kde4 -Source3: gtkrc-2.0-kde-kde4 - - -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: 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} -DNDEBUG" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -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} \ - -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 gtkqtengine - -# Adds TDE's specific GTKRC -%__install -D -m 644 "%{SOURCE1}" "%{buildroot}%{tde_datadir}/kgtk/gtk-qt-engine.rc.sh" -%__install -D -m 644 "%{SOURCE2}" "%{buildroot}%{tde_datadir}/kgtk/.gtkrc-2.0-kde4" -%__install -D -m 644 "%{SOURCE3}" "%{buildroot}%{tde_datadir}/kgtk/.gtkrc-2.0-kde-kde4" - - -%clean -%__rm -rf %{buildroot} - - -%files -f gtkqtengine.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README TODO -%{tde_tdelibdir}/kcm_kcmgtk.la -%{tde_tdelibdir}/kcm_kcmgtk.so -%{tde_appdir}/kcmgtk.desktop -%dir %{tde_datadir}/kgtk -%{tde_datadir}/kgtk/gtk-qt-engine.rc.sh -%{tde_datadir}/kgtk/.gtkrc-2.0-kde4 -%{tde_datadir}/kgtk/.gtkrc-2.0-kde-kde4 -%{tde_tdedocdir}/HTML/en/kcmgtk/ - -# 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/gtk-qt-engine/gtk-qt-engine.spec b/redhat/applications/gtk-qt-engine/gtk-qt-engine.spec new file mode 100644 index 000000000..bf5b5431b --- /dev/null +++ b/redhat/applications/gtk-qt-engine/gtk-qt-engine.spec @@ -0,0 +1,193 @@ +# +# 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.0.7 +%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 +Source1: gtk-qt-engine.rc.sh +Source2: gtkrc-2.0-kde4 +Source3: gtkrc-2.0-kde-kde4 + + +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: 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} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -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} \ + -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 gtkqtengine + +# Adds TDE's specific GTKRC +%__install -D -m 644 "%{SOURCE1}" "%{buildroot}%{tde_datadir}/kgtk/gtk-qt-engine.rc.sh" +%__install -D -m 644 "%{SOURCE2}" "%{buildroot}%{tde_datadir}/kgtk/.gtkrc-2.0-kde4" +%__install -D -m 644 "%{SOURCE3}" "%{buildroot}%{tde_datadir}/kgtk/.gtkrc-2.0-kde-kde4" + + +%clean +%__rm -rf %{buildroot} + + +%files -f gtkqtengine.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README TODO +%{tde_tdelibdir}/kcm_kcmgtk.la +%{tde_tdelibdir}/kcm_kcmgtk.so +%{tde_appdir}/kcmgtk.desktop +%dir %{tde_datadir}/kgtk +%{tde_datadir}/kgtk/gtk-qt-engine.rc.sh +%{tde_datadir}/kgtk/.gtkrc-2.0-kde4 +%{tde_datadir}/kgtk/.gtkrc-2.0-kde-kde4 +%{tde_tdedocdir}/HTML/en/kcmgtk/ + +# 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-14.0.0.spec b/redhat/applications/gtk3-tqt-engine/gtk3-tqt-engine-14.0.0.spec deleted file mode 100644 index be57d2f0e..000000000 --- a/redhat/applications/gtk3-tqt-engine/gtk3-tqt-engine-14.0.0.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.0.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/gtk3-tqt-engine/gtk3-tqt-engine.spec b/redhat/applications/gtk3-tqt-engine/gtk3-tqt-engine.spec new file mode 100644 index 000000000..37129b3c8 --- /dev/null +++ b/redhat/applications/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.0.7 +%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/gwenview-i18n/gwenview-i18n.spec b/redhat/applications/gwenview-i18n/gwenview-i18n.spec index 59bbfaa5b..762d21a02 100644 --- a/redhat/applications/gwenview-i18n/gwenview-i18n.spec +++ b/redhat/applications/gwenview-i18n/gwenview-i18n.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg gwenview-i18n %define tde_prefix /opt/trinity diff --git a/redhat/applications/gwenview/gwenview-14.0.0.spec b/redhat/applications/gwenview/gwenview-14.0.0.spec deleted file mode 100644 index 8f635bf08..000000000 --- a/redhat/applications/gwenview/gwenview-14.0.0.spec +++ /dev/null @@ -1,214 +0,0 @@ -# -# spec file for package gwenview (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.0.0 -%endif -%define tde_pkg gwenview -%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.2 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Gwenview is an image viewer 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 - -# 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 - -# EXIV2 support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}exiv2-devel -%endif -%if 0%{?suse_version} -BuildRequires: libexiv2-devel -%endif -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: exiv2-devel -%endif - -%if "%{?tde_prefix}" == "/usr" -Conflicts: kdegraphics -%endif - - -%description -Gwenview is a fast and easy to use image viewer/browser for TDE. -All common image formats are supported, such as PNG(including transparency), -JPEG(including EXIF tags and lossless transformations), GIF, XCF (Gimp -image format), BMP, XPM and others. Standard features include slideshow, -fullscreen view, image thumbnails, drag'n'drop, image zoom, full network -transparency using the KIO framework, including basic file operations and -browsing in compressed archives, non-blocking GUI with adjustable views. -Gwenview also provides image and directory KParts components for use e.g. in -Konqueror. Additional features, such as image renaming, comparing, -converting, and batch processing, HTML gallery and others are provided by the -KIPI image framework. - - -########## - -%if 0%{?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} \ - --docdir=%{tde_tdedocdir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - \ - --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} - -# Removes useless files (-devel ?) -%__rm -f %{?buildroot}%{tde_libdir}/libgwenviewcore.so - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file gwenview RasterGraphics Viewer -%endif - - -%clean -%__rm -rf %{buildroot} - - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/gwenview -%{tde_libdir}/libgwenviewcore.la -%{tde_libdir}/libgwenviewcore.so.1 -%{tde_libdir}/libgwenviewcore.so.1.0.0 -%{tde_libdir}/libtdeinit_gwenview.la -%{tde_libdir}/libtdeinit_gwenview.so -%{tde_tdelibdir}/gwenview.la -%{tde_tdelibdir}/gwenview.so -%{tde_tdelibdir}/libgvdirpart.la -%{tde_tdelibdir}/libgvdirpart.so -%{tde_tdelibdir}/libgvimagepart.la -%{tde_tdelibdir}/libgvimagepart.so -%{tde_tdeappdir}/gwenview.desktop -%{tde_datadir}/apps/gwenview/ -%dir %{tde_datadir}/apps/gvdirpart -%{tde_datadir}/apps/gvdirpart/gvdirpart.rc -%dir %{tde_datadir}/apps/gvimagepart -%{tde_datadir}/apps/gvimagepart/gvimagepart.rc -%{tde_datadir}/apps/gvimagepart/gvimagepartpopup.rc -%{tde_datadir}/apps/tdeconf_update/gwenview_1.4_osdformat.sh -%{tde_datadir}/apps/tdeconf_update/gwenview_1.4_osdformat.upd -%{tde_datadir}/apps/tdeconf_update/gwenview_thumbnail_size.sh -%{tde_datadir}/apps/tdeconf_update/gwenview_thumbnail_size.upd -%{tde_datadir}/apps/konqueror/servicemenus/konqgwenview.desktop -%{tde_datadir}/config.kcfg/fileoperationconfig.kcfg -%{tde_datadir}/config.kcfg/fileviewconfig.kcfg -%{tde_datadir}/config.kcfg/fullscreenconfig.kcfg -%{tde_datadir}/config.kcfg/gvdirpartconfig.kcfg -%{tde_datadir}/config.kcfg/imageviewconfig.kcfg -%{tde_datadir}/config.kcfg/miscconfig.kcfg -%{tde_datadir}/config.kcfg/slideshowconfig.kcfg -%{tde_datadir}/icons/crystalsvg/*/apps/gvdirpart.png -%{tde_datadir}/icons/crystalsvg/scalable/apps/gvdirpart.svg -%{tde_datadir}/icons/hicolor/*/apps/gwenview.png -%{tde_datadir}/icons/hicolor/*/apps/gvdirpart.png -%{tde_datadir}/icons/hicolor/scalable/apps/gvdirpart.svg -%{tde_datadir}/icons/hicolor/scalable/apps/gwenview.svgz -%{tde_datadir}/man/man1/gwenview.1* -%{tde_datadir}/services/gvdirpart.desktop -%{tde_datadir}/services/gvimagepart.desktop -%lang(en) %{tde_tdedocdir}/HTML/en/gwenview/ - -%changelog diff --git a/redhat/applications/gwenview/gwenview.spec b/redhat/applications/gwenview/gwenview.spec new file mode 100644 index 000000000..ac8d7502e --- /dev/null +++ b/redhat/applications/gwenview/gwenview.spec @@ -0,0 +1,214 @@ +# +# spec file for package gwenview (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.0.7 +%endif +%define tde_pkg gwenview +%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.2 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Gwenview is an image viewer 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 + +# 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 + +# EXIV2 support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}exiv2-devel +%endif +%if 0%{?suse_version} +BuildRequires: libexiv2-devel +%endif +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: exiv2-devel +%endif + +%if "%{?tde_prefix}" == "/usr" +Conflicts: kdegraphics +%endif + + +%description +Gwenview is a fast and easy to use image viewer/browser for TDE. +All common image formats are supported, such as PNG(including transparency), +JPEG(including EXIF tags and lossless transformations), GIF, XCF (Gimp +image format), BMP, XPM and others. Standard features include slideshow, +fullscreen view, image thumbnails, drag'n'drop, image zoom, full network +transparency using the KIO framework, including basic file operations and +browsing in compressed archives, non-blocking GUI with adjustable views. +Gwenview also provides image and directory KParts components for use e.g. in +Konqueror. Additional features, such as image renaming, comparing, +converting, and batch processing, HTML gallery and others are provided by the +KIPI image framework. + + +########## + +%if 0%{?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} \ + --docdir=%{tde_tdedocdir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + \ + --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} + +# Removes useless files (-devel ?) +%__rm -f %{?buildroot}%{tde_libdir}/libgwenviewcore.so + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file gwenview RasterGraphics Viewer +%endif + + +%clean +%__rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/gwenview +%{tde_libdir}/libgwenviewcore.la +%{tde_libdir}/libgwenviewcore.so.1 +%{tde_libdir}/libgwenviewcore.so.1.0.0 +%{tde_libdir}/libtdeinit_gwenview.la +%{tde_libdir}/libtdeinit_gwenview.so +%{tde_tdelibdir}/gwenview.la +%{tde_tdelibdir}/gwenview.so +%{tde_tdelibdir}/libgvdirpart.la +%{tde_tdelibdir}/libgvdirpart.so +%{tde_tdelibdir}/libgvimagepart.la +%{tde_tdelibdir}/libgvimagepart.so +%{tde_tdeappdir}/gwenview.desktop +%{tde_datadir}/apps/gwenview/ +%dir %{tde_datadir}/apps/gvdirpart +%{tde_datadir}/apps/gvdirpart/gvdirpart.rc +%dir %{tde_datadir}/apps/gvimagepart +%{tde_datadir}/apps/gvimagepart/gvimagepart.rc +%{tde_datadir}/apps/gvimagepart/gvimagepartpopup.rc +%{tde_datadir}/apps/tdeconf_update/gwenview_1.4_osdformat.sh +%{tde_datadir}/apps/tdeconf_update/gwenview_1.4_osdformat.upd +%{tde_datadir}/apps/tdeconf_update/gwenview_thumbnail_size.sh +%{tde_datadir}/apps/tdeconf_update/gwenview_thumbnail_size.upd +%{tde_datadir}/apps/konqueror/servicemenus/konqgwenview.desktop +%{tde_datadir}/config.kcfg/fileoperationconfig.kcfg +%{tde_datadir}/config.kcfg/fileviewconfig.kcfg +%{tde_datadir}/config.kcfg/fullscreenconfig.kcfg +%{tde_datadir}/config.kcfg/gvdirpartconfig.kcfg +%{tde_datadir}/config.kcfg/imageviewconfig.kcfg +%{tde_datadir}/config.kcfg/miscconfig.kcfg +%{tde_datadir}/config.kcfg/slideshowconfig.kcfg +%{tde_datadir}/icons/crystalsvg/*/apps/gvdirpart.png +%{tde_datadir}/icons/crystalsvg/scalable/apps/gvdirpart.svg +%{tde_datadir}/icons/hicolor/*/apps/gwenview.png +%{tde_datadir}/icons/hicolor/*/apps/gvdirpart.png +%{tde_datadir}/icons/hicolor/scalable/apps/gvdirpart.svg +%{tde_datadir}/icons/hicolor/scalable/apps/gwenview.svgz +%{tde_datadir}/man/man1/gwenview.1* +%{tde_datadir}/services/gvdirpart.desktop +%{tde_datadir}/services/gvimagepart.desktop +%lang(en) %{tde_tdedocdir}/HTML/en/gwenview/ + +%changelog diff --git a/redhat/applications/k3b-i18n/k3b-i18n-14.0.0.spec b/redhat/applications/k3b-i18n/k3b-i18n-14.0.0.spec deleted file mode 100644 index c641a739f..000000000 --- a/redhat/applications/k3b-i18n/k3b-i18n-14.0.0.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.0.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: cmake -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 < %{version}-%{release} -Provides: trinity-k3b-i18n-da = %{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 < %{version}-%{release} -Provides: trinity-k3b-i18n-de = %{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 < %{version}-%{release} -Provides: trinity-k3b-i18n-el = %{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 < %{version}-%{release} -Provides: trinity-k3b-i18n-es = %{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 < %{version}-%{release} -Provides: trinity-k3b-i18n-et = %{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 < %{version}-%{release} -Provides: trinity-k3b-i18n-fr = %{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 < %{version}-%{release} -Provides: trinity-k3b-i18n-it = %{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 < %{version}-%{release} -Provides: trinity-k3b-i18n-nl = %{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 < %{version}-%{release} -Provides: trinity-k3b-i18n-pl = %{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 < %{version}-%{release} -Provides: trinity-k3b-i18n-pt = %{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 < %{version}-%{release} -Provides: trinity-k3b-i18n-pt_BR = %{version}-%{release} -Obsoletes: trinity-k3b-i18n-ptbr < %{version}-%{release} -Provides: trinity-k3b-i18n-ptbr = %{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 < %{version}-%{release} -Provides: trinity-k3b-i18n-ru = %{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 < %{version}-%{release} -Provides: trinity-k3b-i18n-sv = %{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 < %{version}-%{release} -Provides: trinity-k3b-i18n-uk = %{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} -DNDEBUG" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -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-i18n/k3b-i18n.spec b/redhat/applications/k3b-i18n/k3b-i18n.spec new file mode 100644 index 000000000..c4df86c32 --- /dev/null +++ b/redhat/applications/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.0.7 +%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: cmake +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 < %{version}-%{release} +Provides: trinity-k3b-i18n-da = %{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 < %{version}-%{release} +Provides: trinity-k3b-i18n-de = %{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 < %{version}-%{release} +Provides: trinity-k3b-i18n-el = %{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 < %{version}-%{release} +Provides: trinity-k3b-i18n-es = %{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 < %{version}-%{release} +Provides: trinity-k3b-i18n-et = %{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 < %{version}-%{release} +Provides: trinity-k3b-i18n-fr = %{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 < %{version}-%{release} +Provides: trinity-k3b-i18n-it = %{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 < %{version}-%{release} +Provides: trinity-k3b-i18n-nl = %{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 < %{version}-%{release} +Provides: trinity-k3b-i18n-pl = %{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 < %{version}-%{release} +Provides: trinity-k3b-i18n-pt = %{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 < %{version}-%{release} +Provides: trinity-k3b-i18n-pt_BR = %{version}-%{release} +Obsoletes: trinity-k3b-i18n-ptbr < %{version}-%{release} +Provides: trinity-k3b-i18n-ptbr = %{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 < %{version}-%{release} +Provides: trinity-k3b-i18n-ru = %{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 < %{version}-%{release} +Provides: trinity-k3b-i18n-sv = %{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 < %{version}-%{release} +Provides: trinity-k3b-i18n-uk = %{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} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -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-14.0.0.spec b/redhat/applications/k3b/k3b-14.0.0.spec deleted file mode 100644 index fd33e5a7a..000000000 --- a/redhat/applications/k3b/k3b-14.0.0.spec +++ /dev/null @@ -1,472 +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.0.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: 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 - -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%{?fedora} || 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 1 -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/ - - -########## - -%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 ! 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} -DNDEBUG" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -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}" \ - .. - -%__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/k3b.spec b/redhat/applications/k3b/k3b.spec new file mode 100644 index 000000000..64ca33c12 --- /dev/null +++ b/redhat/applications/k3b/k3b.spec @@ -0,0 +1,472 @@ +# +# 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.0.7 +%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: 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 + +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%{?fedora} || 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 1 +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/ + + +########## + +%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 ! 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} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -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}" \ + .. + +%__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/k9copy/k9copy-14.0.0.spec b/redhat/applications/k9copy/k9copy-14.0.0.spec deleted file mode 100644 index f03137ba4..000000000 --- a/redhat/applications/k9copy/k9copy-14.0.0.spec +++ /dev/null @@ -1,190 +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.0.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} \ - \ - --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 - - -%changelog diff --git a/redhat/applications/k9copy/k9copy.spec b/redhat/applications/k9copy/k9copy.spec new file mode 100644 index 000000000..418bd3f47 --- /dev/null +++ b/redhat/applications/k9copy/k9copy.spec @@ -0,0 +1,190 @@ +# +# 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.0.7 +%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} \ + \ + --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 + + +%changelog diff --git a/redhat/applications/kaffeine-mozilla/kaffeine-mozilla-14.0.0.spec b/redhat/applications/kaffeine-mozilla/kaffeine-mozilla-14.0.0.spec deleted file mode 100644 index 2f6e60e4a..000000000 --- a/redhat/applications/kaffeine-mozilla/kaffeine-mozilla-14.0.0.spec +++ /dev/null @@ -1,151 +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.0.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 -%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 - -# Fix 'nspr' includes location -Patch1: kaffeine-mozilla-3.5.13-fix_nspr_include.patch - -BuildRequires: autoconf automake libtool m4 -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}} -%patch1 -p1 -b .nspr - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/"*"/ltmain.sh" "ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" - -%configure \ - --prefix=%{_libdir}/mozilla \ - \ - --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} - -# Remove useless filess -%__rm -f %{?buildroot}%{_libdir}/mozilla/plugins/kaffeineplugin.a - - -%clean -%__rm -rf %{buildroot} - - -%files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING README -# 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-mozilla/kaffeine-mozilla.spec b/redhat/applications/kaffeine-mozilla/kaffeine-mozilla.spec new file mode 100644 index 000000000..90dc1042f --- /dev/null +++ b/redhat/applications/kaffeine-mozilla/kaffeine-mozilla.spec @@ -0,0 +1,147 @@ +# +# 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.0.7 +%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: autoconf automake libtool m4 +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}} + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/"*"/ltmain.sh" "ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" + +%configure \ + --prefix=%{_libdir}/mozilla \ + \ + --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} + +# Remove useless filess +%__rm -f %{?buildroot}%{_libdir}/mozilla/plugins/kaffeineplugin.a + + +%clean +%__rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING README +# 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-14.0.0.spec b/redhat/applications/kaffeine/kaffeine-14.0.0.spec deleted file mode 100644 index d38e6a27d..000000000 --- a/redhat/applications/kaffeine/kaffeine-14.0.0.spec +++ /dev/null @@ -1,318 +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.0.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: 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 - -# 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 -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 -BuildRequires: libxcb-devel -%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%{?rhel} >= 4 || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_xine 1 -%if 0%{?mgaversion} || 0%{?mdkversion} -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 - -# 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 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/ - -########## - -%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}} - -%__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} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --mandir=%{tde_mandir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --enable-final \ - --enable-closure \ - --enable-rpath \ - --disable-gcc-hidden-visibility \ - \ - --with-xinerama \ - --with-gstreamer \ - --with-lame \ -%if 0%{?rhel} > 0 && 0%{?rhel} <= 5 - --without-dvb \ -%endif - - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf $RPM_BUILD_ROOT -%__make install DESTDIR=$RPM_BUILD_ROOT - -## File lists -# locale's -%find_lang %{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/kaffeine.spec b/redhat/applications/kaffeine/kaffeine.spec new file mode 100644 index 000000000..dc5a939e4 --- /dev/null +++ b/redhat/applications/kaffeine/kaffeine.spec @@ -0,0 +1,318 @@ +# +# 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.0.7 +%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: 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 + +# 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 +%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 +BuildRequires: libxcb-devel +%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%{?rhel} >= 4 || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_xine 1 +%if 0%{?mgaversion} || 0%{?mdkversion} +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 + +# 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 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/ + +########## + +%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}} + +%__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} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --mandir=%{tde_mandir} \ + \ + --disable-dependency-tracking \ + --disable-debug \ + --enable-new-ldflags \ + --enable-final \ + --enable-closure \ + --enable-rpath \ + --disable-gcc-hidden-visibility \ + \ + --with-xinerama \ + --with-gstreamer \ + --with-lame \ +%if 0%{?rhel} > 0 && 0%{?rhel} <= 5 + --without-dvb \ +%endif + + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf $RPM_BUILD_ROOT +%__make install DESTDIR=$RPM_BUILD_ROOT + +## File lists +# locale's +%find_lang %{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/kasablanca/kasablanca-14.0.0.spec b/redhat/applications/kasablanca/kasablanca-14.0.0.spec deleted file mode 100644 index 3a92fd87c..000000000 --- a/redhat/applications/kasablanca/kasablanca-14.0.0.spec +++ /dev/null @@ -1,182 +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.0.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: 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 - -# 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}} - -%__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}" - -## Needed(?) for older/legacy setups, harmless otherwise -if pkg-config openssl ; then - export CPPFLAGS="$CPPFLAGS $(pkg-config --cflags-only-I openssl)" -fi - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --includedir=%{tde_tdeincludedir} \ - --datadir=%{tde_datadir} \ - \ - --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 $RPM_BUILD_ROOT -%__make install DESTDIR=$RPM_BUILD_ROOT - -# 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 NEWS README -%{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 - - -%changelog diff --git a/redhat/applications/kasablanca/kasablanca.spec b/redhat/applications/kasablanca/kasablanca.spec new file mode 100644 index 000000000..7174d4aa5 --- /dev/null +++ b/redhat/applications/kasablanca/kasablanca.spec @@ -0,0 +1,184 @@ +# +# 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.0.7 +%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: cmake >= 2.8 +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 + +# 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} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -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 NEWS README +%{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 index f0e281a27..985f668fb 100644 --- a/redhat/applications/katapult/katapult.spec +++ b/redhat/applications/katapult/katapult.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg katapult %define tde_prefix /opt/trinity diff --git a/redhat/applications/kbarcode/kbarcode.spec b/redhat/applications/kbarcode/kbarcode.spec index a10cd0ab1..f551feb38 100644 --- a/redhat/applications/kbarcode/kbarcode.spec +++ b/redhat/applications/kbarcode/kbarcode.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg kbarcode %define tde_prefix /opt/trinity @@ -114,7 +114,7 @@ to use them in another application. %files -f %{tde_pkg}.lang %defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README TODO +%doc AUTHORS ChangeLog COPYING README TODO %{tde_bindir}/kbarcode %{tde_tdeappdir}/kbarcode-batch.desktop %{tde_tdeappdir}/kbarcode-editor.desktop diff --git a/redhat/applications/kbfx/kbfx.spec b/redhat/applications/kbfx/kbfx.spec index 50da69568..73337676d 100644 --- a/redhat/applications/kbfx/kbfx.spec +++ b/redhat/applications/kbfx/kbfx.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg kbfx %define tde_prefix /opt/trinity diff --git a/redhat/applications/kbibtex/kbibtex.spec b/redhat/applications/kbibtex/kbibtex.spec index 9148c5f29..903e91f69 100644 --- a/redhat/applications/kbibtex/kbibtex.spec +++ b/redhat/applications/kbibtex/kbibtex.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg kbibtex %define tde_prefix /opt/trinity @@ -162,7 +162,7 @@ fi %files -f %{tde_pkg}.lang %defattr(-,root,root,-) -%doc AUTHORS BUGS COPYING NEWS README TODO ChangeLog +%doc AUTHORS COPYING NEWS README TODO ChangeLog %{tde_bindir}/kbibtex %{tde_tdelibdir}/libkbibtexpart.la %{tde_tdelibdir}/libkbibtexpart.so diff --git a/redhat/applications/kbiff/kbiff.spec b/redhat/applications/kbiff/kbiff.spec index 52a298657..c2470dc42 100644 --- a/redhat/applications/kbiff/kbiff.spec +++ b/redhat/applications/kbiff/kbiff.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg kbiff %define tde_prefix /opt/trinity diff --git a/redhat/applications/kbookreader/kbookreader.spec b/redhat/applications/kbookreader/kbookreader.spec index 90e316458..7757e2023 100644 --- a/redhat/applications/kbookreader/kbookreader.spec +++ b/redhat/applications/kbookreader/kbookreader.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg kbookreader %define tde_prefix /opt/trinity @@ -151,12 +151,14 @@ export PATH="%{tde_bindir}:${PATH}" %suse_update_desktop_file "%{?buildroot}%{tde_tdeappdir}/bookreader.desktop" Office Viewer %endif +%find_lang %{tde_pkg} + %clean %__rm -rf %{buildroot} -%files +%files -f %{tde_pkg}.lang %defattr(-,root,root,-) %doc AUTHORS COPYING %{tde_bindir}/bookreader diff --git a/redhat/applications/kchmviewer/kchmviewer-14.0.0.spec b/redhat/applications/kchmviewer/kchmviewer-14.0.0.spec deleted file mode 100644 index dca19c1d4..000000000 --- a/redhat/applications/kchmviewer/kchmviewer-14.0.0.spec +++ /dev/null @@ -1,190 +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.0.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: 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 - -# CHMLIB support -BuildRequires: chmlib-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}} - -%__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}" - -# 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 - -# Warning: --enable-final causes FTBFS ! -%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 \ - --disable-final \ - --enable-closure \ - --enable-rpath \ - --disable-gcc-hidden-visibility \ - \ - --with-x \ - --with-kde - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{tde_pkg} - -# Removes useless files -%__rm -f %{?buildroot}%{tde_libdir}/*.a - -# Fix desktop icon location -%__mkdir_p "%{?buildroot}%{tde_tdeappdir}" -%__mv -f "%{?buildroot}%{tde_datadir}/applnk/kchmviewer.desktop" "%{?buildroot}%{tde_tdeappdir}/kchmviewer.desktop" - -# 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 -%{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/ - - -%changelog diff --git a/redhat/applications/kchmviewer/kchmviewer.spec b/redhat/applications/kchmviewer/kchmviewer.spec new file mode 100644 index 000000000..277a3e96f --- /dev/null +++ b/redhat/applications/kchmviewer/kchmviewer.spec @@ -0,0 +1,196 @@ +# +# 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.0.7 +%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: cmake >= 2.8 +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 + + +%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} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -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 +%__mkdir_p "%{?buildroot}%{tde_tdeappdir}" +%__mv -f "%{?buildroot}%{tde_datadir}/applnk/kchmviewer.desktop" "%{?buildroot}%{tde_tdeappdir}/kchmviewer.desktop" + +# 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 +%{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 index 0006b6f31..5b43c73ed 100644 --- a/redhat/applications/kcmautostart/kcmautostart.spec +++ b/redhat/applications/kcmautostart/kcmautostart.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg kcmautostart %define tde_prefix /opt/trinity @@ -152,7 +152,7 @@ export PATH="%{tde_bindir}:${PATH}" %files -f autostart.lang %defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING INSTALL NEWS README TODO +%doc AUTHORS ChangeLog COPYING INSTALL README %{tde_tdelibdir}/kcm_autostart.la %{tde_tdelibdir}/kcm_autostart.so %{tde_tdeappdir}/autostart.desktop diff --git a/redhat/applications/kcmldap/kcmldap.spec b/redhat/applications/kcmldap/kcmldap.spec index 5fcf25a9b..29feb426a 100644 --- a/redhat/applications/kcmldap/kcmldap.spec +++ b/redhat/applications/kcmldap/kcmldap.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg kcmldap %define tde_prefix /opt/trinity @@ -101,13 +101,16 @@ BuildRequires: openldap2-devel 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 +#%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 @@ -208,11 +211,6 @@ fi -DBUILD_DOC=ON \ -DBUILD_TRANSLATIONS=ON \ \ -%if 0%{?suse_version} - -DKRB5_FOUND=1 \ - -DKRB5_LIBRARIES="-lkrb5" \ - -DKRB5_INCLUDE_DIRS="/usr/include" \ -%endif .. %__make %{?_smp_mflags} || %__make diff --git a/redhat/applications/kcmldapcontroller/kcmldapcontroller-14.0.0.spec b/redhat/applications/kcmldapcontroller/kcmldapcontroller-14.0.0.spec deleted file mode 100644 index 88a889e4e..000000000 --- a/redhat/applications/kcmldapcontroller/kcmldapcontroller-14.0.0.spec +++ /dev/null @@ -1,219 +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.0.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: 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 - -# 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 - -# 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} -BuildRequires: libcom_err-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: %{_lib}ext2fs-devel -%endif - -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 ChangeLog COPYING -%{tde_bindir}/primaryrccertupdater -%if 0%{?pclinuxos} == 0 -%{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 - -%__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}" - -extra_includes="%{_includedir}" -extra_libs="%{_libdir}" - -if [ -d "%{_includedir}/openldap24" ]; then - extra_includes="%{_includedir}/openldap24:${extra_includes}" - extra_libs="%{_libdir}/openldap24:${extra_libs}" -fi - -if [ -d "%{_includedir}/heimdal" ]; then - extra_includes="%{_includedir}/heimdal:${extra_includes}" - extra_libs="%{_libdir}/heimdal:${extra_libs}" -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} \ - --with-extra-libs=${extra_libs} \ - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/applications/kcmldapcontroller/kcmldapcontroller.spec b/redhat/applications/kcmldapcontroller/kcmldapcontroller.spec new file mode 100644 index 000000000..9885301cb --- /dev/null +++ b/redhat/applications/kcmldapcontroller/kcmldapcontroller.spec @@ -0,0 +1,215 @@ +# +# 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.0.7 +%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: cmake >= 2.8 +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} +BuildRequires: libcom_err-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: %{_lib}ext2fs-devel +%endif + +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 ChangeLog COPYING +%{tde_bindir}/primaryrccertupdater +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?rhel} +%{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} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -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-14.0.0.spec b/redhat/applications/kcmldapmanager/kcmldapmanager-14.0.0.spec deleted file mode 100644 index 008da620d..000000000 --- a/redhat/applications/kcmldapmanager/kcmldapmanager-14.0.0.spec +++ /dev/null @@ -1,204 +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.0.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: 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 - -# 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 - -# 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} -BuildRequires: libcom_err-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: %{_lib}ext2fs-devel -%endif - -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 -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog 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}} - -%__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}" - -extra_includes="%{_includedir}" -extra_libs="%{_libdir}" - -if [ -d "%{_includedir}/openldap24" ]; then - extra_includes="%{_includedir}/openldap24:${extra_includes}" - extra_libs="%{_libdir}/openldap24:${extra_libs}" -fi - -if [ -d "%{_includedir}/heimdal" ]; then - extra_includes="%{_includedir}/heimdal:${extra_includes}" - extra_libs="%{_libdir}/heimdal:${extra_libs}" -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} \ - --with-extra-libs=${extra_libs} \ - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/applications/kcmldapmanager/kcmldapmanager.spec b/redhat/applications/kcmldapmanager/kcmldapmanager.spec new file mode 100644 index 000000000..583961bd6 --- /dev/null +++ b/redhat/applications/kcmldapmanager/kcmldapmanager.spec @@ -0,0 +1,199 @@ +# +# 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.0.7 +%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: cmake >= 2.8 +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} +BuildRequires: libcom_err-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: %{_lib}ext2fs-devel +%endif + +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 +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog 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} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -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/kcpuload/kcpuload.spec b/redhat/applications/kcpuload/kcpuload.spec index cda688320..d38734cff 100644 --- a/redhat/applications/kcpuload/kcpuload.spec +++ b/redhat/applications/kcpuload/kcpuload.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg kcpuload %define tde_prefix /opt/trinity diff --git a/redhat/applications/kdbg/kdbg-14.0.0.spec b/redhat/applications/kdbg/kdbg-14.0.0.spec deleted file mode 100644 index 0728d9ad7..000000000 --- a/redhat/applications/kdbg/kdbg-14.0.0.spec +++ /dev/null @@ -1,172 +0,0 @@ -# -# spec file for package kdbg (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.0.0 -%endif -%define tde_pkg kdbg -%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: 2.2.2 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Graphical debugger interface [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: 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 - - -%description -KDbg is a graphical user interface to gdb, the GNU debugger. It provides -an intuitive interface for setting breakpoints, inspecting variables, -stepping through code and much more. KDbg requires TDE but you can of -course debug any program. - -KDbg can also debug XSLT (XML stylesheet translation) scripts by -interfacing with xsldbg. For this the package kxsldbg must be installed. - -Features include the following: -* Inspection of variable values in a tree structure. -* Direct member: For certain compound data types the most important - member values are displayed next to the variable name, so that it is - not necessary to expand the subtree of that variable in order to see - the member value. KDbg can also display Qt's QString values, which - are Unicode strings. -* Debugger at your finger tips: The basic debugger functions (step, - next, run, finish, until, set/clear/enable/disable breakpoint) are - bound to function keys F5 through F10. Quick and easy. -* View source code, search text, set program arguments and environment - variables, display arbitrary expressions. -* Debugging of core dumps, attaching to running processes is possible. -* Conditional breakpoints. - -########## - -%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 kde_confdir="%{tde_confdir}" - -# Warning: --enable-final causes FTBFS -%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 \ - --disable-final \ - --enable-closure \ - --enable-rpath \ - --disable-gcc-hidden-visibility - -%__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,-) -%{tde_bindir}/kdbg -%{tde_tdeappdir}/kdbg.desktop -%{tde_datadir}/apps/kdbg/ -%{tde_confdir}/kdbgrc -%lang(de) %{tde_tdedocdir}/HTML/de/kdbg/ -%lang(en) %{tde_tdedocdir}/HTML/en/kdbg/ -%lang(ru) %{tde_tdedocdir}/HTML/ru/kdbg/ -%{tde_datadir}/icons/hicolor/*/apps/kdbg.png -%{tde_datadir}/icons/locolor/*/apps/kdbg.png - - -%changelog diff --git a/redhat/applications/kdbg/kdbg.spec b/redhat/applications/kdbg/kdbg.spec new file mode 100644 index 000000000..feec59e6e --- /dev/null +++ b/redhat/applications/kdbg/kdbg.spec @@ -0,0 +1,172 @@ +# +# spec file for package kdbg (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.0.7 +%endif +%define tde_pkg kdbg +%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: 2.2.2 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Graphical debugger interface [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: 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 + + +%description +KDbg is a graphical user interface to gdb, the GNU debugger. It provides +an intuitive interface for setting breakpoints, inspecting variables, +stepping through code and much more. KDbg requires TDE but you can of +course debug any program. + +KDbg can also debug XSLT (XML stylesheet translation) scripts by +interfacing with xsldbg. For this the package kxsldbg must be installed. + +Features include the following: +* Inspection of variable values in a tree structure. +* Direct member: For certain compound data types the most important + member values are displayed next to the variable name, so that it is + not necessary to expand the subtree of that variable in order to see + the member value. KDbg can also display Qt's QString values, which + are Unicode strings. +* Debugger at your finger tips: The basic debugger functions (step, + next, run, finish, until, set/clear/enable/disable breakpoint) are + bound to function keys F5 through F10. Quick and easy. +* View source code, search text, set program arguments and environment + variables, display arbitrary expressions. +* Debugging of core dumps, attaching to running processes is possible. +* Conditional breakpoints. + +########## + +%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 kde_confdir="%{tde_confdir}" + +# Warning: --enable-final causes FTBFS +%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 \ + --disable-final \ + --enable-closure \ + --enable-rpath \ + --disable-gcc-hidden-visibility + +%__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,-) +%{tde_bindir}/kdbg +%{tde_tdeappdir}/kdbg.desktop +%{tde_datadir}/apps/kdbg/ +%{tde_confdir}/kdbgrc +%lang(de) %{tde_tdedocdir}/HTML/de/kdbg/ +%lang(en) %{tde_tdedocdir}/HTML/en/kdbg/ +%lang(ru) %{tde_tdedocdir}/HTML/ru/kdbg/ +%{tde_datadir}/icons/hicolor/*/apps/kdbg.png +%{tde_datadir}/icons/locolor/*/apps/kdbg.png + + +%changelog diff --git a/redhat/applications/kdbusnotification/kdbusnotification-14.0.0.spec b/redhat/applications/kdbusnotification/kdbusnotification-14.0.0.spec deleted file mode 100644 index 25fbabe11..000000000 --- a/redhat/applications/kdbusnotification/kdbusnotification-14.0.0.spec +++ /dev/null @@ -1,152 +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.0.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: 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 - -# GTK2 stuff -BuildRequires: gtk2-devel - -# DBUS stuff -%if 0%{?suse_version} -BuildRequires: dbus-1-glib-devel -%else -BuildRequires: dbus-glib-devel -%endif - - -%description -kdbusnotification is a small program for Trinity that displays -DBUS notifications via unobtrusive, easily dismissed passive popups. - - -########## - -%if 0%{?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} \ - --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 - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - - -%clean -%__rm -rf %{buildroot} - - - -%files -%defattr(-,root,root,-) -%{tde_bindir}/notification-daemon-tde -%{tde_datadir}/autostart/kdbusnotification-autostart.desktop - - - -%changelog diff --git a/redhat/applications/kdbusnotification/kdbusnotification.spec b/redhat/applications/kdbusnotification/kdbusnotification.spec new file mode 100644 index 000000000..040367aa6 --- /dev/null +++ b/redhat/applications/kdbusnotification/kdbusnotification.spec @@ -0,0 +1,167 @@ +# +# 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.0.7 +%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: cmake >= 2.8 +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 + + +%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} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -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/kdiff3/kdiff3-14.0.0.spec b/redhat/applications/kdiff3/kdiff3-14.0.0.spec deleted file mode 100644 index 50a13a04c..000000000 --- a/redhat/applications/kdiff3/kdiff3-14.0.0.spec +++ /dev/null @@ -1,158 +0,0 @@ -# -# spec file for package kdiff3 (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.0.0 -%endif -%define tde_pkg kdiff3 -%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.91 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: KDiff3 is a utility for comparing and/or merging two or three text files 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: autoconf automake libtool m4 -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: libtool - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - - -%description -Shows the differences line by line and character by character (!). -Provides an automatic merge-facility and -an integrated editor for comfortable solving of merge-conflicts. -Supports TDEIO on TDE (allows accessing ftp, sftp, fish, smb etc.). -Unicode & UTF-8 support - - -########## - -%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} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - \ - --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} - -# Unwanted files -# These are not HTML files but weird files in wrong place ?? -%__rm -rf %{?buildroot}%{tde_tdedocdir}/HTML/kdiff3/ - -%find_lang %{tde_pkg} - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/kdiff3 -%{tde_datadir}/apps/kdiff3/ -%{tde_datadir}/apps/kdiff3part/ -%{tde_datadir}/icons/hicolor/*/apps/kdiff3.png -%{tde_datadir}/icons/locolor/*/apps/kdiff3.png -%{tde_tdedocdir}/HTML/*/kdiff3/ -%{tde_datadir}/services/kdiff3_plugin.desktop -%{tde_datadir}/services/kdiff3part.desktop -%{tde_datadir}/applnk/Development/*.desktop -%{tde_datadir}/applnk/.hidden/kdiff3plugin.desktop -%{tde_mandir}/man*/* -%{tde_tdelibdir}/libkdiff3part.la -%{tde_tdelibdir}/libkdiff3part.so -%{tde_tdelibdir}/libkdiff3plugin.la -%{tde_tdelibdir}/libkdiff3plugin.so - -%changelog diff --git a/redhat/applications/kdiff3/kdiff3.spec b/redhat/applications/kdiff3/kdiff3.spec new file mode 100644 index 000000000..aa1a854a7 --- /dev/null +++ b/redhat/applications/kdiff3/kdiff3.spec @@ -0,0 +1,168 @@ +# +# spec file for package kdiff3 (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.0.7 +%endif +%define tde_pkg kdiff3 +%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.91 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: KDiff3 is a utility for comparing and/or merging two or three text files 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: cmake >= 2.8 +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: libtool + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + + +%description +Shows the differences line by line and character by character (!). +Provides an automatic merge-facility and +an integrated editor for comfortable solving of merge-conflicts. +Supports TDEIO on TDE (allows accessing ftp, sftp, fish, smb etc.). +Unicode & UTF-8 support + + +########## + +%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} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -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 + +# Unwanted files +# These are not HTML files but weird files in wrong place ?? +%__rm -rf %{?buildroot}%{tde_tdedocdir}/HTML/kdiff3/ + +%find_lang %{tde_pkg} +%find_lang %{tde_pkg}_plugin + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{tde_pkg}.lang -f %{tde_pkg}_plugin.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/kdiff3 +%{tde_datadir}/apps/kdiff3/ +%{tde_datadir}/apps/kdiff3part/ +%{tde_datadir}/icons/hicolor/*/apps/kdiff3.png +%{tde_datadir}/icons/locolor/*/apps/kdiff3.png +%{tde_docdir}/kdiff3/ +%{tde_tdedocdir}/HTML/*/kdiff3/ +%{tde_datadir}/services/kdiff3_plugin.desktop +%{tde_datadir}/services/kdiff3part.desktop +%{tde_tdeappdir}/kdiff3.desktop +%{tde_datadir}/applnk/.hidden/kdiff3plugin.desktop +%{tde_mandir}/man*/* +%{tde_tdelibdir}/libkdiff3part.la +%{tde_tdelibdir}/libkdiff3part.so +%{tde_tdelibdir}/libkdiff3plugin.la +%{tde_tdelibdir}/libkdiff3plugin.so + +%changelog diff --git a/redhat/applications/kdirstat/kdirstat.spec b/redhat/applications/kdirstat/kdirstat.spec index bdb19ef5d..c2f2ce80c 100644 --- a/redhat/applications/kdirstat/kdirstat.spec +++ b/redhat/applications/kdirstat/kdirstat.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg kdirstat %define tde_prefix /opt/trinity diff --git a/redhat/applications/keep/keep-14.0.0.spec b/redhat/applications/keep/keep-14.0.0.spec deleted file mode 100644 index 56557f0e5..000000000 --- a/redhat/applications/keep/keep-14.0.0.spec +++ /dev/null @@ -1,161 +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.0.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: 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 - -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}} - -%__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} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - \ - --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} - -%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 - - -%changelog diff --git a/redhat/applications/keep/keep.spec b/redhat/applications/keep/keep.spec new file mode 100644 index 000000000..2afb9b1ca --- /dev/null +++ b/redhat/applications/keep/keep.spec @@ -0,0 +1,170 @@ +# +# 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.0.7 +%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: cmake >= 2.8 +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 + +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} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -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-14.0.0.spec b/redhat/applications/kerberostray/kerberostray-14.0.0.spec deleted file mode 100644 index de55e48e7..000000000 --- a/redhat/applications/kerberostray/kerberostray-14.0.0.spec +++ /dev/null @@ -1,194 +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.0.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: 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 - -# 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 - -# 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} -BuildRequires: libcom_err-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: %{_lib}ext2fs-devel -%endif - - -%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}} - -%__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}" - -extra_includes="%{_includedir}" -extra_libs="%{_libdir}" - -if [ -d "%{_includedir}/openldap24" ]; then - extra_includes="%{_includedir}/openldap24:${extra_includes}" - extra_libs="%{_libdir}/openldap24:${extra_libs}" -fi - -if [ -d "%{_includedir}/heimdal" ]; then - extra_includes="%{_includedir}/heimdal:${extra_includes}" - extra_libs="%{_libdir}/heimdal:${extra_libs}" -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} \ - --with-extra-libs=${extra_libs} \ - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# Apps that should stay in TDE -echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/%{tde_pkg}.desktop" - - -%clean -%__rm -rf %{buildroot} - - -%files -%{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/kerberostray/kerberostray.spec b/redhat/applications/kerberostray/kerberostray.spec new file mode 100644 index 000000000..c73827101 --- /dev/null +++ b/redhat/applications/kerberostray/kerberostray.spec @@ -0,0 +1,189 @@ +# +# 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.0.7 +%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: cmake >= 2.8 +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} +BuildRequires: libcom_err-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: %{_lib}ext2fs-devel +%endif + + +%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} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -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 + +# Apps that should stay in TDE +echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/%{tde_pkg}.desktop" + + +%clean +%__rm -rf %{buildroot} + + +%files +%{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/kerry/kerry-14.0.0.spec b/redhat/applications/kerry/kerry-14.0.0.spec deleted file mode 100644 index 8cb5a96fb..000000000 --- a/redhat/applications/kerry/kerry-14.0.0.spec +++ /dev/null @@ -1,156 +0,0 @@ -# -# spec file for package kerry (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 kerry -%if "%{?tde_version}" == "" -%define tde_version 14.0.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: a TDE frontend for the Beagle desktop search daemon [Trinity] -Version: 0.2.1 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://en.opensuse.org/Kerry - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz -Source1: kerry.1.docbook - - -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 - -BuildRequires: gettext -BuildRequires: libbeagle-devel >= 0.3.0 - - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: docbook2x -%else -BuildRequires: docbook2X -%endif - -%description -Kerry is a Trinity frontend for the Beagle desktop search daemon. - -A program for indexing and searching user's data. At the moment, it can index -filesystems, chat logs, mail and data, RSS and other. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - \ - --disable-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} - -#%__install -D -m 644 %{SOURCE1} %{buildroot}%{_mandir}/man1/kerry.1.docbook -#docbook2man %{buildroot}%{_mandir}/man1/kerry.1.docbook - -%find_lang %{tde_pkg} - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%{tde_datadir}/locale/*/LC_MESSAGES/kcmbeagle.mo -%{tde_bindir}/beagled-shutdown -%{tde_bindir}/kerry -%{tde_libdir}/libtdeinit_kerry.la -%{tde_libdir}/libtdeinit_kerry.so -%{tde_tdelibdir}/kcm_beagle.la -%{tde_tdelibdir}/kcm_beagle.so -%{tde_tdelibdir}/kerry.la -%{tde_tdelibdir}/kerry.so -%{tde_tdeappdir}/kcmbeagle.desktop -%{tde_tdeappdir}/kerry.desktop -%{tde_datadir}/applnk/.hidden/kcmkerry.desktop -%{tde_datadir}/apps/kerry/search-running.mng -%{tde_datadir}/autostart/beagled.desktop -%{tde_datadir}/autostart/kerry.autostart.desktop -%{tde_datadir}/icons/hicolor/*/*/* - - -%changelog diff --git a/redhat/applications/kerry/kerry.spec b/redhat/applications/kerry/kerry.spec new file mode 100644 index 000000000..d1116ebde --- /dev/null +++ b/redhat/applications/kerry/kerry.spec @@ -0,0 +1,156 @@ +# +# spec file for package kerry (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 kerry +%if "%{?tde_version}" == "" +%define tde_version 14.0.7 +%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: a TDE frontend for the Beagle desktop search daemon [Trinity] +Version: 0.2.1 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://en.opensuse.org/Kerry + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + + +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 + +BuildRequires: cmake >= 2.8 +BuildRequires: gettext +BuildRequires: libbeagle-devel >= 0.3.0 + + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: docbook2x +%else +BuildRequires: docbook2X +%endif + +%description +Kerry is a Trinity frontend for the Beagle desktop search daemon. + +A program for indexing and searching user's data. At the moment, it can index +filesystems, chat logs, mail and data, RSS and other. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +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} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -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} + +%clean +%__rm -rf %{buildroot} + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%{tde_datadir}/locale/*/LC_MESSAGES/kcmbeagle.mo +%{tde_bindir}/beagled-shutdown +%{tde_bindir}/kerry +%{tde_libdir}/libtdeinit_kerry.la +%{tde_libdir}/libtdeinit_kerry.so +%{tde_tdelibdir}/kcm_beagle.la +%{tde_tdelibdir}/kcm_beagle.so +%{tde_tdelibdir}/kerry.la +%{tde_tdelibdir}/kerry.so +%{tde_tdeappdir}/kcmbeagle.desktop +%{tde_tdeappdir}/kerry.desktop +%{tde_datadir}/applnk/.hidden/kcmkerry.desktop +%{tde_datadir}/apps/kerry/search-running.mng +%{tde_datadir}/autostart/beagled.desktop +%{tde_datadir}/autostart/kerry.autostart.desktop +%{tde_datadir}/icons/hicolor/*/*/* + + +%changelog diff --git a/redhat/applications/keximdb/keximdb.spec b/redhat/applications/keximdb/keximdb.spec index 70ea66b12..8cc9e37d3 100644 --- a/redhat/applications/keximdb/keximdb.spec +++ b/redhat/applications/keximdb/keximdb.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg keximdb %define tde_prefix /opt/trinity diff --git a/redhat/applications/kftpgrabber/kftpgrabber-14.0.0.patch b/redhat/applications/kftpgrabber/kftpgrabber-14.0.0.patch deleted file mode 100644 index f8e019e63..000000000 --- a/redhat/applications/kftpgrabber/kftpgrabber-14.0.0.patch +++ /dev/null @@ -1,39 +0,0 @@ -diff --git a/kftpgrabber/src/engine/ftpdirectoryparser.cpp b/kftpgrabber/src/engine/ftpdirectoryparser.cpp -index 981d0b6..71e2cd2 100644 ---- a/kftpgrabber/src/engine/ftpdirectoryparser.cpp -+++ b/kftpgrabber/src/engine/ftpdirectoryparser.cpp -@@ -421,6 +421,8 @@ bool FtpDirectoryParser::parseUnixPermissions(const TQString &permissions, Direc - if (permissions[9] == 't' || permissions[9] == 'T') p |= S_ISVTX; - - entry.setPermissions(p); -+ -+ return(p); - } - - bool FtpDirectoryParser::parseLine(const TQString &line, DirectoryEntry &entry) -diff --git a/kftpgrabber/src/misc/desencryptor.cpp b/kftpgrabber/src/misc/desencryptor.cpp -index 126fad7..fac681f 100644 ---- a/kftpgrabber/src/misc/desencryptor.cpp -+++ b/kftpgrabber/src/misc/desencryptor.cpp -@@ -65,8 +65,8 @@ void DESEncryptor::DESExec(const TQString &str, int mode) - char *o_message = (char*) malloc(8); - char *o_output = (char*) malloc(8); - -- memset(o_message, 0, 9); -- memset(o_output, 0, 9); -+ memset(o_message, 0, sizeof o_message); -+ memset(o_output, 0, sizeof o_output); - //out.resize(in.size() * 2); - - while (i < in.size()) { -@@ -79,8 +79,8 @@ void DESEncryptor::DESExec(const TQString &str, int mode) - i += 8; - - // Clear everything -- memset(o_message, 0, 9); -- memset(o_output, 0, 9); -+ memset(o_message, 0, sizeof o_message); -+ memset(o_output, 0, sizeof o_output); - } - - free(o_message); diff --git a/redhat/applications/kftpgrabber/kftpgrabber-14.0.0.spec b/redhat/applications/kftpgrabber/kftpgrabber-14.0.0.spec deleted file mode 100644 index 75cb03836..000000000 --- a/redhat/applications/kftpgrabber/kftpgrabber-14.0.0.spec +++ /dev/null @@ -1,202 +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.0.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 -Patch0: %{tde_pkg}-14.0.0.patch - - -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 - -# 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}} -%patch0 -p1 -b .orig - -%__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 QTDIR -export PATH="%{tde_bindir}:${PATH}" - -# Warning: --enable-final causes FTBFS -%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 \ - --disable-final \ - --enable-closure \ - --enable-rpath \ - --disable-gcc-hidden-visibility - -%__make %{?_smp_mflags} - - -%install -%__rm -rf $RPM_BUILD_ROOT -%__make install DESTDIR=$RPM_BUILD_ROOT - -%find_lang %{tde_pkg} - - -%clean -%__rm -rf $RPM_BUILD_ROOT - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING README 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/ - - -%files devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/kftpgrabber/ -%{tde_libdir}/libkftpinterfaces.la -%{tde_libdir}/libkftpinterfaces.so - - -%changelog diff --git a/redhat/applications/kftpgrabber/kftpgrabber.spec b/redhat/applications/kftpgrabber/kftpgrabber.spec new file mode 100644 index 000000000..37bc55def --- /dev/null +++ b/redhat/applications/kftpgrabber/kftpgrabber.spec @@ -0,0 +1,200 @@ +# +# 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.0.7 +%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: 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 + +# 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}} + +%__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 QTDIR +export PATH="%{tde_bindir}:${PATH}" + +# Warning: --enable-final causes FTBFS +%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 \ + --disable-final \ + --enable-closure \ + --enable-rpath \ + --disable-gcc-hidden-visibility + +%__make %{?_smp_mflags} + + +%install +%__rm -rf $RPM_BUILD_ROOT +%__make install DESTDIR=$RPM_BUILD_ROOT + +%find_lang %{tde_pkg} + + +%clean +%__rm -rf $RPM_BUILD_ROOT + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING README 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/ + + +%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-14.0.0.spec b/redhat/applications/kgtk-qt3/kgtk-qt3-14.0.0.spec deleted file mode 100644 index c78610f1c..000000000 --- a/redhat/applications/kgtk-qt3/kgtk-qt3-14.0.0.spec +++ /dev/null @@ -1,187 +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.0.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: cmake 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%{?fedora} || 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} -DNDEBUG" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -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 -%{tde_libdir}/kgtk/libkgtk2.so -%{tde_libdir}/kgtk/libkqt3.so -%{tde_datadir}/kgtk/preload - -%changelog diff --git a/redhat/applications/kgtk-qt3/kgtk-qt3.spec b/redhat/applications/kgtk-qt3/kgtk-qt3.spec new file mode 100644 index 000000000..98989ecc2 --- /dev/null +++ b/redhat/applications/kgtk-qt3/kgtk-qt3.spec @@ -0,0 +1,187 @@ +# +# 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.0.7 +%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: cmake 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%{?fedora} || 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} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -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 +%{tde_libdir}/kgtk/libkgtk2.so +%{tde_libdir}/kgtk/libkqt3.so +%{tde_datadir}/kgtk/preload + +%changelog diff --git a/redhat/applications/kile/kile-14.0.0.spec b/redhat/applications/kile/kile-14.0.0.spec deleted file mode 100644 index 33bc88722..000000000 --- a/redhat/applications/kile/kile-14.0.0.spec +++ /dev/null @@ -1,226 +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.0.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: 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 - -Obsoletes: %{name}-i18n-ar -Obsoletes: %{name}-i18n-bg -Obsoletes: %{name}-i18n-br -Obsoletes: %{name}-i18n-ca -Obsoletes: %{name}-i18n-cs -Obsoletes: %{name}-i18n-cy -Obsoletes: %{name}-i18n-da -Obsoletes: %{name}-i18n-de -Obsoletes: %{name}-i18n-el -Obsoletes: %{name}-i18n-engb -Obsoletes: %{name}-i18n-es -Obsoletes: %{name}-i18n-et -Obsoletes: %{name}-i18n-eu -Obsoletes: %{name}-i18n-fi -Obsoletes: %{name}-i18n-fr -Obsoletes: %{name}-i18n-ga -Obsoletes: %{name}-i18n-gl -Obsoletes: %{name}-i18n-hi -Obsoletes: %{name}-i18n-hu -Obsoletes: %{name}-i18n-is -Obsoletes: %{name}-i18n-it -Obsoletes: %{name}-i18n-ja -Obsoletes: %{name}-i18n-lt -Obsoletes: %{name}-i18n-ms -Obsoletes: %{name}-i18n-mt -Obsoletes: %{name}-i18n-nb -Obsoletes: %{name}-i18n-nds -Obsoletes: %{name}-i18n-nl -Obsoletes: %{name}-i18n-nn -Obsoletes: %{name}-i18n-pa -Obsoletes: %{name}-i18n-pl -Obsoletes: %{name}-i18n-pt -Obsoletes: %{name}-i18n-ptbr -Obsoletes: %{name}-i18n-ro -Obsoletes: %{name}-i18n-ru -Obsoletes: %{name}-i18n-rw -Obsoletes: %{name}-i18n-sk -Obsoletes: %{name}-i18n-sr -Obsoletes: %{name}-i18n-srlatin -Obsoletes: %{name}-i18n-sv -Obsoletes: %{name}-i18n-ta -Obsoletes: %{name}-i18n-th -Obsoletes: %{name}-i18n-tr -Obsoletes: %{name}-i18n-uk -Obsoletes: %{name}-i18n-zhcn - - -%description -Kile is a user-friendly LaTeX source editor and TeX shell for TDE. - -The source editor is a multi-document editor designed for .tex and .bib -files. Menus, wizards and auto-completion are provided to assist with -tag insertion and code generation. A structural view of the document -assists with navigation within source files. - -The TeX shell integrates the various tools required for TeX processing. -It assists with LaTeX compilation, DVI and postscript document viewing, -generation of bibliographies and indices and other common tasks. - -Kile can support large projects consisting of several smaller files. - -########## - -%if 0%{?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} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - \ - --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} - -%__chmod +x %{buildroot}%{tde_datadir}/apps/kile/test/runTests.sh - -# Unwanted files ... -%__rm -f %{?buildroot}%{tde_datadir}/apps/katepart/syntax/bibtex.xml -%__rm -f %{?buildroot}%{tde_datadir}/apps/katepart/syntax/latex.xml - -%find_lang %{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/ - - - -%changelog diff --git a/redhat/applications/kile/kile.spec b/redhat/applications/kile/kile.spec new file mode 100644 index 000000000..5a6c72149 --- /dev/null +++ b/redhat/applications/kile/kile.spec @@ -0,0 +1,226 @@ +# +# 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.0.7 +%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: 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 + +Obsoletes: %{name}-i18n-ar +Obsoletes: %{name}-i18n-bg +Obsoletes: %{name}-i18n-br +Obsoletes: %{name}-i18n-ca +Obsoletes: %{name}-i18n-cs +Obsoletes: %{name}-i18n-cy +Obsoletes: %{name}-i18n-da +Obsoletes: %{name}-i18n-de +Obsoletes: %{name}-i18n-el +Obsoletes: %{name}-i18n-engb +Obsoletes: %{name}-i18n-es +Obsoletes: %{name}-i18n-et +Obsoletes: %{name}-i18n-eu +Obsoletes: %{name}-i18n-fi +Obsoletes: %{name}-i18n-fr +Obsoletes: %{name}-i18n-ga +Obsoletes: %{name}-i18n-gl +Obsoletes: %{name}-i18n-hi +Obsoletes: %{name}-i18n-hu +Obsoletes: %{name}-i18n-is +Obsoletes: %{name}-i18n-it +Obsoletes: %{name}-i18n-ja +Obsoletes: %{name}-i18n-lt +Obsoletes: %{name}-i18n-ms +Obsoletes: %{name}-i18n-mt +Obsoletes: %{name}-i18n-nb +Obsoletes: %{name}-i18n-nds +Obsoletes: %{name}-i18n-nl +Obsoletes: %{name}-i18n-nn +Obsoletes: %{name}-i18n-pa +Obsoletes: %{name}-i18n-pl +Obsoletes: %{name}-i18n-pt +Obsoletes: %{name}-i18n-ptbr +Obsoletes: %{name}-i18n-ro +Obsoletes: %{name}-i18n-ru +Obsoletes: %{name}-i18n-rw +Obsoletes: %{name}-i18n-sk +Obsoletes: %{name}-i18n-sr +Obsoletes: %{name}-i18n-srlatin +Obsoletes: %{name}-i18n-sv +Obsoletes: %{name}-i18n-ta +Obsoletes: %{name}-i18n-th +Obsoletes: %{name}-i18n-tr +Obsoletes: %{name}-i18n-uk +Obsoletes: %{name}-i18n-zhcn + + +%description +Kile is a user-friendly LaTeX source editor and TeX shell for TDE. + +The source editor is a multi-document editor designed for .tex and .bib +files. Menus, wizards and auto-completion are provided to assist with +tag insertion and code generation. A structural view of the document +assists with navigation within source files. + +The TeX shell integrates the various tools required for TeX processing. +It assists with LaTeX compilation, DVI and postscript document viewing, +generation of bibliographies and indices and other common tasks. + +Kile can support large projects consisting of several smaller files. + +########## + +%if 0%{?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} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + \ + --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} + +%__chmod +x %{buildroot}%{tde_datadir}/apps/kile/test/runTests.sh + +# Unwanted files ... +%__rm -f %{?buildroot}%{tde_datadir}/apps/katepart/syntax/bibtex.xml +%__rm -f %{?buildroot}%{tde_datadir}/apps/katepart/syntax/latex.xml + +%find_lang %{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/ + + + +%changelog diff --git a/redhat/applications/kima/kima-14.0.0.spec b/redhat/applications/kima/kima-14.0.0.spec deleted file mode 100644 index 8cbd7bce1..000000000 --- a/redhat/applications/kima/kima-14.0.0.spec +++ /dev/null @@ -1,158 +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.0.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: 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 - -# UDEV support -%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} || 0%{?rhel} >= 6 -%define with_tdehwlib 1 -BuildRequires: libudev-devel -%endif - - -%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}} - -%__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} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --enable-final \ - --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} - - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README TODO -%{tde_tdelibdir}/libkima.la -%{tde_tdelibdir}/libkima.so -%{tde_datadir}/apps/kicker/applets/kima.desktop -%{tde_tdedocdir}/HTML/en/kima/ - - -%changelog diff --git a/redhat/applications/kima/kima.spec b/redhat/applications/kima/kima.spec new file mode 100644 index 000000000..646b79704 --- /dev/null +++ b/redhat/applications/kima/kima.spec @@ -0,0 +1,166 @@ +# +# 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.0.7 +%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: cmake >= 2.8 +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 + + +%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} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -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 NEWS README 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 index 3112132a4..f56b7b203 100644 --- a/redhat/applications/kiosktool/kiosktool.spec +++ b/redhat/applications/kiosktool/kiosktool.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg kiosktool %define tde_prefix /opt/trinity diff --git a/redhat/applications/kkbswitch/kkbswitch.spec b/redhat/applications/kkbswitch/kkbswitch.spec index b4ef8ddb4..489fc406b 100644 --- a/redhat/applications/kkbswitch/kkbswitch.spec +++ b/redhat/applications/kkbswitch/kkbswitch.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg kkbswitch %define tde_prefix /opt/trinity diff --git a/redhat/applications/klcddimmer/klcddimmer.spec b/redhat/applications/klcddimmer/klcddimmer.spec index b50b36d10..27bd3cebf 100644 --- a/redhat/applications/klcddimmer/klcddimmer.spec +++ b/redhat/applications/klcddimmer/klcddimmer.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg klcddimmer %define tde_prefix /opt/trinity @@ -138,12 +138,14 @@ export PATH="%{tde_bindir}:${PATH}" %__rm -rf %{buildroot} %__make install DESTDIR=%{buildroot} -C build +%find_lang %{tde_pkg} + %clean %__rm -rf %{buildroot} -%files +%files -f %{tde_pkg}.lang %defattr(-,root,root,-) %doc AUTHORS COPYING LICENSE NEWS README %{tde_libdir}/libklcddimmer_panelapplet.la diff --git a/redhat/applications/kmplayer/kmplayer-14.0.0.spec b/redhat/applications/kmplayer/kmplayer-14.0.0.spec deleted file mode 100644 index f68698644..000000000 --- a/redhat/applications/kmplayer/kmplayer-14.0.0.spec +++ /dev/null @@ -1,299 +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.0.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: 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 - -# 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%{?rhel} >= 4 || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_xine 1 -%if 0%{?mgaversion} || 0%{?mdkversion} -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 - -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 TODO kmplayer.lsm -%{tde_bindir}/kmplayer -%{tde_bindir}/knpplayer -%{tde_bindir}/kxvplayer -%{tde_libdir}/libtdeinit_kmplayer.la -%{tde_libdir}/libtdeinit_kmplayer.so -%{tde_tdelibdir}/kmplayer.la -%{tde_tdelibdir}/kmplayer.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 -%{tde_confdir}/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 - -########## - -%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}} - -%__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 PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" -export kde_confdir="%{tde_confdir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --enable-final \ - --enable-closure \ - --enable-rpath \ - --disable-gcc-hidden-visibility - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%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/kmplayer/kmplayer.spec b/redhat/applications/kmplayer/kmplayer.spec new file mode 100644 index 000000000..869ef88ec --- /dev/null +++ b/redhat/applications/kmplayer/kmplayer.spec @@ -0,0 +1,299 @@ +# +# 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.0.7 +%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: 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 + +# 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%{?rhel} >= 4 || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_xine 1 +%if 0%{?mgaversion} || 0%{?mdkversion} +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 + +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 TODO +%{tde_bindir}/kmplayer +%{tde_bindir}/knpplayer +%{tde_bindir}/kxvplayer +%{tde_libdir}/libtdeinit_kmplayer.la +%{tde_libdir}/libtdeinit_kmplayer.so +%{tde_tdelibdir}/kmplayer.la +%{tde_tdelibdir}/kmplayer.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 +%{tde_confdir}/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 + +########## + +%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}} + +%__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 PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" +export kde_confdir="%{tde_confdir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + \ + --disable-dependency-tracking \ + --disable-debug \ + --enable-new-ldflags \ + --enable-final \ + --enable-closure \ + --enable-rpath \ + --disable-gcc-hidden-visibility + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%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-14.0.0.spec b/redhat/applications/kmyfirewall/kmyfirewall-14.0.0.spec deleted file mode 100644 index a24777758..000000000 --- a/redhat/applications/kmyfirewall/kmyfirewall-14.0.0.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.0.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 -%{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/kmyfirewall.spec b/redhat/applications/kmyfirewall/kmyfirewall.spec new file mode 100644 index 000000000..093d920ec --- /dev/null +++ b/redhat/applications/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.0.7 +%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 +%{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/kmymoney/kmymoney-14.0.0.spec b/redhat/applications/kmymoney/kmymoney-14.0.0.spec deleted file mode 100644 index 7ad17a36b..000000000 --- a/redhat/applications/kmymoney/kmymoney-14.0.0.spec +++ /dev/null @@ -1,259 +0,0 @@ -%if 0%{?fedora} >= 23 -%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.0.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: autoconf automake libtool m4 -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: 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.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/ - -%__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 PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -%if 0%{?fedora} >= 29 -LDFLAGS="-Wl,--allow-shlib-undefined" -%endif - -# 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-qmake=%{_bindir}/tqmake \ - --with-qt-dir=%{_libdir}/tqt3 \ - \ - --disable-pdf-docs \ - --enable-ofxplugin \ - --enable-ofxbanking \ - --enable-qtdesigner \ - --disable-sqlite3 - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang kmymoney2 - -# Links duplicate files -%fdupes "%{?buildroot}%{tde_datadir}" - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/applications/kmymoney/kmymoney.spec b/redhat/applications/kmymoney/kmymoney.spec new file mode 100644 index 000000000..b62aa5496 --- /dev/null +++ b/redhat/applications/kmymoney/kmymoney.spec @@ -0,0 +1,259 @@ +%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.0.7 +%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: autoconf automake libtool m4 +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: 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.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/ + +%__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 PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +%if 0%{?fedora} >= 29 || 0%{?rhel} >= 8 +LDFLAGS="-Wl,--allow-shlib-undefined" +%endif + +# 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-qmake=%{_bindir}/tqmake \ + --with-qt-dir=%{_libdir}/tqt3 \ + \ + --disable-pdf-docs \ + --enable-ofxplugin \ + --enable-ofxbanking \ + --enable-qtdesigner \ + --disable-sqlite3 + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang kmymoney2 + +# Links duplicate files +%fdupes "%{?buildroot}%{tde_datadir}" + + +%clean +%__rm -rf %{buildroot} + + +%changelog diff --git a/redhat/applications/knemo/knemo-14.0.0.spec b/redhat/applications/knemo/knemo-14.0.0.spec deleted file mode 100644 index 8ccd55fda..000000000 --- a/redhat/applications/knemo/knemo-14.0.0.spec +++ /dev/null @@ -1,169 +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.0.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: 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 - -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 - - -%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}} - -%__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} \ - --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} - - -%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/knemo/knemo.spec b/redhat/applications/knemo/knemo.spec new file mode 100644 index 000000000..d3e474bf1 --- /dev/null +++ b/redhat/applications/knemo/knemo.spec @@ -0,0 +1,174 @@ +# +# 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.0.7 +%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: cmake >= 2.8 +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 + + +%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} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -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,-) +%{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 index 13e71be7f..90b09ef5d 100644 --- a/redhat/applications/knetload/knetload.spec +++ b/redhat/applications/knetload/knetload.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg knetload %define tde_prefix /opt/trinity diff --git a/redhat/applications/knetstats/knetstats.spec b/redhat/applications/knetstats/knetstats.spec index d519f2224..580809e4a 100644 --- a/redhat/applications/knetstats/knetstats.spec +++ b/redhat/applications/knetstats/knetstats.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg knetstats %define tde_prefix /opt/trinity diff --git a/redhat/applications/knetworkmanager8/knetworkmanager8-14.0.0.spec b/redhat/applications/knetworkmanager8/knetworkmanager8-14.0.0.spec deleted file mode 100644 index f1434e905..000000000 --- a/redhat/applications/knetworkmanager8/knetworkmanager8-14.0.0.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.0.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 < %{version}-%{release} -Provides: trinity-knetworkmanager = %{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} = %{version}-%{release} - -Obsoletes: trinity-knetworkmanager-devel < %{version}-%{release} -Provides: trinity-knetworkmanager-devel = %{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/knetworkmanager8/knetworkmanager8.spec b/redhat/applications/knetworkmanager8/knetworkmanager8.spec new file mode 100644 index 000000000..0514f655f --- /dev/null +++ b/redhat/applications/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.0.7 +%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 < %{version}-%{release} +Provides: trinity-knetworkmanager = %{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} = %{version}-%{release} + +Obsoletes: trinity-knetworkmanager-devel < %{version}-%{release} +Provides: trinity-knetworkmanager-devel = %{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/knights/knights.spec b/redhat/applications/knights/knights.spec index eb75677b9..9bde2f66b 100644 --- a/redhat/applications/knights/knights.spec +++ b/redhat/applications/knights/knights.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg knights %define tde_prefix /opt/trinity diff --git a/redhat/applications/knmap/knmap.spec b/redhat/applications/knmap/knmap.spec index 76ac8c8c7..03145ddd5 100644 --- a/redhat/applications/knmap/knmap.spec +++ b/redhat/applications/knmap/knmap.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg knmap %define tde_prefix /opt/trinity diff --git a/redhat/applications/knowit/knowit.spec b/redhat/applications/knowit/knowit.spec index 67cac8595..217fa7c70 100644 --- a/redhat/applications/knowit/knowit.spec +++ b/redhat/applications/knowit/knowit.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg knowit %define tde_prefix /opt/trinity diff --git a/redhat/applications/knutclient/knutclient.spec b/redhat/applications/knutclient/knutclient.spec index 2c729fb71..e9dd116cb 100644 --- a/redhat/applications/knutclient/knutclient.spec +++ b/redhat/applications/knutclient/knutclient.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg knutclient %define tde_prefix /opt/trinity diff --git a/redhat/applications/koffice-i18n/koffice-i18n-14.0.0.spec b/redhat/applications/koffice-i18n/koffice-i18n-14.0.0.spec deleted file mode 100644 index 479a72b5f..000000000 --- a/redhat/applications/koffice-i18n/koffice-i18n-14.0.0.spec +++ /dev/null @@ -1,1092 +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.0.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: 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 - - -%description -%{summary}. - -%package Bulgarian -Summary: Bulgarian(bg) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-bg = %{version}-%{release} -%description Bulgarian -%{summary}. - -%package Bengali -Summary: Bengali(bn) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-bn = %{version}-%{release} -%description Bengali -%{summary}. - -%package Tibetan -Summary: Tibetan(bo) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-bo = %{version}-%{release} -%description Tibetan -%{summary}. - -%package Breton -Summary: Breton(br) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-br = %{version}-%{release} -%description Breton -%{summary}. - -%package Bosnian -Summary: Bosnian(bs) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-bs = %{version}-%{release} -%description Bosnian -%{summary}. - -%package Catalan -Summary: Catalan(ca) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-ca = %{version}-%{release} -%description Catalan -%{summary}. - -%package Czech -Summary: Czech(cs) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-cs = %{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 = %{version}-%{release} -%description Welsh -%{summary}. - -%package Danish -Summary: Danish(da) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-da = %{version}-%{release} -%description Danish -%{summary}. - -%package German -Summary: German(de) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-de = %{version}-%{release} -%description German -%{summary}. - -%package Greek -Summary: Greek(el) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-el = %{version}-%{release} -%description Greek -%{summary}. - -%package British -Summary: British(en_GB) English support for TDE -Group: User Interface/Desktops -Provides: %{name}-en_GB = %{version}-%{release} -%description British -%{summary}. - -%package Esperanto -Summary: Esperanto(eo) support for TDE -Group: User Interface/Desktops -Provides: %{name}-eo = %{version}-%{release} -%description Esperanto -%{summary}. - -%package Spanish -Summary: Spanish(es) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-es = %{version}-%{release} -%description Spanish -%{summary}. - -%package Estonian -Summary: Estonian(et) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-et = %{version}-%{release} -%description Estonian -%{summary}. - -%package Basque -Summary: Basque(eu) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-eu = %{version}-%{release} -%description Basque -%{summary}. - -%package Finnish -Summary: Finnish(fi) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-fi = %{version}-%{release} -%description Finnish -%{summary}. - -%package Faroese -Summary: Faroese(fo) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-fo = %{version}-%{release} -%description Faroese -%{summary}. - -%package French -Summary: French(fr) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-fr = %{version}-%{release} -%description French -%{summary}. - -%package Frisian -Summary: Frisian(fy) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-fy = %{version}-%{release} -%description Frisian -%{summary}. - -%package Irish -Summary: Irish(ga) language support for Koffice [Trinity] -Group: User Interface/Desktops -Obsoletes: kde-i18n-Gaeilge < %{version} -Provides: %{name}-ga = %{version}-%{release} -%description Irish -%{summary}. - -%package Galician -Summary: Galician(gl) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-gl = %{version}-%{release} -%description Galician -%{summary}. - -%package Hebrew -Summary: Hebrew(he) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-he = %{version}-%{release} -%description Hebrew -%{summary}. - -%package Hindi -Summary: Hindi(hi) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-hi = %{version}-%{release} -%description Hindi -%{summary}. - -%package Croatian -Summary: Croatian(hr) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-hr = %{version}-%{release} -%description Croatian -%{summary}. - -%package Hungarian -Summary: Hungarian(hu) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-hu = %{version}-%{release} -%description Hungarian -%{summary}. - -%package Indonesian -Summary: Indonesian(id) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-id = %{version}-%{release} -%description Indonesian -%{summary}. - -%package Icelandic -Summary: Icelandic(is) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-is = %{version}-%{release} -%description Icelandic -%{summary}. - -%package Italian -Summary: Italian(it) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-it = %{version}-%{release} -%description Italian -%{summary}. - -%package Japanese -Summary: Japanese(ja) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-ja = %{version}-%{release} -%description Japanese -%{summary}. - -%package Khmer -Summary: Khmer(km) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-km = %{version}-%{release} -%description Khmer -%{summary}. - -%package Korean -Summary: Korean(ko) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-ko = %{version}-%{release} -%description Korean -%{summary}. - -%package Kurdish -Summary: Kurdish(ku) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-ku = %{version}-%{release} -%description Kurdish -%{summary}. - -%package Lao -Summary: Lao(lo) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-lo = %{version}-%{release} -%description Lao -%{summary}. - -%package Lithuanian -Summary: Lithuanian(lt) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-lt = %{version}-%{release} -%description Lithuanian -%{summary}. - -%package Latvian -Summary: Latvian(lv) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-lv = %{version}-%{release} -%description Latvian -%{summary}. - -%package Maori -Summary: Maori(mi) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-mi = %{version}-%{release} -%description Maori -%{summary}. - -%package Macedonian -Summary: Macedonian(mk) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-mk = %{version}-%{release} -%description Macedonian -%{summary}. - -%package Malay -Summary: Malay(ms) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-ms = %{version}-%{release} -%description Malay -%{summary}. - -%package Maltese -Summary: Maltese(mt) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-mt = %{version}-%{release} -%description Maltese -%{summary}. - -%package LowSaxon -Summary: Low Saxon (nds) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-nds = %{version}-%{release} -%description LowSaxon -%{summary}. - -%package Nepali -Summary: Nepali(ne) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-ne = %{version}-%{release} -%description Nepali -%{summary}. - -%package Dutch -Summary: Dutch(nl) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-nl = %{version}-%{release} -%description Dutch -%{summary}. - -%package Norwegian -Summary: Norwegian(no) (Bokmaal) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-no = %{version}-%{release} -%description Norwegian -%{summary}. - -%package Norwegian-Nynorsk -Summary: Norwegian(nn) (Nynorsk) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-nn = %{version}-%{release} -%description Norwegian-Nynorsk -%{summary}. - -%package Occitan -Summary: Occitan(oc) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-oc = %{version}-%{release} -%description Occitan -%{summary}. - -%package Polish -Summary: Polish(pl) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-pl = %{version}-%{release} -%description Polish -%{summary}. - -%package Portuguese -Summary: Portuguese(pt) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-pt = %{version}-%{release} -%description Portuguese -%{summary}. - -%package Punjabi -Summary: Punjabi(pa) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-pa = %{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 = %{version}-%{release} -%description Brazil -%{summary}. - -%package Romanian -Summary: Romanian(ro) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-ro = %{version}-%{release} -%description Romanian -%{summary}. - -%package Russian -Summary: Russian(ru) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-ru = %{version}-%{release} -%description Russian -%{summary}. - -%package Slovak -Summary: Slovak(sk) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-sk = %{version}-%{release} -%description Slovak -%{summary}. - -%package Slovenian -Summary: Slovenian(sl) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-sl = %{version}-%{release} -%description Slovenian -%{summary}. - -%package Serbian -Summary: Serbian(sr) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-sr = %{version}-%{release} -%description Serbian -%{summary}. - -%package Swedish -Summary: Swedish(sv) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-sv = %{version}-%{release} -%description Swedish -%{summary}. - -%package Tamil -Summary: Tamil(ta) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-ta = %{version}-%{release} -%description Tamil -%{summary}. - -%package Tajik -Summary: Tajik(tg) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-tg = %{version}-%{release} -%description Tajik -%{summary}. - -%package Thai -Summary: Thai(th) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-th = %{version}-%{release} -%description Thai -%{summary}. - -%package Turkish -Summary: Turkish(tr) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-tr = %{version}-%{release} -%description Turkish -%{summary}. - -%package Ukrainian -Summary: Ukrainian(uk) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-uk = %{version}-%{release} -%description Ukrainian -%{summary}. - -%package Venda -Summary: Venda(ven) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-ven = %{version}-%{release} -%description Venda -%{summary}. - -%package Vietnamese -Summary: Vietnamese(vi) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-vi = %{version}-%{release} -%description Vietnamese -%{summary}. - -%package Walloon -Summary: Walloon(wa) language support for Koffice [Trinity] -Group: User Interface/Desktops -Provides: %{name}-wa = %{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 = %{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 = %{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 = %{version}-%{release} -%description Chinese-Big5 -%{summary}. - - - -%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" - - -%build -export PATH="%{tde_bindir}:${PATH}" - -export kde_htmldir="%{tde_tdedocdir}/HTML" - -for l in %{TDE_LANGS}; do - for f in koffice-i18n-${l}/; do - if [ -d "${f}" ]; then - pushd ${f} - %__sed -i "configure.in" -e "s|AM_CONFIG_HEADER|AC_CONFIG_HEADER|" - %__make -f "admin/Makefile.common" - %configure \ - --prefix=%{tde_prefix} \ - --datadir=%{tde_datadir} \ - --docdir=%{tde_tdedocdir} - %__make %{?_smp_mflags} - popd - fi - done -done - -%install -%__rm -rf %{?buildroot} -export PATH="%{tde_bindir}:${PATH}" - -for l in %{TDE_LANGS}; do - for f in koffice-i18n-${l}/; do - if [ -d "${f}" ] && [ -r "${f}/Makefile" ] ; then - %__make install DESTDIR="%{?buildroot}" -C "${f}" - fi - done -done - -# remove zero-length file -find "%{buildroot}%{tde_tdedocdir}/HTML" -size 0 -exec rm -f {} \; - -%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-i18n/koffice-i18n.spec b/redhat/applications/koffice-i18n/koffice-i18n.spec new file mode 100644 index 000000000..90358ea27 --- /dev/null +++ b/redhat/applications/koffice-i18n/koffice-i18n.spec @@ -0,0 +1,1092 @@ +# +# 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.0.7 +%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: 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 + + +%description +%{summary}. + +%package Bulgarian +Summary: Bulgarian(bg) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-bg = %{version}-%{release} +%description Bulgarian +%{summary}. + +%package Bengali +Summary: Bengali(bn) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-bn = %{version}-%{release} +%description Bengali +%{summary}. + +%package Tibetan +Summary: Tibetan(bo) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-bo = %{version}-%{release} +%description Tibetan +%{summary}. + +%package Breton +Summary: Breton(br) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-br = %{version}-%{release} +%description Breton +%{summary}. + +%package Bosnian +Summary: Bosnian(bs) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-bs = %{version}-%{release} +%description Bosnian +%{summary}. + +%package Catalan +Summary: Catalan(ca) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-ca = %{version}-%{release} +%description Catalan +%{summary}. + +%package Czech +Summary: Czech(cs) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-cs = %{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 = %{version}-%{release} +%description Welsh +%{summary}. + +%package Danish +Summary: Danish(da) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-da = %{version}-%{release} +%description Danish +%{summary}. + +%package German +Summary: German(de) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-de = %{version}-%{release} +%description German +%{summary}. + +%package Greek +Summary: Greek(el) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-el = %{version}-%{release} +%description Greek +%{summary}. + +%package British +Summary: British(en_GB) English support for TDE +Group: User Interface/Desktops +Provides: %{name}-en_GB = %{version}-%{release} +%description British +%{summary}. + +%package Esperanto +Summary: Esperanto(eo) support for TDE +Group: User Interface/Desktops +Provides: %{name}-eo = %{version}-%{release} +%description Esperanto +%{summary}. + +%package Spanish +Summary: Spanish(es) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-es = %{version}-%{release} +%description Spanish +%{summary}. + +%package Estonian +Summary: Estonian(et) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-et = %{version}-%{release} +%description Estonian +%{summary}. + +%package Basque +Summary: Basque(eu) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-eu = %{version}-%{release} +%description Basque +%{summary}. + +%package Finnish +Summary: Finnish(fi) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-fi = %{version}-%{release} +%description Finnish +%{summary}. + +%package Faroese +Summary: Faroese(fo) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-fo = %{version}-%{release} +%description Faroese +%{summary}. + +%package French +Summary: French(fr) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-fr = %{version}-%{release} +%description French +%{summary}. + +%package Frisian +Summary: Frisian(fy) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-fy = %{version}-%{release} +%description Frisian +%{summary}. + +%package Irish +Summary: Irish(ga) language support for Koffice [Trinity] +Group: User Interface/Desktops +Obsoletes: kde-i18n-Gaeilge < %{version} +Provides: %{name}-ga = %{version}-%{release} +%description Irish +%{summary}. + +%package Galician +Summary: Galician(gl) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-gl = %{version}-%{release} +%description Galician +%{summary}. + +%package Hebrew +Summary: Hebrew(he) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-he = %{version}-%{release} +%description Hebrew +%{summary}. + +%package Hindi +Summary: Hindi(hi) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-hi = %{version}-%{release} +%description Hindi +%{summary}. + +%package Croatian +Summary: Croatian(hr) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-hr = %{version}-%{release} +%description Croatian +%{summary}. + +%package Hungarian +Summary: Hungarian(hu) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-hu = %{version}-%{release} +%description Hungarian +%{summary}. + +%package Indonesian +Summary: Indonesian(id) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-id = %{version}-%{release} +%description Indonesian +%{summary}. + +%package Icelandic +Summary: Icelandic(is) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-is = %{version}-%{release} +%description Icelandic +%{summary}. + +%package Italian +Summary: Italian(it) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-it = %{version}-%{release} +%description Italian +%{summary}. + +%package Japanese +Summary: Japanese(ja) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-ja = %{version}-%{release} +%description Japanese +%{summary}. + +%package Khmer +Summary: Khmer(km) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-km = %{version}-%{release} +%description Khmer +%{summary}. + +%package Korean +Summary: Korean(ko) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-ko = %{version}-%{release} +%description Korean +%{summary}. + +%package Kurdish +Summary: Kurdish(ku) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-ku = %{version}-%{release} +%description Kurdish +%{summary}. + +%package Lao +Summary: Lao(lo) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-lo = %{version}-%{release} +%description Lao +%{summary}. + +%package Lithuanian +Summary: Lithuanian(lt) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-lt = %{version}-%{release} +%description Lithuanian +%{summary}. + +%package Latvian +Summary: Latvian(lv) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-lv = %{version}-%{release} +%description Latvian +%{summary}. + +%package Maori +Summary: Maori(mi) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-mi = %{version}-%{release} +%description Maori +%{summary}. + +%package Macedonian +Summary: Macedonian(mk) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-mk = %{version}-%{release} +%description Macedonian +%{summary}. + +%package Malay +Summary: Malay(ms) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-ms = %{version}-%{release} +%description Malay +%{summary}. + +%package Maltese +Summary: Maltese(mt) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-mt = %{version}-%{release} +%description Maltese +%{summary}. + +%package LowSaxon +Summary: Low Saxon (nds) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-nds = %{version}-%{release} +%description LowSaxon +%{summary}. + +%package Nepali +Summary: Nepali(ne) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-ne = %{version}-%{release} +%description Nepali +%{summary}. + +%package Dutch +Summary: Dutch(nl) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-nl = %{version}-%{release} +%description Dutch +%{summary}. + +%package Norwegian +Summary: Norwegian(no) (Bokmaal) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-no = %{version}-%{release} +%description Norwegian +%{summary}. + +%package Norwegian-Nynorsk +Summary: Norwegian(nn) (Nynorsk) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-nn = %{version}-%{release} +%description Norwegian-Nynorsk +%{summary}. + +%package Occitan +Summary: Occitan(oc) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-oc = %{version}-%{release} +%description Occitan +%{summary}. + +%package Polish +Summary: Polish(pl) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-pl = %{version}-%{release} +%description Polish +%{summary}. + +%package Portuguese +Summary: Portuguese(pt) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-pt = %{version}-%{release} +%description Portuguese +%{summary}. + +%package Punjabi +Summary: Punjabi(pa) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-pa = %{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 = %{version}-%{release} +%description Brazil +%{summary}. + +%package Romanian +Summary: Romanian(ro) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-ro = %{version}-%{release} +%description Romanian +%{summary}. + +%package Russian +Summary: Russian(ru) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-ru = %{version}-%{release} +%description Russian +%{summary}. + +%package Slovak +Summary: Slovak(sk) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-sk = %{version}-%{release} +%description Slovak +%{summary}. + +%package Slovenian +Summary: Slovenian(sl) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-sl = %{version}-%{release} +%description Slovenian +%{summary}. + +%package Serbian +Summary: Serbian(sr) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-sr = %{version}-%{release} +%description Serbian +%{summary}. + +%package Swedish +Summary: Swedish(sv) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-sv = %{version}-%{release} +%description Swedish +%{summary}. + +%package Tamil +Summary: Tamil(ta) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-ta = %{version}-%{release} +%description Tamil +%{summary}. + +%package Tajik +Summary: Tajik(tg) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-tg = %{version}-%{release} +%description Tajik +%{summary}. + +%package Thai +Summary: Thai(th) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-th = %{version}-%{release} +%description Thai +%{summary}. + +%package Turkish +Summary: Turkish(tr) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-tr = %{version}-%{release} +%description Turkish +%{summary}. + +%package Ukrainian +Summary: Ukrainian(uk) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-uk = %{version}-%{release} +%description Ukrainian +%{summary}. + +%package Venda +Summary: Venda(ven) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-ven = %{version}-%{release} +%description Venda +%{summary}. + +%package Vietnamese +Summary: Vietnamese(vi) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-vi = %{version}-%{release} +%description Vietnamese +%{summary}. + +%package Walloon +Summary: Walloon(wa) language support for Koffice [Trinity] +Group: User Interface/Desktops +Provides: %{name}-wa = %{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 = %{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 = %{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 = %{version}-%{release} +%description Chinese-Big5 +%{summary}. + + + +%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" + + +%build +export PATH="%{tde_bindir}:${PATH}" + +export kde_htmldir="%{tde_tdedocdir}/HTML" + +for l in %{TDE_LANGS}; do + for f in koffice-i18n-${l}/; do + if [ -d "${f}" ]; then + pushd ${f} + %__sed -i "configure.in" -e "s|AM_CONFIG_HEADER|AC_CONFIG_HEADER|" + %__make -f "admin/Makefile.common" + %configure \ + --prefix=%{tde_prefix} \ + --datadir=%{tde_datadir} \ + --docdir=%{tde_tdedocdir} + %__make %{?_smp_mflags} + popd + fi + done +done + +%install +%__rm -rf %{?buildroot} +export PATH="%{tde_bindir}:${PATH}" + +for l in %{TDE_LANGS}; do + for f in koffice-i18n-${l}/; do + if [ -d "${f}" ] && [ -r "${f}/Makefile" ] ; then + %__make install DESTDIR="%{?buildroot}" -C "${f}" + fi + done +done + +# remove zero-length file +find "%{buildroot}%{tde_tdedocdir}/HTML" -size 0 -exec rm -f {} \; + +%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-14.0.0.spec b/redhat/applications/koffice/koffice-14.0.0.spec deleted file mode 100644 index ce0cec112..000000000 --- a/redhat/applications/koffice/koffice-14.0.0.spec +++ /dev/null @@ -1,1143 +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.0.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: python-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 - -# 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 -%define with_postgresql 1 -BuildRequires: postgresql-devel -BuildRequires: libpqxx-devel -%endif -%endif -Obsoletes: trinity-libpqxx - -# WPD support -# For chalk and filters -BuildRequires: libwpd-devel -Obsoletes: trinity-libwpd - -# WV2 support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}wv2-devel -%endif -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -BuildRequires: wv2-devel -%endif - -# MESA support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}mesagl1-devel -BuildRequires: %{_lib}mesaglu1-devel -%endif -%if 0%{?fedora} || 0%{?rhel} -BuildRequires: libGL-devel -BuildRequires: libGLU-devel -%endif -%if 0%{?suse_version} >= 1220 -BuildRequires: Mesa-libGL-devel -BuildRequires: Mesa-libGLU-devel -%endif - -# OPENJPEG -%if 0%{?mgaversion} || 0%{?mdkversion} -#BuildRequires: %{_lib}openjpeg-devel -%endif - -# LIBXI support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}xi-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} -BuildRequires: libXi-devel -%endif -%if 0%{?suse_version} == 1140 -BuildRequires: libXi6-devel -%endif -%if 0%{?suse_version} >= 1220 -BuildRequires: libXi-devel -%endif - -# 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} -%{tde_datadir}/apps/kross/ -%{tde_tdelibdir}/krosspython.* -%if 0%{?with_ruby} -%{tde_tdelibdir}/krossruby.* -%endif -%endif - -########## - -%package libs -Summary: Runtime libraries for %{name} -Group: System Environment/Libraries -Conflicts: %{name} <= %{version}-%{release} -Requires: trinity-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 - -########## - -%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 - -########## - -%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 - -########## - -%package kivio -Summary: A flowcharting application -Group: Applications/Productivity -Requires: %{name}-core = %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: kivio < %{version}-%{release} - -%description kivio -%{summary}. - -%files kivio -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kivio/ -%{tde_bindir}/kivio -%{tde_libdir}/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 - -########## - -%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 - -########## - -%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 - -########## - -%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 -%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.* -%{tde_confdir}/kexirc -%{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 -%{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 - -########## - -%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 -Requires: dejavu-lgc-sans-fonts -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 - -########## - -%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"])') -export CXXFLAGS="${CXXFLAGS} -I${RD}/%_normalized_cpu-linux" -%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/koffice.spec b/redhat/applications/koffice/koffice.spec new file mode 100644 index 000000000..49024b66a --- /dev/null +++ b/redhat/applications/koffice/koffice.spec @@ -0,0 +1,1155 @@ +# +# 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.0.7 +%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%{?rhel} >= 8 || 0%{?fedora} >= 31 +%define python python2 +%define __python %__python2 +%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} +%else +%define python python +%endif +BuildRequires: %{python} +BuildRequires: %{python}-devel + +# 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 +%define with_postgresql 1 +BuildRequires: postgresql-devel +BuildRequires: libpqxx-devel +%endif +%endif +Obsoletes: trinity-libpqxx + +# WPD support +# For chalk and filters +BuildRequires: libwpd-devel +Obsoletes: trinity-libwpd + +# WV2 support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}wv2-devel +%endif +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +BuildRequires: wv2-devel +%endif + +# MESA support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}mesagl1-devel +BuildRequires: %{_lib}mesaglu1-devel +%endif +%if 0%{?fedora} || 0%{?rhel} +BuildRequires: libGL-devel +BuildRequires: libGLU-devel +%endif +%if 0%{?suse_version} >= 1220 +BuildRequires: Mesa-libGL-devel +BuildRequires: Mesa-libGLU-devel +%endif + +# OPENJPEG +%if 0%{?mgaversion} || 0%{?mdkversion} +#BuildRequires: %{_lib}openjpeg-devel +%endif + +# LIBXI support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}xi-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} +BuildRequires: libXi-devel +%endif +%if 0%{?suse_version} == 1140 +BuildRequires: libXi6-devel +%endif +%if 0%{?suse_version} >= 1220 +BuildRequires: libXi-devel +%endif + +# 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} +%{tde_datadir}/apps/kross/ +%{tde_tdelibdir}/krosspython.* +%if 0%{?with_ruby} +%{tde_tdelibdir}/krossruby.* +%endif +%endif + +########## + +%package libs +Summary: Runtime libraries for %{name} +Group: System Environment/Libraries +Conflicts: %{name} <= %{version}-%{release} +Requires: trinity-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 + +########## + +%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 + +########## + +%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 + +########## + +%package kivio +Summary: A flowcharting application +Group: Applications/Productivity +Requires: %{name}-core = %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: kivio < %{version}-%{release} + +%description kivio +%{summary}. + +%files kivio +%defattr(-,root,root,-) +%lang(en) %{tde_tdedocdir}/HTML/en/kivio/ +%{tde_bindir}/kivio +%{tde_libdir}/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 + +########## + +%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 + +########## + +%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 + +########## + +%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 +%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.* +%{tde_confdir}/kexirc +%{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 +%{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 + +########## + +%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 +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 + +########## + +%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"])') +export CXXFLAGS="${CXXFLAGS} -I${RD}/%_normalized_cpu-linux" +%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/konversation/konversation.spec b/redhat/applications/konversation/konversation.spec index 1c2629084..58421bc9e 100644 --- a/redhat/applications/konversation/konversation.spec +++ b/redhat/applications/konversation/konversation.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg konversation %define tde_prefix /opt/trinity @@ -109,7 +109,7 @@ BuildRequires: libXi6-devel # RHEL 5: available in centos-extras # RHEL 6: available in EPEL # RHEL 7: available in NUX -%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version} +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} == 5 || 0%{?rhel} == 6 || 0%{?rhel} == 7 || 0%{?suse_version} %define with_xscreensaver 1 %if 0%{?fedora} || 0%{?rhel} >= 5 @@ -176,7 +176,7 @@ and experienced users alike will appreciate its many features: %prep %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} -%if 0%{?fedora} >= 30 +%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8 %__sed -i "konversation/scripts/media" \ "konversation/scripts/weather" \ -e "s|/usr/bin/env python|/usr/bin/env python2|" diff --git a/redhat/applications/kooldock/kooldock.spec b/redhat/applications/kooldock/kooldock.spec index 3b0618ac0..41d368a91 100644 --- a/redhat/applications/kooldock/kooldock.spec +++ b/redhat/applications/kooldock/kooldock.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.1 +%define tde_version 14.0.7 %endif %define tde_pkg kooldock %define tde_prefix /opt/trinity diff --git a/redhat/applications/kopete-otr/kopete-otr-14.0.0.spec b/redhat/applications/kopete-otr/kopete-otr-14.0.0.spec deleted file mode 100644 index 602ab32c3..000000000 --- a/redhat/applications/kopete-otr/kopete-otr-14.0.0.spec +++ /dev/null @@ -1,169 +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.0.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: 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 - -# 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}} - -%__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} \ - --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} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# Unwanted files -%__rm -f %{?buildroot}%{tde_libdir}/libkotr.so - -%find_lang kopete_otr - - -%clean -%__rm -rf %{buildroot} - - -%files -f kopete_otr.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING README TODO -%{tde_libdir}/libkotr.la -%{tde_libdir}/libkotr.so.0 -%{tde_libdir}/libkotr.so.0.0.0 -%{tde_tdelibdir}/kcm_kopete_otr.la -%{tde_tdelibdir}/kcm_kopete_otr.so -%{tde_tdelibdir}/kopete_otr.la -%{tde_tdelibdir}/kopete_otr.so -%{tde_datadir}/apps/kopete_otr -%{tde_datadir}/config.kcfg/kopete_otr.kcfg -%{tde_tdedocdir}/HTML/en/kopete_otr/ -%{tde_datadir}/icons/crystalsvg/16x16/apps/kopete_otr.png -%{tde_datadir}/services/tdeconfiguredialog/kopete_otr_config.desktop -%{tde_datadir}/services/kopete_otr.desktop - - -%changelog diff --git a/redhat/applications/kopete-otr/kopete-otr.spec b/redhat/applications/kopete-otr/kopete-otr.spec new file mode 100644 index 000000000..59f674a84 --- /dev/null +++ b/redhat/applications/kopete-otr/kopete-otr.spec @@ -0,0 +1,169 @@ +# +# 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.0.7 +%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: 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 + +# 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}} + +%__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} \ + --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} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# Unwanted files +%__rm -f %{?buildroot}%{tde_libdir}/libkotr.so + +%find_lang kopete_otr + + +%clean +%__rm -rf %{buildroot} + + +%files -f kopete_otr.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING README TODO +%{tde_libdir}/libkotr.la +%{tde_libdir}/libkotr.so.0 +%{tde_libdir}/libkotr.so.0.0.0 +%{tde_tdelibdir}/kcm_kopete_otr.la +%{tde_tdelibdir}/kcm_kopete_otr.so +%{tde_tdelibdir}/kopete_otr.la +%{tde_tdelibdir}/kopete_otr.so +%{tde_datadir}/apps/kopete_otr +%{tde_datadir}/config.kcfg/kopete_otr.kcfg +%{tde_tdedocdir}/HTML/en/kopete_otr/ +%{tde_datadir}/icons/crystalsvg/16x16/apps/kopete_otr.png +%{tde_datadir}/services/tdeconfiguredialog/kopete_otr_config.desktop +%{tde_datadir}/services/kopete_otr.desktop + + +%changelog diff --git a/redhat/applications/kpicosim/kpicosim.spec b/redhat/applications/kpicosim/kpicosim.spec index a1623f95b..3f05e92af 100644 --- a/redhat/applications/kpicosim/kpicosim.spec +++ b/redhat/applications/kpicosim/kpicosim.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg kpicosim %define tde_prefix /opt/trinity diff --git a/redhat/applications/kpilot/kpilot.spec b/redhat/applications/kpilot/kpilot.spec index 179e464d2..366c13087 100644 --- a/redhat/applications/kpilot/kpilot.spec +++ b/redhat/applications/kpilot/kpilot.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg kpilot %define tde_prefix /opt/trinity diff --git a/redhat/applications/kplayer/kplayer.spec b/redhat/applications/kplayer/kplayer.spec index 45a4ae38f..66cd2977b 100644 --- a/redhat/applications/kplayer/kplayer.spec +++ b/redhat/applications/kplayer/kplayer.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg kplayer %define tde_prefix /opt/trinity diff --git a/redhat/applications/kpowersave/kpowersave-14.0.0.spec b/redhat/applications/kpowersave/kpowersave-14.0.0.spec deleted file mode 100644 index 2bb9fe60a..000000000 --- a/redhat/applications/kpowersave/kpowersave-14.0.0.spec +++ /dev/null @@ -1,208 +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.0.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: cmake 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 -%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} -DNDEBUG" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -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 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/kpowersave/kpowersave.spec b/redhat/applications/kpowersave/kpowersave.spec new file mode 100644 index 000000000..d4913e9b6 --- /dev/null +++ b/redhat/applications/kpowersave/kpowersave.spec @@ -0,0 +1,208 @@ +# +# 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.0.7 +%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: cmake 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 +%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} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -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 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-14.0.0.spec b/redhat/applications/krecipes/krecipes-14.0.0.spec deleted file mode 100644 index b04652b96..000000000 --- a/redhat/applications/krecipes/krecipes-14.0.0.spec +++ /dev/null @@ -1,180 +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.0.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 -BuildRequires: postgresql-devel - -# 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} \ - \ - --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/ - - -%changelog diff --git a/redhat/applications/krecipes/krecipes.spec b/redhat/applications/krecipes/krecipes.spec new file mode 100644 index 000000000..6fdfdeeff --- /dev/null +++ b/redhat/applications/krecipes/krecipes.spec @@ -0,0 +1,180 @@ +# +# 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.0.7 +%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 +BuildRequires: postgresql-devel + +# 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} \ + \ + --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/ + + +%changelog diff --git a/redhat/applications/krename/krename.spec b/redhat/applications/krename/krename.spec index c0f464690..a0c03ddb3 100644 --- a/redhat/applications/krename/krename.spec +++ b/redhat/applications/krename/krename.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg krename %define tde_prefix /opt/trinity diff --git a/redhat/applications/krusader/krusader-14.0.0.spec b/redhat/applications/krusader/krusader-14.0.0.spec deleted file mode 100644 index 260c97e4a..000000000 --- a/redhat/applications/krusader/krusader-14.0.0.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.0.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/krusader/krusader.spec b/redhat/applications/krusader/krusader.spec new file mode 100644 index 000000000..83d76c8ea --- /dev/null +++ b/redhat/applications/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.0.7 +%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/kscope/kscope-14.0.0.spec b/redhat/applications/kscope/kscope-14.0.0.spec deleted file mode 100644 index c684c1e6e..000000000 --- a/redhat/applications/kscope/kscope-14.0.0.spec +++ /dev/null @@ -1,186 +0,0 @@ -# -# spec file for package kscope (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.0.0 -%endif -%define tde_pkg kscope -%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.2 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Source editing environment for TDE -Group: Applications/Internet -URL: http://kscope.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 -Requires: cscope - -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: flex -BuildRequires: bison - - -%description -KScope is a TDE front-end to Cscope. It provides a source-editing environment -for large C projects. KScope is focused on source editing and analysis. - -KScope is built around an efficient mechanism for code-navigation, which -allows the user to run queries on the code. - -The types of queries KScope can run include: -* Get all references to a symbol -* Find the definition of a symbol -* Find all functions called by or calling to a function -* Find an EGrep pattern -* Find all files #including some file - -These queries are handled by an underlying Cscope process. KScope simply -serves as a front-end to this process, feeding it with queries, and parsing -its output into result lists. The items in those lists can later be selected -to open an editor at the matching line. - -Main Features: -* Multiple editor windows (using your favourite TDE editor) -* Project management -* Front-end to most Cscope queries -* Tag list for every open editor -* Call-tree window -* Session management, including saving and restoring queries -* Works with externally-built cscope.out files - - -########## - -%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} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --datadir=%{tde_datadir} \ - --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 -%__rm -rf $RPM_BUILD_ROOT -%__make install DESTDIR=$RPM_BUILD_ROOT - -%find_lang %{tde_pkg} - -# Move desktop icon to correct 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 %{tde_pkg} Development IDE -%endif - - -%clean -%__rm -rf $RPM_BUILD_ROOT - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING README ChangeLog -%{tde_bindir}/kscope -%{tde_tdeappdir}/kscope.desktop -%{tde_datadir}/apps/kscope/ -%{tde_tdedocdir}/HTML/en/kscope/ -%{tde_datadir}/icons/hicolor/*/apps/kscope.png -%{tde_datadir}/icons/locolor/*/apps/kscope.png - - -%changelog diff --git a/redhat/applications/kscope/kscope.spec b/redhat/applications/kscope/kscope.spec new file mode 100644 index 000000000..df5fc6fe2 --- /dev/null +++ b/redhat/applications/kscope/kscope.spec @@ -0,0 +1,186 @@ +# +# spec file for package kscope (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.0.7 +%endif +%define tde_pkg kscope +%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.2 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Source editing environment for TDE +Group: Applications/Internet +URL: http://kscope.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 +Requires: cscope + +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: flex +BuildRequires: bison + + +%description +KScope is a TDE front-end to Cscope. It provides a source-editing environment +for large C projects. KScope is focused on source editing and analysis. + +KScope is built around an efficient mechanism for code-navigation, which +allows the user to run queries on the code. + +The types of queries KScope can run include: +* Get all references to a symbol +* Find the definition of a symbol +* Find all functions called by or calling to a function +* Find an EGrep pattern +* Find all files #including some file + +These queries are handled by an underlying Cscope process. KScope simply +serves as a front-end to this process, feeding it with queries, and parsing +its output into result lists. The items in those lists can later be selected +to open an editor at the matching line. + +Main Features: +* Multiple editor windows (using your favourite TDE editor) +* Project management +* Front-end to most Cscope queries +* Tag list for every open editor +* Call-tree window +* Session management, including saving and restoring queries +* Works with externally-built cscope.out files + + +########## + +%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} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --datadir=%{tde_datadir} \ + --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 +%__rm -rf $RPM_BUILD_ROOT +%__make install DESTDIR=$RPM_BUILD_ROOT + +%find_lang %{tde_pkg} + +# Move desktop icon to correct 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 %{tde_pkg} Development IDE +%endif + + +%clean +%__rm -rf $RPM_BUILD_ROOT + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING README ChangeLog +%{tde_bindir}/kscope +%{tde_tdeappdir}/kscope.desktop +%{tde_datadir}/apps/kscope/ +%{tde_tdedocdir}/HTML/en/kscope/ +%{tde_datadir}/icons/hicolor/*/apps/kscope.png +%{tde_datadir}/icons/locolor/*/apps/kscope.png + + +%changelog diff --git a/redhat/applications/ksensors/ksensors.spec b/redhat/applications/ksensors/ksensors.spec index ba1b1f917..fdfc3faea 100644 --- a/redhat/applications/ksensors/ksensors.spec +++ b/redhat/applications/ksensors/ksensors.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg ksensors %define tde_prefix /opt/trinity diff --git a/redhat/applications/kshowmail/kshowmail-14.0.0.spec b/redhat/applications/kshowmail/kshowmail-14.0.0.spec deleted file mode 100644 index 6fecd9bad..000000000 --- a/redhat/applications/kshowmail/kshowmail-14.0.0.spec +++ /dev/null @@ -1,187 +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.0.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: 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 -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}} - -%__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} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-final \ - --enable-new-ldflags \ - --enable-closure \ - --enable-rpath \ - --disable-gcc-hidden-visibility - -%__make %{?_smp_mflags} - - -%install -%__rm -rf $RPM_BUILD_ROOT -%__make install DESTDIR=$RPM_BUILD_ROOT - -%find_lang %{tde_pkg} - -# Move desktop icon to correct location -%__mkdir_p "%{?buildroot}%{tde_tdeappdir}" -%__mv -f "%{?buildroot}%{tde_datadir}/applnk/"*"/%{tde_pkg}.desktop" "%{?buildroot}%{tde_tdeappdir}" - -# 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 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(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/ - - -%changelog diff --git a/redhat/applications/kshowmail/kshowmail.spec b/redhat/applications/kshowmail/kshowmail.spec new file mode 100644 index 000000000..637ebf411 --- /dev/null +++ b/redhat/applications/kshowmail/kshowmail.spec @@ -0,0 +1,196 @@ +# +# 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.0.7 +%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: cmake >= 2.8 +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 +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} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -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} + +# Move desktop icon to correct location +%__mkdir_p "%{?buildroot}%{tde_tdeappdir}" +%__mv -f "%{?buildroot}%{tde_datadir}/applnk/"*"/%{tde_pkg}.desktop" "%{?buildroot}%{tde_tdeappdir}" + +# 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 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(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 index 3e8fe4ee1..3c10b2da0 100644 --- a/redhat/applications/kshutdown/kshutdown.spec +++ b/redhat/applications/kshutdown/kshutdown.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg kshutdown %define tde_prefix /opt/trinity diff --git a/redhat/applications/ksplash-engine-moodin/ksplash-engine-moodin.spec b/redhat/applications/ksplash-engine-moodin/ksplash-engine-moodin.spec index d22e32925..ad8371702 100644 --- a/redhat/applications/ksplash-engine-moodin/ksplash-engine-moodin.spec +++ b/redhat/applications/ksplash-engine-moodin/ksplash-engine-moodin.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg ksplash-engine-moodin %define tde_prefix /opt/trinity diff --git a/redhat/applications/ksquirrel/ksquirrel-14.0.0.spec b/redhat/applications/ksquirrel/ksquirrel-14.0.0.spec deleted file mode 100644 index 0a12ea867..000000000 --- a/redhat/applications/ksquirrel/ksquirrel-14.0.0.spec +++ /dev/null @@ -1,195 +0,0 @@ -# -# spec file for package ksquirrel (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.0.0 -%endif -%define tde_pkg ksquirrel -%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.8.0 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Powerful Trinity image viewer -Group: Amusements/Games -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-libkipi-devel -BuildRequires: trinity-libksquirrel-devel - -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 - -# 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 -KSquirrel is an image viewer for TDE with disk navigator, file tree, -multiple directory view, thumbnails, extended thumbnails, dynamic -format support, DCOP interface, KEXIF and KIPI plugins support. - -KSquirrel is a fast and convenient image viewer for TDE featuring -OpenGL and dynamic format support. - - -########## - -%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}" - -# Specific path for RHEL4 -if [ -d /usr/X11R6 ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -# 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 \ - --disable-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} - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING LICENSE LICENSE.GFDL LICENSE.LGPL README TODO -%{tde_bindir}/ksquirrel -%{tde_bindir}/ksquirrel-libs-configurator -%{tde_bindir}/ksquirrel-libs-configurator-real -%{tde_tdelibdir}/libksquirrelpart.la -%{tde_tdelibdir}/libksquirrelpart.so -%{tde_tdeappdir}/ksquirrel.desktop -%dir %{tde_datadir}/apps/dolphin -%dir %{tde_datadir}/apps/dolphin/servicemenus -%{tde_datadir}/apps/dolphin/servicemenus/dolphksquirrel-dir.desktop -%{tde_datadir}/apps/konqueror/servicemenus/konqksquirrel-dir.desktop -%{tde_datadir}/apps/ksquirrel/ -%{tde_datadir}/apps/ksquirrelpart/ -%{tde_confdir}/magic/x-ras.magic -%{tde_confdir}/magic/x-sun.magic -%{tde_confdir}/magic/x-utah.magic -%{tde_tdedocdir}/HTML/*/ksquirrel -%{tde_datadir}/icons/hicolor/*/apps/ksquirrel.png -%{tde_datadir}/mimelnk/image/*.desktop -%{tde_datadir}/services/ksquirrelpart.desktop -%{tde_mandir}/man1/ksquirrel.1 -%{tde_confdir}/magic/x-ras.magic.mgc -%{tde_confdir}/magic/x-sun.magic.mgc -%{tde_confdir}/magic/x-utah.magic.mgc - - -%changelog diff --git a/redhat/applications/ksquirrel/ksquirrel.spec b/redhat/applications/ksquirrel/ksquirrel.spec new file mode 100644 index 000000000..73661a2fa --- /dev/null +++ b/redhat/applications/ksquirrel/ksquirrel.spec @@ -0,0 +1,195 @@ +# +# spec file for package ksquirrel (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.0.7 +%endif +%define tde_pkg ksquirrel +%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.8.0 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Powerful Trinity image viewer +Group: Amusements/Games +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-libkipi-devel +BuildRequires: trinity-libksquirrel-devel + +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 + +# 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 +KSquirrel is an image viewer for TDE with disk navigator, file tree, +multiple directory view, thumbnails, extended thumbnails, dynamic +format support, DCOP interface, KEXIF and KIPI plugins support. + +KSquirrel is a fast and convenient image viewer for TDE featuring +OpenGL and dynamic format support. + + +########## + +%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}" + +# Specific path for RHEL4 +if [ -d /usr/X11R6 ]; then + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi + +# 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 \ + --disable-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} + +%clean +%__rm -rf %{buildroot} + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING LICENSE LICENSE.GFDL LICENSE.LGPL README TODO +%{tde_bindir}/ksquirrel +%{tde_bindir}/ksquirrel-libs-configurator +%{tde_bindir}/ksquirrel-libs-configurator-real +%{tde_tdelibdir}/libksquirrelpart.la +%{tde_tdelibdir}/libksquirrelpart.so +%{tde_tdeappdir}/ksquirrel.desktop +%dir %{tde_datadir}/apps/dolphin +%dir %{tde_datadir}/apps/dolphin/servicemenus +%{tde_datadir}/apps/dolphin/servicemenus/dolphksquirrel-dir.desktop +%{tde_datadir}/apps/konqueror/servicemenus/konqksquirrel-dir.desktop +%{tde_datadir}/apps/ksquirrel/ +%{tde_datadir}/apps/ksquirrelpart/ +%{tde_confdir}/magic/x-ras.magic +%{tde_confdir}/magic/x-sun.magic +%{tde_confdir}/magic/x-utah.magic +%{tde_tdedocdir}/HTML/*/ksquirrel +%{tde_datadir}/icons/hicolor/*/apps/ksquirrel.png +%{tde_datadir}/mimelnk/image/*.desktop +%{tde_datadir}/services/ksquirrelpart.desktop +%{tde_mandir}/man1/ksquirrel.1 +%{tde_confdir}/magic/x-ras.magic.mgc +%{tde_confdir}/magic/x-sun.magic.mgc +%{tde_confdir}/magic/x-utah.magic.mgc + + +%changelog diff --git a/redhat/applications/kstreamripper/kstreamripper-14.0.0.spec b/redhat/applications/kstreamripper/kstreamripper-14.0.0.spec index 4ab420ac3..9aefb467a 100644 --- a/redhat/applications/kstreamripper/kstreamripper-14.0.0.spec +++ b/redhat/applications/kstreamripper/kstreamripper-14.0.0.spec @@ -22,7 +22,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg kstreamripper %define tde_prefix /opt/trinity diff --git a/redhat/applications/kstreamripper/kstreamripper.spec b/redhat/applications/kstreamripper/kstreamripper.spec new file mode 100644 index 000000000..e4a98a26e --- /dev/null +++ b/redhat/applications/kstreamripper/kstreamripper.spec @@ -0,0 +1,151 @@ +# +# 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/ +# + +%if 0%{?fedora} >= 28 || 0%{?mgaversion} >= 7 || 0%{?rhel} >= 8 +%global debug_package %{nil} +%endif + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.0.7 +%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 +Source1: scons-local-2.5.1.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: scons + +# PYTHON support +%if 0%{?rhel} >= 8 || 0%{?fedora} >= 30 +%define python python2 +%define __python %__python2 +%else +%define python python +%endif +BuildRequires: %{python} + + +%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}} -a 1 +%__rm -f kde.py + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" + +export QTDIR=/usr +%__python ./scons.py configure prefix="%{_prefix}" +%__python ./scons.py %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +DESTDIR="%{?buildroot}" %__python ./scons.py install + +# 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 + + +%clean +%__rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%{tde_bindir}/kstreamripper +%{tde_tdeappdir}/kstreamripper.desktop +%{tde_datadir}/apps/kstreamripper/ +%{tde_tdedocdir}/HTML/en/kstreamripper/ + + +%changelog diff --git a/redhat/applications/kstreamripper/scons-local-2.5.1.tar.gz b/redhat/applications/kstreamripper/scons-local-2.5.1.tar.gz new file mode 100644 index 000000000..ef63468b1 Binary files /dev/null and b/redhat/applications/kstreamripper/scons-local-2.5.1.tar.gz differ diff --git a/redhat/applications/ksystemlog/ksystemlog-14.0.0.spec b/redhat/applications/ksystemlog/ksystemlog-14.0.0.spec deleted file mode 100644 index 874974b0b..000000000 --- a/redhat/applications/ksystemlog/ksystemlog-14.0.0.spec +++ /dev/null @@ -1,157 +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.0.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: 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 -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}} - -%__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} \ - --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} - -# Move desktop file to XDG folder -%__mkdir_p "%{?buildroot}%{tde_tdeappdir}" -%__mv -f "%{?buildroot}%{tde_datadir}/applnk/"*"/%{tde_pkg}.desktop" "%{?buildroot}%{tde_tdeappdir}" - -# Missing category will make this fail. -echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/%{tde_pkg}.desktop" - - -%clean -%__rm -rf %{buildroot} - - -%files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING README -%{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/ - -%changelog diff --git a/redhat/applications/ksystemlog/ksystemlog.spec b/redhat/applications/ksystemlog/ksystemlog.spec new file mode 100644 index 000000000..c2f3f580d --- /dev/null +++ b/redhat/applications/ksystemlog/ksystemlog.spec @@ -0,0 +1,157 @@ +# +# 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.0.7 +%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: 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 +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}} + +%__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} \ + --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} + +# Move desktop file to XDG folder +%__mkdir_p "%{?buildroot}%{tde_tdeappdir}" +%__mv -f "%{?buildroot}%{tde_datadir}/applnk/"*"/%{tde_pkg}.desktop" "%{?buildroot}%{tde_tdeappdir}" + +# Missing category will make this fail. +echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/%{tde_pkg}.desktop" + + +%clean +%__rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING README +%{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/ + +%changelog diff --git a/redhat/applications/ktechlab/ktechlab-14.0.0.spec b/redhat/applications/ktechlab/ktechlab-14.0.0.spec deleted file mode 100644 index 9fec6ce5a..000000000 --- a/redhat/applications/ktechlab/ktechlab-14.0.0.spec +++ /dev/null @@ -1,167 +0,0 @@ -# -# spec file for package ktechlab (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.0.0 -%endif -%define tde_pkg ktechlab -%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: Circuit simulator for microcontrollers and electronics [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 -KTechlab is a circuit simulator with a nice, clickable and discoverable -interface. It supports many discrete components, logic circuits as well -as PIC programming in its own Basic dialect and some form of assembler. - -Homepage: http://ktechlab.org/ - - -########## - -%if 0%{?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}" - -# 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 \ - --disable-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} - -%__mkdir_p "%{?buildroot}%{tde_tdeappdir}" -%__mv -f "%{?buildroot}%{tde_datadir}/applnk/Development/ktechlab.desktop" "%{?buildroot}%{tde_tdeappdir}" -%__rm -rf "%{?buildroot}%{tde_datadir}/applnk" - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file -r -n ktechlab Science Math -%endif - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%{tde_bindir}/ktechlab -%{tde_bindir}/microbe -%{tde_tdeappdir}/ktechlab.desktop -%{tde_datadir}/apps/katepart/syntax/microbe.xml -%{tde_datadir}/apps/ktechlab -%{tde_datadir}/config.kcfg/ktechlab.kcfg -%{tde_tdedocdir}/HTML/en/ktechlab/ -%{tde_datadir}/icons/hicolor/*/*/*.png -%{tde_datadir}/mimelnk/application/x-circuit.desktop -%{tde_datadir}/mimelnk/application/x-flowcode.desktop -%{tde_datadir}/mimelnk/application/x-ktechlab.desktop -%{tde_datadir}/mimelnk/application/x-microbe.desktop - - -%changelog diff --git a/redhat/applications/ktechlab/ktechlab.spec b/redhat/applications/ktechlab/ktechlab.spec new file mode 100644 index 000000000..6b28f1294 --- /dev/null +++ b/redhat/applications/ktechlab/ktechlab.spec @@ -0,0 +1,167 @@ +# +# spec file for package ktechlab (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.0.7 +%endif +%define tde_pkg ktechlab +%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: Circuit simulator for microcontrollers and electronics [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 +KTechlab is a circuit simulator with a nice, clickable and discoverable +interface. It supports many discrete components, logic circuits as well +as PIC programming in its own Basic dialect and some form of assembler. + +Homepage: http://ktechlab.org/ + + +########## + +%if 0%{?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}" + +# 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 \ + --disable-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} + +%__mkdir_p "%{?buildroot}%{tde_tdeappdir}" +%__mv -f "%{?buildroot}%{tde_datadir}/applnk/Development/ktechlab.desktop" "%{?buildroot}%{tde_tdeappdir}" +%__rm -rf "%{?buildroot}%{tde_datadir}/applnk" + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file -r -n ktechlab Science Math +%endif + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%{tde_bindir}/ktechlab +%{tde_bindir}/microbe +%{tde_tdeappdir}/ktechlab.desktop +%{tde_datadir}/apps/katepart/syntax/microbe.xml +%{tde_datadir}/apps/ktechlab +%{tde_datadir}/config.kcfg/ktechlab.kcfg +%{tde_tdedocdir}/HTML/en/ktechlab/ +%{tde_datadir}/icons/hicolor/*/*/*.png +%{tde_datadir}/mimelnk/application/x-circuit.desktop +%{tde_datadir}/mimelnk/application/x-flowcode.desktop +%{tde_datadir}/mimelnk/application/x-ktechlab.desktop +%{tde_datadir}/mimelnk/application/x-microbe.desktop + + +%changelog diff --git a/redhat/applications/ktorrent/ktorrent-14.0.0.spec b/redhat/applications/ktorrent/ktorrent-14.0.0.spec deleted file mode 100644 index 2ecf72dac..000000000 --- a/redhat/applications/ktorrent/ktorrent-14.0.0.spec +++ /dev/null @@ -1,211 +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.0.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 - - -%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 - - -%changelog diff --git a/redhat/applications/ktorrent/ktorrent.spec b/redhat/applications/ktorrent/ktorrent.spec new file mode 100644 index 000000000..14f1f9c83 --- /dev/null +++ b/redhat/applications/ktorrent/ktorrent.spec @@ -0,0 +1,211 @@ +# +# 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.0.7 +%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 + + +%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 + + +%changelog diff --git a/redhat/applications/kuickshow/kuickshow.spec b/redhat/applications/kuickshow/kuickshow.spec new file mode 100644 index 000000000..56a8be81b --- /dev/null +++ b/redhat/applications/kuickshow/kuickshow.spec @@ -0,0 +1,168 @@ +# +# spec file for package kuickshow (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.0.7 +%endif +%define tde_pkg kuickshow +%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.13 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Quick picture viewer 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: 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 + +# IMLIB1 support +%if 0%{?rhel} || 0%{?fedora} || 0%{?mdkversion} || 0%{?suse_version} +BuildRequires: imlib-devel +%endif +%if 0%{?mgaversion} +BuildRequires: imlib1-devel +%endif + +# GIF support +%if 0%{?suse_version} || 0%{?fedora} >= 28 +BuildRequires: giflib-devel +%else +BuildRequires: libungif-devel +%endif + + +%description +Kuickshow is a picture viewer for TDE. It displays the directory structure, +displaying images as thumbnails. +Clicking on an image shows the image in its normal size. + + +########## + +%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 + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{?buildroot} + +# Missing category will make this fail. +echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/%{tde_pkg}.desktop" + + +%clean +%__rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/kuickshow +%{tde_datadir}/applications/*/*.desktop +%{tde_datadir}/apps/kuickshow/ +%{tde_datadir}/icons/hicolor/*/*/* +%{tde_libdir}/libtdeinit_%{tde_pkg}.so +%{tde_libdir}/*.la +%{tde_tdelibdir}/*.so +%{tde_tdelibdir}/*.la +%{tde_tdedocdir}/HTML/en/kuickshow/ + + +%changelog diff --git a/redhat/applications/kvirc/kvirc-14.0.0.spec b/redhat/applications/kvirc/kvirc-14.0.0.spec deleted file mode 100644 index 46d6a6d21..000000000 --- a/redhat/applications/kvirc/kvirc-14.0.0.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.0.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/kvirc/kvirc.spec b/redhat/applications/kvirc/kvirc.spec new file mode 100644 index 000000000..bdfc113fa --- /dev/null +++ b/redhat/applications/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.0.7 +%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 index a39ca1f22..89753f0a9 100644 --- a/redhat/applications/kvkbd/kvkbd.spec +++ b/redhat/applications/kvkbd/kvkbd.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg kvkbd %define tde_prefix /opt/trinity diff --git a/redhat/applications/kvpnc/kvpnc-14.0.0-fix_install.patch b/redhat/applications/kvpnc/kvpnc-14.0.0-fix_install.patch deleted file mode 100644 index 1d5b6b300..000000000 --- a/redhat/applications/kvpnc/kvpnc-14.0.0-fix_install.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- trinity-kvpnc-14.0.0~pre118+1ae72fe0/src/Makefile.am.ORI 2013-07-20 12:35:51.155931996 +0200 -+++ trinity-kvpnc-14.0.0~pre118+1ae72fe0/src/Makefile.am 2013-07-20 12:37:49.601226585 +0200 -@@ -57,13 +57,13 @@ - - - install-data-local: -- $(mkinstalldirs) $(kde_appsdir)/ -- $(INSTALL_DATA) $(srcdir)/kvpnc.desktop $(kde_appsdir)/kvpnc.desktop -+ $(mkinstalldirs) $(xdg_appsdir)/ -+ $(INSTALL_DATA) $(srcdir)/kvpnc.desktop $(xdg_appsdir)/kvpnc.desktop - $(mkinstalldirs) $(kde_datadir)/kvpnc/ - $(INSTALL_DATA) $(srcdir)/kvpncui.rc $(kde_datadir)/kvpnc/kvpncui.rc - $(mkinstalldirs) $(kde_datadir)/kvpnc/ - $(INSTALL_DATA) $(srcdir)/eventsrc $(kde_datadir)/kvpnc/eventsrc -- $(INSTALL_DATA) $(srcdir)/ping_check.sh $(kde_datadir)/kvpnc/ping_check.sh -+ $(INSTALL_SCRIPT) $(srcdir)/ping_check.sh $(kde_datadir)/kvpnc/ping_check.sh - $(INSTALL_DATA) $(srcdir)/newprofilewizard.png $(kde_datadir)/kvpnc/newprofilewizard.png - $(INSTALL_DATA) $(srcdir)/newprofilewizard_final.png $(kde_datadir)/kvpnc/newprofilewizard_final.png - # $(INSTALL_DATA) $(srcdir)/x-cisco.desktop $(kde_mimedir)/application/x-cisco.desktop diff --git a/redhat/applications/kvpnc/kvpnc-14.0.0.patch b/redhat/applications/kvpnc/kvpnc-14.0.0.patch deleted file mode 100644 index 1d5b6b300..000000000 --- a/redhat/applications/kvpnc/kvpnc-14.0.0.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- trinity-kvpnc-14.0.0~pre118+1ae72fe0/src/Makefile.am.ORI 2013-07-20 12:35:51.155931996 +0200 -+++ trinity-kvpnc-14.0.0~pre118+1ae72fe0/src/Makefile.am 2013-07-20 12:37:49.601226585 +0200 -@@ -57,13 +57,13 @@ - - - install-data-local: -- $(mkinstalldirs) $(kde_appsdir)/ -- $(INSTALL_DATA) $(srcdir)/kvpnc.desktop $(kde_appsdir)/kvpnc.desktop -+ $(mkinstalldirs) $(xdg_appsdir)/ -+ $(INSTALL_DATA) $(srcdir)/kvpnc.desktop $(xdg_appsdir)/kvpnc.desktop - $(mkinstalldirs) $(kde_datadir)/kvpnc/ - $(INSTALL_DATA) $(srcdir)/kvpncui.rc $(kde_datadir)/kvpnc/kvpncui.rc - $(mkinstalldirs) $(kde_datadir)/kvpnc/ - $(INSTALL_DATA) $(srcdir)/eventsrc $(kde_datadir)/kvpnc/eventsrc -- $(INSTALL_DATA) $(srcdir)/ping_check.sh $(kde_datadir)/kvpnc/ping_check.sh -+ $(INSTALL_SCRIPT) $(srcdir)/ping_check.sh $(kde_datadir)/kvpnc/ping_check.sh - $(INSTALL_DATA) $(srcdir)/newprofilewizard.png $(kde_datadir)/kvpnc/newprofilewizard.png - $(INSTALL_DATA) $(srcdir)/newprofilewizard_final.png $(kde_datadir)/kvpnc/newprofilewizard_final.png - # $(INSTALL_DATA) $(srcdir)/x-cisco.desktop $(kde_mimedir)/application/x-cisco.desktop diff --git a/redhat/applications/kvpnc/kvpnc.spec b/redhat/applications/kvpnc/kvpnc.spec index d2d9fc81b..a1421fd20 100644 --- a/redhat/applications/kvpnc/kvpnc.spec +++ b/redhat/applications/kvpnc/kvpnc.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg kvpnc %define tde_prefix /opt/trinity @@ -56,8 +56,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz -Patch0: %{tde_pkg}-14.0.0.patch - BuildRequires: trinity-tdelibs-devel >= %{tde_version} BuildRequires: trinity-tdebase-devel >= %{tde_version} BuildRequires: desktop-file-utils @@ -111,7 +109,6 @@ It supports : %prep %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} -%patch0 -p1 -b .installdir %build diff --git a/redhat/applications/kxmleditor/kxmleditor.spec b/redhat/applications/kxmleditor/kxmleditor.spec index c09858848..c77d964ab 100644 --- a/redhat/applications/kxmleditor/kxmleditor.spec +++ b/redhat/applications/kxmleditor/kxmleditor.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg kxmleditor %define tde_prefix /opt/trinity diff --git a/redhat/applications/mplayerthumbs/mplayerthumbs.spec b/redhat/applications/mplayerthumbs/mplayerthumbs.spec index 625d7d810..6a932316b 100644 --- a/redhat/applications/mplayerthumbs/mplayerthumbs.spec +++ b/redhat/applications/mplayerthumbs/mplayerthumbs.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg mplayerthumbs %define tde_prefix /opt/trinity diff --git a/redhat/applications/piklab/piklab-14.0.0.spec b/redhat/applications/piklab/piklab-14.0.0.spec deleted file mode 100644 index 7bcffe525..000000000 --- a/redhat/applications/piklab/piklab-14.0.0.spec +++ /dev/null @@ -1,189 +0,0 @@ -# -# spec file for package piklab (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.0.0 -%endif -%define tde_pkg piklab -%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.15.2 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: IDE for PIC-microcontroller development [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 - -# READLINE support -BuildRequires: readline-devel - -# LIBUSB support -%if 0%{?mageia} || 0%{?mandriva} || 0%{?pclinuxos} -BuildRequires: %{_lib}usb1.0-devel -BuildRequires: %{_lib}usb-compat0.1-devel -%else -BuildRequires: libusb-devel -%endif - - -%description -Piklab is an integrated development environment for applications based on -Microchip PIC and dsPIC microcontrollers similar to the MPLAB environment. - -Support for several compiler and assembler toolchains is integrated. The -GPSim simulator, the ICD1 programmer, the ICD2 debugger, the PICkit1 and -PICkit2 programmers, the PicStart+ programmer, and most direct programmers -are supported. A command-line programmer and debugger are also available. - - -########## - -%if 0%{?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}" - -# Warning: --enable-final causes FTBFS -# Warning: RHEL5 FTBFS: https://bugzilla.redhat.com/show_bug.cgi?id=499837 -%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 \ - --disable-final \ - --enable-new-ldflags \ - --enable-closure \ - --enable-rpath \ - --disable-gcc-hidden-visibility \ -%if 0%{?rhel} == 5 - --disable-libreadline \ -%endif - -%if 0%{?mgaversion} >= 6 || 0%{?pclinuxos} >= 2018 -touch "src/devices/pic/xml_data/Makefile.in" "src/devices/mem24/xml_data/Makefile.in" -%endif - -%__make %{?_smp_mflags} - -%if 0%{?mgaversion} >= 6 || 0%{?pclinuxos} >= 2018 -touch "src/devices/pic/xml_data/Makefile.in" "src/devices/mem24/xml_data/Makefile.in" -%endif - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# Incorrect extension on manpage -%__mv -f %{buildroot}%{tde_mandir}/man1/piklab.1x %{buildroot}%{tde_mandir}/man1/piklab.1 - -%find_lang %{tde_pkg} - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%{tde_bindir}/piklab -%{tde_bindir}/piklab-coff -%{tde_bindir}/piklab-hex -%{tde_bindir}/piklab-prog -%{tde_tdeappdir}/piklab.desktop -%{tde_datadir}/apps/katepart/syntax/asm-pic.xml -%{tde_datadir}/apps/katepart/syntax/coff-c-pic.xml -%{tde_datadir}/apps/katepart/syntax/coff-pic.xml -%{tde_datadir}/apps/katepart/syntax/jal-pic.xml -%{tde_datadir}/apps/piklab -%{tde_tdedocdir}/HTML/en/piklab -%{tde_datadir}/icons/hicolor/*/*/*.png -%{tde_datadir}/mimelnk/application/x-piklab.desktop -%{tde_mandir}/man1/piklab-coff.1 -%{tde_mandir}/man1/piklab-hex.1 -%{tde_mandir}/man1/piklab-prog.1 -%{tde_mandir}/man1/piklab.1 - - -%changelog diff --git a/redhat/applications/piklab/piklab.spec b/redhat/applications/piklab/piklab.spec new file mode 100644 index 000000000..dec2928f2 --- /dev/null +++ b/redhat/applications/piklab/piklab.spec @@ -0,0 +1,189 @@ +# +# spec file for package piklab (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.0.7 +%endif +%define tde_pkg piklab +%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.15.2 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: IDE for PIC-microcontroller development [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 + +# READLINE support +BuildRequires: readline-devel + +# LIBUSB support +%if 0%{?mageia} || 0%{?mandriva} || 0%{?pclinuxos} +BuildRequires: %{_lib}usb1.0-devel +BuildRequires: %{_lib}usb-compat0.1-devel +%else +BuildRequires: libusb-devel +%endif + + +%description +Piklab is an integrated development environment for applications based on +Microchip PIC and dsPIC microcontrollers similar to the MPLAB environment. + +Support for several compiler and assembler toolchains is integrated. The +GPSim simulator, the ICD1 programmer, the ICD2 debugger, the PICkit1 and +PICkit2 programmers, the PicStart+ programmer, and most direct programmers +are supported. A command-line programmer and debugger are also available. + + +########## + +%if 0%{?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}" + +# Warning: --enable-final causes FTBFS +# Warning: RHEL5 FTBFS: https://bugzilla.redhat.com/show_bug.cgi?id=499837 +%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 \ + --disable-final \ + --enable-new-ldflags \ + --enable-closure \ + --enable-rpath \ + --disable-gcc-hidden-visibility \ +%if 0%{?rhel} == 5 + --disable-libreadline \ +%endif + +%if 0%{?mgaversion} >= 6 || 0%{?pclinuxos} >= 2018 +touch "src/devices/pic/xml_data/Makefile.in" "src/devices/mem24/xml_data/Makefile.in" +%endif + +%__make %{?_smp_mflags} + +%if 0%{?mgaversion} >= 6 || 0%{?pclinuxos} >= 2018 +touch "src/devices/pic/xml_data/Makefile.in" "src/devices/mem24/xml_data/Makefile.in" +%endif + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# Incorrect extension on manpage +%__mv -f %{buildroot}%{tde_mandir}/man1/piklab.1x %{buildroot}%{tde_mandir}/man1/piklab.1 + +%find_lang %{tde_pkg} + +%clean +%__rm -rf %{buildroot} + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%{tde_bindir}/piklab +%{tde_bindir}/piklab-coff +%{tde_bindir}/piklab-hex +%{tde_bindir}/piklab-prog +%{tde_tdeappdir}/piklab.desktop +%{tde_datadir}/apps/katepart/syntax/asm-pic.xml +%{tde_datadir}/apps/katepart/syntax/coff-c-pic.xml +%{tde_datadir}/apps/katepart/syntax/coff-pic.xml +%{tde_datadir}/apps/katepart/syntax/jal-pic.xml +%{tde_datadir}/apps/piklab +%{tde_tdedocdir}/HTML/en/piklab +%{tde_datadir}/icons/hicolor/*/*/*.png +%{tde_datadir}/mimelnk/application/x-piklab.desktop +%{tde_mandir}/man1/piklab-coff.1 +%{tde_mandir}/man1/piklab-hex.1 +%{tde_mandir}/man1/piklab-prog.1 +%{tde_mandir}/man1/piklab.1 + + +%changelog diff --git a/redhat/applications/potracegui/potracegui.spec b/redhat/applications/potracegui/potracegui.spec index 8b54c5611..083f43f67 100644 --- a/redhat/applications/potracegui/potracegui.spec +++ b/redhat/applications/potracegui/potracegui.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg potracegui %define tde_prefix /opt/trinity diff --git a/redhat/applications/qalculate-tde/qalculate-tde.spec b/redhat/applications/qalculate-tde/qalculate-tde.spec index bf149cdc9..8316dc8e8 100644 --- a/redhat/applications/qalculate-tde/qalculate-tde.spec +++ b/redhat/applications/qalculate-tde/qalculate-tde.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg qalculate-tde %define tde_prefix /opt/trinity diff --git a/redhat/applications/qt4-tqt-theme-engine/qt4-tqt-theme-engine-14.0.0.spec b/redhat/applications/qt4-tqt-theme-engine/qt4-tqt-theme-engine-14.0.0.spec deleted file mode 100644 index bced59322..000000000 --- a/redhat/applications/qt4-tqt-theme-engine/qt4-tqt-theme-engine-14.0.0.spec +++ /dev/null @@ -1,154 +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.0.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} -BuildRequires: qt-devel -%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/qt4-tqt-theme-engine/qt4-tqt-theme-engine.spec b/redhat/applications/qt4-tqt-theme-engine/qt4-tqt-theme-engine.spec new file mode 100644 index 000000000..d01e50fac --- /dev/null +++ b/redhat/applications/qt4-tqt-theme-engine/qt4-tqt-theme-engine.spec @@ -0,0 +1,154 @@ +# +# 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.0.7 +%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} +BuildRequires: qt-devel +%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-14.0.0.spec b/redhat/applications/rosegarden/rosegarden-14.0.0.spec deleted file mode 100644 index ddc7115cd..000000000 --- a/redhat/applications/rosegarden/rosegarden-14.0.0.spec +++ /dev/null @@ -1,253 +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.0.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: cmake 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%{?fedora} || 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} -DNDEBUG" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -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 - -%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/rosegarden/rosegarden.spec b/redhat/applications/rosegarden/rosegarden.spec new file mode 100644 index 000000000..cb27534ee --- /dev/null +++ b/redhat/applications/rosegarden/rosegarden.spec @@ -0,0 +1,253 @@ +# +# 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.0.7 +%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: cmake 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%{?fedora} || 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} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -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 + +%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/smartcardauth/smartcardauth-14.0.0.spec b/redhat/applications/smartcardauth/smartcardauth-14.0.0.spec deleted file mode 100644 index 8c9d3fc8c..000000000 --- a/redhat/applications/smartcardauth/smartcardauth-14.0.0.spec +++ /dev/null @@ -1,214 +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.0.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 - - -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: 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: perl-PAR-Packer - -# PCSC support -%if 0%{?mgaversion} || 0%{?mdkversion} -Requires: perl-pcsc-perl -%endif -%if 0%{?rhel} || 0%{?fedora} -Requires: pcsc-perl -%endif -%if 0%{?suse_version} -Requires: perl-pcsc -%endif - -# 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} -%if 0%{?pclinuxos} -BuildRequires: db4-devel -%else -BuildRequires: db5-devel -%endif -%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 - - -%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 -export PATH="%{tde_bindir}:${PATH}" - -cd src -make CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} - -%if "%{tde_version}" == "14.1.0" -%__make install DESTDIR="%{?buildroot}" -%else -%__install -D -m 755 "scriptor_standalone.pl" "%{buildroot}%{_bindir}/scriptor.pl" -%__install -D -m 755 "src/ckpasswd" "%{buildroot}%{_bindir}/smartauthckpasswd" -%__ln_s "smartauthckpasswd" "%{buildroot}%{_bindir}/smartauthmon" -%__cp -Rp "usr/"* "%{buildroot}%{_prefix}" - -sed -i "%{?buildroot}%{_datadir}/applications/"*".desktop" -e "/^Categories/ s|TDE|X-TDE|" -echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{_datadir}/applications/smartcardauth.desktop" -echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{_datadir}/applications/smartcardrestrict.desktop" -%endif - - -%clean -%__rm -rf %{buildroot} - - -%files -%defattr(-,root,root,-) -%doc gpl.txt -%{_bindir}/cryptosmartcard.sh -%{_datadir}/initramfs-tools/ -%if "%{tde_version}" == "14.1.0" -%{_bindir}/cardpincheck -%else -%{_bindir}/scriptor.pl -%{_bindir}/setupcard.sh -%{_bindir}/setupslavecard.sh -%{_bindir}/smartauth.sh -%{_bindir}/smartauthckpasswd -%{_bindir}/smartauthmon -%{_datadir}/applications/smartcardauth.desktop -%{_datadir}/applications/smartcardrestrict.desktop -%{_datadir}/icons/hicolor/16x16/apps/smartcardauth.png -%{_datadir}/icons/hicolor/32x32/apps/smartcardauth.png -%endif - - -%changelog diff --git a/redhat/applications/smartcardauth/smartcardauth.spec b/redhat/applications/smartcardauth/smartcardauth.spec new file mode 100644 index 000000000..072d5b6c7 --- /dev/null +++ b/redhat/applications/smartcardauth/smartcardauth.spec @@ -0,0 +1,236 @@ +# +# 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.0.7 +%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: cmake >= 2.8 +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} || 9%{?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} +#%if 0%{?pclinuxos} +#BuildRequires: db4-devel +#%else +BuildRequires: db5-devel +#%endif +%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 [ -x "%{_libdir}/nss/unsupported-tools/pp" ]; then + PATH="%{_libdir}/nss/unsupported-tools:${PATH}" +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} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -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 + \ + -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 gpl.txt +%{_bindir}/cryptosmartcard.sh +%{_datadir}/initramfs-tools/ +%{_bindir}/scriptor_standalone +%{_bindir}/setupcard.sh +%{_bindir}/setupslavecard.sh +%{_bindir}/smartauth.sh +%{_bindir}/smartauthckpasswd +%{_bindir}/smartauthmon +%{_datadir}/applications/smartcardauth.desktop +%{_datadir}/applications/smartcardrestrict.desktop +%{_datadir}/icons/hicolor/16x16/apps/smartcardauth.png +%{_datadir}/icons/hicolor/32x32/apps/smartcardauth.png +%{_sysconfdir}/smartauth/ +%{_sysconfdir}/init/smartauthlogin.conf + + +%changelog diff --git a/redhat/applications/smb4k/smb4k-14.0.0.spec b/redhat/applications/smb4k/smb4k-14.0.0.spec deleted file mode 100644 index 9e30a9b06..000000000 --- a/redhat/applications/smb4k/smb4k-14.0.0.spec +++ /dev/null @@ -1,197 +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.0.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} \ - \ - --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/smb4k/smb4k.spec b/redhat/applications/smb4k/smb4k.spec new file mode 100644 index 000000000..82918edd2 --- /dev/null +++ b/redhat/applications/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.0.7 +%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-14.0.0.spec b/redhat/applications/soundkonverter/soundkonverter-14.0.0.spec deleted file mode 100644 index 25ee3424d..000000000 --- a/redhat/applications/soundkonverter/soundkonverter-14.0.0.spec +++ /dev/null @@ -1,208 +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.0.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} \ - \ - --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/soundkonverter/soundkonverter.spec b/redhat/applications/soundkonverter/soundkonverter.spec new file mode 100644 index 000000000..1d2c3ffb9 --- /dev/null +++ b/redhat/applications/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.0.7 +%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/tastymenu/tastymenu.spec b/redhat/applications/tastymenu/tastymenu.spec index 984912246..d6fca44c5 100644 --- a/redhat/applications/tastymenu/tastymenu.spec +++ b/redhat/applications/tastymenu/tastymenu.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg tastymenu %define tde_prefix /opt/trinity diff --git a/redhat/applications/tde-guidance/tde-guidance-14.0.0.spec b/redhat/applications/tde-guidance/tde-guidance-14.0.0.spec deleted file mode 100644 index ebf6e0021..000000000 --- a/redhat/applications/tde-guidance/tde-guidance-14.0.0.spec +++ /dev/null @@ -1,450 +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.0.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 - -%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} -%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 -%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 -BuildRequires: xscreensaver-extrusion -BuildRequires: xscreensaver-gl -%endif -%endif - -Requires: python-tqt -Requires: trinity-python-trinity -Requires: trinity-pytdeextensions -Requires: python -%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 - -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 -%{tde_datadir}/icons/crystalsvg/*/*/*.svg -%{python_sitearch}/%{name}/SMBShareSelectDialog.py* -%{python_sitearch}/%{name}/SimpleCommandRunner.py* -%{python_sitearch}/%{name}/fuser.py* -%{python_sitearch}/%{name}/fuser_ui.py* -%{python_sitearch}/%{name}/grubconfig.py* -%{python_sitearch}/%{name}/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 - -./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} -./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 -%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/tde-guidance.spec b/redhat/applications/tde-guidance/tde-guidance.spec new file mode 100644 index 000000000..0649514e9 --- /dev/null +++ b/redhat/applications/tde-guidance/tde-guidance.spec @@ -0,0 +1,458 @@ +# +# 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.0.7 +%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 + +%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} +%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 +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} == 5 || 0%{?rhel} == 6 || 0%{?rhel} == 7 || 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 +BuildRequires: xscreensaver-extrusion +BuildRequires: xscreensaver-gl +%endif +%endif + +# PYTHON +%if 0%{?rhel} >= 8 || 0%{?fedora} >= 31 +%define python python2 +%define __python %__python2 +%else +%define python python +%endif +BuildRequires: %{python} + +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 + +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 +%{tde_datadir}/icons/crystalsvg/*/*/*.svg +%{python_sitearch}/%{name}/SMBShareSelectDialog.py* +%{python_sitearch}/%{name}/SimpleCommandRunner.py* +%{python_sitearch}/%{name}/fuser.py* +%{python_sitearch}/%{name}/fuser_ui.py* +%{python_sitearch}/%{name}/grubconfig.py* +%{python_sitearch}/%{name}/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 +%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-style-baghira/tde-style-baghira.spec b/redhat/applications/tde-style-baghira/tde-style-baghira.spec index 185110631..064270e53 100644 --- a/redhat/applications/tde-style-baghira/tde-style-baghira.spec +++ b/redhat/applications/tde-style-baghira/tde-style-baghira.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg tde-style-baghira %define tde_prefix /opt/trinity diff --git a/redhat/applications/tde-style-domino/tde-style-domino.spec b/redhat/applications/tde-style-domino/tde-style-domino.spec index a2dfdd079..bac069fc2 100644 --- a/redhat/applications/tde-style-domino/tde-style-domino.spec +++ b/redhat/applications/tde-style-domino/tde-style-domino.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg tde-style-domino %define tde_prefix /opt/trinity 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 index bd89d6687..106f54d0b 100644 --- a/redhat/applications/tde-style-ia-ora/tde-style-ia-ora.spec +++ b/redhat/applications/tde-style-ia-ora/tde-style-ia-ora.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg tde-style-ia-ora %define tde_prefix /opt/trinity diff --git a/redhat/applications/tde-style-lipstik/tde-style-lipstik-14.0.0.spec b/redhat/applications/tde-style-lipstik/tde-style-lipstik-14.0.0.spec deleted file mode 100644 index 055ca88d7..000000000 --- a/redhat/applications/tde-style-lipstik/tde-style-lipstik-14.0.0.spec +++ /dev/null @@ -1,154 +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.0.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 < %{version}-%{release} -Provides: trinity-kde-style-lipstik = %{version}-%{release} -Obsoletes: trinity-style-lipstik < %{version}-%{release} -Provides: trinity-style-lipstik = %{version}-%{release} - -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 - - -%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}} - -%__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} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - \ - --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} - - -%clean -%__rm -rf %{buildroot} - - - -%files -%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-lipstik/tde-style-lipstik.spec b/redhat/applications/tde-style-lipstik/tde-style-lipstik.spec new file mode 100644 index 000000000..9b1d185a9 --- /dev/null +++ b/redhat/applications/tde-style-lipstik/tde-style-lipstik.spec @@ -0,0 +1,161 @@ +# +# 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.0.7 +%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 < %{version}-%{release} +Provides: trinity-kde-style-lipstik = %{version}-%{release} +Obsoletes: trinity-style-lipstik < %{version}-%{release} +Provides: trinity-style-lipstik = %{version}-%{release} + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: cmake >= 2.8 +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 +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} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DDATA_INSTALL_DIR="%{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_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}/tdedisplay/color-schemes/lipstiknoble.kcsrc +%{tde_datadir}/tdedisplay/color-schemes/lipstikstandard.kcsrc +%{tde_datadir}/tdedisplay/color-schemes/lipstikwhite.kcsrc +%{tde_datadir}/tdestyle/themes/lipstik.themerc + + +%changelog diff --git a/redhat/applications/tde-style-qtcurve/tde-style-qtcurve-14.0.0.spec b/redhat/applications/tde-style-qtcurve/tde-style-qtcurve-14.0.0.spec deleted file mode 100644 index 3bb94eadd..000000000 --- a/redhat/applications/tde-style-qtcurve/tde-style-qtcurve-14.0.0.spec +++ /dev/null @@ -1,192 +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.0.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: cmake 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%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_gamin 1 -BuildRequires: gamin-devel -%endif - -# OPENSSL support -BuildRequires: openssl-devel - - -Obsoletes: trinity-kde-style-qtcurve < %{version}-%{release} -Provides: trinity-kde-style-qtcurve = %{version}-%{release} -Obsoletes: trinity-style-qtcurve < %{version}-%{release} -Provides: trinity-style-qtcurve = %{version}-%{release} - - -%description -This package together with gtk2-engines-qtcurve aim to provide a unified look -and feel on the desktop when using TDE and Gnome applications. - -This package is most useful when installed together with -gtk2-engines-qtcurve. - - -########## - -%if 0%{?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} -DNDEBUG" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -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-style-qtcurve/tde-style-qtcurve.spec b/redhat/applications/tde-style-qtcurve/tde-style-qtcurve.spec new file mode 100644 index 000000000..175438630 --- /dev/null +++ b/redhat/applications/tde-style-qtcurve/tde-style-qtcurve.spec @@ -0,0 +1,192 @@ +# +# 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.0.7 +%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: cmake 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%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_gamin 1 +BuildRequires: gamin-devel +%endif + +# OPENSSL support +BuildRequires: openssl-devel + + +Obsoletes: trinity-kde-style-qtcurve < %{version}-%{release} +Provides: trinity-kde-style-qtcurve = %{version}-%{release} +Obsoletes: trinity-style-qtcurve < %{version}-%{release} +Provides: trinity-style-qtcurve = %{version}-%{release} + + +%description +This package together with gtk2-engines-qtcurve aim to provide a unified look +and feel on the desktop when using TDE and Gnome applications. + +This package is most useful when installed together with +gtk2-engines-qtcurve. + + +########## + +%if 0%{?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} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -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 new file mode 100644 index 000000000..d37d9ba13 --- /dev/null +++ b/redhat/applications/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/tde-systemsettings/tde-systemsettings-14.0.0.spec b/redhat/applications/tde-systemsettings/tde-systemsettings-14.0.0.spec deleted file mode 100644 index 812b2329d..000000000 --- a/redhat/applications/tde-systemsettings/tde-systemsettings-14.0.0.spec +++ /dev/null @@ -1,182 +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.0.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: kde-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: 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: trinity-guidance - - -%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}} - -%__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 kde_confdir="%{tde_confdir}" - - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --sysconfdir=%{tde_sysconfdir} \ - \ - --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} - -%__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" - - -%clean -%__rm -rf %{buildroot} - - -%files -%defattr(-,root,root,-) -%doc README 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/laptop.desktop -%{tde_datadir}/applications/tde/medianotifications.desktop -%{tde_datadir}/applications/tde/systemsettings.desktop -%{tde_datadir}/apps/systemsettings/ -%{tde_confdir}/systemsettingsrc -%{tde_datadir}/desktop-directories/*.directory -%{tde_datadir}/icons/crystalsvg/*/apps/systemsettings.png -%{tde_tdedocdir}/HTML/en/systemsettings/ - - -%changelog diff --git a/redhat/applications/tde-systemsettings/tde-systemsettings.spec b/redhat/applications/tde-systemsettings/tde-systemsettings.spec new file mode 100644 index 000000000..6b6a1fbb5 --- /dev/null +++ b/redhat/applications/tde-systemsettings/tde-systemsettings.spec @@ -0,0 +1,182 @@ +# +# 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.0.7 +%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: 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: trinity-guidance + + +%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}} + +%__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 kde_confdir="%{tde_confdir}" + + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --sysconfdir=%{tde_sysconfdir} \ + --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} + +%__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" + + +%clean +%__rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%doc README 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/ +%{tde_confdir}/systemsettingsrc +%{tde_datadir}/desktop-directories/*.directory +%{tde_datadir}/icons/crystalsvg/*/apps/systemsettings.png +%{tde_tdedocdir}/HTML/en/systemsettings/ + + +%changelog diff --git a/redhat/applications/tdedocker/tdedocker.spec b/redhat/applications/tdedocker/tdedocker.spec index 5685e4075..73621093b 100644 --- a/redhat/applications/tdedocker/tdedocker.spec +++ b/redhat/applications/tdedocker/tdedocker.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg tdedocker %define tde_prefix /opt/trinity diff --git a/redhat/applications/tdeio-apt/tdeio-apt-14.0.0.spec b/redhat/applications/tdeio-apt/tdeio-apt-14.0.0.spec deleted file mode 100644 index c405bfa07..000000000 --- a/redhat/applications/tdeio-apt/tdeio-apt-14.0.0.spec +++ /dev/null @@ -1,154 +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.0.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: 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 -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}} - -%__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} \ - \ - --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} - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.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-apt/tdeio-apt.spec b/redhat/applications/tdeio-apt/tdeio-apt.spec new file mode 100644 index 000000000..041304b19 --- /dev/null +++ b/redhat/applications/tdeio-apt/tdeio-apt.spec @@ -0,0 +1,154 @@ +# +# 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.0.7 +%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: 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 +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}} + +%__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} \ + \ + --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} + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{tde_pkg}.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 index cd0b89d14..3fad6f963 100644 --- a/redhat/applications/tdeio-ftps/tdeio-ftps.spec +++ b/redhat/applications/tdeio-ftps/tdeio-ftps.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg tdeio-ftps %define tde_prefix /opt/trinity diff --git a/redhat/applications/tdeio-gopher/tdeio-gopher.spec b/redhat/applications/tdeio-gopher/tdeio-gopher.spec index e13482992..d7c47f344 100644 --- a/redhat/applications/tdeio-gopher/tdeio-gopher.spec +++ b/redhat/applications/tdeio-gopher/tdeio-gopher.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg tdeio-gopher %define tde_prefix /opt/trinity diff --git a/redhat/applications/tdeio-locate/tdeio-locate-14.0.0.spec b/redhat/applications/tdeio-locate/tdeio-locate-14.0.0.spec deleted file mode 100644 index 2c389bbee..000000000 --- a/redhat/applications/tdeio-locate/tdeio-locate-14.0.0.spec +++ /dev/null @@ -1,176 +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.0.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: cmake >= 2.8 -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%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_gamin 1 -BuildRequires: gamin-devel -%endif - -# OPENSSL support -BuildRequires: openssl-devel - -Obsoletes: trinity-kio-locate < %{version}-%{release} -Provides: trinity-kio-locate = %{version}-%{release} - - -%description -Adds support for the "locate" and "locater:" -protocols to Konqueror and other TDE applications. - -This enables you to perform locate searches as you -would in a terminal. The result is displayed just -as a directory. - - -########## - -%if 0%{?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} -DNDEBUG" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -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 %{tde_pkg} - -%clean -%__rm -rf %{buildroot} - - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING TODO -%{tde_tdelibdir}/tdeio_locate.la -%{tde_tdelibdir}/tdeio_locate.so -%{tde_tdedocdir}/HTML/en/tdeio-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-locate/tdeio-locate.spec b/redhat/applications/tdeio-locate/tdeio-locate.spec new file mode 100644 index 000000000..3dad2ada0 --- /dev/null +++ b/redhat/applications/tdeio-locate/tdeio-locate.spec @@ -0,0 +1,176 @@ +# +# 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.0.7 +%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: cmake >= 2.8 +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%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_gamin 1 +BuildRequires: gamin-devel +%endif + +# OPENSSL support +BuildRequires: openssl-devel + +Obsoletes: trinity-kio-locate < %{version}-%{release} +Provides: trinity-kio-locate = %{version}-%{release} + + +%description +Adds support for the "locate" and "locater:" +protocols to Konqueror and other TDE applications. + +This enables you to perform locate searches as you +would in a terminal. The result is displayed just +as a directory. + + +########## + +%if 0%{?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} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -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 %{tde_pkg} + +%clean +%__rm -rf %{buildroot} + + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING TODO +%{tde_tdelibdir}/tdeio_locate.la +%{tde_tdelibdir}/tdeio_locate.so +%{tde_tdedocdir}/HTML/en/tdeio-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 index bd1e3f003..bd78c8efa 100644 --- a/redhat/applications/tdeio-sword/tdeio-sword.spec +++ b/redhat/applications/tdeio-sword/tdeio-sword.spec @@ -23,7 +23,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg tdeio-sword %define tde_prefix /opt/trinity diff --git a/redhat/applications/tdeio-umountwrapper/tdeio-umountwrapper.spec b/redhat/applications/tdeio-umountwrapper/tdeio-umountwrapper.spec index 81e416d4e..2167ad3ea 100644 --- a/redhat/applications/tdeio-umountwrapper/tdeio-umountwrapper.spec +++ b/redhat/applications/tdeio-umountwrapper/tdeio-umountwrapper.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg tdeio-umountwrapper %define tde_prefix /opt/trinity diff --git a/redhat/applications/tdenetworkmanager/tdenetworkmanager.spec b/redhat/applications/tdenetworkmanager/tdenetworkmanager.spec index cf3edd2bb..048617263 100644 --- a/redhat/applications/tdenetworkmanager/tdenetworkmanager.spec +++ b/redhat/applications/tdenetworkmanager/tdenetworkmanager.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg tdenetworkmanager %define tde_prefix /opt/trinity @@ -84,7 +84,7 @@ Provides: trinity-knetworkmanager = %{version}-%{release} %if 0%{?rhel} || 0%{?fedora} %if 0%{?fedora} >= 20 || 0%{?rhel} >= 7 Requires: NetworkManager -%if 0%{?fedora} >= 29 +%if 0%{?fedora} >= 29 || 0%{?rhel} >= 8 BuildRequires: NetworkManager-libnm-devel %else BuildRequires: NetworkManager-devel @@ -98,7 +98,7 @@ Requires: networkmanager %endif %if 0%{?rhel} || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} %if 0%{?pclinuxos} == 0 -%if 0%{?fedora} >= 29 +%if 0%{?fedora} >= 29 || 0%{?rhel} >= 8 BuildRequires: NetworkManager-libnm-devel %else BuildRequires: NetworkManager-glib-devel @@ -151,7 +151,7 @@ if [ -r "/etc/xdg/autostart/nm-applet.desktop" ]; then fi fi -%files -f %{tde_pkg}.lang +%files %defattr(-,root,root,-) %{tde_bindir}/tdenetworkmanager %{tde_libdir}/*.la @@ -163,11 +163,11 @@ fi %{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/ +#{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/ ########## @@ -231,8 +231,6 @@ fi %__rm -rf $RPM_BUILD_ROOT %__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 TrayIcon System Applet diff --git a/redhat/applications/tdepowersave/tdepowersave-14.0.0.spec b/redhat/applications/tdepowersave/tdepowersave-14.0.0.spec deleted file mode 100644 index 613e0ba2f..000000000 --- a/redhat/applications/tdepowersave/tdepowersave-14.0.0.spec +++ /dev/null @@ -1,254 +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.0.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: cmake 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 -%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version} -%define with_xscreensaver 1 -%if 0%{?rhel} == 5 -BuildRequires: xorg-x11-proto-devel -BuildRequires: gnome-screensaver -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -%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%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_gamin 1 -BuildRequires: gamin-devel -%endif - -# OPENSSL support -BuildRequires: openssl-devel - - -Obsoletes: trinity-kpowersave < %{version}-%{release} -Provides: trinity-kpowersave = %{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} -DNDEBUG" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -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 NEWS README 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 -%{tde_confdir}/tdepowersaverc - -%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/tdepowersave/tdepowersave.spec b/redhat/applications/tdepowersave/tdepowersave.spec new file mode 100644 index 000000000..c69a1df22 --- /dev/null +++ b/redhat/applications/tdepowersave/tdepowersave.spec @@ -0,0 +1,255 @@ +# +# 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.0.7 +%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: cmake 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 +%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version} +%define with_xscreensaver 1 +%if 0%{?rhel} == 5 +BuildRequires: xorg-x11-proto-devel +BuildRequires: gnome-screensaver +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +%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%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_gamin 1 +BuildRequires: gamin-devel +%endif + +# OPENSSL support +BuildRequires: openssl-devel + + +Obsoletes: trinity-kpowersave < %{version}-%{release} +Provides: trinity-kpowersave = %{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} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -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 NEWS README 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 +%{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-14.0.0.spec b/redhat/applications/tderadio/tderadio-14.0.0.spec deleted file mode 100644 index 7b15298df..000000000 --- a/redhat/applications/tderadio/tderadio-14.0.0.spec +++ /dev/null @@ -1,227 +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.0.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: 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: 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 < %{version}-%{release} -Provides: trinity-kradio = %{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}} - -%__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-visibility causes applications fails to start ! -%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_lirc:--enable-lirc} %{?!with_lirc:--disable-lirc} \ - --enable-v4l2 \ - --enable-lame \ - --enable-ogg \ - --enable-alsa \ - --enable-oss - -%if 0%{?mgaversion} >= 6 || 0%{?pclinuxos} >= 2018 -%__sed -i "tderadio3/plugins/"*"/Makefile" -e "s|-Wl,--no-undefined||" -%endif - -%__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} -%suse_update_desktop_file -G "Radio Tuner" %{tde_pkg} AudioVideo Tuner -%endif - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%{tde_bindir}/convert-presets -%{tde_bindir}/tderadio -%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(ru) %{tde_datadir}/locale/ru/LC_MESSAGES/*.mo -%{tde_tdedocdir}/HTML/en/tderadio/ - -%changelog diff --git a/redhat/applications/tderadio/tderadio.spec b/redhat/applications/tderadio/tderadio.spec new file mode 100644 index 000000000..317d3a715 --- /dev/null +++ b/redhat/applications/tderadio/tderadio.spec @@ -0,0 +1,228 @@ +# +# 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.0.7 +%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: 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: 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 < %{version}-%{release} +Provides: trinity-kradio = %{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}} + +%__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-visibility causes applications fails to start ! +%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 \ + \ + %{?with_lirc:--enable-lirc} %{?!with_lirc:--disable-lirc} \ + --enable-v4l2 \ + --enable-lame \ + --enable-ogg \ + --enable-alsa \ + --enable-oss + +%if 0%{?mgaversion} >= 6 || 0%{?pclinuxos} >= 2018 +%__sed -i "tderadio3/plugins/"*"/Makefile" -e "s|-Wl,--no-undefined||" +%endif + +%__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} +%suse_update_desktop_file -G "Radio Tuner" %{tde_pkg} AudioVideo Tuner +%endif + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%{tde_bindir}/convert-presets +%{tde_bindir}/tderadio +%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(ru) %{tde_datadir}/locale/ru/LC_MESSAGES/*.mo +%{tde_tdedocdir}/HTML/en/tderadio/ + +%changelog diff --git a/redhat/applications/tdesudo/tdesudo.spec b/redhat/applications/tdesudo/tdesudo.spec index 83e1bff8f..b60c7db84 100644 --- a/redhat/applications/tdesudo/tdesudo.spec +++ b/redhat/applications/tdesudo/tdesudo.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg tdesudo %define tde_prefix /opt/trinity diff --git a/redhat/applications/tdesvn/tdesvn-14.0.0.patch b/redhat/applications/tdesvn/tdesvn-14.0.0.patch deleted file mode 100644 index b22e7f2e4..000000000 --- a/redhat/applications/tdesvn/tdesvn-14.0.0.patch +++ /dev/null @@ -1,57 +0,0 @@ ---- trinity-tdesvn-14.0.0~pre185+fddfb277/src/svnqt/CMakeLists.txt.sqlite3 2013-12-30 17:57:05.867723485 +0100 -+++ trinity-tdesvn-14.0.0~pre185+fddfb277/src/svnqt/CMakeLists.txt 2014-09-16 21:49:29.774968683 +0200 -@@ -45,19 +45,6 @@ - cache/DatabaseException.cpp - ) - --# IF (SQLITE_FOUND) -- MESSAGE(STATUS "Build own sqlite3 database modul") -- SET(SOURCES -- ${SOURCES} -- cache/sqlite3/qsqlcachedresult.cpp -- cache/sqlite3/qsql_sqlite3.cpp -- cache/sqlite3/qsqlcachedresult.h -- cache/sqlite3/qsql_sqlite3.h -- ) --# ELSE (SQLITE_FOUND) --# MESSAGE(SEND_ERROR "The QT3 version requires sqlite3 but could not found") --# ENDIF (SQLITE_FOUND) -- - SET(CACHEINST_HEADERS - cache/LogCache.hpp - cache/ReposLog.hpp -@@ -150,7 +137,7 @@ - - # IF (SQLITE_FOUND) - TARGET_LINK_LIBRARIES(${svnqt-name} ${SQLITE_LIBRARIES}) -- INCLUDE_DIRECTORIES(SQLITE_INCLUDE_DIR) -+ INCLUDE_DIRECTORIES(${SQLITE_INCLUDE_DIR}) - # ELSE (SQLITE_FOUND) - # TARGET_LINK_LIBRARIES(${svnqt-name} ${QT_QTSQL_LIBRARY}) - # ENDIF (SQLITE_FOUND) ---- trinity-tdesvn-14.0.0~pre185+fddfb277/src/svnqt/cache/LogCache.cpp.sqlite3 2014-01-28 20:25:28.711539518 +0100 -+++ trinity-tdesvn-14.0.0~pre185+fddfb277/src/svnqt/cache/LogCache.cpp 2014-09-16 21:51:37.826387614 +0200 -@@ -10,9 +10,10 @@ - #include "svnqt/cache/DatabaseException.hpp" - - #ifndef NO_SQLITE3 --#include "sqlite3/qsql_sqlite3.h" -+#include - #define SQLTYPE "QSQLITE3" - #else -+#include - #define SQLTYPE "QSQLITE" - #endif - -@@ -262,11 +263,6 @@ - - void LogCache::setupMainDb() - { --#ifndef NO_SQLITE3 -- if (!TQSqlDatabase::isDriverAvailable(SQLTYPE)) { -- TQSqlDatabase::registerSqlDriver(SQLTYPE,new TQSqlDriverCreator); -- } --#endif - TQDataBase mainDB = m_CacheData->getMainDB(); - if (!mainDB || !mainDB->open()) { - tqWarning("Failed to open main database: %s", (mainDB?mainDB->lastError().text().TOUTF8().data():"No database object.")); diff --git a/redhat/applications/tdesvn/tdesvn-14.0.0.spec b/redhat/applications/tdesvn/tdesvn-14.0.0.spec deleted file mode 100644 index 675f25b7f..000000000 --- a/redhat/applications/tdesvn/tdesvn-14.0.0.spec +++ /dev/null @@ -1,316 +0,0 @@ -# -# spec file for package tdesvn (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.0.0 -%endif -%define tde_pkg tdesvn -%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: Subversion client with tight TDE integration -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: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz -Patch0: %{tde_pkg}-14.0.0.patch - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: cmake 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 - -# SVN support -BuildRequires: subversion-devel - -# SQLITE support -BuildRequires: sqlite-devel -BuildRequires: libtqt3-mt-sqlite3 - -# ACL support -BuildRequires: libacl-devel - -# IDN support -BuildRequires: libidn-devel - -# GAMIN support -# Not on openSUSE. -%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_gamin 1 -BuildRequires: gamin-devel -%endif - -# OPENSSL support -BuildRequires: openssl-devel - - -Requires: %{name}-tdeio-plugins = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: trinity-libsvnqt = %{?epoch:%{epoch}:}%{version}-%{release} - -Obsoletes: trinity-kdesvn < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-kdesvn = %{?epoch:%{epoch}:}%{version}-%{release} - - -%description -TDESvn is a graphical client for the subversion revision control -system (svn). - -Besides offering common and advanced svn operations, it features -a tight integration into TDE and can be embedded into other TDE -applications like konqueror via the TDE component technology KParts. - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README TODO -%{tde_bindir}/tdesvn -%{tde_bindir}/tdesvnaskpass -%{tde_tdelibdir}/tdesvnpart.la -%{tde_tdelibdir}/tdesvnpart.so -%{tde_datadir}/applications/tde/tdesvn.desktop -%{tde_datadir}/apps/tdeconf_update/tdesvn-use-external-update.sh -%{tde_datadir}/apps/tdeconf_update/tdesvnpartrc-use-external.upd -%{tde_datadir}/apps/tdesvn/ -%{tde_datadir}/apps/tdesvnpart/ -%{tde_datadir}/apps/konqueror/servicemenus/tdesvn_subversion.desktop -%{tde_datadir}/config.kcfg/tdesvn_part.kcfg -%{tde_datadir}/icons/hicolor/*/*/*.png -%{tde_datadir}/icons/hicolor/*/*/*.svgz -%{tde_mandir}/man1/tdesvn.1* -%{tde_mandir}/man1/tdesvnaskpass.1* -%lang(en) %{tde_tdedocdir}/HTML/en/tdesvn/ -%lang(nl) %{tde_tdedocdir}/HTML/nl/tdesvn/ -%{tde_libdir}/libksvnwidgets.la -%{tde_libdir}/libksvnwidgets.so -%{tde_libdir}/libsvnfrontend.la -%{tde_libdir}/libsvnfrontend.so -%{tde_libdir}/libtdesvncfgreader.la -%{tde_libdir}/libtdesvncfgreader.so -%{tde_libdir}/libtdesvnevents.la -%{tde_libdir}/libtdesvnevents.so -%{tde_libdir}/libtdesvnhelpers.la -%{tde_libdir}/libtdesvnhelpers.so - -########## - -%package -n trinity-libsvnqt -Group: Development/Libraries -Summary: Qt wrapper library for subversion [Trinity] - -%description -n trinity-libsvnqt -This package provides svnqt, a Qt wrapper library around the -subversion library. - -It is based on the RapidSvn SvnCpp library, a subversion client API -written in C++. - -%files -n trinity-libsvnqt -%defattr(-,root,root,-) -%{tde_libdir}/libsvnqt.so.4 -%{tde_libdir}/libsvnqt.so.4.2.2 - -########## - -%package -n trinity-libsvnqt-devel -Group: Development/Libraries -Requires: trinity-libsvnqt = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: qt-devel -Requires: subversion-devel -Summary: Qt wrapper library for subversion (development files) [Trinity] - -%description -n trinity-libsvnqt-devel -This package contains the header files and symbolic links that developers -using svnqt will need. - -%files -n trinity-libsvnqt-devel -%defattr(-,root,root,-) -%{tde_includedir}/svnqt -%{tde_libdir}/libsvnqt.so - -########## - -%package tdeio-plugins -Group: Development/Libraries -Conflicts: trinity-kdesdk-tdeio-plugins -Summary: subversion I/O slaves for Trinity - -Obsoletes: trinity-kdesvn-kio-plugins < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-kdesvn-kio-plugins = %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: trinity-tdesvn-kio-plugins < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-tdesvn-kio-plugins = %{?epoch:%{epoch}:}%{version}-%{release} - -%description tdeio-plugins -This packages includes TDEIO slaves for svn, svn+file, svn+http, -svn+https, svn+ssh. This allows you to access subversion repositories -inside any TDEIO enabled TDE application. - -This package is part of tdesvn-trinity. - -%post tdeio-plugins -for proto in svn+file svn+http svn+https svn+ssh svn; do - update-alternatives --install \ - %{tde_datadir}/services/${proto}.protocol \ - ${proto}.protocol \ - %{tde_datadir}/services/${proto}.protocol_tdesvn \ - 20 -done - -%preun tdeio-plugins -if [ $1 -eq 0 ]; then - for proto in svn+file svn+http svn+https svn+ssh svn; do - update-alternatives --remove \ - ${proto}.protocol \ - %{tde_datadir}/services/${proto}.protocol_tdesvn || : - done -fi - -%files tdeio-plugins -%defattr(-,root,root,-) -%{tde_datadir}/services/kded/tdesvnd.desktop -%{tde_datadir}/services/ksvn+file.protocol -%{tde_datadir}/services/ksvn+http.protocol -%{tde_datadir}/services/ksvn+https.protocol -%{tde_datadir}/services/ksvn+ssh.protocol -%{tde_datadir}/services/ksvn.protocol -%{tde_datadir}/services/svn+file.protocol_tdesvn -%{tde_datadir}/services/svn+http.protocol_tdesvn -%{tde_datadir}/services/svn+https.protocol_tdesvn -%{tde_datadir}/services/svn+ssh.protocol_tdesvn -%{tde_datadir}/services/svn.protocol_tdesvn -%{tde_tdelibdir}/tdeio_ksvn.la -%{tde_tdelibdir}/tdeio_ksvn.so -%{tde_tdelibdir}/kded_tdesvnd.la -%{tde_tdelibdir}/kded_tdesvnd.so - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} -%patch0 -p1 - -rm -f src/svnqt/CMakeLists.txt.orig -rm -fr src/svnqt/cache/sqlite3/ - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export CMAKE_INCLUDE_PATH="%{tde_tdeincludedir}" - -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} -DNDEBUG" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -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_includedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DMAN_INSTALL_DIR=%{tde_mandir}/man1 \ - -DPKGCONFIG_INSTALL_DIR=%{tde_tdelibdir}/pkgconfig \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - \ - -DBUILD_DOC=ON \ - -DBUILD_TRANSLATIONS=ON \ - .. - -# SMP safe ! -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -# Installs SVN protocols as alternatives -%__mv -f %{?buildroot}%{tde_datadir}/services/svn+file.protocol %{?buildroot}%{tde_datadir}/services/svn+file.protocol_tdesvn -%__mv -f %{?buildroot}%{tde_datadir}/services/svn+http.protocol %{?buildroot}%{tde_datadir}/services/svn+http.protocol_tdesvn -%__mv -f %{?buildroot}%{tde_datadir}/services/svn+https.protocol %{?buildroot}%{tde_datadir}/services/svn+https.protocol_tdesvn -%__mv -f %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol_tdesvn -%__mv -f %{?buildroot}%{tde_datadir}/services/svn.protocol %{?buildroot}%{tde_datadir}/services/svn.protocol_tdesvn - -# Locales -%find_lang %{tde_pkg} - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file -G "SVN Client" %{tde_pkg} Development RevisionControl -%endif - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/applications/tdesvn/tdesvn.spec b/redhat/applications/tdesvn/tdesvn.spec new file mode 100644 index 000000000..710da2f31 --- /dev/null +++ b/redhat/applications/tdesvn/tdesvn.spec @@ -0,0 +1,314 @@ +# +# spec file for package tdesvn (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.0.7 +%endif +%define tde_pkg tdesvn +%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: Subversion client with tight TDE integration +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: %{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: cmake 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 + +# SVN support +BuildRequires: subversion-devel + +# SQLITE support +BuildRequires: sqlite-devel +BuildRequires: libtqt3-mt-sqlite3 + +# ACL support +BuildRequires: libacl-devel + +# IDN support +BuildRequires: libidn-devel + +# GAMIN support +# Not on openSUSE. +%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_gamin 1 +BuildRequires: gamin-devel +%endif + +# OPENSSL support +BuildRequires: openssl-devel + + +Requires: %{name}-tdeio-plugins = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: trinity-libsvnqt = %{?epoch:%{epoch}:}%{version}-%{release} + +Obsoletes: trinity-kdesvn < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-kdesvn = %{?epoch:%{epoch}:}%{version}-%{release} + + +%description +TDESvn is a graphical client for the subversion revision control +system (svn). + +Besides offering common and advanced svn operations, it features +a tight integration into TDE and can be embedded into other TDE +applications like konqueror via the TDE component technology KParts. + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README TODO +%{tde_bindir}/tdesvn +%{tde_bindir}/tdesvnaskpass +%{tde_tdelibdir}/tdesvnpart.la +%{tde_tdelibdir}/tdesvnpart.so +%{tde_datadir}/applications/tde/tdesvn.desktop +%{tde_datadir}/apps/tdeconf_update/tdesvn-use-external-update.sh +%{tde_datadir}/apps/tdeconf_update/tdesvnpartrc-use-external.upd +%{tde_datadir}/apps/tdesvn/ +%{tde_datadir}/apps/tdesvnpart/ +%{tde_datadir}/apps/konqueror/servicemenus/tdesvn_subversion.desktop +%{tde_datadir}/config.kcfg/tdesvn_part.kcfg +%{tde_datadir}/icons/hicolor/*/*/*.png +%{tde_datadir}/icons/hicolor/*/*/*.svgz +%{tde_mandir}/man1/tdesvn.1* +%{tde_mandir}/man1/tdesvnaskpass.1* +%lang(en) %{tde_tdedocdir}/HTML/en/tdesvn/ +%lang(nl) %{tde_tdedocdir}/HTML/nl/tdesvn/ +%{tde_libdir}/libksvnwidgets.la +%{tde_libdir}/libksvnwidgets.so +%{tde_libdir}/libsvnfrontend.la +%{tde_libdir}/libsvnfrontend.so +%{tde_libdir}/libtdesvncfgreader.la +%{tde_libdir}/libtdesvncfgreader.so +%{tde_libdir}/libtdesvnevents.la +%{tde_libdir}/libtdesvnevents.so +%{tde_libdir}/libtdesvnhelpers.la +%{tde_libdir}/libtdesvnhelpers.so + +########## + +%package -n trinity-libsvnqt +Group: Development/Libraries +Summary: Qt wrapper library for subversion [Trinity] + +%description -n trinity-libsvnqt +This package provides svnqt, a Qt wrapper library around the +subversion library. + +It is based on the RapidSvn SvnCpp library, a subversion client API +written in C++. + +%files -n trinity-libsvnqt +%defattr(-,root,root,-) +%{tde_libdir}/libsvnqt.so.4 +%{tde_libdir}/libsvnqt.so.4.2.2 + +########## + +%package -n trinity-libsvnqt-devel +Group: Development/Libraries +Requires: trinity-libsvnqt = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: qt-devel +Requires: subversion-devel +Summary: Qt wrapper library for subversion (development files) [Trinity] + +%description -n trinity-libsvnqt-devel +This package contains the header files and symbolic links that developers +using svnqt will need. + +%files -n trinity-libsvnqt-devel +%defattr(-,root,root,-) +%{tde_includedir}/svnqt +%{tde_libdir}/libsvnqt.so + +########## + +%package tdeio-plugins +Group: Development/Libraries +Conflicts: trinity-kdesdk-tdeio-plugins +Summary: subversion I/O slaves for Trinity + +Obsoletes: trinity-kdesvn-kio-plugins < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-kdesvn-kio-plugins = %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: trinity-tdesvn-kio-plugins < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-tdesvn-kio-plugins = %{?epoch:%{epoch}:}%{version}-%{release} + +%description tdeio-plugins +This packages includes TDEIO slaves for svn, svn+file, svn+http, +svn+https, svn+ssh. This allows you to access subversion repositories +inside any TDEIO enabled TDE application. + +This package is part of tdesvn-trinity. + +%post tdeio-plugins +for proto in svn+file svn+http svn+https svn+ssh svn; do + update-alternatives --install \ + %{tde_datadir}/services/${proto}.protocol \ + ${proto}.protocol \ + %{tde_datadir}/services/${proto}.protocol_tdesvn \ + 20 +done + +%preun tdeio-plugins +if [ $1 -eq 0 ]; then + for proto in svn+file svn+http svn+https svn+ssh svn; do + update-alternatives --remove \ + ${proto}.protocol \ + %{tde_datadir}/services/${proto}.protocol_tdesvn || : + done +fi + +%files tdeio-plugins +%defattr(-,root,root,-) +%{tde_datadir}/services/kded/tdesvnd.desktop +%{tde_datadir}/services/ksvn+file.protocol +%{tde_datadir}/services/ksvn+http.protocol +%{tde_datadir}/services/ksvn+https.protocol +%{tde_datadir}/services/ksvn+ssh.protocol +%{tde_datadir}/services/ksvn.protocol +%{tde_datadir}/services/svn+file.protocol_tdesvn +%{tde_datadir}/services/svn+http.protocol_tdesvn +%{tde_datadir}/services/svn+https.protocol_tdesvn +%{tde_datadir}/services/svn+ssh.protocol_tdesvn +%{tde_datadir}/services/svn.protocol_tdesvn +%{tde_tdelibdir}/tdeio_ksvn.la +%{tde_tdelibdir}/tdeio_ksvn.so +%{tde_tdelibdir}/kded_tdesvnd.la +%{tde_tdelibdir}/kded_tdesvnd.so + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + +rm -f src/svnqt/CMakeLists.txt.orig +rm -fr src/svnqt/cache/sqlite3/ + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export CMAKE_INCLUDE_PATH="%{tde_tdeincludedir}" + +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} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -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_includedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DMAN_INSTALL_DIR=%{tde_mandir}/man1 \ + -DPKGCONFIG_INSTALL_DIR=%{tde_tdelibdir}/pkgconfig \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + .. + +# SMP safe ! +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +# Installs SVN protocols as alternatives +%__mv -f %{?buildroot}%{tde_datadir}/services/svn+file.protocol %{?buildroot}%{tde_datadir}/services/svn+file.protocol_tdesvn +%__mv -f %{?buildroot}%{tde_datadir}/services/svn+http.protocol %{?buildroot}%{tde_datadir}/services/svn+http.protocol_tdesvn +%__mv -f %{?buildroot}%{tde_datadir}/services/svn+https.protocol %{?buildroot}%{tde_datadir}/services/svn+https.protocol_tdesvn +%__mv -f %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol_tdesvn +%__mv -f %{?buildroot}%{tde_datadir}/services/svn.protocol %{?buildroot}%{tde_datadir}/services/svn.protocol_tdesvn + +# Locales +%find_lang %{tde_pkg} + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file -G "SVN Client" %{tde_pkg} Development RevisionControl +%endif + + +%clean +%__rm -rf %{buildroot} + + +%changelog diff --git a/redhat/applications/tdmtheme/tdmtheme.spec b/redhat/applications/tdmtheme/tdmtheme.spec index 5d44a1bbd..512eaef43 100644 --- a/redhat/applications/tdmtheme/tdmtheme.spec +++ b/redhat/applications/tdmtheme/tdmtheme.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg tdmtheme %define tde_prefix /opt/trinity diff --git a/redhat/applications/tellico/tellico-14.0.0.spec b/redhat/applications/tellico/tellico-14.0.0.spec deleted file mode 100644 index fa1d1495f..000000000 --- a/redhat/applications/tellico/tellico-14.0.0.spec +++ /dev/null @@ -1,337 +0,0 @@ -%if 0%{?fedora} >= 23 -%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 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.0.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: cmake >= 2.8 -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%{?fedora} || 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: %{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 -%{tde_confdir}/tellicorc - -########## - -%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 -%__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 python2|" -%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} -DNDEBUG" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -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 \ - .. - -%__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/tellico/tellico.spec b/redhat/applications/tellico/tellico.spec new file mode 100644 index 000000000..341c7f82e --- /dev/null +++ b/redhat/applications/tellico/tellico.spec @@ -0,0 +1,337 @@ +%if 0%{?fedora} >= 23 +%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 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.0.7 +%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: cmake >= 2.8 +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%{?fedora} || 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: %{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 +%{tde_confdir}/tellicorc + +########## + +%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 +%__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 python2|" +%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} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -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 \ + .. + +%__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/tork/tork-14.0.0.spec b/redhat/applications/tork/tork-14.0.0.spec deleted file mode 100644 index 4682ab764..000000000 --- a/redhat/applications/tork/tork-14.0.0.spec +++ /dev/null @@ -1,166 +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.0.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: 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 - -# TORSOCKS support -BuildRequires: torsocks - -# OPENSSL support -BuildRequires: openssl-devel - - -%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}} - -%__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}" - -# 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 - -%__make %{?_smp_mflags} - - -%install -%__rm -rf $RPM_BUILD_ROOT -%__make install DESTDIR=$RPM_BUILD_ROOT - -%find_lang %{tde_pkg} - - -%clean -%__rm -rf $RPM_BUILD_ROOT - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING README TODO ChangeLog USINGTORK -%{tde_bindir}/tork -%{tde_bindir}/torkarkollon -%{tde_bindir}/usewithtor -%{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/*/actions/tork.png -%{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/tork/tork.spec b/redhat/applications/tork/tork.spec new file mode 100644 index 000000000..8992ea31d --- /dev/null +++ b/redhat/applications/tork/tork.spec @@ -0,0 +1,167 @@ +# +# 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.0.7 +%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: 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 + +# TORSOCKS support +BuildRequires: torsocks + +# OPENSSL support +BuildRequires: openssl-devel + + +%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}} + +%__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}" + +# 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} \ + --program-prefix="" \ + \ + --disable-dependency-tracking \ + --disable-debug \ + --disable-final \ + --enable-new-ldflags \ + --enable-closure \ + --enable-rpath \ + --disable-gcc-hidden-visibility + +%__make %{?_smp_mflags} + + +%install +%__rm -rf $RPM_BUILD_ROOT +%__make install DESTDIR=$RPM_BUILD_ROOT + +%find_lang %{tde_pkg} + + +%clean +%__rm -rf $RPM_BUILD_ROOT + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING README TODO ChangeLog USINGTORK +%{tde_bindir}/tork +%{tde_bindir}/torkarkollon +%{tde_bindir}/usewithtor +%{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/*/actions/tork.png +%{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-14.0.0.spec b/redhat/applications/twin-style-crystal/twin-style-crystal-14.0.0.spec deleted file mode 100644 index 9f22e2596..000000000 --- a/redhat/applications/twin-style-crystal/twin-style-crystal-14.0.0.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.0.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: 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 - -Obsoletes: trinity-kwin-style-crystal < %{version}-%{release} -Provides: trinity-kwin-style-crystal = %{version}-%{release} - - -%description -Crystal offers you pseudo transparent titlebar, buttons and borders -transparent, so you can see more of your lovely background image -Transparancy and buttons can be costumized to match your wishes. -Offers rounded corners as well - -And it is of course nice to look at. Upstream says: -"- Don't forget to breathe, while drooling." - -########## - -%if 0%{?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}" - -# Warning: --enable-gcc-visibility makes decoration unusable. -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - \ - --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} - - -%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-crystal/twin-style-crystal.spec b/redhat/applications/twin-style-crystal/twin-style-crystal.spec new file mode 100644 index 000000000..cdf1e4e92 --- /dev/null +++ b/redhat/applications/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.0.7 +%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: 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 + +Obsoletes: trinity-kwin-style-crystal < %{version}-%{release} +Provides: trinity-kwin-style-crystal = %{version}-%{release} + + +%description +Crystal offers you pseudo transparent titlebar, buttons and borders +transparent, so you can see more of your lovely background image +Transparancy and buttons can be costumized to match your wishes. +Offers rounded corners as well + +And it is of course nice to look at. Upstream says: +"- Don't forget to breathe, while drooling." + +########## + +%if 0%{?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}" + +# Warning: --enable-gcc-visibility makes decoration unusable. +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + \ + --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} + + +%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/wlassistant/wlassistant-14.0.0.spec b/redhat/applications/wlassistant/wlassistant-14.0.0.spec deleted file mode 100644 index fdd4e9b31..000000000 --- a/redhat/applications/wlassistant/wlassistant-14.0.0.spec +++ /dev/null @@ -1,198 +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.0.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: cmake 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%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_gamin 1 -BuildRequires: gamin-devel -%endif -# PYTHON support -BuildRequires: python - -# 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} -DNDEBUG" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -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 - - -%clean -%__rm -rf %{buildroot} - - -%files -%defattr(-,root,root,-) -%doc ChangeLog VERSION -%{tde_bindir}/wlassistant -%{tde_tdeappdir}/wlassistant.desktop -%{tde_datadir}/icons/hicolor/16x16/apps/wlassistant.png -%{tde_datadir}/icons/hicolor/32x32/apps/wlassistant.png -%lang(ar) %{tde_datadir}/locale/ar/LC_MESSAGES/wlassistant.mo -%lang(ca) %{tde_datadir}/locale/ca/LC_MESSAGES/wlassistant.mo -%lang(es) %{tde_datadir}/locale/es/LC_MESSAGES/wlassistant.mo -%lang(fr) %{tde_datadir}/locale/fr/LC_MESSAGES/wlassistant.mo -%lang(nb) %{tde_datadir}/locale/nb/LC_MESSAGES/wlassistant.mo -%lang(pl) %{tde_datadir}/locale/pl/LC_MESSAGES/wlassistant.mo -%lang(pt) %{tde_datadir}/locale/pt_BR/LC_MESSAGES/wlassistant.mo -%lang(sv) %{tde_datadir}/locale/sv/LC_MESSAGES/wlassistant.mo -%lang(zh_CN) %{tde_datadir}/locale/zh_CN/LC_MESSAGES/wlassistant.mo -%lang(zh_TW) %{tde_datadir}/locale/zh_TW/LC_MESSAGES/wlassistant.mo - - -%changelog diff --git a/redhat/applications/wlassistant/wlassistant.spec b/redhat/applications/wlassistant/wlassistant.spec new file mode 100644 index 000000000..ac0d47820 --- /dev/null +++ b/redhat/applications/wlassistant/wlassistant.spec @@ -0,0 +1,205 @@ +# +# 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.0.7 +%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: cmake 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%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_gamin 1 +BuildRequires: gamin-devel +%endif + +# PYTHON +%if 0%{?rhel} >= 8 || 0%{?fedora} >= 31 +%define python python2 +%define __python %__python2 +%else +%define python python +%endif +BuildRequires: %{python} + +# 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} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -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 + + +%clean +%__rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%doc ChangeLog VERSION +%{tde_bindir}/wlassistant +%{tde_tdeappdir}/wlassistant.desktop +%{tde_datadir}/icons/hicolor/16x16/apps/wlassistant.png +%{tde_datadir}/icons/hicolor/32x32/apps/wlassistant.png +%lang(ar) %{tde_datadir}/locale/ar/LC_MESSAGES/wlassistant.mo +%lang(ca) %{tde_datadir}/locale/ca/LC_MESSAGES/wlassistant.mo +%lang(es) %{tde_datadir}/locale/es/LC_MESSAGES/wlassistant.mo +%lang(fr) %{tde_datadir}/locale/fr/LC_MESSAGES/wlassistant.mo +%lang(nb) %{tde_datadir}/locale/nb/LC_MESSAGES/wlassistant.mo +%lang(pl) %{tde_datadir}/locale/pl/LC_MESSAGES/wlassistant.mo +%lang(pt) %{tde_datadir}/locale/pt_BR/LC_MESSAGES/wlassistant.mo +%lang(sv) %{tde_datadir}/locale/sv/LC_MESSAGES/wlassistant.mo +%lang(zh_CN) %{tde_datadir}/locale/zh_CN/LC_MESSAGES/wlassistant.mo +%lang(zh_TW) %{tde_datadir}/locale/zh_TW/LC_MESSAGES/wlassistant.mo + + +%changelog diff --git a/redhat/applications/yakuake/yakuake.spec b/redhat/applications/yakuake/yakuake.spec index 165aedac1..be2a53720 100644 --- a/redhat/applications/yakuake/yakuake.spec +++ b/redhat/applications/yakuake/yakuake.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg yakuake %define tde_prefix /opt/trinity diff --git a/redhat/dependencies/akode/akode-14.0.0.spec b/redhat/dependencies/akode/akode-14.0.0.spec deleted file mode 100644 index f4b24e33a..000000000 --- a/redhat/dependencies/akode/akode-14.0.0.spec +++ /dev/null @@ -1,365 +0,0 @@ -# -# spec file for package akode (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/ -# - -# BUILD WARNING: -# Remove qt-devel and qt3-devel and any kde*-devel on your system ! -# Having KDE libraries may cause FTBFS here ! - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.0.0 -%endif -%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%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} -%define libakode %{_lib}akode -%else -%define libakode libakode -%endif - -Name: trinity-akode -Epoch: %{tde_epoch} -Version: 2.0.2 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Audio-decoding framework -Group: System Environment/Libraries -URL: http://www.kde-apps.org/content/show.php?content=30375 -#URL: http://carewolf.com/akode/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildRequires: cmake >= 2.8 -BuildRequires: gcc-c++ -BuildRequires: libtool - -# TQT support -BuildRequires: libtqt4-devel -BuildRequires: trinity-filesystem >= %{tde_version} - -# FLAC support -%define _with_flac --with-flac -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: libflac-devel -%endif -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -BuildRequires: flac-devel -%endif - -# JACK support -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define _with_jack --with-jack -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: libjack-devel -%endif -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -BuildRequires: jack-audio-connection-kit-devel -%endif -%endif - -# SAMPLERATE support -%if 0%{?rhel} >= 4 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define _with_libsamplerate --with-libsamplerate -BuildRequires: libsamplerate-devel -%endif - -# PULSEAUDIO support -%if 0%{?fedora} >= 15 || 0%{?rhel} >= 6 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define _with_pulseaudio --with-pulseaudio -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: libpulseaudio-devel -%endif -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: pulseaudio-libs-devel -%endif -%if 0%{?suse_version} -BuildRequires: pulseaudio-devel -%endif -%endif - -# MAD support -%ifarch %{ix86} x86_64 -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} -%define _with_libmad --with-libmad -BuildRequires: libmad-devel -%endif -%endif - -# ALSA support -%if 0%{?suse_version} -BuildRequires: alsa-devel -%else -BuildRequires: alsa-lib-devel -%endif - -BuildRequires: libvorbis-devel -BuildRequires: speex-devel - - -%description -aKode is a simple audio-decoding frame-work that provides a uniform -interface to decode the most common audio-formats. It also has a direct -playback option for a number of audio-outputs. - -aKode currently has the following decoder plugins: -* mpc: Decodes musepack aka mpc audio. -* xiph: Decodes FLAC, Ogg/FLAC, Speex and Ogg Vorbis audio. - -aKode also has the following audio outputs: -* alsa: Outputs to ALSA (dmix is recommended). -* jack -* pulseaudio - -%files -%defattr(-,root,root,-) -%doc rpmdocs/* -%{_bindir}/akodeplay -%{_libdir}/libakode.so.* -%{_libdir}/libakode_alsa_sink.la -%{_libdir}/libakode_alsa_sink.so -%{_libdir}/libakode_mpc_decoder.la -%{_libdir}/libakode_mpc_decoder.so -%{_libdir}/libakode_oss_sink.la -%{_libdir}/libakode_oss_sink.so -%{_libdir}/libakode_xiph_decoder.la -%{_libdir}/libakode_xiph_decoder.so - -%post -/sbin/ldconfig - -%postun -/sbin/ldconfig - -########## - -%package devel -Summary: Headers for developing programs that will use %{name} -Group: Development/Libraries -Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} -%{?_with_jack:Requires: %{libakode}_jack_sink = %{?epoch:%{epoch}:}%{version}-%{release}} -%{?_with_pulseaudio:Requires: %{libakode}_pulse_sink = %{?epoch:%{epoch}:}%{version}-%{release}} -%{?_with_libsamplerate:Requires: %{libakode}_src_resampler = %{?epoch:%{epoch}:}%{version}-%{release}} -%{?_with_libmad:Requires: %{libakode}_mpeg_decoder = %{?epoch:%{epoch}:}%{version}-%{release}} -Requires: pkgconfig - -%description devel -This package contains the development files for Akode. -It is needed if you intend to build an application linked against Akode. - -%files devel -%defattr(-,root,root,-) -%{_bindir}/akode-config -%{_includedir}/* -%{_libdir}/libakode.la -%{_libdir}/libakode.so -%{_libdir}/pkgconfig/akode.pc - -%post devel -/sbin/ldconfig - -%postun devel -/sbin/ldconfig - -########## - -%if "%{?_with_jack}" != "" - -%package -n %{libakode}_jack_sink -Summary: Jack audio output backend for %{name} -Group: Development/Libraries -Provides: libakode_jack_sink = %{version}-%{release} -Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -n %{libakode}_jack_sink -This package contains the Jack audio output backend for Akode. - -%files -n %{libakode}_jack_sink -%defattr(-,root,root,-) -%{_libdir}/libakode_jack_sink.la -%{_libdir}/libakode_jack_sink.so - -%post -n %{libakode}_jack_sink -/sbin/ldconfig - -%postun -n %{libakode}_jack_sink -/sbin/ldconfig - -%endif - -########## - -%if "%{?_with_pulseaudio}" != "" - -%package -n %{libakode}_pulse_sink -Summary: Pulseaudio output backend for %{name} -Group: Development/Libraries -Provides: libakode_pulse_sink = %{version}-%{release} -Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -n %{libakode}_pulse_sink -This package contains the pulseaudio backend for Akode. -Recommended for network transparent audio. - -%files -n %{libakode}_pulse_sink -%defattr(-,root,root,-) -%{_libdir}/libakode_pulse_sink.la -%{_libdir}/libakode_pulse_sink.so - -%post -n %{libakode}_pulse_sink -/sbin/ldconfig - -%postun -n %{libakode}_pulse_sink -/sbin/ldconfig - -%endif - -########## - -# Packaged separately to keep main/core %{akode} package LGPL-clean. -%if "%{?_with_libsamplerate:1}" == "1" - -%package -n %{libakode}_src_resampler -Summary: Resampler based on libsamplerate for %{name} -Group: Development/Libraries -Provides: libakode_src_resampler = %{version}-%{release} -Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -n %{libakode}_src_resampler -This package contains the samplerate decoder for Akode. - -%files -n %{libakode}_src_resampler -%defattr(-,root,root,-) -%{_libdir}/libakode_src_resampler.la -%{_libdir}/libakode_src_resampler.so - -%post -n %{libakode}_src_resampler -/sbin/ldconfig - -%postun -n %{libakode}_src_resampler -/sbin/ldconfig - -%endif - -########## - -%if "%{?_with_libmad}" != "" - -%package -n %{libakode}_mpeg_decoder -Summary: Decoder based on libmad for %{name} -Group: Development/Libraries -Provides: libakode_mpeg_decoder = %{version}-%{release} -Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -n %{libakode}_mpeg_decoder -This package contains the mad decoder for Akode. - -%files -n %{libakode}_mpeg_decoder -%defattr(-,root,root,-) -%{_libdir}/libakode_mpeg_decoder.la -%{_libdir}/libakode_mpeg_decoder.so - -%post -n %{libakode}_mpeg_decoder -/sbin/ldconfig - -%postun -n %{libakode}_mpeg_decoder -/sbin/ldconfig - -%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 - -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} -DNDEBUG" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -DCMAKE_SKIP_RPATH=ON \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DINCLUDE_INSTALL_DIR=%{_includedir} \ - -DLIB_INSTALL_DIR=%{_libdir} \ - \ - -DWITH_ALL_OPTIONS="ON" \ - -DWITH_LIBLTDL="OFF" \ - -DWITH_ALSA_SINK="ON" \ - %{!?_with_jack:-DWITH_JACK_SINK="OFF"} %{?_with_jack:-DWITH_JACK_SINK="ON"} \ - %{!?_with_pulseaudio:-DWITH_PULSE_SINK="OFF"} %{?_with_pulseaudio:-DWITH_PULSE_SINK="ON"} \ - -DWITH_OSS_SINK="ON" \ - -DWITH_SUN_SINK="OFF" \ - \ - -DWITH_FFMPEG_DECODER="OFF" \ - -DWITH_MPC_DECODER="ON" \ - %{!?_with_libmad:-DWITH_MPEG_DECODER="OFF"} %{?_with_libmad:-DWITH_MPEG_DECODER="ON"} \ - -DWITH_SRC_RESAMPLER="ON" \ - -DWITH_XIPH_DECODER="ON" \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -%__rm -rf %{buildroot} -%__make install DESTDIR=%{?buildroot} -C build - -# rpmdocs -for file in AUTHORS COPYING NEWS README TODO ; do - test -s "$file" && install -p -m644 -D "$file" "rpmdocs/$file" -done - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/dependencies/akode/akode.spec b/redhat/dependencies/akode/akode.spec new file mode 100644 index 000000000..9bf70642b --- /dev/null +++ b/redhat/dependencies/akode/akode.spec @@ -0,0 +1,365 @@ +# +# spec file for package akode (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/ +# + +# BUILD WARNING: +# Remove qt-devel and qt3-devel and any kde*-devel on your system ! +# Having KDE libraries may cause FTBFS here ! + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.0.7 +%endif +%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%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} +%define libakode %{_lib}akode +%else +%define libakode libakode +%endif + +Name: trinity-akode +Epoch: %{tde_epoch} +Version: 2.0.2 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Audio-decoding framework +Group: System Environment/Libraries +URL: http://www.kde-apps.org/content/show.php?content=30375 +#URL: http://carewolf.com/akode/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: cmake >= 2.8 +BuildRequires: gcc-c++ +BuildRequires: libtool + +# TQT support +BuildRequires: libtqt4-devel +BuildRequires: trinity-filesystem >= %{tde_version} + +# FLAC support +%define _with_flac --with-flac +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: libflac-devel +%endif +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +BuildRequires: flac-devel +%endif + +# JACK support +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define _with_jack --with-jack +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: libjack-devel +%endif +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +BuildRequires: jack-audio-connection-kit-devel +%endif +%endif + +# SAMPLERATE support +%if 0%{?rhel} >= 4 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define _with_libsamplerate --with-libsamplerate +BuildRequires: libsamplerate-devel +%endif + +# PULSEAUDIO support +%if 0%{?fedora} >= 15 || 0%{?rhel} >= 6 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define _with_pulseaudio --with-pulseaudio +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: libpulseaudio-devel +%endif +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: pulseaudio-libs-devel +%endif +%if 0%{?suse_version} +BuildRequires: pulseaudio-devel +%endif +%endif + +# MAD support +%ifarch %{ix86} x86_64 +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} +%define _with_libmad --with-libmad +BuildRequires: libmad-devel +%endif +%endif + +# ALSA support +%if 0%{?suse_version} +BuildRequires: alsa-devel +%else +BuildRequires: alsa-lib-devel +%endif + +BuildRequires: libvorbis-devel +BuildRequires: speex-devel + + +%description +aKode is a simple audio-decoding frame-work that provides a uniform +interface to decode the most common audio-formats. It also has a direct +playback option for a number of audio-outputs. + +aKode currently has the following decoder plugins: +* mpc: Decodes musepack aka mpc audio. +* xiph: Decodes FLAC, Ogg/FLAC, Speex and Ogg Vorbis audio. + +aKode also has the following audio outputs: +* alsa: Outputs to ALSA (dmix is recommended). +* jack +* pulseaudio + +%files +%defattr(-,root,root,-) +%doc rpmdocs/* +%{_bindir}/akodeplay +%{_libdir}/libakode.so.* +%{_libdir}/libakode_alsa_sink.la +%{_libdir}/libakode_alsa_sink.so +%{_libdir}/libakode_mpc_decoder.la +%{_libdir}/libakode_mpc_decoder.so +%{_libdir}/libakode_oss_sink.la +%{_libdir}/libakode_oss_sink.so +%{_libdir}/libakode_xiph_decoder.la +%{_libdir}/libakode_xiph_decoder.so + +%post +/sbin/ldconfig + +%postun +/sbin/ldconfig + +########## + +%package devel +Summary: Headers for developing programs that will use %{name} +Group: Development/Libraries +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} +%{?_with_jack:Requires: %{libakode}_jack_sink = %{?epoch:%{epoch}:}%{version}-%{release}} +%{?_with_pulseaudio:Requires: %{libakode}_pulse_sink = %{?epoch:%{epoch}:}%{version}-%{release}} +%{?_with_libsamplerate:Requires: %{libakode}_src_resampler = %{?epoch:%{epoch}:}%{version}-%{release}} +%{?_with_libmad:Requires: %{libakode}_mpeg_decoder = %{?epoch:%{epoch}:}%{version}-%{release}} +Requires: pkgconfig + +%description devel +This package contains the development files for Akode. +It is needed if you intend to build an application linked against Akode. + +%files devel +%defattr(-,root,root,-) +%{_bindir}/akode-config +%{_includedir}/* +%{_libdir}/libakode.la +%{_libdir}/libakode.so +%{_libdir}/pkgconfig/akode.pc + +%post devel +/sbin/ldconfig + +%postun devel +/sbin/ldconfig + +########## + +%if "%{?_with_jack}" != "" + +%package -n %{libakode}_jack_sink +Summary: Jack audio output backend for %{name} +Group: Development/Libraries +Provides: libakode_jack_sink = %{version}-%{release} +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n %{libakode}_jack_sink +This package contains the Jack audio output backend for Akode. + +%files -n %{libakode}_jack_sink +%defattr(-,root,root,-) +%{_libdir}/libakode_jack_sink.la +%{_libdir}/libakode_jack_sink.so + +%post -n %{libakode}_jack_sink +/sbin/ldconfig + +%postun -n %{libakode}_jack_sink +/sbin/ldconfig + +%endif + +########## + +%if "%{?_with_pulseaudio}" != "" + +%package -n %{libakode}_pulse_sink +Summary: Pulseaudio output backend for %{name} +Group: Development/Libraries +Provides: libakode_pulse_sink = %{version}-%{release} +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n %{libakode}_pulse_sink +This package contains the pulseaudio backend for Akode. +Recommended for network transparent audio. + +%files -n %{libakode}_pulse_sink +%defattr(-,root,root,-) +%{_libdir}/libakode_pulse_sink.la +%{_libdir}/libakode_pulse_sink.so + +%post -n %{libakode}_pulse_sink +/sbin/ldconfig + +%postun -n %{libakode}_pulse_sink +/sbin/ldconfig + +%endif + +########## + +# Packaged separately to keep main/core %{akode} package LGPL-clean. +%if "%{?_with_libsamplerate:1}" == "1" + +%package -n %{libakode}_src_resampler +Summary: Resampler based on libsamplerate for %{name} +Group: Development/Libraries +Provides: libakode_src_resampler = %{version}-%{release} +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n %{libakode}_src_resampler +This package contains the samplerate decoder for Akode. + +%files -n %{libakode}_src_resampler +%defattr(-,root,root,-) +%{_libdir}/libakode_src_resampler.la +%{_libdir}/libakode_src_resampler.so + +%post -n %{libakode}_src_resampler +/sbin/ldconfig + +%postun -n %{libakode}_src_resampler +/sbin/ldconfig + +%endif + +########## + +%if "%{?_with_libmad}" != "" + +%package -n %{libakode}_mpeg_decoder +Summary: Decoder based on libmad for %{name} +Group: Development/Libraries +Provides: libakode_mpeg_decoder = %{version}-%{release} +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n %{libakode}_mpeg_decoder +This package contains the mad decoder for Akode. + +%files -n %{libakode}_mpeg_decoder +%defattr(-,root,root,-) +%{_libdir}/libakode_mpeg_decoder.la +%{_libdir}/libakode_mpeg_decoder.so + +%post -n %{libakode}_mpeg_decoder +/sbin/ldconfig + +%postun -n %{libakode}_mpeg_decoder +/sbin/ldconfig + +%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 + +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} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_SKIP_RPATH=ON \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DINCLUDE_INSTALL_DIR=%{_includedir} \ + -DLIB_INSTALL_DIR=%{_libdir} \ + \ + -DWITH_ALL_OPTIONS="ON" \ + -DWITH_LIBLTDL="OFF" \ + -DWITH_ALSA_SINK="ON" \ + %{!?_with_jack:-DWITH_JACK_SINK="OFF"} %{?_with_jack:-DWITH_JACK_SINK="ON"} \ + %{!?_with_pulseaudio:-DWITH_PULSE_SINK="OFF"} %{?_with_pulseaudio:-DWITH_PULSE_SINK="ON"} \ + -DWITH_OSS_SINK="ON" \ + -DWITH_SUN_SINK="OFF" \ + \ + -DWITH_FFMPEG_DECODER="OFF" \ + -DWITH_MPC_DECODER="ON" \ + %{!?_with_libmad:-DWITH_MPEG_DECODER="OFF"} %{?_with_libmad:-DWITH_MPEG_DECODER="ON"} \ + -DWITH_SRC_RESAMPLER="ON" \ + -DWITH_XIPH_DECODER="ON" \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +%__rm -rf %{buildroot} +%__make install DESTDIR=%{?buildroot} -C build + +# rpmdocs +for file in AUTHORS COPYING NEWS README TODO ; do + test -s "$file" && install -p -m644 -D "$file" "rpmdocs/$file" +done + + +%clean +%__rm -rf %{buildroot} + + +%changelog diff --git a/redhat/dependencies/arts/arts-14.0.0.spec b/redhat/dependencies/arts/arts-14.0.0.spec deleted file mode 100644 index 765d14efa..000000000 --- a/redhat/dependencies/arts/arts-14.0.0.spec +++ /dev/null @@ -1,303 +0,0 @@ -# -# spec file for package arts (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/ -# - -# BUILD WARNING: -# Remove qt-devel and qt3-devel and any kde*-devel on your system ! -# Having KDE libraries may cause FTBFS here ! - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.0.0 -%endif -%define tde_pkg arts -%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_sbindir %{tde_prefix}/sbin -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 1.5.10 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: ARTS (analog realtime synthesizer) - the TDE sound system -Group: System Environment/Daemons -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Project -#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: libtqt4-devel >= %{tde_epoch}:4.2.0 -BuildRequires: trinity-filesystem >= %{tde_version} -Requires: trinity-filesystem >= %{tde_version} - -BuildRequires: cmake >= 2.8 -BuildRequires: gcc-c++ -BuildRequires: pkgconfig - -BuildRequires: audiofile-devel -BuildRequires: alsa-lib-devel -BuildRequires: glib2-devel -BuildRequires: gsl-devel -BuildRequires: libvorbis-devel - -# ESOUND support -%define with_esound 1 -%if 0%{?with_esound} -BuildRequires: esound-devel -%endif - -# JACK support -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} -%define with_jack 1 -%if 0%{?rhel} >= 5 || 0%{?fedora} -%define jack_devel jack-audio-connection-kit-devel -%endif -%if 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} -%define jack_devel libjack-devel -%endif -BuildRequires: %{jack_devel} -%endif - -# LIBTOOL -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: libltdl-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} -BuildRequires: libtool-ltdl-devel -%endif -%if 0%{?suse_version} -%if 0%{?suse_version} >= 1220 -BuildRequires: libltdl-devel -%else -BuildRequires: libtool -%endif -%endif - -# MAD support -%ifarch %{ix86} x86_64 -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} -%define with_libmad 1 -%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} || 0%{?mdkversion} || 0%{?mgaversion} -%define mad_devel libmad-devel -%endif -BuildRequires: %{mad_devel} -%endif -%endif - -# Pulseaudio config file -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?suse_version} -%define with_pulseaudio 1 -%endif - -Requires: libtqt4 >= %{tde_epoch}:4.2.0 -Requires: audiofile - -%if "%{?tde_prefix}" == "/usr" -Obsoletes: arts -%endif - -%description -arts (analog real-time synthesizer) is the sound system of TDE. - -The principle of arts is to create/process sound using small modules which do -certain tasks. These may be create a waveform (oscillators), play samples, -filter data, add signals, perform effects like delay/flanger/chorus, or -output the data to the soundcard. - -By connecting all those small modules together, you can perform complex -tasks like simulating a mixer, generating an instrument or things like -playing a wave file with some effects. - -%files -%defattr(-,root,root,-) -%doc COPYING.LIB -%dir %{tde_libdir}/mcop -%dir %{tde_libdir}/mcop/Arts -%dir %{tde_libdir}/mcop/Arts/Environment -%{tde_libdir}/mcop/Arts/* -%{tde_libdir}/mcop/*.mcopclass -%{tde_libdir}/mcop/*.mcoptype -%{tde_libdir}/lib*.so.* -%{tde_bindir}/artscat -%{tde_bindir}/artsd -%{tde_bindir}/artsdsp -%{tde_bindir}/artsplay -%{tde_bindir}/artsrec -%{tde_bindir}/artsshell -%{tde_bindir}/artswrapper -# The '.la' files are needed for runtime, not devel ! -%{tde_libdir}/lib*.la - -########## - -%package devel -Group: Development/Libraries -Summary: ARTS (analog realtime synthesizer) - the TDE sound system (Development files) -Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} -%if "%{?tde_prefix}" == "/usr" -Obsoletes: arts-devel -%endif - -Requires: alsa-lib-devel -Requires: audiofile-devel -Requires: libvorbis-devel -%{?with_esound:Requires: esound-devel} -%{?with_libmad:Requires: %{mad_devel}} -%{?with_jack:Requires: %{jack_devel}} - -%description devel -arts (analog real-time synthesizer) is the sound system of TDE. - -The principle of arts is to create/process sound using small modules which do -certain tasks. These may be create a waveform (oscillators), play samples, -filter data, add signals, perform effects like delay/flanger/chorus, or -output the data to the soundcard. - -By connecting all those small modules together, you can perform complex -tasks like simulating a mixer, generating an instrument or things like -playing a wave file with some effects. - -%files devel -%defattr(-,root,root,-) -%{tde_bindir}/mcopidl -# Arts includes are under 'tde' - this is on purpose ! -%{tde_tdeincludedir}/arts/ -# Artsc includes are not under 'tde'. -%{tde_includedir}/artsc/ -%{tde_bindir}/artsc-config -%{tde_libdir}/lib*.so -%{tde_libdir}/pkgconfig/*.pc -%{tde_libdir}/*.a - -########## - -%if 0%{?with_pulseaudio} - -%package config-pulseaudio -Group: System Environment/Daemons -Summary: ARTS - Default configuration file for Pulseaudio -Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} - -%description config-pulseaudio -This package contains a default ARTS configuration file, that is -intended for systems running the Pulseaudio server. - -%files config-pulseaudio -%defattr(-,root,root,-) -%{tde_confdir}/kcmartsrc - -%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" - -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} -DNDEBUG" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_NO_BUILTIN_CHRPATH=ON \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DBIN_INSTALL_DIR="%{tde_bindir}" \ - -DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}/arts" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - -DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \ - \ - -DWITH_ALSA=ON \ - -DWITH_AUDIOFILE=ON \ - -DWITH_VORBIS=ON \ - %{?with_libmad:-DWITH_MAD=ON} %{!?with_libmad:-DWITH_MAD=OFF} \ - %{?with_esound:-DWITH_ESOUND=ON} \ - %{?with_jack:-DWITH_JACK=ON} \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -%__rm -rf %{?buildroot} -%__make install -C build DESTDIR=%{?buildroot} - -%__install -d -m 755 %{?buildroot}%{tde_datadir}/config -%__install -d -m 755 %{?buildroot}%{tde_datadir}/doc - -# Installs the Pulseaudio configuration file -%if 0%{?with_pulseaudio} -%__mkdir_p "%{?buildroot}%{tde_confdir}" -cat <"%{?buildroot}%{tde_confdir}/kcmartsrc" -[Arts] -Arguments=\s-F 10 -S 4096 -a esd -n -s 1 -m artsmessage -c drkonqi -l 3 -f -NetworkTransparent=true -SuspendTime=1 -EOF -chmod 644 "%{?buildroot}%{tde_confdir}/kcmartsrc" -%endif - -# Add supplementary folders -%__install -d -m 755 "%{?buildroot}%{tde_libdir}/mcop/Arts/Environment" - - -%clean -%__rm -rf %{?buildroot} - - -%changelog diff --git a/redhat/dependencies/arts/arts.spec b/redhat/dependencies/arts/arts.spec new file mode 100644 index 000000000..15cfc1623 --- /dev/null +++ b/redhat/dependencies/arts/arts.spec @@ -0,0 +1,303 @@ +# +# spec file for package arts (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/ +# + +# BUILD WARNING: +# Remove qt-devel and qt3-devel and any kde*-devel on your system ! +# Having KDE libraries may cause FTBFS here ! + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.0.7 +%endif +%define tde_pkg arts +%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_sbindir %{tde_prefix}/sbin +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 1.5.10 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: ARTS (analog realtime synthesizer) - the TDE sound system +Group: System Environment/Daemons +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Project +#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: libtqt4-devel >= %{tde_epoch}:4.2.0 +BuildRequires: trinity-filesystem >= %{tde_version} +Requires: trinity-filesystem >= %{tde_version} + +BuildRequires: cmake >= 2.8 +BuildRequires: gcc-c++ +BuildRequires: pkgconfig + +BuildRequires: audiofile-devel +BuildRequires: alsa-lib-devel +BuildRequires: glib2-devel +BuildRequires: gsl-devel +BuildRequires: libvorbis-devel + +# ESOUND support +%define with_esound 1 +%if 0%{?with_esound} +BuildRequires: esound-devel +%endif + +# JACK support +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} +%define with_jack 1 +%if 0%{?rhel} >= 5 || 0%{?fedora} +%define jack_devel jack-audio-connection-kit-devel +%endif +%if 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} +%define jack_devel libjack-devel +%endif +BuildRequires: %{jack_devel} +%endif + +# LIBTOOL +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: libltdl-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} +BuildRequires: libtool-ltdl-devel +%endif +%if 0%{?suse_version} +%if 0%{?suse_version} >= 1220 +BuildRequires: libltdl-devel +%else +BuildRequires: libtool +%endif +%endif + +# MAD support +%ifarch %{ix86} x86_64 +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} +%define with_libmad 1 +%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} || 0%{?mdkversion} || 0%{?mgaversion} +%define mad_devel libmad-devel +%endif +BuildRequires: %{mad_devel} +%endif +%endif + +# Pulseaudio config file +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?suse_version} +%define with_pulseaudio 1 +%endif + +Requires: libtqt4 >= %{tde_epoch}:4.2.0 +Requires: audiofile + +%if "%{?tde_prefix}" == "/usr" +Obsoletes: arts +%endif + +%description +arts (analog real-time synthesizer) is the sound system of TDE. + +The principle of arts is to create/process sound using small modules which do +certain tasks. These may be create a waveform (oscillators), play samples, +filter data, add signals, perform effects like delay/flanger/chorus, or +output the data to the soundcard. + +By connecting all those small modules together, you can perform complex +tasks like simulating a mixer, generating an instrument or things like +playing a wave file with some effects. + +%files +%defattr(-,root,root,-) +%doc COPYING.LIB +%dir %{tde_libdir}/mcop +%dir %{tde_libdir}/mcop/Arts +%dir %{tde_libdir}/mcop/Arts/Environment +%{tde_libdir}/mcop/Arts/* +%{tde_libdir}/mcop/*.mcopclass +%{tde_libdir}/mcop/*.mcoptype +%{tde_libdir}/lib*.so.* +%{tde_bindir}/artscat +%{tde_bindir}/artsd +%{tde_bindir}/artsdsp +%{tde_bindir}/artsplay +%{tde_bindir}/artsrec +%{tde_bindir}/artsshell +%{tde_bindir}/artswrapper +# The '.la' files are needed for runtime, not devel ! +%{tde_libdir}/lib*.la + +########## + +%package devel +Group: Development/Libraries +Summary: ARTS (analog realtime synthesizer) - the TDE sound system (Development files) +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} +%if "%{?tde_prefix}" == "/usr" +Obsoletes: arts-devel +%endif + +Requires: alsa-lib-devel +Requires: audiofile-devel +Requires: libvorbis-devel +%{?with_esound:Requires: esound-devel} +%{?with_libmad:Requires: %{mad_devel}} +%{?with_jack:Requires: %{jack_devel}} + +%description devel +arts (analog real-time synthesizer) is the sound system of TDE. + +The principle of arts is to create/process sound using small modules which do +certain tasks. These may be create a waveform (oscillators), play samples, +filter data, add signals, perform effects like delay/flanger/chorus, or +output the data to the soundcard. + +By connecting all those small modules together, you can perform complex +tasks like simulating a mixer, generating an instrument or things like +playing a wave file with some effects. + +%files devel +%defattr(-,root,root,-) +%{tde_bindir}/mcopidl +# Arts includes are under 'tde' - this is on purpose ! +%{tde_tdeincludedir}/arts/ +# Artsc includes are not under 'tde'. +%{tde_includedir}/artsc/ +%{tde_bindir}/artsc-config +%{tde_libdir}/lib*.so +%{tde_libdir}/pkgconfig/*.pc +%{tde_libdir}/*.a + +########## + +%if 0%{?with_pulseaudio} + +%package config-pulseaudio +Group: System Environment/Daemons +Summary: ARTS - Default configuration file for Pulseaudio +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} + +%description config-pulseaudio +This package contains a default ARTS configuration file, that is +intended for systems running the Pulseaudio server. + +%files config-pulseaudio +%defattr(-,root,root,-) +%{tde_confdir}/kcmartsrc + +%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" + +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} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_NO_BUILTIN_CHRPATH=ON \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DBIN_INSTALL_DIR="%{tde_bindir}" \ + -DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}/arts" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + -DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \ + \ + -DWITH_ALSA=ON \ + -DWITH_AUDIOFILE=ON \ + -DWITH_VORBIS=ON \ + %{?with_libmad:-DWITH_MAD=ON} %{!?with_libmad:-DWITH_MAD=OFF} \ + %{?with_esound:-DWITH_ESOUND=ON} \ + %{?with_jack:-DWITH_JACK=ON} \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +%__rm -rf %{?buildroot} +%__make install -C build DESTDIR=%{?buildroot} + +%__install -d -m 755 %{?buildroot}%{tde_datadir}/config +%__install -d -m 755 %{?buildroot}%{tde_datadir}/doc + +# Installs the Pulseaudio configuration file +%if 0%{?with_pulseaudio} +%__mkdir_p "%{?buildroot}%{tde_confdir}" +cat <"%{?buildroot}%{tde_confdir}/kcmartsrc" +[Arts] +Arguments=\s-F 10 -S 4096 -a esd -n -s 1 -m artsmessage -c drkonqi -l 3 -f +NetworkTransparent=true +SuspendTime=1 +EOF +chmod 644 "%{?buildroot}%{tde_confdir}/kcmartsrc" +%endif + +# Add supplementary folders +%__install -d -m 755 "%{?buildroot}%{tde_libdir}/mcop/Arts/Environment" + + +%clean +%__rm -rf %{?buildroot} + + +%changelog diff --git a/redhat/dependencies/avahi-tqt/avahi-tqt-14.0.0.spec b/redhat/dependencies/avahi-tqt/avahi-tqt-14.0.0.spec deleted file mode 100644 index 1989ceb7b..000000000 --- a/redhat/dependencies/avahi-tqt/avahi-tqt-14.0.0.spec +++ /dev/null @@ -1,239 +0,0 @@ -# -# spec file for package avahi-tqt (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.0.0 -%endif - -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} -%define libavahi %{_lib}avahi -%else -%define libavahi libavahi -%endif - - -Name: trinity-avahi-tqt -Epoch: %{tde_epoch} -Version: 0.6.30 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Avahi TQt integration library -Group: System/Libraries -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: LGPL-2.0+ -%else -License: LGPLv2+ -%endif - -#Vendor: Trinity Project -#Packager: Francois Andriot - -Prefix: /usr -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: libtqt4-devel >= %{tde_epoch}:4.2.0 - -BuildRequires: cmake -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: libtool - -# GLIB2 support -BuildRequires: glib2-devel - -# GETTEXT support -BuildRequires: gettext-devel - -# Xi support -%if 0%{?rhel} == 4 -BuildRequires: xorg-x11-devel -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: libxi-devel -%endif -%if 0%{?suse_version} >= 1220 || 0%{?rhel} >= 5 || 0%{?fedora} -BuildRequires: libXi-devel -%endif -%if 0%{?suse_version} == 1140 -BuildRequires: libXi6-devel -%endif - -# DBUS support -%if 0%{?suse_version} -BuildRequires: dbus-1-devel -%endif -%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: dbus-devel -%endif - -# PCAP support -BuildRequires: libcap-devel - -# AVAHI support -%if 0%{?mgaversion} || 0%{?mdkversion} -%define avahi_devel libavahi-client-devel -%endif -%if 0%{?suse_version} || 0%{?rhel} || 0%{?fedora} -%define avahi_devel avahi-devel -%endif -%{?avahi_devel:BuildRequires: %{avahi_devel}} - -# EXPAT support -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: expat-devel -%endif -%if 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: libexpat-devel -%endif - -# NAS support -%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_nas 1 -BuildRequires: nas-devel -%endif - -# XT support -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -BuildRequires: libXt-devel -%endif - -%description -Avahi is a fully LGPL framework for Multicast DNS Service Discovery. -It allows programs to publish and discover services and hosts -running on a local network with no specific configuration. For -example you can plug into a network and instantly find printers to -print to, files to look at and people to talk to. - . -This library contains the interface to integrate the Avahi libraries -into a TQt main loop application. - -########## - -%package -n %{libavahi}-tqt1 -Summary: Avahi TQt integration library -Group: System/Libraries -Provides: libavahi-tqt1 = %{?epoch:%{epoch}:}%{version}-%{release} - -Obsoletes: trinity-avahi-tqt < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-avahi-tqt = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -n %{libavahi}-tqt1 -Avahi is a fully LGPL framework for Multicast DNS Service Discovery. -It allows programs to publish and discover services and hosts -running on a local network with no specific configuration. For -example you can plug into a network and instantly find printers to -print to, files to look at and people to talk to. - . -This library contains the interface to integrate the Avahi libraries -into a TQt main loop application. - -%post -n %{libavahi}-tqt1 -/sbin/ldconfig || : - -%postun -n %{libavahi}-tqt1 -/sbin/ldconfig || : - -%files -n %{libavahi}-tqt1 -%defattr(-,root,root,-) -%{_libdir}/libavahi-tqt.so.1 -%{_libdir}/libavahi-tqt.so.1.0.0 - -########## - -%package -n %{libavahi}-tqt-devel -Summary: Avahi TQt integration library (Development Files) -Group: Development/Libraries/C and C++ -Provides: libavahi-tqt-devel = %{?epoch:%{epoch}:}%{version}-%{release} - -Requires: %{libavahi}-tqt1 = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: libtqt4-devel >= %{tde_epoch}:4.2.0 -%{?avahi_devel:Requires: %{avahi_devel}} - -Obsoletes: trinity-avahi-tqt-devel < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-avahi-tqt-devel = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -n %{libavahi}-tqt-devel -Avahi is a fully LGPL framework for Multicast DNS Service Discovery. -It allows programs to publish and discover services and hosts -running on a local network with no specific configuration. For -example you can plug into a network and instantly find printers to -print to, files to look at and people to talk to. - . -This library contains the interface to integrate the Avahi libraries -into a TQt main loop application. - -%post -n %{libavahi}-tqt-devel -/sbin/ldconfig || : - -%postun -n %{libavahi}-tqt-devel -/sbin/ldconfig || : - -%files -n %{libavahi}-tqt-devel -%defattr(-,root,root,-) -%{_includedir}/avahi-tqt/ -%{_libdir}/libavahi-tqt.a -%{_libdir}/libavahi-tqt.so -%{_libdir}/libavahi-tqt.la -%{_libdir}/pkgconfig/avahi-tqt.pc - -########## - -%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 - -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} -DNDEBUG" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -DCMAKE_SKIP_RPATH=ON \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -%__rm -rf %{?buildroot} -%__make install DESTDIR="%{?buildroot}" -C build - - -%clean -%__rm -rf %{?buildroot} - - -%changelog diff --git a/redhat/dependencies/avahi-tqt/avahi-tqt.spec b/redhat/dependencies/avahi-tqt/avahi-tqt.spec new file mode 100644 index 000000000..9c42233ee --- /dev/null +++ b/redhat/dependencies/avahi-tqt/avahi-tqt.spec @@ -0,0 +1,239 @@ +# +# spec file for package avahi-tqt (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.0.7 +%endif + +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} +%define libavahi %{_lib}avahi +%else +%define libavahi libavahi +%endif + + +Name: trinity-avahi-tqt +Epoch: %{tde_epoch} +Version: 0.6.30 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Avahi TQt integration library +Group: System/Libraries +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: LGPL-2.0+ +%else +License: LGPLv2+ +%endif + +#Vendor: Trinity Project +#Packager: Francois Andriot + +Prefix: /usr +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: libtqt4-devel >= %{tde_epoch}:4.2.0 + +BuildRequires: cmake +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: libtool + +# GLIB2 support +BuildRequires: glib2-devel + +# GETTEXT support +BuildRequires: gettext-devel + +# Xi support +%if 0%{?rhel} == 4 +BuildRequires: xorg-x11-devel +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: libxi-devel +%endif +%if 0%{?suse_version} >= 1220 || 0%{?rhel} >= 5 || 0%{?fedora} +BuildRequires: libXi-devel +%endif +%if 0%{?suse_version} == 1140 +BuildRequires: libXi6-devel +%endif + +# DBUS support +%if 0%{?suse_version} +BuildRequires: dbus-1-devel +%endif +%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: dbus-devel +%endif + +# PCAP support +BuildRequires: libcap-devel + +# AVAHI support +%if 0%{?mgaversion} || 0%{?mdkversion} +%define avahi_devel libavahi-client-devel +%endif +%if 0%{?suse_version} || 0%{?rhel} || 0%{?fedora} +%define avahi_devel avahi-devel +%endif +%{?avahi_devel:BuildRequires: %{avahi_devel}} + +# EXPAT support +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: expat-devel +%endif +%if 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: libexpat-devel +%endif + +# NAS support +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_nas 1 +BuildRequires: nas-devel +%endif + +# XT support +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +BuildRequires: libXt-devel +%endif + +%description +Avahi is a fully LGPL framework for Multicast DNS Service Discovery. +It allows programs to publish and discover services and hosts +running on a local network with no specific configuration. For +example you can plug into a network and instantly find printers to +print to, files to look at and people to talk to. + . +This library contains the interface to integrate the Avahi libraries +into a TQt main loop application. + +########## + +%package -n %{libavahi}-tqt1 +Summary: Avahi TQt integration library +Group: System/Libraries +Provides: libavahi-tqt1 = %{?epoch:%{epoch}:}%{version}-%{release} + +Obsoletes: trinity-avahi-tqt < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-avahi-tqt = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n %{libavahi}-tqt1 +Avahi is a fully LGPL framework for Multicast DNS Service Discovery. +It allows programs to publish and discover services and hosts +running on a local network with no specific configuration. For +example you can plug into a network and instantly find printers to +print to, files to look at and people to talk to. + . +This library contains the interface to integrate the Avahi libraries +into a TQt main loop application. + +%post -n %{libavahi}-tqt1 +/sbin/ldconfig || : + +%postun -n %{libavahi}-tqt1 +/sbin/ldconfig || : + +%files -n %{libavahi}-tqt1 +%defattr(-,root,root,-) +%{_libdir}/libavahi-tqt.so.1 +%{_libdir}/libavahi-tqt.so.1.0.0 + +########## + +%package -n %{libavahi}-tqt-devel +Summary: Avahi TQt integration library (Development Files) +Group: Development/Libraries/C and C++ +Provides: libavahi-tqt-devel = %{?epoch:%{epoch}:}%{version}-%{release} + +Requires: %{libavahi}-tqt1 = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: libtqt4-devel >= %{tde_epoch}:4.2.0 +%{?avahi_devel:Requires: %{avahi_devel}} + +Obsoletes: trinity-avahi-tqt-devel < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-avahi-tqt-devel = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n %{libavahi}-tqt-devel +Avahi is a fully LGPL framework for Multicast DNS Service Discovery. +It allows programs to publish and discover services and hosts +running on a local network with no specific configuration. For +example you can plug into a network and instantly find printers to +print to, files to look at and people to talk to. + . +This library contains the interface to integrate the Avahi libraries +into a TQt main loop application. + +%post -n %{libavahi}-tqt-devel +/sbin/ldconfig || : + +%postun -n %{libavahi}-tqt-devel +/sbin/ldconfig || : + +%files -n %{libavahi}-tqt-devel +%defattr(-,root,root,-) +%{_includedir}/avahi-tqt/ +%{_libdir}/libavahi-tqt.a +%{_libdir}/libavahi-tqt.so +%{_libdir}/libavahi-tqt.la +%{_libdir}/pkgconfig/avahi-tqt.pc + +########## + +%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 + +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} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_SKIP_RPATH=ON \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +%__rm -rf %{?buildroot} +%__make install DESTDIR="%{?buildroot}" -C build + + +%clean +%__rm -rf %{?buildroot} + + +%changelog diff --git a/redhat/dependencies/dbus-1-tqt/dbus-1-tqt-14.0.0.spec b/redhat/dependencies/dbus-1-tqt/dbus-1-tqt-14.0.0.spec deleted file mode 100644 index 7f8d9f3cb..000000000 --- a/redhat/dependencies/dbus-1-tqt/dbus-1-tqt-14.0.0.spec +++ /dev/null @@ -1,191 +0,0 @@ -# -# spec file for package dbus-1-tqt (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.0.0 -%endif - -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} -%define libdbus %{_lib}dbus -%else -%define libdbus libdbus -%endif - - -Name: trinity-dbus-1-tqt -Epoch: %{tde_epoch} -Version: 0.9 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Dbus bindings for the Trinity Qt [TQt] interface -Group: System/Libraries -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Project -#Packager: Francois Andriot - -Prefix: /usr -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: libtqt3-mt-devel >= 3.5.0 -BuildRequires: libtqt4-devel >= %{tde_epoch}:4.2.0 - -BuildRequires: cmake >= 2.8 -BuildRequires: gcc-c++ -BuildRequires: pkgconfig - -# DBUS support -%if 0%{?suse_version} -BuildRequires: dbus-1-devel -%else -BuildRequires: dbus-devel -%endif - -%description -D-BUS is a message bus, used for sending messages between applications. -Conceptually, it fits somewhere in between raw sockets and CORBA in -terms of complexity. - -This package provides bindings for the Trinity Qt TQt interface. - -See the dbus description for more information about D-BUS in general. - -########### - -%package -n %{libdbus}-1-tqt0 -Summary: Dbus bindings for the Trinity Qt [TQt] interface -Group: System/Libraries -Provides: libdbus-1-tqt0 = %{?epoch:%{epoch}:}%{version}-%{release} - -Obsoletes: trinity-dbus-1-tqt < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-dbus-1-tqt = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -n %{libdbus}-1-tqt0 -D-BUS is a message bus, used for sending messages between applications. -Conceptually, it fits somewhere in between raw sockets and CORBA in -terms of complexity. - -This package provides bindings for the Trinity Qt TQt interface. - -See the dbus description for more information about D-BUS in general. - -%post -n %{libdbus}-1-tqt0 -/sbin/ldconfig || : - -%postun -n %{libdbus}-1-tqt0 -/sbin/ldconfig || : - -%files -n %{libdbus}-1-tqt0 -%defattr(-,root,root,-) -%{_libdir}/libdbus-1-tqt.so.0 -%{_libdir}/libdbus-1-tqt.so.0.0.0 - -########## - -%package -n %{libdbus}-1-tqt-devel -Summary: Dbus bindings for the Trinity Qt [TQt] interface (Development Files) -Group: Development/Libraries/C and C++ -Provides: libdbus-1-tqt-devel = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: %{libdbus}-1-tqt0 = %{?epoch:%{epoch}:}%{version}-%{release} - -Obsoletes: trinity-dbus-1-tqt-devel < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-dbus-1-tqt-devel = %{?epoch:%{epoch}:}%{version}-%{release} - -%if 0%{?suse_version} -Requires: dbus-1-devel -%else -Requires: dbus-devel -%endif - -%description -n %{libdbus}-1-tqt-devel -D-BUS is a message bus, used for sending messages between applications. -Conceptually, it fits somewhere in between raw sockets and CORBA in -terms of complexity. - -This package provides bindings for the Trinity Qt TQt interface. - -See the dbus description for more information about D-BUS in general. - -%post -n %{libdbus}-1-tqt-devel -/sbin/ldconfig || : - -%postun -n %{libdbus}-1-tqt-devel -/sbin/ldconfig || : - -%files -n %{libdbus}-1-tqt-devel -%defattr(-,root,root,-) -%{_bindir}/dbusxml2qt3 -%{_includedir}/*.h -%{_libdir}/libdbus-1-tqt.so -%{_libdir}/libdbus-1-tqt.la -%{_libdir}/pkgconfig/*.pc - -########## - -%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 - -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} -DNDEBUG" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -DCMAKE_SKIP_RPATH=ON \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DBIN_INSTALL_DIR=%{_bindir} \ - -DINCLUDE_INSTALL_DIR=%{_includedir} \ - -DLIB_INSTALL_DIR=%{_libdir} \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -%__rm -rf %{?buildroot} -%__make install DESTDIR=%{?buildroot} -C build - - -%clean -%__rm -rf %{?buildroot} - - -%changelog diff --git a/redhat/dependencies/dbus-1-tqt/dbus-1-tqt.spec b/redhat/dependencies/dbus-1-tqt/dbus-1-tqt.spec new file mode 100644 index 000000000..55364763f --- /dev/null +++ b/redhat/dependencies/dbus-1-tqt/dbus-1-tqt.spec @@ -0,0 +1,191 @@ +# +# spec file for package dbus-1-tqt (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.0.7 +%endif + +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} +%define libdbus %{_lib}dbus +%else +%define libdbus libdbus +%endif + + +Name: trinity-dbus-1-tqt +Epoch: %{tde_epoch} +Version: 0.9 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Dbus bindings for the Trinity Qt [TQt] interface +Group: System/Libraries +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Project +#Packager: Francois Andriot + +Prefix: /usr +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: libtqt3-mt-devel >= 3.5.0 +BuildRequires: libtqt4-devel >= %{tde_epoch}:4.2.0 + +BuildRequires: cmake >= 2.8 +BuildRequires: gcc-c++ +BuildRequires: pkgconfig + +# DBUS support +%if 0%{?suse_version} +BuildRequires: dbus-1-devel +%else +BuildRequires: dbus-devel +%endif + +%description +D-BUS is a message bus, used for sending messages between applications. +Conceptually, it fits somewhere in between raw sockets and CORBA in +terms of complexity. + +This package provides bindings for the Trinity Qt TQt interface. + +See the dbus description for more information about D-BUS in general. + +########### + +%package -n %{libdbus}-1-tqt0 +Summary: Dbus bindings for the Trinity Qt [TQt] interface +Group: System/Libraries +Provides: libdbus-1-tqt0 = %{?epoch:%{epoch}:}%{version}-%{release} + +Obsoletes: trinity-dbus-1-tqt < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-dbus-1-tqt = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n %{libdbus}-1-tqt0 +D-BUS is a message bus, used for sending messages between applications. +Conceptually, it fits somewhere in between raw sockets and CORBA in +terms of complexity. + +This package provides bindings for the Trinity Qt TQt interface. + +See the dbus description for more information about D-BUS in general. + +%post -n %{libdbus}-1-tqt0 +/sbin/ldconfig || : + +%postun -n %{libdbus}-1-tqt0 +/sbin/ldconfig || : + +%files -n %{libdbus}-1-tqt0 +%defattr(-,root,root,-) +%{_libdir}/libdbus-1-tqt.so.0 +%{_libdir}/libdbus-1-tqt.so.0.0.0 + +########## + +%package -n %{libdbus}-1-tqt-devel +Summary: Dbus bindings for the Trinity Qt [TQt] interface (Development Files) +Group: Development/Libraries/C and C++ +Provides: libdbus-1-tqt-devel = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: %{libdbus}-1-tqt0 = %{?epoch:%{epoch}:}%{version}-%{release} + +Obsoletes: trinity-dbus-1-tqt-devel < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-dbus-1-tqt-devel = %{?epoch:%{epoch}:}%{version}-%{release} + +%if 0%{?suse_version} +Requires: dbus-1-devel +%else +Requires: dbus-devel +%endif + +%description -n %{libdbus}-1-tqt-devel +D-BUS is a message bus, used for sending messages between applications. +Conceptually, it fits somewhere in between raw sockets and CORBA in +terms of complexity. + +This package provides bindings for the Trinity Qt TQt interface. + +See the dbus description for more information about D-BUS in general. + +%post -n %{libdbus}-1-tqt-devel +/sbin/ldconfig || : + +%postun -n %{libdbus}-1-tqt-devel +/sbin/ldconfig || : + +%files -n %{libdbus}-1-tqt-devel +%defattr(-,root,root,-) +%{_bindir}/dbusxml2qt3 +%{_includedir}/*.h +%{_libdir}/libdbus-1-tqt.so +%{_libdir}/libdbus-1-tqt.la +%{_libdir}/pkgconfig/*.pc + +########## + +%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 + +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} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_SKIP_RPATH=ON \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DBIN_INSTALL_DIR=%{_bindir} \ + -DINCLUDE_INSTALL_DIR=%{_includedir} \ + -DLIB_INSTALL_DIR=%{_libdir} \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +%__rm -rf %{?buildroot} +%__make install DESTDIR=%{?buildroot} -C build + + +%clean +%__rm -rf %{?buildroot} + + +%changelog diff --git a/redhat/dependencies/dbus-tqt/dbus-tqt-14.0.0.spec b/redhat/dependencies/dbus-tqt/dbus-tqt-14.0.0.spec deleted file mode 100644 index 75ec11785..000000000 --- a/redhat/dependencies/dbus-tqt/dbus-tqt-14.0.0.spec +++ /dev/null @@ -1,191 +0,0 @@ -# -# spec file for package dbus-tqt (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.0.0 -%endif - -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} -%define libdbus %{_lib}dbus -%else -%define libdbus libdbus -%endif - - -Name: trinity-dbus-tqt -Epoch: %{tde_epoch} -Version: 0.63 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Simple inter-process messaging system -Group: System/Libraries -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Project -#Packager: Francois Andriot - -Prefix: /usr -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: libtqt4-devel >= %{tde_epoch}:4.2.0 - -BuildRequires: cmake >= 2.8 -BuildRequires: gcc-c++ -BuildRequires: pkgconfig - -# DBUS support -%if 0%{?suse_version} -BuildRequires: dbus-1-devel -%else -BuildRequires: dbus-devel -%endif - -%description -D-BUS is a message bus, used for sending messages between applications. -Conceptually, it fits somewhere in between raw sockets and CORBA in -terms of complexity. - -This package provides the TQt-based shared library for applications using the -Qt interface to D-BUS. - -See the dbus description for more information about D-BUS in general. - -########## - -%package -n %{libdbus}-tqt-1-0 -Summary: Simple inter-process messaging system (TQt-based shared library) -Group: System/Libraries -Provides: libdbus-tqt-1-0 = %{?epoch:%{epoch}:}%{version}-%{release} - -Obsoletes: trinity-dbus-tqt < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-dbus-tqt = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -n %{libdbus}-tqt-1-0 -D-BUS is a message bus, used for sending messages between applications. -Conceptually, it fits somewhere in between raw sockets and CORBA in -terms of complexity. - -This package provides the TQt-based shared library for applications using the -Qt interface to D-BUS. - -See the dbus description for more information about D-BUS in general. - -%post -n %{libdbus}-tqt-1-0 -/sbin/ldconfig || : - -%postun -n %{libdbus}-tqt-1-0 -/sbin/ldconfig || : - -%files -n %{libdbus}-tqt-1-0 -%defattr(-,root,root,-) -%{_libdir}/libdbus-tqt-1.so.0 -%{_libdir}/libdbus-tqt-1.so.0.0.0 - -########## - -%package -n %{libdbus}-tqt-1-devel -Summary: Simple inter-process messaging system (TQt interface) -Group: Development/Libraries/C and C++ -Provides: libdbus-tqt-1-devel = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: %{libdbus}-tqt-1-0 = %{?epoch:%{epoch}:}%{version}-%{release} - -Obsoletes: trinity-dbus-tqt-devel < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-dbus-tqt-devel = %{?epoch:%{epoch}:}%{version}-%{release} - -%if 0%{?suse_version} -Requires: dbus-1-devel -%else -Requires: dbus-devel -%endif - -%description -n %{libdbus}-tqt-1-devel -D-BUS is a message bus, used for sending messages between applications. -Conceptually, it fits somewhere in between raw sockets and CORBA in -terms of complexity. - -This package provides the TQt-based shared library for applications using the -Qt interface to D-BUS. - -See the dbus description for more information about D-BUS in general. - -%post -n %{libdbus}-tqt-1-devel -/sbin/ldconfig || : - -%postun -n %{libdbus}-tqt-1-devel -/sbin/ldconfig || : - -%files -n %{libdbus}-tqt-1-devel -%defattr(-,root,root,-) -%{_includedir}/dbus-1.0/* -%{_libdir}/libdbus-tqt-1.so -%{_libdir}/libdbus-tqt-1.la -%{_libdir}/pkgconfig/dbus-tqt.pc - -########## - -%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 - -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} -DNDEBUG" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -DCMAKE_SKIP_RPATH=ON \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DINCLUDE_INSTALL_DIR=%{_includedir} \ - -DLIB_INSTALL_DIR=%{_libdir} \ - .. - -%__make %{?_smp_mflags} - - -%install -%__rm -rf %{?buildroot} -%__make install DESTDIR=%{?buildroot} -C build - - -%clean -%__rm -rf %{?buildroot} - - -%changelog diff --git a/redhat/dependencies/dbus-tqt/dbus-tqt.spec b/redhat/dependencies/dbus-tqt/dbus-tqt.spec new file mode 100644 index 000000000..9d6268842 --- /dev/null +++ b/redhat/dependencies/dbus-tqt/dbus-tqt.spec @@ -0,0 +1,191 @@ +# +# spec file for package dbus-tqt (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.0.7 +%endif + +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} +%define libdbus %{_lib}dbus +%else +%define libdbus libdbus +%endif + + +Name: trinity-dbus-tqt +Epoch: %{tde_epoch} +Version: 0.63 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Simple inter-process messaging system +Group: System/Libraries +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Project +#Packager: Francois Andriot + +Prefix: /usr +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: libtqt4-devel >= %{tde_epoch}:4.2.0 + +BuildRequires: cmake >= 2.8 +BuildRequires: gcc-c++ +BuildRequires: pkgconfig + +# DBUS support +%if 0%{?suse_version} +BuildRequires: dbus-1-devel +%else +BuildRequires: dbus-devel +%endif + +%description +D-BUS is a message bus, used for sending messages between applications. +Conceptually, it fits somewhere in between raw sockets and CORBA in +terms of complexity. + +This package provides the TQt-based shared library for applications using the +Qt interface to D-BUS. + +See the dbus description for more information about D-BUS in general. + +########## + +%package -n %{libdbus}-tqt-1-0 +Summary: Simple inter-process messaging system (TQt-based shared library) +Group: System/Libraries +Provides: libdbus-tqt-1-0 = %{?epoch:%{epoch}:}%{version}-%{release} + +Obsoletes: trinity-dbus-tqt < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-dbus-tqt = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n %{libdbus}-tqt-1-0 +D-BUS is a message bus, used for sending messages between applications. +Conceptually, it fits somewhere in between raw sockets and CORBA in +terms of complexity. + +This package provides the TQt-based shared library for applications using the +Qt interface to D-BUS. + +See the dbus description for more information about D-BUS in general. + +%post -n %{libdbus}-tqt-1-0 +/sbin/ldconfig || : + +%postun -n %{libdbus}-tqt-1-0 +/sbin/ldconfig || : + +%files -n %{libdbus}-tqt-1-0 +%defattr(-,root,root,-) +%{_libdir}/libdbus-tqt-1.so.0 +%{_libdir}/libdbus-tqt-1.so.0.0.0 + +########## + +%package -n %{libdbus}-tqt-1-devel +Summary: Simple inter-process messaging system (TQt interface) +Group: Development/Libraries/C and C++ +Provides: libdbus-tqt-1-devel = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: %{libdbus}-tqt-1-0 = %{?epoch:%{epoch}:}%{version}-%{release} + +Obsoletes: trinity-dbus-tqt-devel < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-dbus-tqt-devel = %{?epoch:%{epoch}:}%{version}-%{release} + +%if 0%{?suse_version} +Requires: dbus-1-devel +%else +Requires: dbus-devel +%endif + +%description -n %{libdbus}-tqt-1-devel +D-BUS is a message bus, used for sending messages between applications. +Conceptually, it fits somewhere in between raw sockets and CORBA in +terms of complexity. + +This package provides the TQt-based shared library for applications using the +Qt interface to D-BUS. + +See the dbus description for more information about D-BUS in general. + +%post -n %{libdbus}-tqt-1-devel +/sbin/ldconfig || : + +%postun -n %{libdbus}-tqt-1-devel +/sbin/ldconfig || : + +%files -n %{libdbus}-tqt-1-devel +%defattr(-,root,root,-) +%{_includedir}/dbus-1.0/* +%{_libdir}/libdbus-tqt-1.so +%{_libdir}/libdbus-tqt-1.la +%{_libdir}/pkgconfig/dbus-tqt.pc + +########## + +%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 + +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} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_SKIP_RPATH=ON \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DINCLUDE_INSTALL_DIR=%{_includedir} \ + -DLIB_INSTALL_DIR=%{_libdir} \ + .. + +%__make %{?_smp_mflags} + + +%install +%__rm -rf %{?buildroot} +%__make install DESTDIR=%{?buildroot} -C build + + +%clean +%__rm -rf %{?buildroot} + + +%changelog diff --git a/redhat/dependencies/libart-lgpl/libart-lgpl-14.0.0.spec b/redhat/dependencies/libart-lgpl/libart-lgpl-14.0.0.spec deleted file mode 100644 index cd8a9ebc2..000000000 --- a/redhat/dependencies/libart-lgpl/libart-lgpl-14.0.0.spec +++ /dev/null @@ -1,211 +0,0 @@ -# -# spec file for package libart-lgpl (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.0.0 -%endif - -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} -%define libart %{_lib}art -%else -%define libart libart -%endif - - -Name: trinity-libart-lgpl -Epoch: %{tde_epoch} -Version: 2.3.22 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Library of functions for 2D graphics -Group: System/Libraries -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: LGPL-2.0+ -%else -License: LGPLv2+ -%endif - -#Vendor: Trinity Project -#Packager: Francois Andriot - -Prefix: /usr -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: libtool - -%description -A library of functions for 2D graphics supporting a superset of the -PostScript imaging model, designed to be integrated with graphics, artwork, -and illustration programs. It is written in optimized C, and is fully -compatible with C++. With a small footprint of 10,000 lines of code, it is -especially suitable for embedded applications. - -########## - -%package -n %{libart}_lgpl_2-2 -Summary: Library of functions for 2D graphics - runtime files -Group: System/Libraries -Obsoletes: libart_lgpl < %{version}-%{release} -Provides: libart_lgpl = %{version}-%{release} -Obsoletes: %{_lib}art_lgpl2 < %{version}-%{release} -Provides: %{_lib}art_lgpl2 = %{version}-%{release} -Provides: libart_lgpl_2-2 = %{version}-%{release} - -%description -n %{libart}_lgpl_2-2 -A library of functions for 2D graphics supporting a superset of the -PostScript imaging model, designed to be integrated with graphics, artwork, -and illustration programs. It is written in optimized C, and is fully -compatible with C++. With a small footprint of 10,000 lines of code, it is -especially suitable for embedded applications. - -%post -n %{libart}_lgpl_2-2 -/sbin/ldconfig || : - -%postun -n %{libart}_lgpl_2-2 -/sbin/ldconfig || : - -%files -n %{libart}_lgpl_2-2 -%defattr(-,root,root,-) -%{_libdir}/libart_lgpl_2.so.2 -%{_libdir}/libart_lgpl_2.so.2.3.21 - -########## - -%package -n %{libart}_lgpl-devel -Summary: Library of functions for 2D graphics - development files -Group: Development/Libraries -Provides: libart_lgpl-devel = %{tde_epoch}:%{version}-%{release} -Requires: %{libart}_lgpl_2-2 = %{tde_epoch}:%{version}-%{release} - -%description -n %{libart}_lgpl-devel -A library of functions for 2D graphics supporting a superset of the -PostScript imaging model, designed to be integrated with graphics, artwork, -and illustration programs. It is written in optimized C, and is fully -compatible with C++. With a small footprint of 10,000 lines of code, it is -especially suitable for embedded applications. - -%post -n %{libart}_lgpl-devel -/sbin/ldconfig || : - -%postun -n %{libart}_lgpl-devel -/sbin/ldconfig || : - -%files -n %{libart}_lgpl-devel -%defattr(-,root,root,-) -%{_bindir}/libart2-config -%{_libdir}/libart_lgpl_2.a -%{_libdir}/libart_lgpl_2.la -%{_libdir}/libart_lgpl_2.so -%dir %{_includedir}/libart-2.0 -%dir %{_includedir}/libart-2.0/libart_lgpl -%{_includedir}/libart-2.0/libart_lgpl/art_affine.h -%{_includedir}/libart-2.0/libart_lgpl/art_alphagamma.h -%{_includedir}/libart-2.0/libart_lgpl/art_bpath.h -%{_includedir}/libart-2.0/libart_lgpl/art_config.h -%{_includedir}/libart-2.0/libart_lgpl/art_filterlevel.h -%{_includedir}/libart-2.0/libart_lgpl/art_gray_svp.h -%{_includedir}/libart-2.0/libart_lgpl/art_misc.h -%{_includedir}/libart-2.0/libart_lgpl/art_pathcode.h -%{_includedir}/libart-2.0/libart_lgpl/art_pixbuf.h -%{_includedir}/libart-2.0/libart_lgpl/art_point.h -%{_includedir}/libart-2.0/libart_lgpl/art_rect.h -%{_includedir}/libart-2.0/libart_lgpl/art_rect_svp.h -%{_includedir}/libart-2.0/libart_lgpl/art_rect_uta.h -%{_includedir}/libart-2.0/libart_lgpl/art_render.h -%{_includedir}/libart-2.0/libart_lgpl/art_render_gradient.h -%{_includedir}/libart-2.0/libart_lgpl/art_render_mask.h -%{_includedir}/libart-2.0/libart_lgpl/art_render_svp.h -%{_includedir}/libart-2.0/libart_lgpl/art_rgb.h -%{_includedir}/libart-2.0/libart_lgpl/art_rgb_a_affine.h -%{_includedir}/libart-2.0/libart_lgpl/art_rgb_affine.h -%{_includedir}/libart-2.0/libart_lgpl/art_rgb_bitmap_affine.h -%{_includedir}/libart-2.0/libart_lgpl/art_rgb_pixbuf_affine.h -%{_includedir}/libart-2.0/libart_lgpl/art_rgb_rgba_affine.h -%{_includedir}/libart-2.0/libart_lgpl/art_rgb_svp.h -%{_includedir}/libart-2.0/libart_lgpl/art_rgba.h -%{_includedir}/libart-2.0/libart_lgpl/art_svp.h -%{_includedir}/libart-2.0/libart_lgpl/art_svp_intersect.h -%{_includedir}/libart-2.0/libart_lgpl/art_svp_ops.h -%{_includedir}/libart-2.0/libart_lgpl/art_svp_point.h -%{_includedir}/libart-2.0/libart_lgpl/art_svp_render_aa.h -%{_includedir}/libart-2.0/libart_lgpl/art_svp_vpath.h -%{_includedir}/libart-2.0/libart_lgpl/art_svp_vpath_stroke.h -%{_includedir}/libart-2.0/libart_lgpl/art_svp_wind.h -%{_includedir}/libart-2.0/libart_lgpl/art_uta.h -%{_includedir}/libart-2.0/libart_lgpl/art_uta_ops.h -%{_includedir}/libart-2.0/libart_lgpl/art_uta_rect.h -%{_includedir}/libart-2.0/libart_lgpl/art_uta_svp.h -%{_includedir}/libart-2.0/libart_lgpl/art_uta_vpath.h -%{_includedir}/libart-2.0/libart_lgpl/art_vpath.h -%{_includedir}/libart-2.0/libart_lgpl/art_vpath_bpath.h -%{_includedir}/libart-2.0/libart_lgpl/art_vpath_dash.h -%{_includedir}/libart-2.0/libart_lgpl/art_vpath_svp.h -%{_includedir}/libart-2.0/libart_lgpl/libart-features.h -%{_includedir}/libart-2.0/libart_lgpl/libart.h -%{_libdir}/pkgconfig/libart-2.0.pc - -########## - -%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" "libtool.m4.in" -%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "ltmain.sh" -autoreconf -fiv - - -%build -unset QTDIR QTINC QTLIB - -%configure \ - --prefix=%{_prefix} \ - --exec-prefix=%{_prefix} \ - --bindir=%{_bindir} \ - --libdir=%{_libdir} \ - --datadir=%{_datadir} \ - --includedir=%{_includedir} \ - \ - --disable-dependency-tracking - -%__make %{?_smp_mflags} - - -%install -%__rm -rf $RPM_BUILD_ROOT -%__make install DESTDIR=$RPM_BUILD_ROOT - - -%clean -%__rm -rf $RPM_BUILD_ROOT - - - -%changelog diff --git a/redhat/dependencies/libart-lgpl/libart-lgpl.spec b/redhat/dependencies/libart-lgpl/libart-lgpl.spec new file mode 100644 index 000000000..64d352a5a --- /dev/null +++ b/redhat/dependencies/libart-lgpl/libart-lgpl.spec @@ -0,0 +1,225 @@ +# +# spec file for package libart-lgpl (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.0.7 +%endif + +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} +%define libart %{_lib}art +%else +%define libart libart +%endif + + +Name: trinity-libart-lgpl +Epoch: %{tde_epoch} +Version: 2.3.22 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Library of functions for 2D graphics +Group: System/Libraries +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: LGPL-2.0+ +%else +License: LGPLv2+ +%endif + +#Vendor: Trinity Project +#Packager: Francois Andriot + +Prefix: /usr +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: cmake >= 2.8 +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: libtool + +%description +A library of functions for 2D graphics supporting a superset of the +PostScript imaging model, designed to be integrated with graphics, artwork, +and illustration programs. It is written in optimized C, and is fully +compatible with C++. With a small footprint of 10,000 lines of code, it is +especially suitable for embedded applications. + +########## + +%package -n %{libart}_lgpl_2-2 +Summary: Library of functions for 2D graphics - runtime files +Group: System/Libraries +Obsoletes: libart_lgpl < %{version}-%{release} +Provides: libart_lgpl = %{version}-%{release} +Obsoletes: %{_lib}art_lgpl2 < %{version}-%{release} +Provides: %{_lib}art_lgpl2 = %{version}-%{release} +Provides: libart_lgpl_2-2 = %{version}-%{release} + +%description -n %{libart}_lgpl_2-2 +A library of functions for 2D graphics supporting a superset of the +PostScript imaging model, designed to be integrated with graphics, artwork, +and illustration programs. It is written in optimized C, and is fully +compatible with C++. With a small footprint of 10,000 lines of code, it is +especially suitable for embedded applications. + +%post -n %{libart}_lgpl_2-2 +/sbin/ldconfig || : + +%postun -n %{libart}_lgpl_2-2 +/sbin/ldconfig || : + +%files -n %{libart}_lgpl_2-2 +%defattr(-,root,root,-) +%{_libdir}/libart_lgpl_2.so.2 +%{_libdir}/libart_lgpl_2.so.2.3.21 + +########## + +%package -n %{libart}_lgpl-devel +Summary: Library of functions for 2D graphics - development files +Group: Development/Libraries +Provides: libart_lgpl-devel = %{tde_epoch}:%{version}-%{release} +Requires: %{libart}_lgpl_2-2 = %{tde_epoch}:%{version}-%{release} + +%description -n %{libart}_lgpl-devel +A library of functions for 2D graphics supporting a superset of the +PostScript imaging model, designed to be integrated with graphics, artwork, +and illustration programs. It is written in optimized C, and is fully +compatible with C++. With a small footprint of 10,000 lines of code, it is +especially suitable for embedded applications. + +%post -n %{libart}_lgpl-devel +/sbin/ldconfig || : + +%postun -n %{libart}_lgpl-devel +/sbin/ldconfig || : + +%files -n %{libart}_lgpl-devel +%defattr(-,root,root,-) +%{_bindir}/libart2-config +%{_libdir}/libart_lgpl_2.a +%{_libdir}/libart_lgpl_2.la +%{_libdir}/libart_lgpl_2.so +%dir %{_includedir}/libart-2.0 +%dir %{_includedir}/libart-2.0/libart_lgpl +%{_includedir}/libart-2.0/libart_lgpl/art_affine.h +%{_includedir}/libart-2.0/libart_lgpl/art_alphagamma.h +%{_includedir}/libart-2.0/libart_lgpl/art_bpath.h +%{_includedir}/libart-2.0/libart_lgpl/art_config.h +%{_includedir}/libart-2.0/libart_lgpl/art_filterlevel.h +%{_includedir}/libart-2.0/libart_lgpl/art_gray_svp.h +%{_includedir}/libart-2.0/libart_lgpl/art_misc.h +%{_includedir}/libart-2.0/libart_lgpl/art_pathcode.h +%{_includedir}/libart-2.0/libart_lgpl/art_pixbuf.h +%{_includedir}/libart-2.0/libart_lgpl/art_point.h +%{_includedir}/libart-2.0/libart_lgpl/art_rect.h +%{_includedir}/libart-2.0/libart_lgpl/art_rect_svp.h +%{_includedir}/libart-2.0/libart_lgpl/art_rect_uta.h +%{_includedir}/libart-2.0/libart_lgpl/art_render.h +%{_includedir}/libart-2.0/libart_lgpl/art_render_gradient.h +%{_includedir}/libart-2.0/libart_lgpl/art_render_mask.h +%{_includedir}/libart-2.0/libart_lgpl/art_render_svp.h +%{_includedir}/libart-2.0/libart_lgpl/art_rgb.h +%{_includedir}/libart-2.0/libart_lgpl/art_rgb_a_affine.h +%{_includedir}/libart-2.0/libart_lgpl/art_rgb_affine.h +%{_includedir}/libart-2.0/libart_lgpl/art_rgb_bitmap_affine.h +%{_includedir}/libart-2.0/libart_lgpl/art_rgb_pixbuf_affine.h +%{_includedir}/libart-2.0/libart_lgpl/art_rgb_rgba_affine.h +%{_includedir}/libart-2.0/libart_lgpl/art_rgb_svp.h +%{_includedir}/libart-2.0/libart_lgpl/art_rgba.h +%{_includedir}/libart-2.0/libart_lgpl/art_svp.h +%{_includedir}/libart-2.0/libart_lgpl/art_svp_intersect.h +%{_includedir}/libart-2.0/libart_lgpl/art_svp_ops.h +%{_includedir}/libart-2.0/libart_lgpl/art_svp_point.h +%{_includedir}/libart-2.0/libart_lgpl/art_svp_render_aa.h +%{_includedir}/libart-2.0/libart_lgpl/art_svp_vpath.h +%{_includedir}/libart-2.0/libart_lgpl/art_svp_vpath_stroke.h +%{_includedir}/libart-2.0/libart_lgpl/art_svp_wind.h +%{_includedir}/libart-2.0/libart_lgpl/art_uta.h +%{_includedir}/libart-2.0/libart_lgpl/art_uta_ops.h +%{_includedir}/libart-2.0/libart_lgpl/art_uta_rect.h +%{_includedir}/libart-2.0/libart_lgpl/art_uta_svp.h +%{_includedir}/libart-2.0/libart_lgpl/art_uta_vpath.h +%{_includedir}/libart-2.0/libart_lgpl/art_vpath.h +%{_includedir}/libart-2.0/libart_lgpl/art_vpath_bpath.h +%{_includedir}/libart-2.0/libart_lgpl/art_vpath_dash.h +%{_includedir}/libart-2.0/libart_lgpl/art_vpath_svp.h +%{_includedir}/libart-2.0/libart_lgpl/libart-features.h +%{_includedir}/libart-2.0/libart_lgpl/libart.h +%{_libdir}/pkgconfig/libart-2.0.pc +%{_mandir}/man1/libart2-config.* + +########## + +%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} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{_datadir}" \ + \ + -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 + + +%clean +%__rm -rf $RPM_BUILD_ROOT + + + +%changelog diff --git a/redhat/dependencies/libcaldav/libcaldav-14.0.0.spec b/redhat/dependencies/libcaldav/libcaldav-14.0.0.spec deleted file mode 100644 index a4bf7ebb2..000000000 --- a/redhat/dependencies/libcaldav/libcaldav-14.0.0.spec +++ /dev/null @@ -1,198 +0,0 @@ -# -# spec file for package libcaldav (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.0.0 -%endif -%define tde_pkg libcaldav -%define tde_prefix /opt/trinity -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} -%define libcaldav %{_lib}caldav -%else -%define libcaldav libcaldav -%endif - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.6.5 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: A client library that adds support for the CalDAV protocol (rfc4791) -Group: System/Libraries -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: /usr -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -Patch1: libcaldav-14.0.1-rhel5.patch - -BuildRequires: make -BuildRequires: libtool -BuildRequires: fdupes - -# GTK2 support -%if 0%{?rhel} == 4 -BuildRequires: evolution28-gtk2-devel -%else -BuildRequires: glib2-devel -BuildRequires: gtk2-devel -%endif - -# CURL support -%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} -%define libcurl_devel libcurl-devel >= 7.15.5 -%else -%define libcurl_devel curl-devel >= 7.15.5 -%endif -%{?libcurl_devel:BuildRequires: %{libcurl_devel}} - -%description -libcaldev is a client library that adds support for the CalDAV protocol (rfc4791). -The object is to have a library which fully implements the protocol so that it is -easy to integrate CalDAV support into any PIM application. - -########## - -%package -n %{libcaldav}0 -Summary: A client library that adds support for the CalDAV protocol (rfc4791) -Group: System/Libraries - -Obsoletes: trinity-libcaldav < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-libcaldav = %{?epoch:%{epoch}:}%{version}-%{release} -Provides: libcaldav = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -n %{libcaldav}0 -libcaldev is a client library that adds support for the CalDAV protocol (rfc4791). -The object is to have a library which fully implements the protocol so that it is -easy to integrate CalDAV support into any PIM application. - -%files -n %{libcaldav}0 -%defattr(-,root,root,-) -%{_libdir}/libcaldav.so.0 -%{_libdir}/libcaldav.so.0.0.6 -%{_docdir}/libcaldav-%{version}/ - -%post -n %{libcaldav}0 -/sbin/ldconfig - -%postun -n %{libcaldav}0 -/sbin/ldconfig - -########## - -%package -n %{libcaldav}-devel -Summary: A client library that adds support for the CalDAV protocol (Development Files) -Group: Development/Libraries/Other -Requires: %{libcaldav}0 = %{?epoch:%{epoch}:}%{version}-%{release} -%{?libcurl_devel:Requires: %{libcurl_devel}} -Requires: glib2-devel - -Obsoletes: trinity-libcaldav-devel < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-libcaldav-devel = %{?epoch:%{epoch}:}%{version}-%{release} -Provides: libcaldav-devel = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -n %{libcaldav}-devel -libcaldev is a client library that adds support for the CalDAV protocol (rfc4791). -The object is to have a library which fully implements the protocol so that it is -easy to integrate CalDAV support into any PIM application. - -This package includes the development files. - -%files -n %{libcaldav}-devel -%defattr(-,root,root,-) -%{_includedir}/libcaldav/ -%{_libdir}/libcaldav.la -%{_libdir}/libcaldav.so -%{_libdir}/pkgconfig/libcaldav.pc - -%post -n %{libcaldav}-devel -/sbin/ldconfig - -%postun -n %{libcaldav}-devel -/sbin/ldconfig - -########## - -%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} == 5 -%patch1 -p1 -b .ftbfs -%endif -autoreconf -fiv - - -%build -# CFLAGS required if CURL is installed on /opt/trinity, e.g. RHEL 5 -export CFLAGS="-I%{tde_includedir} -L%{tde_libdir} ${RPM_OPT_FLAGS}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -# RHEL4 stuff -if [ -d /usr/evolution28 ]; then - export PKG_CONFIG_PATH="/usr/evolution28/%{_lib}/pkgconfig:${PKG_CONFIG_PATH}" -fi - -%configure \ - --docdir=%{_docdir}/libcaldav \ - --includedir=%{_includedir} \ - --libdir=%{_libdir} \ - \ - --disable-dependency-tracking - -%__make %{?_smp_mflags} - - -%install -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# Unwanted files -%__rm -f %{buildroot}%{_libdir}/*.a - -# Fix doc dir -mv -f %{?buildroot}%{_docdir}/libcaldav/ %{?buildroot}%{_docdir}/libcaldav-%{version}/ - -# Fix duplicate files -%fdupes %{?buildroot} - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/dependencies/libcaldav/libcaldav-14.0.1-rhel5.patch b/redhat/dependencies/libcaldav/libcaldav-14.0.1-rhel5.patch deleted file mode 100644 index 0cf9f056b..000000000 --- a/redhat/dependencies/libcaldav/libcaldav-14.0.1-rhel5.patch +++ /dev/null @@ -1,193 +0,0 @@ -diff --git a/src/add-caldav-object.c b/src/add-caldav-object.c -index 68a4377..35aef48 100644 ---- a/src/add-caldav-object.c -+++ b/src/add-caldav-object.c -@@ -103,7 +103,6 @@ gboolean caldav_add(caldav_settings* settings, caldav_error* error) { - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "PUT"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - if (res != 0) { - error->code = -1; -diff --git a/src/delete-caldav-object.c b/src/delete-caldav-object.c -index 9a85168..ea5733f 100644 ---- a/src/delete-caldav-object.c -+++ b/src/delete-caldav-object.c -@@ -150,7 +150,6 @@ gboolean caldav_delete(caldav_settings* settings, caldav_error* error) { - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - g_free(search); - curl_slist_free_all(http_header); -@@ -249,7 +248,6 @@ gboolean caldav_delete(caldav_settings* settings, caldav_error* error) { - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "DELETE"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - if (LOCKSUPPORT && lock_token) { - caldav_unlock_object( -@@ -380,7 +378,6 @@ gboolean caldav_tasks_delete(caldav_settings* settings, caldav_error* error) { - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - g_free(search); - curl_slist_free_all(http_header); -@@ -479,7 +476,6 @@ gboolean caldav_tasks_delete(caldav_settings* settings, caldav_error* error) { - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "DELETE"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - if (LOCKSUPPORT && lock_token) { - caldav_unlock_object( -diff --git a/src/get-caldav-report.c b/src/get-caldav-report.c -index d916259..0021cb8 100644 ---- a/src/get-caldav-report.c -+++ b/src/get-caldav-report.c -@@ -169,7 +169,6 @@ gboolean caldav_getall(caldav_settings* settings, caldav_error* error) { - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - if (res != 0) { - error->code = -1; -@@ -266,7 +265,6 @@ gboolean caldav_getrange(caldav_settings* settings, caldav_error* error) { - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - if (res != 0) { - error->code = -1; -@@ -349,7 +347,6 @@ gboolean caldav_tasks_getall(caldav_settings* settings, caldav_error* error) { - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - if (res != 0) { - error->code = -1; -@@ -446,7 +443,6 @@ gboolean caldav_tasks_getrange(caldav_settings* settings, caldav_error* error) { - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - if (res != 0) { - error->code = -1; -diff --git a/src/get-display-name.c b/src/get-display-name.c -index 8fc0ff8..c205efd 100644 ---- a/src/get-display-name.c -+++ b/src/get-display-name.c -@@ -99,7 +99,6 @@ gboolean caldav_getname(caldav_settings* settings, caldav_error* error) { - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "PROPFIND"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - if (res != 0) { - error->code = -1; -diff --git a/src/get-freebusy-report.c b/src/get-freebusy-report.c -index f75ab92..40a5a3c 100644 ---- a/src/get-freebusy-report.c -+++ b/src/get-freebusy-report.c -@@ -104,7 +104,6 @@ gboolean caldav_freebusy(caldav_settings* settings, caldav_error* error) { - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - if (res != 0) { - error->code = -1; -diff --git a/src/lock-caldav-object.c b/src/lock-caldav-object.c -index 30f2d20..6845551 100644 ---- a/src/lock-caldav-object.c -+++ b/src/lock-caldav-object.c -@@ -107,7 +107,6 @@ gchar* caldav_lock_object( - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "LOCK"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - curl_slist_free_all(http_header); - if (res != 0) { -@@ -211,7 +210,6 @@ gboolean caldav_unlock_object(gchar* lock_token, gchar* URI, - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "UNLOCK"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - curl_slist_free_all(http_header); - if (res != 0) { -diff --git a/src/modify-caldav-object.c b/src/modify-caldav-object.c -index fb3a4d0..f3563d8 100644 ---- a/src/modify-caldav-object.c -+++ b/src/modify-caldav-object.c -@@ -151,7 +151,6 @@ gboolean caldav_modify(caldav_settings* settings, caldav_error* error) { - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - curl_slist_free_all(http_header); - http_header = NULL; -@@ -249,7 +248,6 @@ gboolean caldav_modify(caldav_settings* settings, caldav_error* error) { - strlen(settings->file)); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "PUT"); - res = curl_easy_perform(curl); - if (LOCKSUPPORT && lock_token) { -@@ -391,7 +389,6 @@ gboolean caldav_tasks_modify(caldav_settings* settings, caldav_error* error) { - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - curl_slist_free_all(http_header); - http_header = NULL; -@@ -489,7 +486,6 @@ gboolean caldav_tasks_modify(caldav_settings* settings, caldav_error* error) { - strlen(settings->file)); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "PUT"); - res = curl_easy_perform(curl); - if (LOCKSUPPORT && lock_token) { -diff --git a/src/options-caldav-server.c b/src/options-caldav-server.c -index 1d97d04..0045afe 100644 ---- a/src/options-caldav-server.c -+++ b/src/options-caldav-server.c -@@ -74,7 +74,6 @@ gboolean caldav_getoptions(CURL* curl, caldav_settings* settings, response* resu - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "OPTIONS"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - if (res == 0) { - gchar* head; -@@ -102,15 +101,12 @@ gboolean caldav_getoptions(CURL* curl, caldav_settings* settings, response* resu - } - else if ( - (res == CURLE_SSL_CONNECT_ERROR || -- CURLE_PEER_FAILED_VERIFICATION || - CURLE_SSL_ENGINE_NOTFOUND || - CURLE_SSL_ENGINE_SETFAILED || - CURLE_SSL_CERTPROBLEM || - CURLE_SSL_CIPHER || - CURLE_SSL_CACERT || -- CURLE_SSL_CACERT_BADFILE || -- CURLE_SSL_CRL_BADFILE || -- CURLE_SSL_ISSUER_ERROR) && settings->usehttps) { -+ CURLE_SSL_CRL_BADFILE ) && settings->usehttps) { - error->code = -2; - error->str = g_strdup(error_buf); - } diff --git a/redhat/dependencies/libcaldav/libcaldav.spec b/redhat/dependencies/libcaldav/libcaldav.spec new file mode 100644 index 000000000..312221adf --- /dev/null +++ b/redhat/dependencies/libcaldav/libcaldav.spec @@ -0,0 +1,205 @@ +# +# spec file for package libcaldav (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.0.7 +%endif +%define tde_pkg libcaldav +%define tde_prefix /opt/trinity +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} +%define libcaldav %{_lib}caldav +%else +%define libcaldav libcaldav +%endif + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.6.5 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: A client library that adds support for the CalDAV protocol (rfc4791) +Group: System/Libraries +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: /usr +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: cmake >= 2.8 +BuildRequires: make +BuildRequires: libtool +BuildRequires: fdupes + +# GTK2 support +%if 0%{?rhel} == 4 +BuildRequires: evolution28-gtk2-devel +%else +BuildRequires: glib2-devel +BuildRequires: gtk2-devel +%endif + +# CURL support +%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} +%define libcurl_devel libcurl-devel >= 7.15.5 +%else +%define libcurl_devel curl-devel >= 7.15.5 +%endif +%{?libcurl_devel:BuildRequires: %{libcurl_devel}} + +%description +libcaldev is a client library that adds support for the CalDAV protocol (rfc4791). +The object is to have a library which fully implements the protocol so that it is +easy to integrate CalDAV support into any PIM application. + +########## + +%package -n %{libcaldav}0 +Summary: A client library that adds support for the CalDAV protocol (rfc4791) +Group: System/Libraries + +Obsoletes: trinity-libcaldav < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-libcaldav = %{?epoch:%{epoch}:}%{version}-%{release} +Provides: libcaldav = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n %{libcaldav}0 +libcaldev is a client library that adds support for the CalDAV protocol (rfc4791). +The object is to have a library which fully implements the protocol so that it is +easy to integrate CalDAV support into any PIM application. + +%files -n %{libcaldav}0 +%defattr(-,root,root,-) +%{_libdir}/libcaldav.so.0 +%{_libdir}/libcaldav.so.0.0.6 +%{_docdir}/libcaldav/ + +%post -n %{libcaldav}0 +/sbin/ldconfig + +%postun -n %{libcaldav}0 +/sbin/ldconfig + +########## + +%package -n %{libcaldav}-devel +Summary: A client library that adds support for the CalDAV protocol (Development Files) +Group: Development/Libraries/Other +Requires: %{libcaldav}0 = %{?epoch:%{epoch}:}%{version}-%{release} +%{?libcurl_devel:Requires: %{libcurl_devel}} +Requires: glib2-devel + +Obsoletes: trinity-libcaldav-devel < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-libcaldav-devel = %{?epoch:%{epoch}:}%{version}-%{release} +Provides: libcaldav-devel = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n %{libcaldav}-devel +libcaldev is a client library that adds support for the CalDAV protocol (rfc4791). +The object is to have a library which fully implements the protocol so that it is +easy to integrate CalDAV support into any PIM application. + +This package includes the development files. + +%files -n %{libcaldav}-devel +%defattr(-,root,root,-) +%{_includedir}/libcaldav/ +%{_libdir}/libcaldav.la +%{_libdir}/libcaldav.so +%{_libdir}/pkgconfig/libcaldav.pc + +%post -n %{libcaldav}-devel +/sbin/ldconfig + +%postun -n %{libcaldav}-devel +/sbin/ldconfig + +########## + +%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} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{_datadir}" \ + \ + -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 + +# Fix duplicate files +%fdupes %{?buildroot} + +# Fix doc directory +%if "%{_docdir}" != "%{_datadir}/doc" +%__mkdir_p "%{?buildroot}/%{_docdir}" +%__mv -f "%{?buildroot}/%{_datadir}/doc/libcaldav" "%{?buildroot}/%{_docdir}/libcaldav" +%endif + + +%clean +%__rm -rf %{buildroot} + + +%changelog diff --git a/redhat/dependencies/libcarddav/libcarddav-14.0.0.spec b/redhat/dependencies/libcarddav/libcarddav-14.0.0.spec deleted file mode 100644 index 27e23795e..000000000 --- a/redhat/dependencies/libcarddav/libcarddav-14.0.0.spec +++ /dev/null @@ -1,197 +0,0 @@ -# -# spec file for package libcarddav (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.0.0 -%endif -%define tde_pkg libcarddav -%define tde_prefix /opt/trinity -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} -%define libcarddav %{_lib}carddav -%else -%define libcarddav libcarddav -%endif - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.6.2 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: A portable CardDAV client implementation -Group: System/Libraries -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Deskio -#Packager: Francois Andriot - -Prefix: /usr -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -Patch1: libcarddav-14.0.1-rhel5.patch - -BuildRequires: make -BuildRequires: libtool - -# CURL support -%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} -%define libcurl_devel libcurl-devel >= 7.15.5 -%else -# Specific CURL version for TDE on RHEL 5 (and older) -%define libcurl_devel curl-devel >= 7.15.5 -%endif -%{?libcurl_devel:BuildRequires: %{libcurl_devel}} - -# GTK2 support -%if 0%{?rhel} == 4 -BuildRequires: evolution28-gtk2-devel -%else -BuildRequires: glib2-devel -BuildRequires: gtk2-devel -%endif - -%description -Libcarddav is a portable CardDAV client implementation originally developed for the Trinity PIM suite. -It incorporates full list, get, add, modify, and delete functionality per the latest CardDAV standards. -Build dependencies are minimal, requiring only libcurl. - -########## - -%package -n %{libcarddav}0 -Summary: A portable CardDAV client implementation -Group: System/Libraries - -Obsoletes: trinity-libcarddav < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-libcarddav = %{?epoch:%{epoch}:}%{version}-%{release} -Provides: libcarddav = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -n %{libcarddav}0 -Libcarddav is a portable CardDAV client implementation originally developed for the Trinity PIM suite. -It incorporates full list, get, add, modify, and delete functionality per the latest CardDAV standards. -Build dependencies are minimal, requiring only libcurl. - -%files -n %{libcarddav}0 -%defattr(-,root,root,-) -%{_libdir}/libcarddav.so.0 -%{_libdir}/libcarddav.so.0.0.6 - -%post -n %{libcarddav}0 -/sbin/ldconfig - -%postun -n %{libcarddav}0 -/sbin/ldconfig - - -########## - -%package -n %{libcarddav}-devel -Summary: A portable CardDAV client implementation (Development Files) -Group: Development/Libraries/Other -Requires: %{libcarddav}0 = %{?epoch:%{epoch}:}%{version}-%{release} -%{?libcurl_devel:Requires: %{libcurl_devel}} -Requires: glib2-devel - -Obsoletes: trinity-libcarddav-devel < %{version}-%{release} -Provides: trinity-libcarddav-devel = %{version}-%{release} -Provides: libcarddav-devel = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -n %{libcarddav}-devel -Libcarddav is a portable CardDAV client implementation originally developed for the Trinity PIM suite. -It incorporates full list, get, add, modify, and delete functionality per the latest CardDAV standards. -Build dependencies are minimal, requiring only libcurl. - -This package contains the development files. - -%files -n %{libcarddav}-devel -%defattr(-,root,root,-) -%{_includedir}/libcarddav/ -%{_libdir}/libcarddav.la -%{_libdir}/libcarddav.so -%{_libdir}/pkgconfig/libcarddav.pc - -%post -n %{libcarddav}-devel -/sbin/ldconfig - -%postun -n %{libcarddav}-devel -/sbin/ldconfig - -########## - -%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} == 5 -%patch1 -p1 -b .ftbfs -%endif - -# Fix empty ChangeLog cause invalid macro in 'configure.ac' -echo "%{name} (%{version})" >ChangeLog - -autoreconf -fiv - - -%build -unset QTDIR QTINC QTLIB - -# CFLAGS required if CURL is installed on /opt/trinity, e.g. RHEL 5 -export CFLAGS="-I%{tde_includedir} -L%{tde_libdir} ${RPM_OPT_FLAGS}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -# RHEL4 stuff -if [ -d /usr/evolution28 ]; then - export PKG_CONFIG_PATH="/usr/evolution28/%{_lib}/pkgconfig:${PKG_CONFIG_PATH}" -fi - -%configure \ - --includedir=%{_includedir} \ - --libdir=%{_libdir} \ - \ - --disable-dependency-tracking - -%__make %{?_smp_mflags} - - -%install -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# Unwanted files -%__rm -f %{buildroot}%{_libdir}/libcarddav.a - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/dependencies/libcarddav/libcarddav-14.0.1-rhel5.patch b/redhat/dependencies/libcarddav/libcarddav-14.0.1-rhel5.patch deleted file mode 100644 index a6bf4e6e0..000000000 --- a/redhat/dependencies/libcarddav/libcarddav-14.0.1-rhel5.patch +++ /dev/null @@ -1,164 +0,0 @@ -diff --git a/src/add-carddav-object.c b/src/add-carddav-object.c -index 5574991..a1586d8 100644 ---- a/src/add-carddav-object.c -+++ b/src/add-carddav-object.c -@@ -104,7 +104,6 @@ gboolean carddav_add(carddav_settings* settings, carddav_error* error) { - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "PUT"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - if (res != 0) { - error->code = -1; -diff --git a/src/delete-carddav-object.c b/src/delete-carddav-object.c -index 96b9033..6984a82 100644 ---- a/src/delete-carddav-object.c -+++ b/src/delete-carddav-object.c -@@ -132,7 +132,6 @@ gboolean carddav_delete(carddav_settings* settings, carddav_error* error) { - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - g_free(search); - curl_slist_free_all(http_header); -@@ -231,7 +230,6 @@ gboolean carddav_delete(carddav_settings* settings, carddav_error* error) { - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "DELETE"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - if (LOCKSUPPORT && lock_token) { - carddav_unlock_object( -@@ -417,7 +415,6 @@ gboolean carddav_delete_by_uri(carddav_settings* settings, carddav_error* error) - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "DELETE"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - if (LOCKSUPPORT && lock_token) { - carddav_unlock_object( -diff --git a/src/get-carddav-report.c b/src/get-carddav-report.c -index b44fd2c..7655b29 100644 ---- a/src/get-carddav-report.c -+++ b/src/get-carddav-report.c -@@ -117,7 +117,6 @@ static gchar* carddav_dirlist(carddav_settings* settings, carddav_error* error) - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "PROPFIND"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - if (res != 0) { - error->code = -1; -@@ -243,7 +242,6 @@ gboolean carddav_getall(carddav_settings* settings, carddav_error* error) { - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - if (res != 0) { - error->code = -1; -@@ -345,7 +343,6 @@ gboolean carddav_getall_by_uri(carddav_settings* settings, carddav_error* error) - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - if (res != 0) { - error->code = -1; -@@ -378,4 +375,4 @@ gboolean carddav_getall_by_uri(carddav_settings* settings, carddav_error* error) - curl_easy_cleanup(curl); - g_free(dav_file_listing); - return result; --} -\ No newline at end of file -+} -diff --git a/src/get-display-name.c b/src/get-display-name.c -index 9e782e0..16c3e4b 100644 ---- a/src/get-display-name.c -+++ b/src/get-display-name.c -@@ -100,7 +100,6 @@ gboolean carddav_getname(carddav_settings* settings, carddav_error* error) { - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "PROPFIND"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - if (res != 0) { - error->code = -1; -diff --git a/src/lock-carddav-object.c b/src/lock-carddav-object.c -index 163264c..2292cad 100644 ---- a/src/lock-carddav-object.c -+++ b/src/lock-carddav-object.c -@@ -109,7 +109,6 @@ gchar* carddav_lock_object( - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "LOCK"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - curl_slist_free_all(http_header); - if (res != 0) { -@@ -214,7 +213,6 @@ gboolean carddav_unlock_object(gchar* lock_token, gchar* URI, - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "UNLOCK"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - curl_slist_free_all(http_header); - if (res != 0) { -diff --git a/src/modify-carddav-object.c b/src/modify-carddav-object.c -index 1822068..a8b6de2 100644 ---- a/src/modify-carddav-object.c -+++ b/src/modify-carddav-object.c -@@ -133,7 +133,6 @@ gboolean carddav_modify(carddav_settings* settings, carddav_error* error) { - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - res = curl_easy_perform(curl); - curl_slist_free_all(http_header); - http_header = NULL; -@@ -231,7 +230,6 @@ gboolean carddav_modify(carddav_settings* settings, carddav_error* error) { - strlen(settings->file)); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "PUT"); - res = curl_easy_perform(curl); - if (LOCKSUPPORT && lock_token) { -@@ -430,7 +428,6 @@ gboolean carddav_modify_by_uri(carddav_settings* settings, carddav_error* error) - strlen(settings->file)); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "PUT"); - res = curl_easy_perform(curl); - if (LOCKSUPPORT && lock_token) { -diff --git a/src/options-carddav-server.c b/src/options-carddav-server.c -index b774401..b44aae2 100644 ---- a/src/options-carddav-server.c -+++ b/src/options-carddav-server.c -@@ -75,7 +75,6 @@ gboolean carddav_getoptions(CURL* curl, carddav_settings* settings, response* re - curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "OPTIONS"); - curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); - curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1); -- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL); - if (settings->debug) { - curl_easy_setopt(curl, CURLOPT_VERBOSE, 1); - } -@@ -106,15 +105,12 @@ gboolean carddav_getoptions(CURL* curl, carddav_settings* settings, response* re - } - else if ( - (res == CURLE_SSL_CONNECT_ERROR || -- CURLE_PEER_FAILED_VERIFICATION || - CURLE_SSL_ENGINE_NOTFOUND || - CURLE_SSL_ENGINE_SETFAILED || - CURLE_SSL_CERTPROBLEM || - CURLE_SSL_CIPHER || - CURLE_SSL_CACERT || -- CURLE_SSL_CACERT_BADFILE || -- CURLE_SSL_CRL_BADFILE || -- CURLE_SSL_ISSUER_ERROR) && settings->usehttps) { -+ CURLE_SSL_CRL_BADFILE ) && settings->usehttps) { - error->code = -2; - error->str = g_strdup(error_buf); - } diff --git a/redhat/dependencies/libcarddav/libcarddav.spec b/redhat/dependencies/libcarddav/libcarddav.spec new file mode 100644 index 000000000..de5d69bed --- /dev/null +++ b/redhat/dependencies/libcarddav/libcarddav.spec @@ -0,0 +1,203 @@ +# +# spec file for package libcarddav (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.0.7 +%endif +%define tde_pkg libcarddav +%define tde_prefix /opt/trinity +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} +%define libcarddav %{_lib}carddav +%else +%define libcarddav libcarddav +%endif + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.6.2 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: A portable CardDAV client implementation +Group: System/Libraries +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Deskio +#Packager: Francois Andriot + +Prefix: /usr +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: cmake >= 2.8 +BuildRequires: make +BuildRequires: libtool + +# CURL support +%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} +%define libcurl_devel libcurl-devel >= 7.15.5 +%else +# Specific CURL version for TDE on RHEL 5 (and older) +%define libcurl_devel curl-devel >= 7.15.5 +%endif +%{?libcurl_devel:BuildRequires: %{libcurl_devel}} + +# GTK2 support +%if 0%{?rhel} == 4 +BuildRequires: evolution28-gtk2-devel +%else +BuildRequires: glib2-devel +BuildRequires: gtk2-devel +%endif + +%description +Libcarddav is a portable CardDAV client implementation originally developed for the Trinity PIM suite. +It incorporates full list, get, add, modify, and delete functionality per the latest CardDAV standards. +Build dependencies are minimal, requiring only libcurl. + +########## + +%package -n %{libcarddav}0 +Summary: A portable CardDAV client implementation +Group: System/Libraries + +Obsoletes: trinity-libcarddav < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-libcarddav = %{?epoch:%{epoch}:}%{version}-%{release} +Provides: libcarddav = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n %{libcarddav}0 +Libcarddav is a portable CardDAV client implementation originally developed for the Trinity PIM suite. +It incorporates full list, get, add, modify, and delete functionality per the latest CardDAV standards. +Build dependencies are minimal, requiring only libcurl. + +%files -n %{libcarddav}0 +%defattr(-,root,root,-) +%{_libdir}/libcarddav.so.0 +%{_libdir}/libcarddav.so.0.0.6 +%{_docdir}/libcarddav/ + +%post -n %{libcarddav}0 +/sbin/ldconfig + +%postun -n %{libcarddav}0 +/sbin/ldconfig + + +########## + +%package -n %{libcarddav}-devel +Summary: A portable CardDAV client implementation (Development Files) +Group: Development/Libraries/Other +Requires: %{libcarddav}0 = %{?epoch:%{epoch}:}%{version}-%{release} +%{?libcurl_devel:Requires: %{libcurl_devel}} +Requires: glib2-devel + +Obsoletes: trinity-libcarddav-devel < %{version}-%{release} +Provides: trinity-libcarddav-devel = %{version}-%{release} +Provides: libcarddav-devel = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n %{libcarddav}-devel +Libcarddav is a portable CardDAV client implementation originally developed for the Trinity PIM suite. +It incorporates full list, get, add, modify, and delete functionality per the latest CardDAV standards. +Build dependencies are minimal, requiring only libcurl. + +This package contains the development files. + +%files -n %{libcarddav}-devel +%defattr(-,root,root,-) +%{_includedir}/libcarddav/ +%{_libdir}/libcarddav.la +%{_libdir}/libcarddav.so +%{_libdir}/pkgconfig/libcarddav.pc + +%post -n %{libcarddav}-devel +/sbin/ldconfig + +%postun -n %{libcarddav}-devel +/sbin/ldconfig + +########## + +%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} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{_prefix}" \ + -DSHARE_INSTALL_PREFIX="%{_datadir}" \ + \ + -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 + +# Fix doc directory +%if "%{_docdir}" != "%{_datadir}/doc" +%__mkdir_p "%{?buildroot}/%{_docdir}" +%__mv -f "%{?buildroot}/%{_datadir}/doc/libcarddav" "%{?buildroot}/%{_docdir}/libcarddav" +%endif + + +%clean +%__rm -rf %{buildroot} + + +%changelog diff --git a/redhat/dependencies/python-tqt/python-tqt-14.0.0.spec b/redhat/dependencies/python-tqt/python-tqt-14.0.0.spec deleted file mode 100644 index 3b8b54d68..000000000 --- a/redhat/dependencies/python-tqt/python-tqt-14.0.0.spec +++ /dev/null @@ -1,264 +0,0 @@ -# -# spec file for package python-tqt (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/ -# - -# BUILD WARNING: -# Remove qt-devel and qt3-devel and any kde*-devel on your system ! -# Having KDE libraries may cause FTBFS here ! - -%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.0.0 -%endif -%define tde_pkg python-tqt -%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_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.18.1 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: TQt bindings for Python -Group: Development/Libraries/Python -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Project -#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-PyQt -Obsoletes: trinity-python-qt3 - -BuildRequires: tqt3-apps-devel >= 3.5.0 -BuildRequires: libtqt4-devel >= %{?epoch:%{epoch}:}4.2.0 -BuildRequires: trinity-filesystem >= %{tde_version} -BuildRequires: sip4-tqt-devel >= %{?epoch:%{epoch}:}4.10.5 -BuildRequires: libtqscintilla-devel >= %{?epoch:%{epoch}:}1.7.1 - -BuildRequires: gcc-c++ -BuildRequires: python -BuildRequires: python-devel - -# 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 - -# 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 - -%description -Python binding module that allows use of TQt X Window toolkit v3. -You can use it to create portable graphics-capable scripts. - -At this moment python-tqt offers a vast subset of TQt API. There are -some minor issues related to the differences between C++ and Python -(types, etc), but usually you'll be able to write code pretty much the -same way in both languages (with syntax differences, of course) - -########## - -%package -n python-tqt -Summary: TQt bindings for Python -Group: Development/Libraries/Python -Requires: trinity-filesystem >= %{tde_version} -Requires: sip4-tqt >= %{?epoch:%{epoch}:}4.10.5 -Requires: libtqt4 >= %{?epoch:%{epoch}:}4.2.0 - -%description -n python-tqt -Python binding module that allows use of TQt X Window toolkit v3. -You can use it to create portable graphics-capable scripts. - -At this moment python-tqt offers a vast subset of TQt API. There are -some minor issues related to the differences between C++ and Python -(types, etc), but usually you'll be able to write code pretty much the -same way in both languages (with syntax differences, of course) - -%files -n python-tqt -%defattr(-,root,root,-) -%doc NEWS README -%dir %{python_sitearch}/python_tqt -%{python_sitearch}/python_tqt/__init__.py* -%{python_sitearch}/python_tqt/qt.so -%{python_sitearch}/python_tqt/qtcanvas.so -%{python_sitearch}/python_tqt/qtnetwork.so -%{python_sitearch}/python_tqt/qtsql.so -%{python_sitearch}/python_tqt/qttable.so -%{python_sitearch}/python_tqt/qtui.so -%{python_sitearch}/python_tqt/qtxml.so - -########## - -%package -n python-tqt-gl -Summary: TQt OpenGL bindings for Python -Group: Development/Libraries/Python -Requires: python-tqt = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -n python-tqt-gl -Python binding module that allows use of the OpenGL facilities -offered by the TQt X Window toolkit v3. You can use it to create -portable graphics-capable scripts. - -%files -n python-tqt-gl -%defattr(-,root,root,-) -%{python_sitearch}/python_tqt/qtgl.so - -########## - -%package -n python-tqt-tqtext -Summary: TQtext extensions for python-tqt -Group: Development/Libraries/Python -Requires: python-tqt = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -n python-tqt-tqtext -python-tqt Extensions. Contains: - -* TQScintilla: a featureful TQt source code editing component based - on Scintilla. - -%files -n python-tqt-tqtext -%defattr(-,root,root,-) -%{python_sitearch}/python_tqt/qtext.so - -########## - -%package -n trinity-pytqt-tools -Summary: Pyuic and pylupdate for TQt -Group: Development/Libraries/Python -Requires: python-tqt = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -n trinity-pytqt-tools -pyuic is the PyQt counterpart for TQt's uic. It takes an XML -user interface file and generates Python code. - -pylupdate is the counterpart for TQt's lupdate. It updates TQt -Linguist translation files from Python code. - -%files -n trinity-pytqt-tools -%defattr(-,root,root,-) -%{tde_bindir}/pylupdate -%{tde_bindir}/pyuic - -########## - -%package -n python-tqt-devel -Summary: TQt bindings for Python - Development files -Group: Development/Libraries/Python -Requires: python-tqt = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: trinity-pytqt-tools = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: libtqt4-devel >= %{?epoch:%{epoch}:}4.2.0 - -%description -n python-tqt-devel -Development .sip files with definitions of PyQt classes. They -are needed to build PyQt, but also as building blocks of other -packages based on them, like PyTDE. - -%files -n python-tqt-devel -%defattr(-,root,root,-) -%{python_sitearch}/python_tqt/pyqtconfig.py* -%dir %{_datadir}/sip -%{_datadir}/sip/tqt/ - -########## - -%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}" - -mkdir build -cd build - -# WTF ? CentOS 6 ! -cp -rf ../pyuic3 ../pylupdate3 - -echo yes | %__python ../configure.py \ - -c -n %{_includedir}/tqscintilla \ - -q %{_datadir}/tqt3 \ - -y tqt-mt \ - -o %{_libdir} -u -j 10 \ - -d %{python_sitearch}/python_tqt \ - -v %{_datadir}/sip/tqt \ - -b %{tde_bindir} \ - -w \ - CXXFLAGS_RELEASE="" CXXFLAGS="${RPM_OPT_FLAGS} -I%{_includedir}/tqt" STRIP="" - -%__make - - -%install -%__rm -rf %{?buildroot} -%__make install DESTDIR=%{?buildroot} -C build - -%__install -d %{?buildroot}%{_datadir}/sip/ -%__cp -rf sip/* %{?buildroot}%{_datadir}/sip/tqt/ - - -%clean -%__rm -rf %{?buildroot}%{python_sitearch}/python_tqt/__init__.py - - -%changelog diff --git a/redhat/dependencies/python-tqt/python-tqt.spec b/redhat/dependencies/python-tqt/python-tqt.spec new file mode 100644 index 000000000..0a3731cc1 --- /dev/null +++ b/redhat/dependencies/python-tqt/python-tqt.spec @@ -0,0 +1,271 @@ +# +# spec file for package python-tqt (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/ +# + +# BUILD WARNING: +# Remove qt-devel and qt3-devel and any kde*-devel on your system ! +# Having KDE libraries may cause FTBFS here ! + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.0.7 +%endif +%define tde_pkg python-tqt +%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_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.18.1 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: TQt bindings for Python +Group: Development/Libraries/Python +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Project +#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-PyQt +Obsoletes: trinity-python-qt3 + +BuildRequires: tqt3-apps-devel >= 3.5.0 +BuildRequires: libtqt4-devel >= %{?epoch:%{epoch}:}4.2.0 +BuildRequires: trinity-filesystem >= %{tde_version} +BuildRequires: sip4-tqt-devel >= %{?epoch:%{epoch}:}4.10.5 +BuildRequires: libtqscintilla-devel >= %{?epoch:%{epoch}:}1.7.1 + +BuildRequires: gcc-c++ + +# PYTHON +%if 0%{?rhel} >= 8 || 0%{?fedora} >= 31 +%define python python2 +%define __python %__python2 +%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} +%else +%define python python +%endif +BuildRequires: %{python} +BuildRequires: %{python}-devel + +# 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 + +# 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 + +%description +Python binding module that allows use of TQt X Window toolkit v3. +You can use it to create portable graphics-capable scripts. + +At this moment python-tqt offers a vast subset of TQt API. There are +some minor issues related to the differences between C++ and Python +(types, etc), but usually you'll be able to write code pretty much the +same way in both languages (with syntax differences, of course) + +########## + +%package -n python-tqt +Summary: TQt bindings for Python +Group: Development/Libraries/Python +Requires: trinity-filesystem >= %{tde_version} +Requires: sip4-tqt >= %{?epoch:%{epoch}:}4.10.5 +Requires: libtqt4 >= %{?epoch:%{epoch}:}4.2.0 + +%description -n python-tqt +Python binding module that allows use of TQt X Window toolkit v3. +You can use it to create portable graphics-capable scripts. + +At this moment python-tqt offers a vast subset of TQt API. There are +some minor issues related to the differences between C++ and Python +(types, etc), but usually you'll be able to write code pretty much the +same way in both languages (with syntax differences, of course) + +%files -n python-tqt +%defattr(-,root,root,-) +%doc NEWS README +%dir %{python_sitearch}/python_tqt +%{python_sitearch}/python_tqt/__init__.py* +%{python_sitearch}/python_tqt/qt.so +%{python_sitearch}/python_tqt/qtcanvas.so +%{python_sitearch}/python_tqt/qtnetwork.so +%{python_sitearch}/python_tqt/qtsql.so +%{python_sitearch}/python_tqt/qttable.so +%{python_sitearch}/python_tqt/qtui.so +%{python_sitearch}/python_tqt/qtxml.so + +########## + +%package -n python-tqt-gl +Summary: TQt OpenGL bindings for Python +Group: Development/Libraries/Python +Requires: python-tqt = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n python-tqt-gl +Python binding module that allows use of the OpenGL facilities +offered by the TQt X Window toolkit v3. You can use it to create +portable graphics-capable scripts. + +%files -n python-tqt-gl +%defattr(-,root,root,-) +%{python_sitearch}/python_tqt/qtgl.so + +########## + +%package -n python-tqt-tqtext +Summary: TQtext extensions for python-tqt +Group: Development/Libraries/Python +Requires: python-tqt = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n python-tqt-tqtext +python-tqt Extensions. Contains: + +* TQScintilla: a featureful TQt source code editing component based + on Scintilla. + +%files -n python-tqt-tqtext +%defattr(-,root,root,-) +%{python_sitearch}/python_tqt/qtext.so + +########## + +%package -n trinity-pytqt-tools +Summary: Pyuic and pylupdate for TQt +Group: Development/Libraries/Python +Requires: python-tqt = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n trinity-pytqt-tools +pyuic is the PyQt counterpart for TQt's uic. It takes an XML +user interface file and generates Python code. + +pylupdate is the counterpart for TQt's lupdate. It updates TQt +Linguist translation files from Python code. + +%files -n trinity-pytqt-tools +%defattr(-,root,root,-) +%{tde_bindir}/pylupdate +%{tde_bindir}/pyuic + +########## + +%package -n python-tqt-devel +Summary: TQt bindings for Python - Development files +Group: Development/Libraries/Python +Requires: python-tqt = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: trinity-pytqt-tools = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: libtqt4-devel >= %{?epoch:%{epoch}:}4.2.0 + +%description -n python-tqt-devel +Development .sip files with definitions of PyQt classes. They +are needed to build PyQt, but also as building blocks of other +packages based on them, like PyTDE. + +%files -n python-tqt-devel +%defattr(-,root,root,-) +%{python_sitearch}/python_tqt/pyqtconfig.py* +%dir %{_datadir}/sip +%{_datadir}/sip/tqt/ + +########## + +%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}" + +mkdir build +cd build + +# WTF ? CentOS 6 ! +cp -rf ../pyuic3 ../pylupdate3 + +echo yes | %__python ../configure.py \ + -c -n %{_includedir}/tqscintilla \ + -q %{_datadir}/tqt3 \ + -y tqt-mt \ + -o %{_libdir} -u -j 10 \ + -d %{python_sitearch}/python_tqt \ + -v %{_datadir}/sip/tqt \ + -b %{tde_bindir} \ + -w \ + CXXFLAGS_RELEASE="" CXXFLAGS="${RPM_OPT_FLAGS} -I%{_includedir}/tqt" STRIP="" + +%__make + + +%install +%__rm -rf %{?buildroot} +%__make install DESTDIR=%{?buildroot} -C build + +%__install -d %{?buildroot}%{_datadir}/sip/ +%__cp -rf sip/* %{?buildroot}%{_datadir}/sip/tqt/ + + +%clean +%__rm -rf %{?buildroot}%{python_sitearch}/python_tqt/__init__.py + + +%changelog diff --git a/redhat/dependencies/sip4-tqt/sip4-tqt-14.0.0.spec b/redhat/dependencies/sip4-tqt/sip4-tqt-14.0.0.spec deleted file mode 100644 index 6432e8099..000000000 --- a/redhat/dependencies/sip4-tqt/sip4-tqt-14.0.0.spec +++ /dev/null @@ -1,174 +0,0 @@ -# -# spec file for package sip4-tqt (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/ -# - -# BUILD WARNING: -# Remove qt-devel and qt3-devel and any kde*-devel on your system ! -# Having KDE libraries may cause FTBFS here ! - -# Note for RHEL6 / Fedora: -# Do *NOT* use 'byacc' to build sip4-tqt. -# Instead, use 'bison' with a wrapper shell script. -# e.g. /usr/local/bin/yacc -# contains 'bison --yacc $@' - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.0.0 -%endif -%define tde_pkg sip4-tqt -%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_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 4.10.5 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Python/C++ bindings generator runtime library -Group: Development/Tools/Building -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: libtqt4-devel >= %{?epoch:%{epoch}:}4.2.0 -BuildRequires: trinity-filesystem >= %{tde_version} - -BuildRequires: gcc-c++ -BuildRequires: python -BuildRequires: python-devel - -%description -SIP is a tool for generating bindings for C++ classes with some ideas -borrowed from SWIG, but capable of tighter bindings because of its -specificity towards C++ and Python. - -########## - -%package -n sip4-tqt -Summary: Python/C++ bindings generator (Runtime Library) -Group: Development/Tools/Building -Requires: trinity-filesystem >= %{tde_version} -Requires: python - -%description -n sip4-tqt -SIP is a tool for generating bindings for C++ classes with some ideas -borrowed from SWIG, but capable of tighter bindings because of its -specificity towards C++ and Python. - -%files -n sip4-tqt -%defattr(-,root,root,-) -%dir %{python_sitearch}/sip4_tqt -%{python_sitearch}/sip4_tqt/sip.so -%{python_sitearch}/sip4_tqt/sipconfig.py* -%{python_sitearch}/sip4_tqt/sipdistutils.py* -%{python_sitearch}/sip4_tqt/__init__.py* - -########## - -%package -n sip4-tqt-devel -Summary: Python/C++ bindings generator (Development Files) -Group: Development/Libraries/Python -Requires: sip4-tqt = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: python-devel - -%description -n sip4-tqt-devel -SIP is a tool for generating bindings for C++ classes with some ideas -borrowed from SWIG, but capable of tighter bindings because of its -specificity towards C++ and Python. - -SIP was originally designed to generate Python bindings for KDE and so -has explicit support for the signal slot mechanism used by the Qt/KDE -class libraries. - -Features: -- connecting TQt signals to Python functions and class methods -- connecting Python signals to TQt slots -- overloading virtual member functions with Python class methods -- protected member functions -- abstract classes -- enumerated types -- global class instances -- static member functions. - -This package contains the code generator tool and the development headers -needed to develop Python bindings with sip. - -%files -n sip4-tqt-devel -%defattr(-,root,root,-) -%{tde_bindir}/sip -%{tde_includedir}/sip.h - -########## - -%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 PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -mkdir build -cd build -%__python ../configure.py \ - -b %{tde_bindir} \ - -d %{python_sitearch}/sip4_tqt \ - -e %{tde_includedir} \ - -u STRIP="" \ - CFLAGS="${RPM_OPT_FLAGS} -I%{_includedir}/tqt -I%{_includedir}/tqt3 -I${PWD}/../sipgen -DYYERROR_VERBOSE" \ - CXXFLAGS="${RPM_OPT_FLAGS} -I%{_includedir}/tqt -I%{_includedir}/tqt3 -I${PWD}/../sipgen -DYYERROR_VERBOSE" - - -%install -%__rm -rf %{?buildroot} -%__make install DESTDIR=%{?buildroot} -C build - - -%clean -%__rm -rf %{?buildroot} - - -%changelog diff --git a/redhat/dependencies/sip4-tqt/sip4-tqt.spec b/redhat/dependencies/sip4-tqt/sip4-tqt.spec new file mode 100644 index 000000000..601659a5e --- /dev/null +++ b/redhat/dependencies/sip4-tqt/sip4-tqt.spec @@ -0,0 +1,177 @@ +# +# spec file for package sip4-tqt (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/ +# + +# BUILD WARNING: +# Remove qt-devel and qt3-devel and any kde*-devel on your system ! +# Having KDE libraries may cause FTBFS here ! + +# Note for RHEL6 / Fedora: +# Do *NOT* use 'byacc' to build sip4-tqt. +# Instead, use 'bison' with a wrapper shell script. +# e.g. /usr/local/bin/yacc +# contains 'bison --yacc $@' + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.0.7 +%endif +%define tde_pkg sip4-tqt +%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_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 4.10.5 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Python/C++ bindings generator runtime library +Group: Development/Tools/Building +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: libtqt4-devel >= %{?epoch:%{epoch}:}4.2.0 +BuildRequires: trinity-filesystem >= %{tde_version} + +BuildRequires: gcc-c++ + +%if 0%{?rhel} >= 8 || 0%{?fedora} >= 31 +%define python python2 +%define __python %__python2 +%else +%define python python +%endif +BuildRequires: %{python} +BuildRequires: %{python}-devel + +%description +SIP is a tool for generating bindings for C++ classes with some ideas +borrowed from SWIG, but capable of tighter bindings because of its +specificity towards C++ and Python. + +########## + +%package -n sip4-tqt +Summary: Python/C++ bindings generator (Runtime Library) +Group: Development/Tools/Building +Requires: trinity-filesystem >= %{tde_version} +Requires: %{python} + +%description -n sip4-tqt +SIP is a tool for generating bindings for C++ classes with some ideas +borrowed from SWIG, but capable of tighter bindings because of its +specificity towards C++ and Python. + +%files -n sip4-tqt +%defattr(-,root,root,-) +%{python_sitearch}/sip4_tqt/ + +########## + +%package -n sip4-tqt-devel +Summary: Python/C++ bindings generator (Development Files) +Group: Development/Libraries/Python +Requires: sip4-tqt = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: %{python}-devel + +%description -n sip4-tqt-devel +SIP is a tool for generating bindings for C++ classes with some ideas +borrowed from SWIG, but capable of tighter bindings because of its +specificity towards C++ and Python. + +SIP was originally designed to generate Python bindings for KDE and so +has explicit support for the signal slot mechanism used by the Qt/KDE +class libraries. + +Features: +- connecting TQt signals to Python functions and class methods +- connecting Python signals to TQt slots +- overloading virtual member functions with Python class methods +- protected member functions +- abstract classes +- enumerated types +- global class instances +- static member functions. + +This package contains the code generator tool and the development headers +needed to develop Python bindings with sip. + +%files -n sip4-tqt-devel +%defattr(-,root,root,-) +%{tde_bindir}/sip +%{tde_includedir}/sip.h + +########## + +%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 PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +mkdir build +cd build +%__python ../configure.py \ + -b %{tde_bindir} \ + -d %{python_sitearch}/sip4_tqt \ + -e %{tde_includedir} \ + -u STRIP="" \ + CFLAGS="${RPM_OPT_FLAGS} -I%{_includedir}/tqt -I%{_includedir}/tqt3 -I${PWD}/../sipgen -DYYERROR_VERBOSE" \ + CXXFLAGS="${RPM_OPT_FLAGS} -I%{_includedir}/tqt -I%{_includedir}/tqt3 -I${PWD}/../sipgen -DYYERROR_VERBOSE" + + +%install +%__rm -rf %{?buildroot} +%__make install DESTDIR=%{?buildroot} -C build + + +%clean +%__rm -rf %{?buildroot} + + +%changelog diff --git a/redhat/dependencies/tqca-tls/tqca-tls-14.0.0.spec b/redhat/dependencies/tqca-tls/tqca-tls-14.0.0.spec deleted file mode 100644 index 0323731dc..000000000 --- a/redhat/dependencies/tqca-tls/tqca-tls-14.0.0.spec +++ /dev/null @@ -1,118 +0,0 @@ -# -# spec file for package tqca-tls (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.0.0 -%endif -%define tde_pkg tqca-tls -%define tde_prefix /opt/trinity -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} -%define libtqt3 %{_lib}tqt3 -%else -%define libtqt3 libtqt3 -%endif - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 1.0 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: TLS plugin for the TQt Cryptographic Architecture -Group: Applications/Internet -URL: http://delta.affinix.com/qca/ - -%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: libtqt4-devel >= %{tde_epoch}:4.2.0 -BuildRequires: libtqca-devel >= %{tde_epoch}:1.0 - -BuildRequires: gcc-c++ -BuildRequires: openssl-devel >= 0.9.8 - - -%description -This is a plugin to provide SSL/TLS capability to programs that use the TQt -Cryptographic Architecture (TQCA). TQCA is a library providing an easy API -for several cryptographic algorithms to TQt programs. This package only -contains the TLS plugin. - -########## - -%package -n %{libtqt3}-mt-tqca-tls -Summary: TLS plugin for the TQt Cryptographic Architecture -Group: Applications/Internet - -%description -n %{libtqt3}-mt-tqca-tls -This is a plugin to provide SSL/TLS capability to programs that use the TQt -Cryptographic Architecture (TQCA). TQCA is a library providing an easy API -for several cryptographic algorithms to TQt programs. This package only -contains the TLS plugin. - -%files -n %{libtqt3}-mt-tqca-tls -%defattr(0644,root,root,0755) -%doc README COPYING -%dir %{_libdir}/tqt3/plugins/crypto -%{_libdir}/tqt3/plugins/crypto/libtqca-tls.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 - -./configure \ - --qtdir=%{_prefix} - -%__make %{?_smp_mflags} - - -%install -%__rm -rf %{?buildroot} -%__make install INSTALL_ROOT=%{?buildroot} - - -%clean -%__rm -rf %{?buildroot} - - -%changelog diff --git a/redhat/dependencies/tqca-tls/tqca-tls.spec b/redhat/dependencies/tqca-tls/tqca-tls.spec new file mode 100644 index 000000000..a3a029de7 --- /dev/null +++ b/redhat/dependencies/tqca-tls/tqca-tls.spec @@ -0,0 +1,118 @@ +# +# spec file for package tqca-tls (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.0.7 +%endif +%define tde_pkg tqca-tls +%define tde_prefix /opt/trinity +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} +%define libtqt3 %{_lib}tqt3 +%else +%define libtqt3 libtqt3 +%endif + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 1.0 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: TLS plugin for the TQt Cryptographic Architecture +Group: Applications/Internet +URL: http://delta.affinix.com/qca/ + +%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: libtqt4-devel >= %{tde_epoch}:4.2.0 +BuildRequires: libtqca-devel >= %{tde_epoch}:1.0 + +BuildRequires: gcc-c++ +BuildRequires: openssl-devel >= 0.9.8 + + +%description +This is a plugin to provide SSL/TLS capability to programs that use the TQt +Cryptographic Architecture (TQCA). TQCA is a library providing an easy API +for several cryptographic algorithms to TQt programs. This package only +contains the TLS plugin. + +########## + +%package -n %{libtqt3}-mt-tqca-tls +Summary: TLS plugin for the TQt Cryptographic Architecture +Group: Applications/Internet + +%description -n %{libtqt3}-mt-tqca-tls +This is a plugin to provide SSL/TLS capability to programs that use the TQt +Cryptographic Architecture (TQCA). TQCA is a library providing an easy API +for several cryptographic algorithms to TQt programs. This package only +contains the TLS plugin. + +%files -n %{libtqt3}-mt-tqca-tls +%defattr(0644,root,root,0755) +%doc README COPYING +%dir %{_libdir}/tqt3/plugins/crypto +%{_libdir}/tqt3/plugins/crypto/libtqca-tls.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 + +./configure \ + --tqtdir=%{_prefix} + +%__make %{?_smp_mflags} + + +%install +%__rm -rf %{?buildroot} +%__make install INSTALL_ROOT=%{?buildroot} + + +%clean +%__rm -rf %{?buildroot} + + +%changelog diff --git a/redhat/dependencies/tqca/tqca-14.0.0.spec b/redhat/dependencies/tqca/tqca-14.0.0.spec deleted file mode 100644 index a6e59e772..000000000 --- a/redhat/dependencies/tqca/tqca-14.0.0.spec +++ /dev/null @@ -1,171 +0,0 @@ -# -# spec file for package tqca (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.0.0 -%endif -%define tde_pkg tqca -%define tde_prefix /opt/trinity -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} -%define libtqca %{_lib}tqca -%else -%define libtqca libtqca -%endif - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 1.0 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: TQt Cryptographic Architecture -Group: Development/Libraries/C and C++ -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: trinity-tqca-rpmlintrc - -BuildRequires: libtqt4-devel >= %{tde_epoch}:4.2.0 -BuildRequires: gcc-c++ - -%description -Taking a hint from the similarly-named Java Cryptography Architecture, -TQCA aims to provide a straightforward and cross-platform crypto API, -using TQt datatypes and conventions. TQCA separates the API from the -implementation, using plugins known as Providers. The advantage of this -model is to allow applications to avoid linking to or explicitly depending -on any particular cryptographic library. This allows one to easily change -or upgrade crypto implementations without even needing to recompile the -application! - -########## - -%package -n %{libtqca}1 -Summary: TQt Cryptographic Architecture -Group: Development/Libraries/C and C++ - -Obsoletes: trinity-libtqca < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-libtqca = %{?epoch:%{epoch}:}%{version}-%{release} -Provides: libtqca = %{?epoch:%{epoch}:}%{version}-%{release} -Provides: libtqca1 = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -n %{libtqca}1 -Taking a hint from the similarly-named Java Cryptography Architecture, -TQCA aims to provide a straightforward and cross-platform crypto API, -using TQt datatypes and conventions. TQCA separates the API from the -implementation, using plugins known as Providers. The advantage of this -model is to allow applications to avoid linking to or explicitly depending -on any particular cryptographic library. This allows one to easily change -or upgrade crypto implementations without even needing to recompile the -application! - -%post -n %{libtqca}1 -/sbin/ldconfig - -%postun -n %{libtqca}1 -/sbin/ldconfig - -%files -n %{libtqca}1 -%defattr(-,root,root,-) -%doc COPYING README TODO -%{_libdir}/libqca.so.1 -%{_libdir}/libqca.so.1.0 -%{_libdir}/libqca.so.1.0.0 - -########## - -%package -n %{libtqca}-devel -Summary: TQt Cryptographic Architecture development files -Group: Development/Libraries/C and C++ -Requires: %{libtqca}1 = %{?epoch:%{epoch}:}%{version}-%{release} - -Obsoletes: trinity-libtqca-devel < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-libtqca-devel = %{?epoch:%{epoch}:}%{version}-%{release} -Provides: libtqca-devel = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -n %{libtqca}-devel -This packages contains the development files for TQCA - -%post -n %{libtqca}-devel -/sbin/ldconfig - -%postun -n %{libtqca}-devel -/sbin/ldconfig - -%files -n %{libtqca}-devel -%defattr(-,root,root,-) -%{_includedir}/qca.h -%{_libdir}/libqca.so - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -# Fix 'lib64' library directory -perl -pi -e 's,target\.path=\$PREFIX/lib,target.path=\$PREFIX/%{_lib},g' qcextra - - -%build -unset QTDIR QTINC QTLIB - -./configure \ - --prefix=%{_prefix} \ - --qtdir=/usr \ - --debug - - -# Workaround strange tqmake behaviour in RHEL5 -%if 0%{?rhel} == 5 -%__sed -i "Makefile" -e "s|..\/..\/..\/..|%{_prefix}|g" -%endif - -%__make %{?_smp_mflags} - - -%install -%__rm -rf $RPM_BUILD_ROOT -%__make install INSTALL_ROOT="${RPM_BUILD_ROOT}/" - - -%clean -%__rm -rf $RPM_BUILD_ROOT - - -%changelog diff --git a/redhat/dependencies/tqca/tqca.spec b/redhat/dependencies/tqca/tqca.spec new file mode 100644 index 000000000..0ea095f6a --- /dev/null +++ b/redhat/dependencies/tqca/tqca.spec @@ -0,0 +1,171 @@ +# +# spec file for package tqca (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.0.7 +%endif +%define tde_pkg tqca +%define tde_prefix /opt/trinity +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} +%define libtqca %{_lib}tqca +%else +%define libtqca libtqca +%endif + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 1.0 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: TQt Cryptographic Architecture +Group: Development/Libraries/C and C++ +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: trinity-tqca-rpmlintrc + +BuildRequires: libtqt4-devel >= %{tde_epoch}:4.2.0 +BuildRequires: gcc-c++ + +%description +Taking a hint from the similarly-named Java Cryptography Architecture, +TQCA aims to provide a straightforward and cross-platform crypto API, +using TQt datatypes and conventions. TQCA separates the API from the +implementation, using plugins known as Providers. The advantage of this +model is to allow applications to avoid linking to or explicitly depending +on any particular cryptographic library. This allows one to easily change +or upgrade crypto implementations without even needing to recompile the +application! + +########## + +%package -n %{libtqca}1 +Summary: TQt Cryptographic Architecture +Group: Development/Libraries/C and C++ + +Obsoletes: trinity-libtqca < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-libtqca = %{?epoch:%{epoch}:}%{version}-%{release} +Provides: libtqca = %{?epoch:%{epoch}:}%{version}-%{release} +Provides: libtqca1 = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n %{libtqca}1 +Taking a hint from the similarly-named Java Cryptography Architecture, +TQCA aims to provide a straightforward and cross-platform crypto API, +using TQt datatypes and conventions. TQCA separates the API from the +implementation, using plugins known as Providers. The advantage of this +model is to allow applications to avoid linking to or explicitly depending +on any particular cryptographic library. This allows one to easily change +or upgrade crypto implementations without even needing to recompile the +application! + +%post -n %{libtqca}1 +/sbin/ldconfig + +%postun -n %{libtqca}1 +/sbin/ldconfig + +%files -n %{libtqca}1 +%defattr(-,root,root,-) +%doc COPYING README TODO +%{_libdir}/libqca.so.1 +%{_libdir}/libqca.so.1.0 +%{_libdir}/libqca.so.1.0.0 + +########## + +%package -n %{libtqca}-devel +Summary: TQt Cryptographic Architecture development files +Group: Development/Libraries/C and C++ +Requires: %{libtqca}1 = %{?epoch:%{epoch}:}%{version}-%{release} + +Obsoletes: trinity-libtqca-devel < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-libtqca-devel = %{?epoch:%{epoch}:}%{version}-%{release} +Provides: libtqca-devel = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n %{libtqca}-devel +This packages contains the development files for TQCA + +%post -n %{libtqca}-devel +/sbin/ldconfig + +%postun -n %{libtqca}-devel +/sbin/ldconfig + +%files -n %{libtqca}-devel +%defattr(-,root,root,-) +%{_includedir}/qca.h +%{_libdir}/libqca.so + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + +# Fix 'lib64' library directory +perl -pi -e 's,target\.path=\$PREFIX/lib,target.path=\$PREFIX/%{_lib},g' qcextra + + +%build +unset QTDIR QTINC QTLIB + +./configure \ + --prefix=%{_prefix} \ + --tqtdir=/usr \ + --debug + + +# Workaround strange tqmake behaviour in RHEL5 +%if 0%{?rhel} == 5 +%__sed -i "Makefile" -e "s|..\/..\/..\/..|%{_prefix}|g" +%endif + +%__make %{?_smp_mflags} + + +%install +%__rm -rf $RPM_BUILD_ROOT +%__make install INSTALL_ROOT="${RPM_BUILD_ROOT}/" + + +%clean +%__rm -rf $RPM_BUILD_ROOT + + +%changelog diff --git a/redhat/dependencies/tqscintilla/tqscintilla-14.0.0.spec b/redhat/dependencies/tqscintilla/tqscintilla-14.0.0.spec deleted file mode 100644 index 2d5616cd9..000000000 --- a/redhat/dependencies/tqscintilla/tqscintilla-14.0.0.spec +++ /dev/null @@ -1,232 +0,0 @@ -# -# spec file for package tqscintilla (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.0.0 -%endif -%define tde_pkg tqscintilla -%define tde_prefix /opt/trinity -%define tde_datadir %{tde_prefix}/share -%define tde_tdedocdir %{tde_datadir}/doc/tde - -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} -%define libtqscintilla %{_lib}tqscintilla -%else -%define libtqscintilla libtqscintilla -%endif - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 1.7.1 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: TQt source code editing component based on Scintilla -Group: Development/Libraries/C and C++ -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: trinity-tqscintilla-rpmlintrc - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-filesystem >= %{tde_version} - -BuildRequires: desktop-file-utils -BuildRequires: gettext -BuildRequires: gcc-c++ - -%description -Scintilla is a free source code editing component. It has features found -in standard editing components, as well as features especially useful -when editing and debugging source code. - -TQScintilla is a port or Scintilla to the TQt GUI toolkit. - -########## - -%package -n %{libtqscintilla}7 -Summary: TQt source code editing component based on Scintilla -Group: Development/Libraries/C and C++ -Provides: libtqscintilla = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: libtqt3-mt >= 3.5.0 - -%description -n %{libtqscintilla}7 -Scintilla is a free source code editing component. It has features found -in standard editing components, as well as features especially useful -when editing and debugging source code. - -TQScintilla is a port or Scintilla to the TQt GUI toolkit. - -%post -n %{libtqscintilla}7 -/sbin/ldconfig - -%postun -n %{libtqscintilla}7 -/sbin/ldconfig - -%files -n %{libtqscintilla}7 -%defattr(-,root,root,-) -%doc ChangeLog LICENSE NEWS README -%{_libdir}/libqscintilla.so.7 -%{_libdir}/libqscintilla.so.7.0 -%{_libdir}/libqscintilla.so.7.0.1 -%{_libdir}/tqt3/plugins/designer/*.so -%dir %{_datadir}/tqt3/translations/ -%{_datadir}/tqt3/translations/*.qm - -########## - -%package -n %{libtqscintilla}-devel -Summary: TQScintilla Development Files -Group: Development/Libraries/C and C++ -Provides: libtqscintilla-devel = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: %{libtqscintilla}7 = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: libtqt3-mt-devel >= 3.5.0 - -%description -n %{libtqscintilla}-devel -This package contains the development files for tqscintilla. - -%post -n %{libtqscintilla}-devel -/sbin/ldconfig - -%postun -n %{libtqscintilla}-devel -/sbin/ldconfig - -%files -n %{libtqscintilla}-devel -%defattr(-,root,root,-) -%doc doc/Scintilla example -%{_includedir}/tqscintilla/ -%{_libdir}/libqscintilla.so - -########## - -%package -n %{libtqscintilla}-doc -Summary: TQScintilla Documentation -Group: Development/Libraries/C and C++ -Provides: libtqscintilla-doc = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: %{libtqscintilla}7 = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: trinity-filesystem >= %{tde_version} - -%description -n %{libtqscintilla}-doc -This package contains the documentation for tqscintilla. - -%files -n %{libtqscintilla}-doc -%defattr(-,root,root,-) -%{tde_tdedocdir}/HTML/en/%{name}/ - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -# Fix perms -chmod -x doc/Scintilla/* -chmod -x example/* - -# Fix path in project files -%__sed -i "qt/qscintilla.pro" \ - -e "s|^INCLUDEPATH = .*|INCLUDEPATH = . ../include ../src /usr/include/tqt /usr/include/tqt3|" \ - -e "s|^header.path = .*|header.path = %{_includedir}/tqt3|" \ - -e "s|^trans.path = .*|trans.path = %{_datadir}/tqt3/translations|" - -%__sed -i "designer/designer.pro" \ - -e "s|\$(QTDIR)|%{_libdir}/tqt3|" \ - -e "s|# DESTDIR|DESTDIR|" - -export QTDIR=%{_libdir}/tqt3 -export TQTDIR=%{_prefix} -( cd qt; tqmake "DESTDIR=$PWD/../tmplib" ) -( cd designer; tqmake ) - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" - -# Workaround strange tqmake behaviour in RHEL5 -%if 0%{?rhel} == 5 -%__sed -i "qt/Makefile" -e "s|..\/..\/..\/..\/..|%{_prefix}|g" -%endif - -export QTDIR=%{_libdir}/tqt3 -export TQTDIR=%{_prefix} -%__make %{?_smp_mflags} -C qt -%__make %{?_smp_mflags} -C designer - - -%install -unset QTDIR QTINC QTLIB -export QTDIR=%{_libdir}/tqt3 -export TQTDIR=%{_prefix} -%__rm -rf $RPM_BUILD_ROOT - -# Installs the QT part -%__make INSTALL_ROOT=$RPM_BUILD_ROOT -C qt install - -# Installs supplementary headers -for i in include/*.h; do - %__install -D -m 644 $i %{buildroot}${QTINC}/private/${i##*/} -done - -# Installs the HTML documentation correctly -for i in doc/html/*; do - %__install -D -m 644 $i %{buildroot}%{tde_tdedocdir}/HTML/en/%{name}/${i##*/} -done - -# Installs the Designer plugin -for i in designer/*.so ${QTDIR}/plugins/designer/*.so ${TQTDIR}/plugins/designer/*.so; do - [ -r "${i}" ] || continue - %__install -D -m 644 $i %{buildroot}${QTDIR}/plugins/designer/${i##*/} -done - -# Installs libraries -%__mkdir_p %{buildroot}%{_libdir} -%__mv -f tmplib/* %{buildroot}%{_libdir} - -# Fix private headers location -%__mkdir_p %{buildroot}%{_includedir} -%__mv -f %{buildroot}/private %{buildroot}%{_includedir}/tqt3 -%__mv -f %{buildroot}%{_includedir}/tqt3 %{buildroot}%{_includedir}/tqscintilla - -# Fix permissions -chmod a-x %{buildroot}%{_includedir}/tqscintilla/*.h -chmod a-x %{buildroot}%{_includedir}/tqscintilla/*.h - - -%clean -%__rm -rf $RPM_BUILD_ROOT - - -%changelog diff --git a/redhat/dependencies/tqscintilla/tqscintilla.spec b/redhat/dependencies/tqscintilla/tqscintilla.spec new file mode 100644 index 000000000..4b200aa96 --- /dev/null +++ b/redhat/dependencies/tqscintilla/tqscintilla.spec @@ -0,0 +1,232 @@ +# +# spec file for package tqscintilla (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.0.7 +%endif +%define tde_pkg tqscintilla +%define tde_prefix /opt/trinity +%define tde_datadir %{tde_prefix}/share +%define tde_tdedocdir %{tde_datadir}/doc/tde + +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} +%define libtqscintilla %{_lib}tqscintilla +%else +%define libtqscintilla libtqscintilla +%endif + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 1.7.1 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: TQt source code editing component based on Scintilla +Group: Development/Libraries/C and C++ +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: trinity-tqscintilla-rpmlintrc + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-filesystem >= %{tde_version} + +BuildRequires: desktop-file-utils +BuildRequires: gettext +BuildRequires: gcc-c++ + +%description +Scintilla is a free source code editing component. It has features found +in standard editing components, as well as features especially useful +when editing and debugging source code. + +TQScintilla is a port or Scintilla to the TQt GUI toolkit. + +########## + +%package -n %{libtqscintilla}7 +Summary: TQt source code editing component based on Scintilla +Group: Development/Libraries/C and C++ +Provides: libtqscintilla = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: libtqt3-mt >= 3.5.0 + +%description -n %{libtqscintilla}7 +Scintilla is a free source code editing component. It has features found +in standard editing components, as well as features especially useful +when editing and debugging source code. + +TQScintilla is a port or Scintilla to the TQt GUI toolkit. + +%post -n %{libtqscintilla}7 +/sbin/ldconfig + +%postun -n %{libtqscintilla}7 +/sbin/ldconfig + +%files -n %{libtqscintilla}7 +%defattr(-,root,root,-) +%doc ChangeLog LICENSE NEWS README +%{_libdir}/libqscintilla.so.7 +%{_libdir}/libqscintilla.so.7.0 +%{_libdir}/libqscintilla.so.7.0.1 +%{_libdir}/tqt3/plugins/designer/*.so +%dir %{_datadir}/tqt3/translations/ +%{_datadir}/tqt3/translations/*.qm + +########## + +%package -n %{libtqscintilla}-devel +Summary: TQScintilla Development Files +Group: Development/Libraries/C and C++ +Provides: libtqscintilla-devel = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: %{libtqscintilla}7 = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: libtqt3-mt-devel >= 3.5.0 + +%description -n %{libtqscintilla}-devel +This package contains the development files for tqscintilla. + +%post -n %{libtqscintilla}-devel +/sbin/ldconfig + +%postun -n %{libtqscintilla}-devel +/sbin/ldconfig + +%files -n %{libtqscintilla}-devel +%defattr(-,root,root,-) +%doc doc/Scintilla example +%{_includedir}/tqscintilla/ +%{_libdir}/libqscintilla.so + +########## + +%package -n %{libtqscintilla}-doc +Summary: TQScintilla Documentation +Group: Development/Libraries/C and C++ +Provides: libtqscintilla-doc = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: %{libtqscintilla}7 = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: trinity-filesystem >= %{tde_version} + +%description -n %{libtqscintilla}-doc +This package contains the documentation for tqscintilla. + +%files -n %{libtqscintilla}-doc +%defattr(-,root,root,-) +%{tde_tdedocdir}/HTML/en/%{name}/ + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + +# Fix perms +chmod -x doc/Scintilla/* +chmod -x example/* + +# Fix path in project files +%__sed -i "qt/qscintilla.pro" \ + -e "s|^INCLUDEPATH = .*|INCLUDEPATH = . ../include ../src /usr/include/tqt /usr/include/tqt3|" \ + -e "s|^header.path = .*|header.path = %{_includedir}/tqt3|" \ + -e "s|^trans.path = .*|trans.path = %{_datadir}/tqt3/translations|" + +%__sed -i "designer/designer.pro" \ + -e "s|\$(QTDIR)|%{_libdir}/tqt3|" \ + -e "s|# DESTDIR|DESTDIR|" + +export QTDIR=%{_libdir}/tqt3 +export TQTDIR=%{_prefix} +( cd qt; tqmake "DESTDIR=$PWD/../tmplib" ) +( cd designer; tqmake ) + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" + +# Workaround strange tqmake behaviour in RHEL5 +%if 0%{?rhel} == 5 +%__sed -i "qt/Makefile" -e "s|..\/..\/..\/..\/..|%{_prefix}|g" +%endif + +export QTDIR=%{_libdir}/tqt3 +export TQTDIR=%{_prefix} +%__make %{?_smp_mflags} -C qt +%__make %{?_smp_mflags} -C designer + + +%install +unset QTDIR QTINC QTLIB +export QTDIR=%{_libdir}/tqt3 +export TQTDIR=%{_prefix} +%__rm -rf $RPM_BUILD_ROOT + +# Installs the QT part +%__make INSTALL_ROOT=$RPM_BUILD_ROOT -C qt install + +# Installs supplementary headers +for i in include/*.h; do + %__install -D -m 644 $i %{buildroot}${QTINC}/private/${i##*/} +done + +# Installs the HTML documentation correctly +for i in doc/html/*; do + %__install -D -m 644 $i %{buildroot}%{tde_tdedocdir}/HTML/en/%{name}/${i##*/} +done + +# Installs the Designer plugin +for i in designer/*.so ${QTDIR}/plugins/designer/*.so ${TQTDIR}/plugins/designer/*.so; do + [ -r "${i}" ] || continue + %__install -D -m 644 $i %{buildroot}${QTDIR}/plugins/designer/${i##*/} +done + +# Installs libraries +%__mkdir_p %{buildroot}%{_libdir} +%__mv -f tmplib/* %{buildroot}%{_libdir} + +# Fix private headers location +%__mkdir_p %{buildroot}%{_includedir} +%__mv -f %{buildroot}/private %{buildroot}%{_includedir}/tqt3 +%__mv -f %{buildroot}%{_includedir}/tqt3 %{buildroot}%{_includedir}/tqscintilla + +# Fix permissions +chmod a-x %{buildroot}%{_includedir}/tqscintilla/*.h +chmod a-x %{buildroot}%{_includedir}/tqscintilla/*.h + + +%clean +%__rm -rf $RPM_BUILD_ROOT + + +%changelog diff --git a/redhat/dependencies/tqt3/tqassistant.desktop b/redhat/dependencies/tqt3/tqassistant.desktop deleted file mode 100644 index c178007d8..000000000 --- a/redhat/dependencies/tqt3/tqassistant.desktop +++ /dev/null @@ -1,13 +0,0 @@ -[Desktop Entry] -Encoding=UTF-8 -Exec=tqassistant -Name=TQt3 Assistant -Name[de]=TQt3 Assistent -GenericName=Document Browser -Comment=TQt3 Helpcenter -Comment[de]= TQt3 Hilfezentrum -MimeType=application/x-assistant; -Icon=tqassistant -Terminal=false -Type=Application -Categories=Qt;Development; diff --git a/redhat/dependencies/tqt3/tqdesigner.desktop b/redhat/dependencies/tqt3/tqdesigner.desktop deleted file mode 100644 index 2152b777b..000000000 --- a/redhat/dependencies/tqt3/tqdesigner.desktop +++ /dev/null @@ -1,78 +0,0 @@ -[Desktop Entry] -Encoding=UTF-8 -Exec=tqdesigner -Name=TQt3 Designer -Name[bg]=TQt3 Дизайнер -Name[br]=Ergrafer TQt3 -Name[ca]=Dissenyador TQt3 -Name[cs]=TQt3 designer -Name[de]=TQt3-Designer -Name[eo]=TQt3-Desegnilo -Name[es]=Diseñador TQt3 -Name[et]=TQt3 disainer -Name[eu]=TQt3 Diseinatzailea -Name[gl]=Deseñador de TQt3 -Name[he]=TQt3 בצעמ -Name[it]=Designer TQt3 -Name[ja]=TQt3デザイナー -Name[ko]=TQt3 디자이너 -Name[lv]=TQt3 Dizainers -Name[mk]=TQt3 дизајнер -Name[no]=TQt3-designer -Name[oc]=Dessinador TQt3 -Name[pl]=Projektant TQt3 -Name[sk]=TQt3 Dizajnér -Name[sl]=Snovalnik TQt3 -Name[ta]=TQt3 À¨¼ôÀ¡Ç÷ -Name[uk]=Дизайнер TQt3 -Name[zh_CN.GB2312]=TQt3 设计者 -Name[zh_TW.Big5]=TQt3 設計器 -GenericName=Interface Designer -Comment=TQt3 interface designer -Comment[az]=TQt3 axtar üz dizayn proqramı -Comment[bg]=TQt3 interface дизайнер -Comment[br]=Ergrafer etrefas TQt3 -Comment[ca]=Dissenyador d'interfícies TQt3 -Comment[cs]=Editor UI pro TQt3 -Comment[da]=TQt3 grænseflade designer -Comment[de]=Schnittstellen-Designer für TQt3 -Comment[el]=Σχεδιασμός περιβάλλοντων TQt3 -Comment[eo]=TQt3-Interfacdesegnilo -Comment[es]=Diseñador de interfaces de TQt3 -Comment[et]=TQt3 dialoogide redaktor -Comment[eu]=TQt3 interfaze diseinatzailea -Comment[fi]=TQt3:n käyttöliittymäsuunnittelija -Comment[fr]=Conception d'interfaces avec TQt3 -Comment[gl]=Editor de interfaces de TQt3 -Comment[he]=TQt3-ל םיקשממ בצעמ -Comment[hu]=TQt3 felülettervező -Comment[is]=Viðmótshönnunartól fyrir TQt3 -Comment[it]=Editor per le interfaccie TQt3 -Comment[ja]=TQt3インターフェースデザイナー -Comment[ko]=TQt3 인터페이스 디자이너 -Comment[lt]=TQt3 sąsajos redaktorius -Comment[lv]=TQt3 starsejas dizainers -Comment[mk]=Дизајнер на TQt3 дијалози -Comment[nl]=TQt3 interface-ontwerper -Comment[no]=TQt3-grensesnittdesigner -Comment[no_NY]=Redigering av TQt3-miljø -Comment[oc]=Dessinador d'interfacies TQt3 -Comment[pl]=Projektant interfejsu TQt3 -Comment[pt]=Editor de interfaces do TQt3 -Comment[pt_BR]=Designer de interface TQt3 -Comment[ro]=Dezvoltator de interfeţe TQt3 -Comment[ru]=редактор интерфейсов приложений TQt3 -Comment[sk]=TQt3 dizajnér rozhrania -Comment[sl]=Snovalnik vmesnikov za TQt3 -Comment[sr]=Dizajner TQt3 interfejsa -Comment[sv]=Editor för gränssnitt till TQt3 -Comment[ta]=TQt3 À¨¼ôÀ¡Ç÷ -Comment[tr]=TQt3 arayüz tasarım programı -Comment[uk]=Редактор інтерфейсу для TQt3 -Comment[zh_CN.GB2312]=TQt3 界面设计程序 -Comment[zh_TW.Big5]=TQt3 介面編輯器 -MimeType=application/x-designer; -Icon=tqdesigner -Terminal=false -Type=Application -Categories=Qt;Development; diff --git a/redhat/dependencies/tqt3/tqlinguist.desktop b/redhat/dependencies/tqt3/tqlinguist.desktop deleted file mode 100644 index 6cbbe713d..000000000 --- a/redhat/dependencies/tqt3/tqlinguist.desktop +++ /dev/null @@ -1,26 +0,0 @@ -[Desktop Entry] -Exec=tqlinguist -Name=TQt3 Linguist -Name[de]=TQt3-Linguist -Name[eo]=TQt3-Lingvisto -Name[es]=Lingüista TQt3 -Name[ko]=TQt3 언어학자 -Name[lv]=TQt3 Lingvists -GenericName=Translation Tool -Comment=Tool for translating message catalogues of TQt3 based programs -Comment[da]=Redskab til at oversætte TQt3 baserede programmer -Comment[de]=Dienstprogramm zur Übersetzung von Programmen, die auf TQt3 basieren -Comment[eo]=Ilo por tradukado de mesaĝaroj de TQt3-bazitaj programoj -Comment[es]=Herramienta para la traducción de catálogos de mensajes de programas basados en TQt3 -Comment[he]=TQt3 תוססובמ תוינכות לש תועדוה יגולטק םוגרתל ילכ -Comment[hu]=Segédprogram a TQt3-alapú programok üzenetfájljainak lefordításához -Comment[ko]=TQt3를 바탕으로 하는 프로그램에서 쓸 번역된 메세지 목록을 관리하는 도구 -Comment[lv]=Rīks ziņojumu katalogu tulkošanai uz TQt3 bāzētās programmās -Comment[pt]=Ferramenta para traduzir os catálogos de mensagens de programas do TQt3 -Comment[pt_BR]=Ferramenta para traduzir os catálogos de mensagens de programas do TQt3 -Comment[sv]=Verktyg för att översätta meddelandekataloger från TQt3-baserade program -MimeType=application/x-linguist; -Terminal=false -Icon=tqlinguist -Type=Application -Categories=Qt;Development diff --git a/redhat/dependencies/tqt3/tqt3-14.0.0.spec b/redhat/dependencies/tqt3/tqt3-14.0.0.spec deleted file mode 100644 index b7fc869e6..000000000 --- a/redhat/dependencies/tqt3/tqt3-14.0.0.spec +++ /dev/null @@ -1,1542 +0,0 @@ -# -# spec file for package tqt3 (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.0.0 -%endif - -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} -%define libtqt3 %{_lib}tqt3 -%else -%define libtqt3 libtqt3 -%endif - - -Name: trinity-tqt3 -Version: 3.5.0 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: TQt GUI Library, Version 3 -Group: System/GUI/Other -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Project -#Packager: Francois Andriot - -Prefix: /usr -BuildRoot: %{_tmppath}/%{name}-%{tde_version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz -Source1: build-examples.sh - -Source11: tqassistant.desktop -Source12: tqdesigner.desktop -Source13: tqlinguist.desktop -Source14: tqtconfig.desktop - - -BuildRequires: glibc-devel -BuildRequires: gcc-c++ -BuildRequires: make - -BuildRequires: desktop-file-utils -BuildRequires: perl -BuildRequires: sed -BuildRequires: findutils -BuildRequires: tar - -# ZLIB support -BuildRequires: zlib-devel - -# JPEG support -BuildRequires: libjpeg-devel - -# MNG support -BuildRequires: libmng-devel - -# PNG support -BuildRequires: libpng-devel - -# GIF support -BuildRequires: giflib-devel - -# FREETYPE support -BuildRequires: freetype-devel - -# FONTCONFIG support -BuildRequires: fontconfig-devel - -# SUSE desktop files utility -%if 0%{?suse_version} -BuildRequires: update-desktop-files -%endif - -# CUPS support -BuildRequires: cups-devel - -# GLIB2 support -%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} || 0%{?rhel} >= 6 -%define with_glibmainloop 1 -%define glib2_devel glib2-devel -%endif -%{?glib2_devel:BuildRequires: %{glib2_devel}} - -# UUID support -%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} || 0%{?rhel} >= 6 -%define uuid_devel libuuid-devel -%endif -%if 0%{?rhel} == 5 -%define uuid_devel e2fsprogs-devel -%endif -%{?uuid_devel:BuildRequires: %{uuid_devel}} - -# LIBAUDIO support -%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_nas 1 -%define libaudio_devel nas-devel -%endif -%{?libaudio_devel:BuildRequires: %{libaudio_devel}} - -# Xrender support -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%define xrender_devel libXrender-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -%define xrender_devel libxrender-devel -%endif -%{?xrender_devel:BuildRequires: %{xrender_devel}} - -# Xrandr support -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%define xrandr_devel libXrandr-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -%if 0%{?pclinuxos} -%define xrandr_devel %{_lib}xrandr2-devel -%else -%define xrandr_devel libxrandr-devel -%endif -%endif -%{?xrandr_devel:BuildRequires: %{xrandr_devel}} - -# Xcursor support -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%define xcursor_devel libXcursor-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -%define xcursor_devel libxcursor-devel -%endif -%{?xcursor_devel:BuildRequires: %{xcursor_devel}} - -# Xinerama support -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%define xinerama_devel libXinerama-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -%define xinerama_devel libxinerama-devel -%endif -%{?xinerama_devel:BuildRequires: %{xinerama_devel}} - -# Xft support -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%define xft_devel libXft-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -%define xft_devel libxft-devel -%endif -%{?xft_devel:BuildRequires: %{xft_devel}} - -# XEXT support -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%define xext_devel libXext-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -%define xext_devel libxext-devel -%endif -%{?xext_devel:BuildRequires: %{xext_devel}} - -# X11 support -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%define x11_devel libX11-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -%define x11_devel libx11-devel -%endif -%{?x11_devel:BuildRequires: %{x11_devel}} - -# SM support -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%define sm_devel libSM-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -%define sm_devel libsm-devel -%endif -%{?sm_devel:BuildRequires: %{sm_devel}} - -# ICE support -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%define ice_devel libICE-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -%define ice_devel libice-devel -%endif -%{?ice_devel:BuildRequires: %{ice_devel}} - -# XT support -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -BuildRequires: libXt-devel -%endif - -# 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 - -# XI support -%if 0%{?rhel} == 4 -%define xi_devel xorg-x11-devel -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -%define xi_devel libxi-devel -%endif -%if 0%{?suse_version} >= 1220 || 0%{?rhel} >= 5 || 0%{?fedora} -%define xi_devel libXi-devel -%endif -%if 0%{?suse_version} == 1140 -%define xi_devel libXi6-devel -%endif -%{?xi_devel:BuildRequires: %{xi_devel}} - -# Xorg support -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -BuildRequires: xorg-x11-proto-devel -%endif - -# MESA support -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: mesa-libGL-devel -BuildRequires: mesa-libGLU-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -%if 0%{?pclinuxos} -BuildRequires: MesaGLU-devel -%else -BuildRequires: mesaglu-devel -%endif -%endif -%if 0%{?suse_version} -BuildRequires: Mesa-libGL-devel -BuildRequires: Mesa-libGLU-devel -%endif - -# MYSQL support -BuildRequires: mysql-devel - -# unixODBC support -BuildRequires: unixODBC-devel - -# SQLITE support -BuildRequires: sqlite-devel - -# SQLITE3 support -%if 0%{?mgaversion} -BuildRequires: sqlite3-devel -%endif - -# POSTGRESQL support -BuildRequires: postgresql -%if 0%{?fedora} >= 30 -BuildRequires: postgresql-server-devel -%else -BuildRequires: postgresql-devel -%endif - -# Firebird support -%if 0%{?mdkversion} || 0%{?mgaversion} -%define with_ibase 1 -BuildRequires: firebird-devel -%endif - -# FBCLIENT support -%if 0%{?mgaversion} >= 6 -BuildRequires: %{_lib}fbclient-devel -%endif - -# NIS support -%define with_nis 1 - -# RPC support -%if 0%{?fedora} >= 28 || 0%{?suse_version} >= 1500 -%if 0%{?fedora} -BuildRequires: libnsl2-devel -%else -BuildRequires: libnsl-devel -%endif -BuildRequires: libtirpc-devel -%endif - -# x86_64 specific stuff -%if "%{_lib}" != "lib" -%if 0%{?mdkversion} || ( 0%{?mgaversion} && 0%{?mgaversion} <= 2) -BuildRequires: linux32 -%else -BuildRequires: util-linux -%endif -%endif - -%description -This is the Trolltech TQt library, version 3. It's necessary for -applications that link against the libtqt-mt.so.3, e.g. all Trinity -applications. - -########## - -%package -n %{libtqt3}-mt -Summary: TQt GUI Library (Threaded runtime version), Version 3 -Group: System/GUI/Other -Provides: libtqt3-mt = %{version}-%{release} -Provides: trinity-tqt3 = %{version}-%{release} - -Requires(post): /sbin/ldconfig -Requires(postun): /sbin/ldconfig -Requires: coreutils -Requires: fontconfig >= 2.0 -Requires: /etc/ld.so.conf.d - -%description -n %{libtqt3}-mt -This is the Trolltech TQt library, version 3. It's necessary for -applications that link against the libtqt-mt.so.3, e.g. all Trinity -applications. - -%post -n %{libtqt3}-mt -/sbin/ldconfig || : - -%postun -n %{libtqt3}-mt -/sbin/ldconfig || : - -%files -n %{libtqt3}-mt -%defattr(-,root,root,-) -%doc FAQ LICENSE* README* changes* -%dir %{_datadir}/icons/hicolor -%dir %{_datadir}/icons/hicolor/32x32 -%dir %{_datadir}/icons/hicolor/32x32/apps -%dir %{_datadir}/tqt3/ -%dir %{_datadir}/tqt3/doc/ -%dir %{_datadir}/tqt3/doc/html/ -%dir %{_datadir}/tqt3/tools/ -%dir %{_libdir}/tqt3/ -%dir %{_libdir}/tqt3/plugins/ -%dir %{_libdir}/tqt3/plugins/designer/ -%dir %{_libdir}/tqt3/plugins/imageformats/ -%dir %{_libdir}/tqt3/plugins/inputmethods/ -%dir %{_libdir}/tqt3/plugins/sqldrivers/ -%dir %{_sysconfdir}/tqt3 -%{_libdir}/libtqt-mt.so.3 -%{_libdir}/libtqt-mt.so.3.5 -%{_libdir}/libtqt-mt.so.3.5.0 -%{_libdir}/libtqui.so.1 -%{_libdir}/libtqui.so.1.0 -%{_libdir}/libtqui.so.1.0.0 -%{_libdir}/tqt3/plugins/imageformats/libqmng.so -%{_libdir}/tqt3/plugins/inputmethods/libqimsw-multi.so -%{_libdir}/tqt3/plugins/inputmethods/libqimsw-none.so -%{_libdir}/tqt3/plugins/inputmethods/libqsimple.so -%{_libdir}/tqt3/plugins/inputmethods/libqxim.so - -########### - -%package -n %{libtqt3}-mt-devel -Summary: TQt development files (Threaded) -Group: Development/Libraries/X11 -Provides: trinity-tqt3-devel = %{version}-%{release} -Provides: libtqt3-mt-devel = %{version}-%{release} -Requires: %{libtqt3}-mt = %{version}-%{release} - -Requires: glibc-devel -Requires: fontconfig-devel -Requires: freetype-devel -Requires: libjpeg-devel -Requires: libpng-devel -Requires: zlib-devel - -%{?glib2_devel:Requires: %{glib2_devel}} -%{?uuid_devel:Requires: %{uuid_devel}} -%{?xi_devel:Requires: %{xi_devel}} -%{?xrender_devel:Requires: %{xrender_devel}} -%{?xrandr_devel:Requires: %{xrandr_devel}} -%{?xcursor_devel:Requires: %{xcursor_devel}} -%{?xinerama_devel:Requires: %{xinerama_devel}} -%{?xft_devel:Requires: %{xft_devel}} -%{?xext_devel:Requires: %{xext_devel}} -%{?x11_devel:Requires: %{x11_devel}} -%{?sm_devel:Requires: %{sm_devel}} -%{?ice_devel:Requires: %{ice_devel}} -%{?libaudio_devel:Requires: %{libaudio_devel}} - -%description -n %{libtqt3}-mt-devel -TQt is a C++ class library optimized for graphical user interface -development. This package contains the libtqt-mt.so symlink, necessary -for building threaded TQt applications as well as the libtqui.so symlink -and the necessary header files for libtqui.so. (See README.Debian and -the TQt Documentation for instructions on libtqui.so) - -WARNING: If you plan to build some older TQt3 applications, you will -most probably have to install the tqt3-compat-headers package. It -contains all the headers which are not part of the official TQt3 API -anymore but which are still used by some programs. So if you encounter -problems with missing header files, please install this package first -before you send a bugreport. - -%post -n %{libtqt3}-mt-devel -/sbin/ldconfig || : - -%postun -n %{libtqt3}-mt-devel -/sbin/ldconfig || : - -%files -n %{libtqt3}-mt-devel -%defattr(-,root,root,-) -%{_libdir}/libtqt-mt.la -%{_libdir}/libtqt-mt.so -%{_libdir}/libtqt-mt.prl -%{_libdir}/libtqui.so -%{_libdir}/libtqui.prl -%{_libdir}/pkgconfig/tqt-mt.pc -%dir %{_includedir}/tqt3 -%{_includedir}/tqt3/ntqgl.h -%{_includedir}/tqt3/ntqglcolormap.h -%{_includedir}/tqt3/ntqwidgetfactory.h -%{_includedir}/tqt3/actioninterface.h -%{_includedir}/tqt3/arghintwidget.h -%{_includedir}/tqt3/browser.h -%{_includedir}/tqt3/cindent.h -%{_includedir}/tqt3/classbrowserinterface.h -%{_includedir}/tqt3/completion.h -%{_includedir}/tqt3/conf.h -%{_includedir}/tqt3/designerinterface.h -%{_includedir}/tqt3/editor.h -%{_includedir}/tqt3/editorinterface.h -%{_includedir}/tqt3/filterinterface.h -%{_includedir}/tqt3/interpreterinterface.h -%{_includedir}/tqt3/languageinterface.h -%{_includedir}/tqt3/markerwidget.h -%{_includedir}/tqt3/ntqabstractlayout.h -%{_includedir}/tqt3/ntqaccel.h -%{_includedir}/tqt3/ntqaccessible.h -%{_includedir}/tqt3/ntqaction.h -%{_includedir}/tqt3/ntqapplication.h -%{_includedir}/tqt3/ntqasciicache.h -%{_includedir}/tqt3/ntqasciidict.h -%{_includedir}/tqt3/ntqasyncimageio.h -%{_includedir}/tqt3/ntqasyncio.h -%{_includedir}/tqt3/ntqbig5codec.h -%{_includedir}/tqt3/ntqbitarray.h -%{_includedir}/tqt3/ntqbitmap.h -%{_includedir}/tqt3/ntqbrush.h -%{_includedir}/tqt3/ntqbuffer.h -%{_includedir}/tqt3/ntqbutton.h -%{_includedir}/tqt3/ntqbuttongroup.h -%{_includedir}/tqt3/ntqcache.h -%{_includedir}/tqt3/ntqcanvas.h -%{_includedir}/tqt3/ntqcdestyle.h -%{_includedir}/tqt3/ntqcheckbox.h -%{_includedir}/tqt3/ntqcleanuphandler.h -%{_includedir}/tqt3/ntqclipboard.h -%{_includedir}/tqt3/ntqcolor.h -%{_includedir}/tqt3/ntqcolordialog.h -%{_includedir}/tqt3/ntqcombobox.h -%{_includedir}/tqt3/ntqcommonstyle.h -%{_includedir}/tqt3/ntqcompactstyle.h -%{_includedir}/tqt3/ntqconfig.h -%{_includedir}/tqt3/ntqconnection.h -%{_includedir}/tqt3/ntqcstring.h -%{_includedir}/tqt3/ntqcursor.h -%{_includedir}/tqt3/ntqdatabrowser.h -%{_includedir}/tqt3/ntqdatastream.h -%{_includedir}/tqt3/ntqdatatable.h -%{_includedir}/tqt3/ntqdataview.h -%{_includedir}/tqt3/ntqdatetime.h -%{_includedir}/tqt3/ntqdatetimeedit.h -%{_includedir}/tqt3/ntqdeepcopy.h -%{_includedir}/tqt3/ntqdesktopwidget.h -%{_includedir}/tqt3/ntqdial.h -%{_includedir}/tqt3/ntqdialog.h -%{_includedir}/tqt3/ntqdict.h -%{_includedir}/tqt3/ntqdir.h -%{_includedir}/tqt3/ntqdns.h -%{_includedir}/tqt3/ntqdockarea.h -%{_includedir}/tqt3/ntqdockwindow.h -%{_includedir}/tqt3/ntqdom.h -%{_includedir}/tqt3/ntqdragobject.h -%{_includedir}/tqt3/ntqdrawutil.h -%{_includedir}/tqt3/ntqdropsite.h -%{_includedir}/tqt3/ntqeditorfactory.h -%{_includedir}/tqt3/ntqerrormessage.h -%{_includedir}/tqt3/ntqeucjpcodec.h -%{_includedir}/tqt3/ntqeuckrcodec.h -%{_includedir}/tqt3/ntqevent.h -%{_includedir}/tqt3/ntqeventloop.h -%{_includedir}/tqt3/ntqfeatures.h -%{_includedir}/tqt3/ntqfile.h -%{_includedir}/tqt3/ntqfiledialog.h -%{_includedir}/tqt3/ntqfileinfo.h -%{_includedir}/tqt3/ntqfocusdata.h -%{_includedir}/tqt3/ntqfont.h -%{_includedir}/tqt3/ntqfontdatabase.h -%{_includedir}/tqt3/ntqfontdialog.h -%{_includedir}/tqt3/ntqfontinfo.h -%{_includedir}/tqt3/ntqfontmetrics.h -%{_includedir}/tqt3/ntqframe.h -%{_includedir}/tqt3/ntqftp.h -%{_includedir}/tqt3/ntqgarray.h -%{_includedir}/tqt3/ntqgb18030codec.h -%{_includedir}/tqt3/ntqgbkcodec.h -%{_includedir}/tqt3/ntqgcache.h -%{_includedir}/tqt3/ntqgdict.h -%{_includedir}/tqt3/ntqgeneric.h -%{_includedir}/tqt3/ntqgif.h -%{_includedir}/tqt3/ntqglist.h -%{_includedir}/tqt3/ntqglobal.h -%{_includedir}/tqt3/ntqgplugin.h -%{_includedir}/tqt3/ntqgrid.h -%{_includedir}/tqt3/ntqgridview.h -%{_includedir}/tqt3/ntqgroupbox.h -%{_includedir}/tqt3/ntqguardedptr.h -%{_includedir}/tqt3/ntqgvector.h -%{_includedir}/tqt3/ntqhbox.h -%{_includedir}/tqt3/ntqhbuttongroup.h -%{_includedir}/tqt3/ntqheader.h -%{_includedir}/tqt3/ntqhgroupbox.h -%{_includedir}/tqt3/ntqhostaddress.h -%{_includedir}/tqt3/ntqhttp.h -%{_includedir}/tqt3/ntqiconset.h -%{_includedir}/tqt3/ntqiconview.h -%{_includedir}/tqt3/ntqimage.h -%{_includedir}/tqt3/ntqimageformatplugin.h -%{_includedir}/tqt3/ntqinputcontext.h -%{_includedir}/tqt3/ntqinputcontextfactory.h -%{_includedir}/tqt3/ntqinputcontextplugin.h -%{_includedir}/tqt3/ntqinputdialog.h -%{_includedir}/tqt3/ntqintcache.h -%{_includedir}/tqt3/ntqintdict.h -%{_includedir}/tqt3/ntqinterlacestyle.h -%{_includedir}/tqt3/ntqiodevice.h -%{_includedir}/tqt3/ntqjiscodec.h -%{_includedir}/tqt3/ntqjpegio.h -%{_includedir}/tqt3/ntqjpunicode.h -%{_includedir}/tqt3/ntqkeycode.h -%{_includedir}/tqt3/ntqkeysequence.h -%{_includedir}/tqt3/ntqlabel.h -%{_includedir}/tqt3/ntqlayout.h -%{_includedir}/tqt3/ntqlcdnumber.h -%{_includedir}/tqt3/ntqlibrary.h -%{_includedir}/tqt3/ntqlineedit.h -%{_includedir}/tqt3/ntqlistbox.h -%{_includedir}/tqt3/ntqlistview.h -%{_includedir}/tqt3/ntqlocale.h -%{_includedir}/tqt3/ntqlocalfs.h -%{_includedir}/tqt3/ntqmainwindow.h -%{_includedir}/tqt3/ntqmap.h -%{_includedir}/tqt3/ntqmemarray.h -%{_includedir}/tqt3/ntqmenubar.h -%{_includedir}/tqt3/ntqmenudata.h -%{_includedir}/tqt3/ntqmessagebox.h -%{_includedir}/tqt3/ntqmetaobject.h -%{_includedir}/tqt3/ntqmime.h -%{_includedir}/tqt3/ntqmngio.h -%{_includedir}/tqt3/ntqmodules.h -%{_includedir}/tqt3/ntqmotifplusstyle.h -%{_includedir}/tqt3/ntqmotifstyle.h -%{_includedir}/tqt3/ntqmovie.h -%{_includedir}/tqt3/ntqmultilineedit.h -%{_includedir}/tqt3/ntqmutex.h -%{_includedir}/tqt3/ntqnamespace.h -%{_includedir}/tqt3/ntqnetwork.h -%{_includedir}/tqt3/ntqnetworkprotocol.h -%{_includedir}/tqt3/ntqnp.h -%{_includedir}/tqt3/ntqobject.h -%{_includedir}/tqt3/ntqobjectcleanuphandler.h -%{_includedir}/tqt3/ntqobjectdefs.h -%{_includedir}/tqt3/ntqobjectdict.h -%{_includedir}/tqt3/ntqobjectlist.h -%{_includedir}/tqt3/ntqpaintdevice.h -%{_includedir}/tqt3/ntqpaintdevicedefs.h -%{_includedir}/tqt3/ntqpaintdevicemetrics.h -%{_includedir}/tqt3/ntqpainter.h -%{_includedir}/tqt3/ntqpair.h -%{_includedir}/tqt3/ntqpalette.h -%{_includedir}/tqt3/ntqpen.h -%{_includedir}/tqt3/ntqpicture.h -%{_includedir}/tqt3/ntqpixmap.h -%{_includedir}/tqt3/ntqpixmapcache.h -%{_includedir}/tqt3/ntqplatinumstyle.h -%{_includedir}/tqt3/ntqpngio.h -%{_includedir}/tqt3/ntqpoint.h -%{_includedir}/tqt3/ntqpointarray.h -%{_includedir}/tqt3/ntqpolygonscanner.h -%{_includedir}/tqt3/ntqpopupmenu.h -%{_includedir}/tqt3/ntqprintdialog.h -%{_includedir}/tqt3/ntqprinter.h -%{_includedir}/tqt3/ntqprocess.h -%{_includedir}/tqt3/ntqprogressbar.h -%{_includedir}/tqt3/ntqprogressdialog.h -%{_includedir}/tqt3/ntqptrcollection.h -%{_includedir}/tqt3/ntqptrdict.h -%{_includedir}/tqt3/ntqptrlist.h -%{_includedir}/tqt3/ntqptrqueue.h -%{_includedir}/tqt3/ntqptrstack.h -%{_includedir}/tqt3/ntqptrvector.h -%{_includedir}/tqt3/ntqpushbutton.h -%{_includedir}/tqt3/ntqradiobutton.h -%{_includedir}/tqt3/ntqrangecontrol.h -%{_includedir}/tqt3/ntqrect.h -%{_includedir}/tqt3/ntqregexp.h -%{_includedir}/tqt3/ntqregion.h -%{_includedir}/tqt3/ntqrtlcodec.h -%{_includedir}/tqt3/ntqscrollbar.h -%{_includedir}/tqt3/ntqscrollview.h -%{_includedir}/tqt3/ntqsemaphore.h -%{_includedir}/tqt3/ntqsemimodal.h -%{_includedir}/tqt3/ntqserversocket.h -%{_includedir}/tqt3/ntqsession.h -%{_includedir}/tqt3/ntqsessionmanager.h -%{_includedir}/tqt3/ntqsettings.h -%{_includedir}/tqt3/ntqsgistyle.h -%{_includedir}/tqt3/ntqshared.h -%{_includedir}/tqt3/ntqsignal.h -%{_includedir}/tqt3/ntqsignalmapper.h -%{_includedir}/tqt3/ntqsignalslotimp.h -%{_includedir}/tqt3/ntqsimplerichtext.h -%{_includedir}/tqt3/ntqsize.h -%{_includedir}/tqt3/ntqsizegrip.h -%{_includedir}/tqt3/ntqsizepolicy.h -%{_includedir}/tqt3/ntqsjiscodec.h -%{_includedir}/tqt3/ntqslider.h -%{_includedir}/tqt3/ntqsocket.h -%{_includedir}/tqt3/ntqsocketdevice.h -%{_includedir}/tqt3/ntqsocketnotifier.h -%{_includedir}/tqt3/ntqsortedlist.h -%{_includedir}/tqt3/ntqsound.h -%{_includedir}/tqt3/ntqspinbox.h -%{_includedir}/tqt3/ntqsplashscreen.h -%{_includedir}/tqt3/ntqsplitter.h -%{_includedir}/tqt3/ntqsql.h -%{_includedir}/tqt3/ntqsqlcursor.h -%{_includedir}/tqt3/ntqsqldatabase.h -%{_includedir}/tqt3/ntqsqldriver.h -%{_includedir}/tqt3/ntqsqldriverplugin.h -%{_includedir}/tqt3/ntqsqleditorfactory.h -%{_includedir}/tqt3/ntqsqlerror.h -%{_includedir}/tqt3/ntqsqlfield.h -%{_includedir}/tqt3/ntqsqlform.h -%{_includedir}/tqt3/ntqsqlindex.h -%{_includedir}/tqt3/ntqsqlpropertymap.h -%{_includedir}/tqt3/ntqsqlquery.h -%{_includedir}/tqt3/ntqsqlrecord.h -%{_includedir}/tqt3/ntqsqlresult.h -%{_includedir}/tqt3/ntqsqlselectcursor.h -%{_includedir}/tqt3/ntqstatusbar.h -%{_includedir}/tqt3/ntqstring.h -%{_includedir}/tqt3/ntqstringlist.h -%{_includedir}/tqt3/ntqstrlist.h -%{_includedir}/tqt3/ntqstrvec.h -%{_includedir}/tqt3/ntqstyle.h -%{_includedir}/tqt3/ntqstylefactory.h -%{_includedir}/tqt3/ntqstyleplugin.h -%{_includedir}/tqt3/ntqstylesheet.h -%{_includedir}/tqt3/ntqsyntaxhighlighter.h -%{_includedir}/tqt3/ntqt.h -%{_includedir}/tqt3/ntqtabbar.h -%{_includedir}/tqt3/ntqtabdialog.h -%{_includedir}/tqt3/ntqtable.h -%{_includedir}/tqt3/ntqtabwidget.h -%{_includedir}/tqt3/ntqtextbrowser.h -%{_includedir}/tqt3/ntqtextcodec.h -%{_includedir}/tqt3/ntqtextcodecfactory.h -%{_includedir}/tqt3/ntqtextcodecplugin.h -%{_includedir}/tqt3/ntqtextedit.h -%{_includedir}/tqt3/ntqtextstream.h -%{_includedir}/tqt3/ntqtextview.h -%{_includedir}/tqt3/ntqthread.h -%{_includedir}/tqt3/ntqthreadstorage.h -%{_includedir}/tqt3/ntqtimer.h -%{_includedir}/tqt3/ntqtl.h -%{_includedir}/tqt3/ntqtoolbar.h -%{_includedir}/tqt3/ntqtoolbox.h -%{_includedir}/tqt3/ntqtoolbutton.h -%{_includedir}/tqt3/ntqtooltip.h -%{_includedir}/tqt3/ntqtranslator.h -%{_includedir}/tqt3/ntqtsciicodec.h -%{_includedir}/tqt3/ntqurl.h -%{_includedir}/tqt3/ntqurlinfo.h -%{_includedir}/tqt3/ntqurloperator.h -%{_includedir}/tqt3/ntqutfcodec.h -%{_includedir}/tqt3/ntquuid.h -%{_includedir}/tqt3/ntqvalidator.h -%{_includedir}/tqt3/ntqvaluelist.h -%{_includedir}/tqt3/ntqvaluestack.h -%{_includedir}/tqt3/ntqvaluevector.h -%{_includedir}/tqt3/ntqvariant.h -%{_includedir}/tqt3/ntqvbox.h -%{_includedir}/tqt3/ntqvbuttongroup.h -%{_includedir}/tqt3/ntqvfbhdr.h -%{_includedir}/tqt3/ntqvgroupbox.h -%{_includedir}/tqt3/ntqwaitcondition.h -%{_includedir}/tqt3/ntqwhatsthis.h -%{_includedir}/tqt3/ntqwidget.h -%{_includedir}/tqt3/ntqwidgetintdict.h -%{_includedir}/tqt3/ntqwidgetlist.h -%{_includedir}/tqt3/ntqwidgetplugin.h -%{_includedir}/tqt3/ntqwidgetstack.h -%{_includedir}/tqt3/ntqwindowdefs.h -%{_includedir}/tqt3/ntqwindowsstyle.h -%{_includedir}/tqt3/ntqwinexport.h -%{_includedir}/tqt3/ntqwizard.h -%{_includedir}/tqt3/ntqwmatrix.h -%{_includedir}/tqt3/ntqworkspace.h -%{_includedir}/tqt3/ntqxml.h -%{_includedir}/tqt3/paragdata.h -%{_includedir}/tqt3/parenmatcher.h -%{_includedir}/tqt3/preferenceinterface.h -%{_includedir}/tqt3/preferences.h -%{_includedir}/tqt3/preferences.ui.h -%{_includedir}/tqt3/projectsettingsiface.h -%{_includedir}/tqt3/qconfig-dist.h -%{_includedir}/tqt3/qconfig-large.h -%{_includedir}/tqt3/qconfig-medium.h -%{_includedir}/tqt3/qconfig-minimal.h -%{_includedir}/tqt3/qconfig-small.h -%{_includedir}/tqt3/qsql_ibase.h -%{_includedir}/tqt3/qsql_mysql.h -%{_includedir}/tqt3/qsql_odbc.h -%{_includedir}/tqt3/qsql_psql.h -%{_includedir}/tqt3/qsql_sqlite.h -%{_includedir}/tqt3/qsql_sqlite3.h -%{_includedir}/tqt3/qsqlcachedresult.h -%{_includedir}/tqt3/qt_pch.h -%{_includedir}/tqt3/qtmultilineedit.h -%{_includedir}/tqt3/qttableview.h -%{_includedir}/tqt3/qwindow.h -%{_includedir}/tqt3/sourcetemplateiface.h -%{_includedir}/tqt3/templatewizardiface.h -%{_includedir}/tqt3/viewmanager.h -%{_includedir}/tqt3/widgetinterface.h - -%dir %{_includedir}/tqt3/private/ -%{_includedir}/tqt3/private/*.h - -########## - -%package -n %{libtqt3}-mt-mysql -Summary: MySQL database driver for TQt3 (Threaded) -Group: System/GUI/Other -Provides: libtqt3-mt-mysql = %{version}-%{release} -Requires: %{libtqt3}-mt = %{version}-%{release} - -%description -n %{libtqt3}-mt-mysql -This package contains the threaded MySQL plugin for TQt3. Install it if -you intend to use or write TQt programs that are to access a MySQL DB. - -%files -n %{libtqt3}-mt-mysql -%defattr(-,root,root,-) -%{_libdir}/tqt3/plugins/sqldrivers/libqsqlmysql.so - -########## - -%package -n %{libtqt3}-mt-odbc -Summary: ODBC database driver for TQt3 (Threaded) -Group: System/GUI/Other -Provides: libtqt3-mt-odbc = %{version}-%{release} -Requires: %{libtqt3}-mt = %{version}-%{release} - -%description -n %{libtqt3}-mt-odbc -This package contains the threaded ODBC plugin for TQt3. Install it if -you intend to use or write TQt programs that are to access an ODBC DB. - -%files -n %{libtqt3}-mt-odbc -%defattr(-,root,root,-) -%{_libdir}/tqt3/plugins/sqldrivers/libqsqlodbc.so - -########## - -%package -n %{libtqt3}-mt-psql -Summary: PostgreSQL database driver for TQt3 (Threaded) -Group: System/GUI/Other -Provides: libtqt3-mt-psql = %{version}-%{release} -Requires: %{libtqt3}-mt = %{version}-%{release} - -%description -n %{libtqt3}-mt-psql -This package contains the threaded PostgreSQL plugin for TQt3. -Install it if you intend to use or write TQt programs that are -to access a PostgreSQL DB. - -%files -n %{libtqt3}-mt-psql -%defattr(-,root,root,-) -%{_libdir}/tqt3/plugins/sqldrivers/libqsqlpsql.so - -########## - -%if 0%{?with_ibase} -%package -n %{libtqt3}-mt-ibase -Summary: InterBase/FireBird database driver for TQt3 (Threaded) -Group: System/GUI/Other -Provides: libtqt3-mt-ibase = %{version}-%{release} -Requires: %{libtqt3}-mt = %{version}-%{release} - -%description -n %{libtqt3}-mt-ibase -This package contains the threaded InterBase/FireBird plugin -for TQt3. Install it if you intend to use or write TQt programs -that are to access an InterBase/FireBird DB. - -%files -n %{libtqt3}-mt-ibase -%defattr(-,root,root,-) -%{_libdir}/tqt3/plugins/sqldrivers/libqsqlibase.so -%endif - -########## - -%package -n %{libtqt3}-mt-sqlite -Summary: SQLite database driver for TQt3 (Threaded) -Group: System/GUI/Other -Provides: libtqt3-mt-sqlite = %{version}-%{release} -Requires: %{libtqt3}-mt = %{version}-%{release} - -%description -n %{libtqt3}-mt-sqlite -This package contains the threaded SQLite plugin for TQt3. Install -it if you intend to use or write TQt programs that are to access an -SQLite DB. - -%files -n %{libtqt3}-mt-sqlite -%defattr(-,root,root,-) -%{_libdir}/tqt3/plugins/sqldrivers/libqsqlite.so - -########## - -%package -n %{libtqt3}-mt-sqlite3 -Summary: SQLite3 database driver for TQt3 (Threaded) -Group: System/GUI/Other -Provides: libtqt3-mt-sqlite3 = %{version}-%{release} -Requires: %{libtqt3}-mt = %{version}-%{release} - -%description -n %{libtqt3}-mt-sqlite3 -This package contains the threaded SQLite3 plugin for TQt3. Install -it if you intend to use or write TQt programs that are to access an -SQLite3 DB. - -%files -n %{libtqt3}-mt-sqlite3 -%defattr(-,root,root,-) -%{_libdir}/tqt3/plugins/sqldrivers/libqsqlite3.so - -########### - -%package -n tqt3-compat-headers -Summary: TQt 1.x and 2.x compatibility includes -Group: Development/Libraries/X11 -Requires: %{libtqt3}-mt = %{version}-%{release} - -%description -n tqt3-compat-headers -This package contains header files that are intended for build -compatibility for applications that build with TQt3 but still use -deprecated includes. It is meant as an intermediate solution and -these header files are not part of the official TQt3 API. -All sourcecode that is still using the headers of this package is -subject to be changed to use the new header files which are in -libtqt3-headers. - -%files -n tqt3-compat-headers -%defattr(-,root,root,-) -%{_includedir}/tqt3/ntq1xcompatibility.h -%{_includedir}/tqt3/ntqapp.h -%{_includedir}/tqt3/ntqarray.h -%{_includedir}/tqt3/ntqbitarry.h -%{_includedir}/tqt3/ntqbttngrp.h -%{_includedir}/tqt3/ntqchkbox.h -%{_includedir}/tqt3/ntqclipbrd.h -%{_includedir}/tqt3/ntqcollect.h -%{_includedir}/tqt3/ntqcollection.h -%{_includedir}/tqt3/ntqcombo.h -%{_includedir}/tqt3/ntqconnect.h -%{_includedir}/tqt3/ntqdatetm.h -%{_includedir}/tqt3/ntqdrawutl.h -%{_includedir}/tqt3/ntqdstream.h -%{_includedir}/tqt3/ntqfiledef.h -%{_includedir}/tqt3/ntqfiledlg.h -%{_includedir}/tqt3/ntqfileinf.h -%{_includedir}/tqt3/ntqfontinf.h -%{_includedir}/tqt3/ntqfontmet.h -%{_includedir}/tqt3/ntqgrpbox.h -%{_includedir}/tqt3/ntqintcach.h -%{_includedir}/tqt3/ntqiodev.h -%{_includedir}/tqt3/ntqlcdnum.h -%{_includedir}/tqt3/ntqlined.h -%{_includedir}/tqt3/ntqlist.h -%{_includedir}/tqt3/ntqmenudta.h -%{_includedir}/tqt3/ntqmetaobj.h -%{_includedir}/tqt3/ntqmlined.h -%{_includedir}/tqt3/ntqmsgbox.h -%{_includedir}/tqt3/ntqmultilinedit.h -%{_includedir}/tqt3/ntqobjcoll.h -%{_includedir}/tqt3/ntqobjdefs.h -%{_includedir}/tqt3/ntqpaintd.h -%{_includedir}/tqt3/ntqpaintdc.h -%{_includedir}/tqt3/ntqpdevmet.h -%{_includedir}/tqt3/ntqpmcache.h -%{_includedir}/tqt3/ntqpntarry.h -%{_includedir}/tqt3/ntqpopmenu.h -%{_includedir}/tqt3/ntqprndlg.h -%{_includedir}/tqt3/ntqprogbar.h -%{_includedir}/tqt3/ntqprogdlg.h -%{_includedir}/tqt3/ntqpsprn.h -%{_includedir}/tqt3/ntqpushbt.h -%{_includedir}/tqt3/ntqqueue.h -%{_includedir}/tqt3/ntqradiobt.h -%{_includedir}/tqt3/ntqrangect.h -%{_includedir}/tqt3/ntqscrbar.h -%{_includedir}/tqt3/ntqsocknot.h -%{_includedir}/tqt3/ntqstack.h -%{_includedir}/tqt3/ntqtabdlg.h -%{_includedir}/tqt3/ntqtstream.h -%{_includedir}/tqt3/ntqvector.h -%{_includedir}/tqt3/ntqwidcoll.h -%{_includedir}/tqt3/ntqwindefs.h -%dir %{_docdir}/tqt3-compat-headers -%{_docdir}/tqt3-compat-headers/attic.tar.gz - -########### - -%package -n tqt3-dev-tools -Summary: TQt3 development tools -Group: Development/Libraries/X11 -Requires: %{libtqt3}-mt-devel = %{version}-%{release} -Requires: tqt3-dev-tools-devel = %{version}-%{release} - -%description -n tqt3-dev-tools -This package contains all tools that are necessary to build programs -that are written using TQt3. These are: qmake, uic and moc. -For TQt3 development, you most likely want to install this package. - -%files -n tqt3-dev-tools -%defattr(-,root,root,-) -%{_datadir}/tqt3/doc/html/qmake*html -%{_datadir}/tqt3/doc/html/qmake*dcf -%{_bindir}/tqmake -%{_bindir}/tqlupdate -%{_bindir}/tqlrelease -%{_bindir}/tquic -%{_bindir}/tqmoc -%{_bindir}/tqembed -%{_mandir}/man1/lupdate-tqt3.1* -%{_mandir}/man1/lrelease-tqt3.1* -%{_mandir}/man1/moc-tqt3.1* -%{_mandir}/man1/uic-tqt3.1* - -########## - -%package -n tqt3-dev-tools-devel -Summary: TQt3 development tools -Group: Development/Libraries/X11 - -%description -n tqt3-dev-tools-devel -This package contains all tools that are necessary to build programs -that are written using TQt3. - -%files -n tqt3-dev-tools-devel -%defattr(-,root,root,-) -%dir %{_datadir}/tqt3/mkspecs/ -%{_datadir}/tqt3/mkspecs/* - -########## - -%package -n tqt3-designer -Summary: TQt3 Designer -Group: System/GUI/Other -Requires: %{libtqt3}-mt = %{version}-%{release} -Requires: tqt3-doc = %{version}-%{release} - -%description -n tqt3-designer -The TQt Designer is a GUI design program that interactively lets you -construct user interfaces for the TQt library. Additionally it lets you -create whole project and works together with the database drivers -provided by TQt to create applications with easy database access through -TQt. The resulting user interface files can then be converted to -C++ classes using the uic commandline utility which is usually done -automatically for the developer with a project management with qmake -or automake. - -%files -n tqt3-designer -%defattr(-,root,root,-) -%{_bindir}/tqdesigner -%{_bindir}/tqtcreatecw -%{_bindir}/tqtconv2ui -%{_datadir}/tqt3/doc/html/designer*html -%{_datadir}/tqt3/doc/html/designer*dcf -%{_datadir}/tqt3/doc/html/designer*jpg -%dir %{_datadir}/tqt3/templates/ -%{_datadir}/tqt3/templates/* -%{_libdir}/tqt3/plugins/designer/libcppeditor.so -%{_libdir}/tqt3/plugins/designer/libdlgplugin.so -%{_libdir}/tqt3/plugins/designer/libgladeplugin.so -%{_libdir}/tqt3/plugins/designer/libkdevdlgplugin.so -%{_libdir}/tqt3/plugins/designer/librcplugin.so -%{_libdir}/tqt3/plugins/designer/libwizards.so -%dir %{_datadir}/tqt3/tools/tqtconv2ui -%{_datadir}/tqt3/tools/tqtconv2ui/main.cpp -%{_datadir}/tqt3/tools/tqtconv2ui/tqtconv2ui.pro -%dir %{_datadir}/tqt3/tools/tqtcreatecw -%{_datadir}/tqt3/tools/tqtcreatecw/README -%{_datadir}/tqt3/tools/tqtcreatecw/main.cpp -%{_datadir}/tqt3/tools/tqtcreatecw/tqtcreatecw.pro -%{_datadir}/applications/tqdesigner.desktop -%{_datadir}/icons/hicolor/32x32/apps/tqdesigner.png - -########### - -%package -n tqt3-apps-devel -Summary: TQt3 Developer applications development files -Group: Development/Libraries/X11 -Requires: %{libtqt3}-mt-devel = %{version}-%{release} - -%description -n tqt3-apps-devel -This package is intended for developers who want to develop applications -using the additional static libraries that ship with the applications -included with TQt; the TQt Designer and the TQt Assistant. -It allows integrating additional enhancements into the TQt Designer -respectively faciliate the TQt Assistant from within your TQt application -to interactively call the Assistant for displaying online help that the -developer includes with his application. - -%post -n tqt3-apps-devel -/sbin/ldconfig || : - -%postun -n tqt3-apps-devel -/sbin/ldconfig || : - -%files -n tqt3-apps-devel -%defattr(-,root,root,-) -%{_libdir}/libtqtdesignercore.prl -%{_libdir}/libtqtdesignercore.so -%{_libdir}/libtqtdesignercore.so.1 -%{_libdir}/libtqtdesignercore.so.1.0 -%{_libdir}/libtqtdesignercore.so.1.0.0 -%{_libdir}/libtqteditor.prl -%{_libdir}/libtqteditor.so -%{_libdir}/libtqteditor.so.1 -%{_libdir}/libtqteditor.so.1.0 -%{_libdir}/libtqteditor.so.1.0.0 -%{_libdir}/libtqassistantclient.prl -%{_libdir}/libtqassistantclient.so -%{_libdir}/libtqassistantclient.so.1 -%{_libdir}/libtqassistantclient.so.1.0 -%{_libdir}/libtqassistantclient.so.1.0.0 -%{_includedir}/tqt3/ntqassistantclient.h - -########## - -%package -n tqt3-linguist -Summary: The TQt3 Linguist -Group: System/GUI/Other -Requires: %{libtqt3}-mt = %{version}-%{release} -Requires: tqt3-doc = %{version}-%{release} - -%description -n tqt3-linguist -This package contains the TQt3 Linguist which provides translators a -tool perfect for translating any TQt-based application into other -languages and can be used and installed independently of any TQt -development files by the translator. - -%files -n tqt3-linguist -%defattr(-,root,root,-) -%{_bindir}/tqlinguist -%dir %{_datadir}/tqt3/phrasebooks/ -%{_datadir}/tqt3/phrasebooks/* -%{_datadir}/tqt3/doc/html/linguist*html -%{_datadir}/tqt3/doc/html/linguist*dcf -%dir %{_docdir}/tqt3-linguist -%{_docdir}/tqt3-linguist/qt_untranslated.ts -%{_datadir}/applications/tqlinguist.desktop -%{_datadir}/icons/hicolor/32x32/apps/tqlinguist.png - -########## - -%package -n tqt3-assistant -Summary: The TQt3 assistant application -Group: System/GUI/Other -Requires: %{libtqt3}-mt = %{version}-%{release} -Requires: tqt3-doc = %{version}-%{release} - -%description -n tqt3-assistant -This package contains the TQt3 Assistant, an easy to use frontend for -the complete TQt3 documentation and serves as an online help viewer for -any TQt program that wants to give the usesr access to online help. -Within the TQt tools it is used as the help viewer for the online help -for the TQt3 Designer and Linguist as well as qmake and the TQt 3 API -documentation. - -Developers of TQt Application who want to faciliate the TQt Assistant for online -help display should refer to the README.Debian file for libtqt3-mt-devel and -the package tqt3-apps-devel. - -%files -n tqt3-assistant -%defattr(-,root,root,-) -%{_bindir}/tqassistant -%{_datadir}/icons/hicolor/32x32/apps/tqassistant.png -%{_datadir}/tqt3/doc/html/assistant*html -%{_datadir}/tqt3/doc/html/assistant*dcf -%{_datadir}/applications/tqassistant.desktop -%{_datadir}/icons/hicolor/32x32/apps/tqassistant.png - -########## - -%package -n tqt3-qtconfig -Summary: The TQt3 Configuration Application -Group: Development/Libraries/X11 -Requires: %{libtqt3}-mt = %{version}-%{release} -Requires: tqt3-doc = %{version}-%{release} - -%description -n tqt3-qtconfig -The TQt Configuration program allows endusers to configure the look -and behavior of any TQt3 application. It is mostly only necessary -on systems which don't run TDE because the Trinity control center already -covers this configuration automatically for the users TQt3 applications -according to his desktop settings in TDE. However, if you need to run -CJK-fonts or other non-latin scripts, you will most likely want to -install this package. - -%files -n tqt3-qtconfig -%defattr(-,root,root,-) -%{_bindir}/tqtconfig -%{_datadir}/applications/tqtconfig.desktop -%{_datadir}/icons/hicolor/32x32/apps/tqtconfig.png - -########### - -%package -n tqt3-dev-tools-embedded -Summary: Tools to develop embedded TQt applications -Group: System/GUI/Other -Requires: %{libtqt3}-mt-devel = %{version}-%{release} - -%description -n tqt3-dev-tools-embedded -This package contains applications only suitable for developing -applications with TQt Embedded and/or Qtopia. It provides the QVFB -program for simulating an embedded device desktop as well as maketqpf -for converting fonts to embedded fonts suitable for being utilized -by TQt Embedded applications. - -%files -n tqt3-dev-tools-embedded -%defattr(-,root,root,-) -%{_bindir}/maketqpf -%{_bindir}/tqvfb -%dir %{_sysconfdir}/tqt3/tqvfb -%config %{_sysconfdir}/tqt3/tqvfb/pda.skin -%dir %{_datadir}/tqvfb -%{_datadir}/tqvfb/pda_down.png -%{_datadir}/tqvfb/pda_up.png - -########### - -%package -n tqt3-dev-tools-compat -Summary: Conversion utilities for TQt3 development -Group: System/GUI/Other -Requires: %{libtqt3}-mt-devel = %{version}-%{release} - -%description -n tqt3-dev-tools-compat -This package contains some older TQt tools (namely tqt20fix tqtrename140, -tqm2ts, tqtmergetr, tqtfindtr and msg2tqm). These tools are needed only by -application developers who need to migrate any TQt application written -for TQt 1.x or 2.x over to TQt 3.x. The purpose of the tools are to -help fixing the changes with include file renaming as well as migrating -the message file format of TQt 2 translation files or any gettext-based -translation system to the TQt 3 system. - -%files -n tqt3-dev-tools-compat -%defattr(-,root,root,-) -%{_bindir}/tqt20fix -%{_bindir}/tqtrename140 -%{_bindir}/tqm2ts -%{_bindir}/tqtmergetr -%{_bindir}/tqtfindtr -%{_bindir}/msg2tqm - -########## - -%package -n tqt3-i18n -Summary: Translation (i18n) files for TQt3 library -Group: System/GUI/Other -Requires: %{libtqt3}-mt = %{version}-%{release} - -%description -n tqt3-i18n -This package contains the internationalization files for the TQt library. -TQt applications that are internationalized will need to depend on this package -for full internationalization support of the application towards the end user. - -%files -n tqt3-i18n -%defattr(-,root,root,-) -%dir %{_datadir}/tqt3/translations/ -%{_datadir}/tqt3/translations/assistant_de.qm -%{_datadir}/tqt3/translations/assistant_fr.qm -%{_datadir}/tqt3/translations/designer_de.qm -%{_datadir}/tqt3/translations/designer_fr.qm -%{_datadir}/tqt3/translations/linguist_de.qm -%{_datadir}/tqt3/translations/linguist_fr.qm -%{_datadir}/tqt3/translations/qt_ar.qm -%{_datadir}/tqt3/translations/qt_ca.qm -%{_datadir}/tqt3/translations/qt_cs.qm -%{_datadir}/tqt3/translations/qt_de.qm -%{_datadir}/tqt3/translations/qt_es.qm -%{_datadir}/tqt3/translations/qt_fr.qm -%{_datadir}/tqt3/translations/qt_he.qm -%{_datadir}/tqt3/translations/qt_it.qm -%{_datadir}/tqt3/translations/qt_ja.qm -%{_datadir}/tqt3/translations/qt_nb.qm -%{_datadir}/tqt3/translations/qt_pt-br.qm -%{_datadir}/tqt3/translations/qt_ru.qm -%{_datadir}/tqt3/translations/qt_sk.qm -%{_datadir}/tqt3/translations/qt_zh-cn.qm -%{_datadir}/tqt3/translations/qt_zh-tw.qm - -########## - -%package -n tqt3-doc -Summary: TQt3 API documentation -Group: System/GUI/Other - -%description -n tqt3-doc -This package contains the complete API documentation for TQt3. -Examples to coding are in tqt3-examples. The documentation is provided -in HTML and manpage format; the HTML version can be viewed in conjunction -with the TQt Assistant. - -%files -n tqt3-doc -%defattr(-,root,root,-) -%exclude %{_datadir}/tqt3/doc/html/qmake*html -%exclude %{_datadir}/tqt3/doc/html/qmake*dcf -%exclude %{_datadir}/tqt3/doc/html/designer*html -%exclude %{_datadir}/tqt3/doc/html/designer*dcf -%exclude %{_datadir}/tqt3/doc/html/designer*jpg -%exclude %{_datadir}/tqt3/doc/html/linguist*html -%exclude %{_datadir}/tqt3/doc/html/linguist*dcf -%exclude %{_datadir}/tqt3/doc/html/assistant*html -%exclude %{_datadir}/tqt3/doc/html/assistant*dcf -%{_datadir}/tqt3/doc/html/* - -########## - -%package -n tqt3-examples -summary: Examples for TQt3 -Group: System/GUI/Other - -%description -n tqt3-examples -These are examples provided with TQt3. They may be especially useful for -you if you are learning to program in TQt as they cover tquite a lot of -things that are possible with TQt3. - -%files -n tqt3-examples -%defattr(-,root,root,-) -%dir %{_docdir}/tqt3-examples/ -%{_docdir}/tqt3-examples/build-examples -%{_docdir}/tqt3-examples/tqt3-examples.tar.gz - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -# Fix strange FTBFS on RHEL5 -%if 0%{?rhel} == 5 -%__sed -i "src/kernel/ntqstyle.h" -e "s|#ifdef ENABLE_T*QSTYLECONTROLELEMENTDATA_SLOW_COPY|#if 1|" -%endif - -%if 0%{?suse_version} -echo "suse_version = %{?suse_version}" -echo "sle_version = %{?sle_version}" -%endif - -# Add missing sqlite3 header -%__ln_s ../src/sql/drivers/sqlite3/qsql_sqlite3.h include/qsql_sqlite3.h - -# fix variables in 'qmake.conf' -%__sed -i mkspecs/*/qmake.conf \ - -e "s|^QMAKE_INCDIR_QT.*|QMAKE_INCDIR_QT = %{_includedir}/tqt3|" \ - -e "s|\$(QTDIR)|/usr|g" \ - -e "s|-lqt|-ltqt|g" \ - -e "s|^QMAKE_CFLAGS =.*|QMAKE_CFLAGS = %{?optflags} -pipe -fvisibility=hidden -fvisibility-inlines-hidden|" \ - -e "s|^QMAKE_INCDIR =.*|QMAKE_INCDIR = %{_includedir}|" \ - -e "s|^QMAKE_LIBDIR =.*|QMAKE_LIBDIR = %{_libdir}|" \ - -e "s|^QMAKE_RPATH = .*|QMAKE_RPATH =|" \ - -e "s|^QMAKE_STRIP =.*|QMAKE_STRIP =|" \ - -e "s|^QMAKE_STRIPFLAGS_LIB +=.*|QMAKE_STRIPFLAGS_LIB +=|" \ - -e "s|^QMAKE_MOC =.*|QMAKE_MOC = %{_bindir}/tqmoc|" \ - -e "s|^QMAKE_UIC =.*|QMAKE_UIC = %{_bindir}/tquic|" \ - -e "s|^QMAKE_INCDIR_QT =.*|QMAKE_INCDIR_QT = %{_includedir}/tqt3|" \ - -e "s|^QMAKE_LIBDIR_QT =.*|QMAKE_LIBDIR_QT = %{_libdir}|" \ - - -%build -unset QTDIR QTINC QTLIB -export QTDIR=$(pwd) -export PATH=${QTDIR}/bin:${PATH} -export MANPATH=${QTDIR}/doc/man:${MANPATH} -export LD_LIBRARY_PATH="${QTDIR}/lib" - -# Checks for supplementary include dir -INCDIRS="" -for d in \ - %{_includedir}/fontconfig \ - %{_includedir}/pgsql \ - %{_includedir}/pgsql/server \ - %{_includedir}/postgresql/server \ - %{_includedir}/Xft2 \ - %{_includedir}/Xft2/X11/Xft \ - %{_includedir}/mysql \ - %{_includedir}/libpng15 \ - %{_includedir}/libpng16 \ - %{_includedir}/tirpc \ -; do - if [ -d "${d}" ]; then - INCDIRS="${INCDIRS} -I${d}" - fi -done - -# Checks for supplementary library dirs -LIBDIRS="" -for d in \ - %{_libdir}/mysql \ - %{_libdir}/pgsql \ -; do - if [ -d "${d}" ]; then - LIBDIRS="${LIBDIRS} -L${d}" - fi -done - -# build shared, threaded (default) libraries -echo yes | ./configure \ - ${INCDIRS} \ - ${LIBDIRS} \ - -L%{_libdir} \ - -prefix "%{_prefix}" \ - -libdir "%{_libdir}" \ - -sysconfdir "%{_sysconfdir}/tqt3" \ - -datadir "%{_datadir}/tqt3" \ - -headerdir "%{_includedir}/tqt3" \ - -docdir "%{_datadir}/tqt3/doc" \ - -plugindir "%{_libdir}/tqt3/plugins" \ - -translationdir "%{_datadir}/tqt3/translations" \ - \ - -thread \ - -shared \ - -fast \ - -no-exceptions \ -%if "%{_lib}" == "lib64" - -platform linux-g++-64 \ -%else - -platform linux-g++ \ -%endif - \ - %{?with_nis:-nis} %{?!with_nis:-no-nis} \ - -no-pch \ - -cups \ - -stl \ - -ipv6 \ - \ - -sm \ - -xshape \ - -xinerama \ - -xcursor \ - -xrandr \ - -xrender \ - -xft \ - -tablet \ - -xkb \ - \ - -system-zlib \ - -system-libpng \ - -system-libmng \ - -system-libjpeg \ - %{?with_nas:-system-nas-sound} %{?!with_nas:-no-nas-sound} \ - \ - -enable-opengl \ - -dlopen-opengl \ - \ - -qt-gif \ - -qt-imgfmt-mng \ - -qt-imgfmt-png \ - -qt-imgfmt-jpeg \ - -plugin-imgfmt-mng \ - \ - -plugin-sql-odbc \ - -plugin-sql-psql \ - -plugin-sql-mysql \ - %{?with_ibase:-plugin-sql-ibase} \ - -plugin-sql-sqlite \ - -plugin-sql-sqlite3 \ - \ - -lfontconfig \ - -inputmethod \ - %{?with_glibmainloop:-glibmainloop} \ - -debug \ - -v - -# proceed -%__make %{?_smp_mflags} sub-src || %__make sub-src -%__make %{?_smp_mflags} sub-plugins || %__make sub-plugins -%__make %{?_smp_mflags} sub-tools - -# build tqtconv2ui -%__make -C tools/designer/tools/tqtconv2ui - -# build tqvfb -%__make -C tools/tqvfb - -# fix .prl files -%__sed -i lib/*.prl -e "s|${QTDIR}|%{_datadir}/tqt3|g" - - -%install -%__rm -rf %{buildroot} -export QTDIR=$(pwd) -export PATH="${QTDIR}/bin:${PATH}" -export LD_LIBRARY_PATH=${QTDIR}/lib - -# Installs 'libtqt-mt.so.3' library -%__make -C src INSTALL_ROOT="%{?buildroot}" install_target - -# Installs all the remaining -%__make INSTALL_ROOT=%{?buildroot} install -%__make INSTALL_ROOT=%{?buildroot} plugins-install - -%__install -m755 "bin/tqtrename140" "%{?buildroot}%{_bindir}" -%__install -m755 "bin/tqt20fix" "%{?buildroot}%{_bindir}" -%__install -m755 "bin/tqtfindtr" "%{?buildroot}%{_bindir}" - -# install tqtconv2ui -%__install -m755 "bin/tqtconv2ui" "%{?buildroot}%{_bindir}/tqtconv2ui" - -# install tqvfb -%__install -m755 -D "tools/tqvfb/tqvfb" "%{?buildroot}%{_bindir}/tqvfb" -%__install -m644 -D "tools/tqvfb/pda.skin" "%{?buildroot}%{_sysconfdir}/tqt3/tqvfb/pda.skin" -%__install -m644 -D "tools/tqvfb/pda_down.png" "%{?buildroot}%{_datadir}/tqvfb/pda_down.png" -%__install -m644 -D "tools/tqvfb/pda_up.png" "%{?buildroot}%{_datadir}/tqvfb/pda_up.png" - -## create tqt3-apps-dev-package -cp tools/designer/interfaces/*.h "%{?buildroot}%{?_includedir}/tqt3/" -cp tools/designer/editor/*.h "%{?buildroot}%{?_includedir}/tqt3/" - -# language file for linguist -%__install -D -m644 "translations/template.ts" "%{?buildroot}%{?_docdir}/tqt3-linguist/qt_untranslated.ts" - -# fix that stupid friggin professional file -perl -pi -e 's{\$$\$$QT_SOURCE_TREE}{$(QTDIR)}' "src/qt_professional.pri" - -## i18n files for designer, linguist and assistant -for i in designer/designer assistant linguist/linguist; do - pushd "tools/${i}" - tqlrelease "${i##*/}.pro" - for j in ${i##*/}_*.qm; do - install -m644 "${j}" "%{?buildroot}%{_datadir}/tqt3/translations/" - done - popd -done - -# desktop lnk files -%__install -m644 -D "%{SOURCE11}" "%{?buildroot}%{_datadir}/applications/tqassistant.desktop" -%__install -m644 -D "%{SOURCE12}" "%{?buildroot}%{_datadir}/applications/tqdesigner.desktop" -%__install -m644 -D "%{SOURCE13}" "%{?buildroot}%{_datadir}/applications/tqlinguist.desktop" -%__install -m644 -D "%{SOURCE14}" "%{?buildroot}%{_datadir}/applications/tqtconfig.desktop" - -%if 0%{?suse_version} -%suse_update_desktop_file tqassistant Documentation -%suse_update_desktop_file tqdesigner GUIDesigner -%suse_update_desktop_file tqlinguist Translation -%suse_update_desktop_file tqtconfig Utility -%endif - -# Install applications icons -%__install -m644 -D "tools/assistant/images/appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqassistant.png" -%__install -m644 -D "tools/designer/designer/images/designer_appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqdesigner.png" -%__install -m644 -D "tools/linguist/linguist/images/appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqlinguist.png" -%__install -m644 -D "tools/qtconfig/images/appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqtconfig.png" - -# build attic package and copy it to tqt3-compat-headers -pushd src -tar cvvfz "attic.tar.gz" attic/ -install -D -m644 "attic.tar.gz" "%{?buildroot}%{_docdir}/tqt3-compat-headers/attic.tar.gz" -popd - -# install the man pages -install -D -m644 "doc/man/man1/moc.1" "%{?buildroot}%{_mandir}/man1/moc-tqt3.1" -install -D -m644 "doc/man/man1/uic.1" "%{?buildroot}%{_mandir}/man1/uic-tqt3.1" -install -D -m644 "doc/man/man1/lrelease.1" "%{?buildroot}%{_mandir}/man1/lrelease-tqt3.1" -install -D -m644 "doc/man/man1/lupdate.1" "%{?buildroot}%{_mandir}/man1/lupdate-tqt3.1" - -# Install source for the designer tools, such as tqtcreatecw. -cp -ra tools/designer/tools %{?buildroot}%{_datadir}/tqt3/tools -rm -f %{?buildroot}%{_datadir}/tqt3/tools/tqtcreatecw/tqtcreatecw -rm -rf %{?buildroot}%{_datadir}/tqt3/tools/tqtcreatecw/.moc -rm -rf %{?buildroot}%{_datadir}/tqt3/tools/tqtcreatecw/.obj -rm -f %{?buildroot}%{_datadir}/tqt3/tools/tqtcreatecw/Makefile -rm -f %{?buildroot}%{_datadir}/tqt3/tools/tqtconv2ui/tqtconv2ui -rm -rf %{?buildroot}%{_datadir}/tqt3/tools/tqtconv2ui/.moc -rm -rf %{?buildroot}%{_datadir}/tqt3/tools/tqtconv2ui/.obj -rm -f %{?buildroot}%{_datadir}/tqt3/tools/tqtconv2ui/Makefile - -# create examples package -%__install -d tqt3-examples -cp -ax examples tqt3-examples/ -cp -ax tutorial tqt3-examples/ -mkdir -p tqt3-examples/tools/designer -cp -ax tools/designer/examples tqt3-examples/tools/designer/ -mkdir -p tqt3-examples/tools/linguist -cp -ax tools/linguist/tutorial tqt3-examples/tools/linguist/ -find tqt3-examples -name "tt1" -print | xargs rm -rf -find tqt3-examples -name "tt2" -print | xargs rm -rf -find tqt3-examples -name "tt3" -print | xargs rm -rf -find tqt3-examples -name ".moc" | xargs rm -rf -find tqt3-examples -name ".obj" | xargs rm -rf -find tqt3-examples -name "Makefile" | xargs rm -rf -install -D -m 755 %{SOURCE1} %{?buildroot}%{_docdir}/tqt3-examples/build-examples -tar cvvfz tqt3-examples.tar.gz tqt3-examples/ -install -D -m644 "tqt3-examples.tar.gz" "%{?buildroot}%{_docdir}/tqt3-examples/tqt3-examples.tar.gz" - -# Fix wrong permissions -chmod 644 "%{?buildroot}%{_datadir}/tqt3/mkspecs/"*/* - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/dependencies/tqt3/tqt3.spec b/redhat/dependencies/tqt3/tqt3.spec new file mode 100644 index 000000000..c1daea7b4 --- /dev/null +++ b/redhat/dependencies/tqt3/tqt3.spec @@ -0,0 +1,1522 @@ +# +# spec file for package tqt3 (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.0.7 +%endif + +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} +%define libtqt3 %{_lib}tqt3 +%else +%define libtqt3 libtqt3 +%endif + + +Name: trinity-tqt3 +Version: 3.5.0 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: TQt GUI Library, Version 3 +Group: System/GUI/Other +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Project +#Packager: Francois Andriot + +Prefix: /usr +BuildRoot: %{_tmppath}/%{name}-%{tde_version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz +Source1: build-examples.sh + +BuildRequires: glibc-devel +BuildRequires: gcc-c++ +BuildRequires: make + +BuildRequires: desktop-file-utils +BuildRequires: perl +BuildRequires: sed +BuildRequires: findutils +BuildRequires: tar + +# ZLIB support +BuildRequires: zlib-devel + +# JPEG support +BuildRequires: libjpeg-devel + +# MNG support +BuildRequires: libmng-devel + +# PNG support +BuildRequires: libpng-devel + +# GIF support +BuildRequires: giflib-devel + +# FREETYPE support +BuildRequires: freetype-devel + +# FONTCONFIG support +BuildRequires: fontconfig-devel + +# SUSE desktop files utility +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif + +# CUPS support +BuildRequires: cups-devel + +# GLIB2 support +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} || 0%{?rhel} >= 6 +%define with_glibmainloop 1 +%define glib2_devel glib2-devel +%endif +%{?glib2_devel:BuildRequires: %{glib2_devel}} + +# UUID support +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} || 0%{?rhel} >= 6 +%define uuid_devel libuuid-devel +%endif +%if 0%{?rhel} == 5 +%define uuid_devel e2fsprogs-devel +%endif +%{?uuid_devel:BuildRequires: %{uuid_devel}} + +# LIBAUDIO support +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_nas 1 +%define libaudio_devel nas-devel +%endif +%{?libaudio_devel:BuildRequires: %{libaudio_devel}} + +# Xrender support +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%define xrender_devel libXrender-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +%define xrender_devel libxrender-devel +%endif +%{?xrender_devel:BuildRequires: %{xrender_devel}} + +# Xrandr support +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%define xrandr_devel libXrandr-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +%if 0%{?pclinuxos} +%define xrandr_devel %{_lib}xrandr2-devel +%else +%define xrandr_devel libxrandr-devel +%endif +%endif +%{?xrandr_devel:BuildRequires: %{xrandr_devel}} + +# Xcursor support +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%define xcursor_devel libXcursor-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +%define xcursor_devel libxcursor-devel +%endif +%{?xcursor_devel:BuildRequires: %{xcursor_devel}} + +# Xinerama support +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%define xinerama_devel libXinerama-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +%define xinerama_devel libxinerama-devel +%endif +%{?xinerama_devel:BuildRequires: %{xinerama_devel}} + +# Xft support +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%define xft_devel libXft-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +%define xft_devel libxft-devel +%endif +%{?xft_devel:BuildRequires: %{xft_devel}} + +# XEXT support +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%define xext_devel libXext-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +%define xext_devel libxext-devel +%endif +%{?xext_devel:BuildRequires: %{xext_devel}} + +# X11 support +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%define x11_devel libX11-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +%define x11_devel libx11-devel +%endif +%{?x11_devel:BuildRequires: %{x11_devel}} + +# SM support +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%define sm_devel libSM-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +%define sm_devel libsm-devel +%endif +%{?sm_devel:BuildRequires: %{sm_devel}} + +# ICE support +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%define ice_devel libICE-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +%define ice_devel libice-devel +%endif +%{?ice_devel:BuildRequires: %{ice_devel}} + +# XT support +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +BuildRequires: libXt-devel +%endif + +# 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 + +# XI support +%if 0%{?rhel} == 4 +%define xi_devel xorg-x11-devel +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +%define xi_devel libxi-devel +%endif +%if 0%{?suse_version} >= 1220 || 0%{?rhel} >= 5 || 0%{?fedora} +%define xi_devel libXi-devel +%endif +%if 0%{?suse_version} == 1140 +%define xi_devel libXi6-devel +%endif +%{?xi_devel:BuildRequires: %{xi_devel}} + +# Xorg support +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +BuildRequires: xorg-x11-proto-devel +%endif + +# MESA support +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: mesa-libGL-devel +BuildRequires: mesa-libGLU-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +%if 0%{?pclinuxos} +BuildRequires: MesaGLU-devel +%else +BuildRequires: mesaglu-devel +%endif +%endif +%if 0%{?suse_version} +BuildRequires: Mesa-libGL-devel +BuildRequires: Mesa-libGLU-devel +%endif + +# MYSQL support +BuildRequires: mysql-devel + +# unixODBC support +BuildRequires: unixODBC-devel + +# SQLITE support +BuildRequires: sqlite-devel + +# SQLITE3 support +%if 0%{?mgaversion} +BuildRequires: sqlite3-devel +%endif + +# POSTGRESQL support +BuildRequires: postgresql +%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8 +BuildRequires: postgresql-server-devel +%else +BuildRequires: postgresql-devel +%endif + +# Firebird support +%if 0%{?mdkversion} || 0%{?mgaversion} +%define with_ibase 1 +BuildRequires: firebird-devel +%endif + +# FBCLIENT support +%if 0%{?mgaversion} >= 6 +BuildRequires: %{_lib}fbclient-devel +%endif + +# NIS support +%define with_nis 1 + +# RPC support +%if 0%{?rhel} >= 8 || 0%{?fedora} >= 28 +BuildRequires: libnsl2-devel +BuildRequires: libtirpc-devel +%endif +%if 0%{?suse_version} >= 1500 +BuildRequires: libnsl-devel +BuildRequires: libtirpc-devel +%endif + +# x86_64 specific stuff +%if "%{_lib}" != "lib" +%if 0%{?mdkversion} || ( 0%{?mgaversion} && 0%{?mgaversion} <= 2) +BuildRequires: linux32 +%else +BuildRequires: util-linux +%endif +%endif + +%description +This is the Trolltech TQt library, version 3. It's necessary for +applications that link against the libtqt-mt.so.3, e.g. all Trinity +applications. + +########## + +%package -n %{libtqt3}-mt +Summary: TQt GUI Library (Threaded runtime version), Version 3 +Group: System/GUI/Other +Provides: libtqt3-mt = %{version}-%{release} +Provides: trinity-tqt3 = %{version}-%{release} + +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig +Requires: coreutils +Requires: fontconfig >= 2.0 +Requires: /etc/ld.so.conf.d + +%description -n %{libtqt3}-mt +This is the Trolltech TQt library, version 3. It's necessary for +applications that link against the libtqt-mt.so.3, e.g. all Trinity +applications. + +%post -n %{libtqt3}-mt +/sbin/ldconfig || : + +%postun -n %{libtqt3}-mt +/sbin/ldconfig || : + +%files -n %{libtqt3}-mt +%defattr(-,root,root,-) +%doc FAQ LICENSE* README* changes* +%dir %{_datadir}/tqt3/ +%dir %{_datadir}/tqt3/doc/ +%dir %{_datadir}/tqt3/doc/html/ +%dir %{_datadir}/tqt3/tools/ +%dir %{_libdir}/tqt3/ +%dir %{_libdir}/tqt3/plugins/ +%dir %{_libdir}/tqt3/plugins/designer/ +%dir %{_libdir}/tqt3/plugins/imageformats/ +%dir %{_libdir}/tqt3/plugins/inputmethods/ +%dir %{_libdir}/tqt3/plugins/sqldrivers/ +%dir %{_sysconfdir}/tqt3 +%{_libdir}/libtqt-mt.so.3 +%{_libdir}/libtqt-mt.so.3.5 +%{_libdir}/libtqt-mt.so.3.5.0 +%{_libdir}/libtqui.so.1 +%{_libdir}/libtqui.so.1.0 +%{_libdir}/libtqui.so.1.0.0 +%{_libdir}/tqt3/plugins/imageformats/libqmng.so +%{_libdir}/tqt3/plugins/inputmethods/libqimsw-multi.so +%{_libdir}/tqt3/plugins/inputmethods/libqimsw-none.so +%{_libdir}/tqt3/plugins/inputmethods/libqsimple.so +%{_libdir}/tqt3/plugins/inputmethods/libqxim.so + +########### + +%package -n %{libtqt3}-mt-devel +Summary: TQt development files (Threaded) +Group: Development/Libraries/X11 +Provides: trinity-tqt3-devel = %{version}-%{release} +Provides: libtqt3-mt-devel = %{version}-%{release} +Requires: %{libtqt3}-mt = %{version}-%{release} + +Requires: glibc-devel +Requires: fontconfig-devel +Requires: freetype-devel +Requires: libjpeg-devel +Requires: libpng-devel +Requires: zlib-devel + +%{?glib2_devel:Requires: %{glib2_devel}} +%{?uuid_devel:Requires: %{uuid_devel}} +%{?xi_devel:Requires: %{xi_devel}} +%{?xrender_devel:Requires: %{xrender_devel}} +%{?xrandr_devel:Requires: %{xrandr_devel}} +%{?xcursor_devel:Requires: %{xcursor_devel}} +%{?xinerama_devel:Requires: %{xinerama_devel}} +%{?xft_devel:Requires: %{xft_devel}} +%{?xext_devel:Requires: %{xext_devel}} +%{?x11_devel:Requires: %{x11_devel}} +%{?sm_devel:Requires: %{sm_devel}} +%{?ice_devel:Requires: %{ice_devel}} +%{?libaudio_devel:Requires: %{libaudio_devel}} + +%description -n %{libtqt3}-mt-devel +TQt is a C++ class library optimized for graphical user interface +development. This package contains the libtqt-mt.so symlink, necessary +for building threaded TQt applications as well as the libtqui.so symlink +and the necessary header files for libtqui.so. (See README.Debian and +the TQt Documentation for instructions on libtqui.so) + +WARNING: If you plan to build some older TQt3 applications, you will +most probably have to install the tqt3-compat-headers package. It +contains all the headers which are not part of the official TQt3 API +anymore but which are still used by some programs. So if you encounter +problems with missing header files, please install this package first +before you send a bugreport. + +%post -n %{libtqt3}-mt-devel +/sbin/ldconfig || : + +%postun -n %{libtqt3}-mt-devel +/sbin/ldconfig || : + +%files -n %{libtqt3}-mt-devel +%defattr(-,root,root,-) +%{_libdir}/libtqt-mt.la +%{_libdir}/libtqt-mt.so +%{_libdir}/libtqt-mt.prl +%{_libdir}/libtqui.so +%{_libdir}/libtqui.prl +%{_libdir}/pkgconfig/tqt-mt.pc +%dir %{_includedir}/tqt3 +%{_includedir}/tqt3/ntqgl.h +%{_includedir}/tqt3/ntqglcolormap.h +%{_includedir}/tqt3/ntqwidgetfactory.h +%{_includedir}/tqt3/actioninterface.h +%{_includedir}/tqt3/arghintwidget.h +%{_includedir}/tqt3/browser.h +%{_includedir}/tqt3/cindent.h +%{_includedir}/tqt3/classbrowserinterface.h +%{_includedir}/tqt3/completion.h +%{_includedir}/tqt3/conf.h +%{_includedir}/tqt3/designerinterface.h +%{_includedir}/tqt3/editor.h +%{_includedir}/tqt3/editorinterface.h +%{_includedir}/tqt3/filterinterface.h +%{_includedir}/tqt3/interpreterinterface.h +%{_includedir}/tqt3/languageinterface.h +%{_includedir}/tqt3/markerwidget.h +%{_includedir}/tqt3/ntqabstractlayout.h +%{_includedir}/tqt3/ntqaccel.h +%{_includedir}/tqt3/ntqaccessible.h +%{_includedir}/tqt3/ntqaction.h +%{_includedir}/tqt3/ntqapplication.h +%{_includedir}/tqt3/ntqasciicache.h +%{_includedir}/tqt3/ntqasciidict.h +%{_includedir}/tqt3/ntqasyncimageio.h +%{_includedir}/tqt3/ntqasyncio.h +%{_includedir}/tqt3/ntqbig5codec.h +%{_includedir}/tqt3/ntqbitarray.h +%{_includedir}/tqt3/ntqbitmap.h +%{_includedir}/tqt3/ntqbrush.h +%{_includedir}/tqt3/ntqbuffer.h +%{_includedir}/tqt3/ntqbutton.h +%{_includedir}/tqt3/ntqbuttongroup.h +%{_includedir}/tqt3/ntqcache.h +%{_includedir}/tqt3/ntqcanvas.h +%{_includedir}/tqt3/ntqcdestyle.h +%{_includedir}/tqt3/ntqcheckbox.h +%{_includedir}/tqt3/ntqcleanuphandler.h +%{_includedir}/tqt3/ntqclipboard.h +%{_includedir}/tqt3/ntqcolor.h +%{_includedir}/tqt3/ntqcolordialog.h +%{_includedir}/tqt3/ntqcombobox.h +%{_includedir}/tqt3/ntqcommonstyle.h +%{_includedir}/tqt3/ntqcompactstyle.h +%{_includedir}/tqt3/ntqconfig.h +%{_includedir}/tqt3/ntqconnection.h +%{_includedir}/tqt3/ntqcstring.h +%{_includedir}/tqt3/ntqcursor.h +%{_includedir}/tqt3/ntqdatabrowser.h +%{_includedir}/tqt3/ntqdatastream.h +%{_includedir}/tqt3/ntqdatatable.h +%{_includedir}/tqt3/ntqdataview.h +%{_includedir}/tqt3/ntqdatetime.h +%{_includedir}/tqt3/ntqdatetimeedit.h +%{_includedir}/tqt3/ntqdeepcopy.h +%{_includedir}/tqt3/ntqdesktopwidget.h +%{_includedir}/tqt3/ntqdial.h +%{_includedir}/tqt3/ntqdialog.h +%{_includedir}/tqt3/ntqdict.h +%{_includedir}/tqt3/ntqdir.h +%{_includedir}/tqt3/ntqdns.h +%{_includedir}/tqt3/ntqdockarea.h +%{_includedir}/tqt3/ntqdockwindow.h +%{_includedir}/tqt3/ntqdom.h +%{_includedir}/tqt3/ntqdragobject.h +%{_includedir}/tqt3/ntqdrawutil.h +%{_includedir}/tqt3/ntqdropsite.h +%{_includedir}/tqt3/ntqeditorfactory.h +%{_includedir}/tqt3/ntqerrormessage.h +%{_includedir}/tqt3/ntqeucjpcodec.h +%{_includedir}/tqt3/ntqeuckrcodec.h +%{_includedir}/tqt3/ntqevent.h +%{_includedir}/tqt3/ntqeventloop.h +%{_includedir}/tqt3/ntqfeatures.h +%{_includedir}/tqt3/ntqfile.h +%{_includedir}/tqt3/ntqfiledialog.h +%{_includedir}/tqt3/ntqfileinfo.h +%{_includedir}/tqt3/ntqfocusdata.h +%{_includedir}/tqt3/ntqfont.h +%{_includedir}/tqt3/ntqfontdatabase.h +%{_includedir}/tqt3/ntqfontdialog.h +%{_includedir}/tqt3/ntqfontinfo.h +%{_includedir}/tqt3/ntqfontmetrics.h +%{_includedir}/tqt3/ntqframe.h +%{_includedir}/tqt3/ntqftp.h +%{_includedir}/tqt3/ntqgarray.h +%{_includedir}/tqt3/ntqgb18030codec.h +%{_includedir}/tqt3/ntqgbkcodec.h +%{_includedir}/tqt3/ntqgcache.h +%{_includedir}/tqt3/ntqgdict.h +%{_includedir}/tqt3/ntqgeneric.h +%{_includedir}/tqt3/ntqgif.h +%{_includedir}/tqt3/ntqglist.h +%{_includedir}/tqt3/ntqglobal.h +%{_includedir}/tqt3/ntqgplugin.h +%{_includedir}/tqt3/ntqgrid.h +%{_includedir}/tqt3/ntqgridview.h +%{_includedir}/tqt3/ntqgroupbox.h +%{_includedir}/tqt3/ntqguardedptr.h +%{_includedir}/tqt3/ntqgvector.h +%{_includedir}/tqt3/ntqhbox.h +%{_includedir}/tqt3/ntqhbuttongroup.h +%{_includedir}/tqt3/ntqheader.h +%{_includedir}/tqt3/ntqhgroupbox.h +%{_includedir}/tqt3/ntqhostaddress.h +%{_includedir}/tqt3/ntqhttp.h +%{_includedir}/tqt3/ntqiconset.h +%{_includedir}/tqt3/ntqiconview.h +%{_includedir}/tqt3/ntqimage.h +%{_includedir}/tqt3/ntqimageformatplugin.h +%{_includedir}/tqt3/ntqinputcontext.h +%{_includedir}/tqt3/ntqinputcontextfactory.h +%{_includedir}/tqt3/ntqinputcontextplugin.h +%{_includedir}/tqt3/ntqinputdialog.h +%{_includedir}/tqt3/ntqintcache.h +%{_includedir}/tqt3/ntqintdict.h +%{_includedir}/tqt3/ntqinterlacestyle.h +%{_includedir}/tqt3/ntqiodevice.h +%{_includedir}/tqt3/ntqjiscodec.h +%{_includedir}/tqt3/ntqjpegio.h +%{_includedir}/tqt3/ntqjpunicode.h +%{_includedir}/tqt3/ntqkeycode.h +%{_includedir}/tqt3/ntqkeysequence.h +%{_includedir}/tqt3/ntqlabel.h +%{_includedir}/tqt3/ntqlayout.h +%{_includedir}/tqt3/ntqlcdnumber.h +%{_includedir}/tqt3/ntqlibrary.h +%{_includedir}/tqt3/ntqlineedit.h +%{_includedir}/tqt3/ntqlistbox.h +%{_includedir}/tqt3/ntqlistview.h +%{_includedir}/tqt3/ntqlocale.h +%{_includedir}/tqt3/ntqlocalfs.h +%{_includedir}/tqt3/ntqmainwindow.h +%{_includedir}/tqt3/ntqmap.h +%{_includedir}/tqt3/ntqmemarray.h +%{_includedir}/tqt3/ntqmenubar.h +%{_includedir}/tqt3/ntqmenudata.h +%{_includedir}/tqt3/ntqmessagebox.h +%{_includedir}/tqt3/ntqmetaobject.h +%{_includedir}/tqt3/ntqmime.h +%{_includedir}/tqt3/ntqmngio.h +%{_includedir}/tqt3/ntqmodules.h +%{_includedir}/tqt3/ntqmotifplusstyle.h +%{_includedir}/tqt3/ntqmotifstyle.h +%{_includedir}/tqt3/ntqmovie.h +%{_includedir}/tqt3/ntqmultilineedit.h +%{_includedir}/tqt3/ntqmutex.h +%{_includedir}/tqt3/ntqnamespace.h +%{_includedir}/tqt3/ntqnetwork.h +%{_includedir}/tqt3/ntqnetworkprotocol.h +%{_includedir}/tqt3/ntqnp.h +%{_includedir}/tqt3/ntqobject.h +%{_includedir}/tqt3/ntqobjectcleanuphandler.h +%{_includedir}/tqt3/ntqobjectdefs.h +%{_includedir}/tqt3/ntqobjectdict.h +%{_includedir}/tqt3/ntqobjectlist.h +%{_includedir}/tqt3/ntqpaintdevice.h +%{_includedir}/tqt3/ntqpaintdevicedefs.h +%{_includedir}/tqt3/ntqpaintdevicemetrics.h +%{_includedir}/tqt3/ntqpainter.h +%{_includedir}/tqt3/ntqpair.h +%{_includedir}/tqt3/ntqpalette.h +%{_includedir}/tqt3/ntqpen.h +%{_includedir}/tqt3/ntqpicture.h +%{_includedir}/tqt3/ntqpixmap.h +%{_includedir}/tqt3/ntqpixmapcache.h +%{_includedir}/tqt3/ntqplatinumstyle.h +%{_includedir}/tqt3/ntqpngio.h +%{_includedir}/tqt3/ntqpoint.h +%{_includedir}/tqt3/ntqpointarray.h +%{_includedir}/tqt3/ntqpolygonscanner.h +%{_includedir}/tqt3/ntqpopupmenu.h +%{_includedir}/tqt3/ntqprintdialog.h +%{_includedir}/tqt3/ntqprinter.h +%{_includedir}/tqt3/ntqprocess.h +%{_includedir}/tqt3/ntqprogressbar.h +%{_includedir}/tqt3/ntqprogressdialog.h +%{_includedir}/tqt3/ntqptrcollection.h +%{_includedir}/tqt3/ntqptrdict.h +%{_includedir}/tqt3/ntqptrlist.h +%{_includedir}/tqt3/ntqptrqueue.h +%{_includedir}/tqt3/ntqptrstack.h +%{_includedir}/tqt3/ntqptrvector.h +%{_includedir}/tqt3/ntqpushbutton.h +%{_includedir}/tqt3/ntqradiobutton.h +%{_includedir}/tqt3/ntqrangecontrol.h +%{_includedir}/tqt3/ntqrect.h +%{_includedir}/tqt3/ntqregexp.h +%{_includedir}/tqt3/ntqregion.h +%{_includedir}/tqt3/ntqrtlcodec.h +%{_includedir}/tqt3/ntqscrollbar.h +%{_includedir}/tqt3/ntqscrollview.h +%{_includedir}/tqt3/ntqsemaphore.h +%{_includedir}/tqt3/ntqsemimodal.h +%{_includedir}/tqt3/ntqserversocket.h +%{_includedir}/tqt3/ntqsession.h +%{_includedir}/tqt3/ntqsessionmanager.h +%{_includedir}/tqt3/ntqsettings.h +%{_includedir}/tqt3/ntqsgistyle.h +%{_includedir}/tqt3/ntqshared.h +%{_includedir}/tqt3/ntqsignal.h +%{_includedir}/tqt3/ntqsignalmapper.h +%{_includedir}/tqt3/ntqsignalslotimp.h +%{_includedir}/tqt3/ntqsimplerichtext.h +%{_includedir}/tqt3/ntqsize.h +%{_includedir}/tqt3/ntqsizegrip.h +%{_includedir}/tqt3/ntqsizepolicy.h +%{_includedir}/tqt3/ntqsjiscodec.h +%{_includedir}/tqt3/ntqslider.h +%{_includedir}/tqt3/ntqsocket.h +%{_includedir}/tqt3/ntqsocketdevice.h +%{_includedir}/tqt3/ntqsocketnotifier.h +%{_includedir}/tqt3/ntqsortedlist.h +%{_includedir}/tqt3/ntqsound.h +%{_includedir}/tqt3/ntqspinbox.h +%{_includedir}/tqt3/ntqsplashscreen.h +%{_includedir}/tqt3/ntqsplitter.h +%{_includedir}/tqt3/ntqsql.h +%{_includedir}/tqt3/ntqsqlcursor.h +%{_includedir}/tqt3/ntqsqldatabase.h +%{_includedir}/tqt3/ntqsqldriver.h +%{_includedir}/tqt3/ntqsqldriverplugin.h +%{_includedir}/tqt3/ntqsqleditorfactory.h +%{_includedir}/tqt3/ntqsqlerror.h +%{_includedir}/tqt3/ntqsqlfield.h +%{_includedir}/tqt3/ntqsqlform.h +%{_includedir}/tqt3/ntqsqlindex.h +%{_includedir}/tqt3/ntqsqlpropertymap.h +%{_includedir}/tqt3/ntqsqlquery.h +%{_includedir}/tqt3/ntqsqlrecord.h +%{_includedir}/tqt3/ntqsqlresult.h +%{_includedir}/tqt3/ntqsqlselectcursor.h +%{_includedir}/tqt3/ntqstatusbar.h +%{_includedir}/tqt3/ntqstring.h +%{_includedir}/tqt3/ntqstringlist.h +%{_includedir}/tqt3/ntqstrlist.h +%{_includedir}/tqt3/ntqstrvec.h +%{_includedir}/tqt3/ntqstyle.h +%{_includedir}/tqt3/ntqstylefactory.h +%{_includedir}/tqt3/ntqstyleplugin.h +%{_includedir}/tqt3/ntqstylesheet.h +%{_includedir}/tqt3/ntqsyntaxhighlighter.h +%{_includedir}/tqt3/ntqt.h +%{_includedir}/tqt3/ntqtabbar.h +%{_includedir}/tqt3/ntqtabdialog.h +%{_includedir}/tqt3/ntqtable.h +%{_includedir}/tqt3/ntqtabwidget.h +%{_includedir}/tqt3/ntqtextbrowser.h +%{_includedir}/tqt3/ntqtextcodec.h +%{_includedir}/tqt3/ntqtextcodecfactory.h +%{_includedir}/tqt3/ntqtextcodecplugin.h +%{_includedir}/tqt3/ntqtextedit.h +%{_includedir}/tqt3/ntqtextstream.h +%{_includedir}/tqt3/ntqtextview.h +%{_includedir}/tqt3/ntqthread.h +%{_includedir}/tqt3/ntqthreadstorage.h +%{_includedir}/tqt3/ntqtimer.h +%{_includedir}/tqt3/ntqtl.h +%{_includedir}/tqt3/ntqtoolbar.h +%{_includedir}/tqt3/ntqtoolbox.h +%{_includedir}/tqt3/ntqtoolbutton.h +%{_includedir}/tqt3/ntqtooltip.h +%{_includedir}/tqt3/ntqtranslator.h +%{_includedir}/tqt3/ntqtsciicodec.h +%{_includedir}/tqt3/ntqurl.h +%{_includedir}/tqt3/ntqurlinfo.h +%{_includedir}/tqt3/ntqurloperator.h +%{_includedir}/tqt3/ntqutfcodec.h +%{_includedir}/tqt3/ntquuid.h +%{_includedir}/tqt3/ntqvalidator.h +%{_includedir}/tqt3/ntqvaluelist.h +%{_includedir}/tqt3/ntqvaluestack.h +%{_includedir}/tqt3/ntqvaluevector.h +%{_includedir}/tqt3/ntqvariant.h +%{_includedir}/tqt3/ntqvbox.h +%{_includedir}/tqt3/ntqvbuttongroup.h +%{_includedir}/tqt3/ntqvfbhdr.h +%{_includedir}/tqt3/ntqvgroupbox.h +%{_includedir}/tqt3/ntqwaitcondition.h +%{_includedir}/tqt3/ntqwhatsthis.h +%{_includedir}/tqt3/ntqwidget.h +%{_includedir}/tqt3/ntqwidgetintdict.h +%{_includedir}/tqt3/ntqwidgetlist.h +%{_includedir}/tqt3/ntqwidgetplugin.h +%{_includedir}/tqt3/ntqwidgetstack.h +%{_includedir}/tqt3/ntqwindowdefs.h +%{_includedir}/tqt3/ntqwindowsstyle.h +%{_includedir}/tqt3/ntqwinexport.h +%{_includedir}/tqt3/ntqwizard.h +%{_includedir}/tqt3/ntqwmatrix.h +%{_includedir}/tqt3/ntqworkspace.h +%{_includedir}/tqt3/ntqxml.h +%{_includedir}/tqt3/paragdata.h +%{_includedir}/tqt3/parenmatcher.h +%{_includedir}/tqt3/preferenceinterface.h +%{_includedir}/tqt3/preferences.h +%{_includedir}/tqt3/preferences.ui.h +%{_includedir}/tqt3/projectsettingsiface.h +%{_includedir}/tqt3/qconfig-dist.h +%{_includedir}/tqt3/qconfig-large.h +%{_includedir}/tqt3/qconfig-medium.h +%{_includedir}/tqt3/qconfig-minimal.h +%{_includedir}/tqt3/qconfig-small.h +%{_includedir}/tqt3/qsql_ibase.h +%{_includedir}/tqt3/qsql_mysql.h +%{_includedir}/tqt3/qsql_odbc.h +%{_includedir}/tqt3/qsql_psql.h +%{_includedir}/tqt3/qsql_sqlite.h +%{_includedir}/tqt3/qsql_sqlite3.h +%{_includedir}/tqt3/qsqlcachedresult.h +%{_includedir}/tqt3/qt_pch.h +%{_includedir}/tqt3/qtmultilineedit.h +%{_includedir}/tqt3/qttableview.h +%{_includedir}/tqt3/qwindow.h +%{_includedir}/tqt3/sourcetemplateiface.h +%{_includedir}/tqt3/templatewizardiface.h +%{_includedir}/tqt3/viewmanager.h +%{_includedir}/tqt3/widgetinterface.h + +%dir %{_includedir}/tqt3/private/ +%{_includedir}/tqt3/private/*.h + +########## + +%package -n %{libtqt3}-mt-mysql +Summary: MySQL database driver for TQt3 (Threaded) +Group: System/GUI/Other +Provides: libtqt3-mt-mysql = %{version}-%{release} +Requires: %{libtqt3}-mt = %{version}-%{release} + +%description -n %{libtqt3}-mt-mysql +This package contains the threaded MySQL plugin for TQt3. Install it if +you intend to use or write TQt programs that are to access a MySQL DB. + +%files -n %{libtqt3}-mt-mysql +%defattr(-,root,root,-) +%{_libdir}/tqt3/plugins/sqldrivers/libqsqlmysql.so + +########## + +%package -n %{libtqt3}-mt-odbc +Summary: ODBC database driver for TQt3 (Threaded) +Group: System/GUI/Other +Provides: libtqt3-mt-odbc = %{version}-%{release} +Requires: %{libtqt3}-mt = %{version}-%{release} + +%description -n %{libtqt3}-mt-odbc +This package contains the threaded ODBC plugin for TQt3. Install it if +you intend to use or write TQt programs that are to access an ODBC DB. + +%files -n %{libtqt3}-mt-odbc +%defattr(-,root,root,-) +%{_libdir}/tqt3/plugins/sqldrivers/libqsqlodbc.so + +########## + +%package -n %{libtqt3}-mt-psql +Summary: PostgreSQL database driver for TQt3 (Threaded) +Group: System/GUI/Other +Provides: libtqt3-mt-psql = %{version}-%{release} +Requires: %{libtqt3}-mt = %{version}-%{release} + +%description -n %{libtqt3}-mt-psql +This package contains the threaded PostgreSQL plugin for TQt3. +Install it if you intend to use or write TQt programs that are +to access a PostgreSQL DB. + +%files -n %{libtqt3}-mt-psql +%defattr(-,root,root,-) +%{_libdir}/tqt3/plugins/sqldrivers/libqsqlpsql.so + +########## + +%if 0%{?with_ibase} +%package -n %{libtqt3}-mt-ibase +Summary: InterBase/FireBird database driver for TQt3 (Threaded) +Group: System/GUI/Other +Provides: libtqt3-mt-ibase = %{version}-%{release} +Requires: %{libtqt3}-mt = %{version}-%{release} + +%description -n %{libtqt3}-mt-ibase +This package contains the threaded InterBase/FireBird plugin +for TQt3. Install it if you intend to use or write TQt programs +that are to access an InterBase/FireBird DB. + +%files -n %{libtqt3}-mt-ibase +%defattr(-,root,root,-) +%{_libdir}/tqt3/plugins/sqldrivers/libqsqlibase.so +%endif + +########## + +%package -n %{libtqt3}-mt-sqlite +Summary: SQLite database driver for TQt3 (Threaded) +Group: System/GUI/Other +Provides: libtqt3-mt-sqlite = %{version}-%{release} +Requires: %{libtqt3}-mt = %{version}-%{release} + +%description -n %{libtqt3}-mt-sqlite +This package contains the threaded SQLite plugin for TQt3. Install +it if you intend to use or write TQt programs that are to access an +SQLite DB. + +%files -n %{libtqt3}-mt-sqlite +%defattr(-,root,root,-) +%{_libdir}/tqt3/plugins/sqldrivers/libqsqlite.so + +########## + +%package -n %{libtqt3}-mt-sqlite3 +Summary: SQLite3 database driver for TQt3 (Threaded) +Group: System/GUI/Other +Provides: libtqt3-mt-sqlite3 = %{version}-%{release} +Requires: %{libtqt3}-mt = %{version}-%{release} + +%description -n %{libtqt3}-mt-sqlite3 +This package contains the threaded SQLite3 plugin for TQt3. Install +it if you intend to use or write TQt programs that are to access an +SQLite3 DB. + +%files -n %{libtqt3}-mt-sqlite3 +%defattr(-,root,root,-) +%{_libdir}/tqt3/plugins/sqldrivers/libqsqlite3.so + +########### + +%package -n tqt3-compat-headers +Summary: TQt 1.x and 2.x compatibility includes +Group: Development/Libraries/X11 +Requires: %{libtqt3}-mt = %{version}-%{release} + +%description -n tqt3-compat-headers +This package contains header files that are intended for build +compatibility for applications that build with TQt3 but still use +deprecated includes. It is meant as an intermediate solution and +these header files are not part of the official TQt3 API. +All sourcecode that is still using the headers of this package is +subject to be changed to use the new header files which are in +libtqt3-headers. + +%files -n tqt3-compat-headers +%defattr(-,root,root,-) +%{_includedir}/tqt3/ntq1xcompatibility.h +%{_includedir}/tqt3/ntqapp.h +%{_includedir}/tqt3/ntqarray.h +%{_includedir}/tqt3/ntqbitarry.h +%{_includedir}/tqt3/ntqbttngrp.h +%{_includedir}/tqt3/ntqchkbox.h +%{_includedir}/tqt3/ntqclipbrd.h +%{_includedir}/tqt3/ntqcollect.h +%{_includedir}/tqt3/ntqcollection.h +%{_includedir}/tqt3/ntqcombo.h +%{_includedir}/tqt3/ntqconnect.h +%{_includedir}/tqt3/ntqdatetm.h +%{_includedir}/tqt3/ntqdrawutl.h +%{_includedir}/tqt3/ntqdstream.h +%{_includedir}/tqt3/ntqfiledef.h +%{_includedir}/tqt3/ntqfiledlg.h +%{_includedir}/tqt3/ntqfileinf.h +%{_includedir}/tqt3/ntqfontinf.h +%{_includedir}/tqt3/ntqfontmet.h +%{_includedir}/tqt3/ntqgrpbox.h +%{_includedir}/tqt3/ntqintcach.h +%{_includedir}/tqt3/ntqiodev.h +%{_includedir}/tqt3/ntqlcdnum.h +%{_includedir}/tqt3/ntqlined.h +%{_includedir}/tqt3/ntqlist.h +%{_includedir}/tqt3/ntqmenudta.h +%{_includedir}/tqt3/ntqmetaobj.h +%{_includedir}/tqt3/ntqmlined.h +%{_includedir}/tqt3/ntqmsgbox.h +%{_includedir}/tqt3/ntqmultilinedit.h +%{_includedir}/tqt3/ntqobjcoll.h +%{_includedir}/tqt3/ntqobjdefs.h +%{_includedir}/tqt3/ntqpaintd.h +%{_includedir}/tqt3/ntqpaintdc.h +%{_includedir}/tqt3/ntqpdevmet.h +%{_includedir}/tqt3/ntqpmcache.h +%{_includedir}/tqt3/ntqpntarry.h +%{_includedir}/tqt3/ntqpopmenu.h +%{_includedir}/tqt3/ntqprndlg.h +%{_includedir}/tqt3/ntqprogbar.h +%{_includedir}/tqt3/ntqprogdlg.h +%{_includedir}/tqt3/ntqpsprn.h +%{_includedir}/tqt3/ntqpushbt.h +%{_includedir}/tqt3/ntqqueue.h +%{_includedir}/tqt3/ntqradiobt.h +%{_includedir}/tqt3/ntqrangect.h +%{_includedir}/tqt3/ntqscrbar.h +%{_includedir}/tqt3/ntqsocknot.h +%{_includedir}/tqt3/ntqstack.h +%{_includedir}/tqt3/ntqtabdlg.h +%{_includedir}/tqt3/ntqtstream.h +%{_includedir}/tqt3/ntqvector.h +%{_includedir}/tqt3/ntqwidcoll.h +%{_includedir}/tqt3/ntqwindefs.h +%dir %{_docdir}/tqt3-compat-headers +%{_docdir}/tqt3-compat-headers/attic.tar.gz + +########### + +%package -n tqt3-dev-tools +Summary: TQt3 development tools +Group: Development/Libraries/X11 +Requires: %{libtqt3}-mt-devel = %{version}-%{release} +Requires: tqt3-dev-tools-devel = %{version}-%{release} + +%description -n tqt3-dev-tools +This package contains all tools that are necessary to build programs +that are written using TQt3. These are: qmake, uic and moc. +For TQt3 development, you most likely want to install this package. + +%files -n tqt3-dev-tools +%defattr(-,root,root,-) +%{_datadir}/tqt3/doc/html/qmake*html +%{_datadir}/tqt3/doc/html/qmake*dcf +%{_bindir}/tqmake +%{_bindir}/tqlupdate +%{_bindir}/tqlrelease +%{_bindir}/tquic +%{_bindir}/tqmoc +%{_bindir}/tqembed +%{_mandir}/man1/lupdate-tqt3.1* +%{_mandir}/man1/lrelease-tqt3.1* +%{_mandir}/man1/moc-tqt3.1* +%{_mandir}/man1/uic-tqt3.1* + +########## + +%package -n tqt3-dev-tools-devel +Summary: TQt3 development tools +Group: Development/Libraries/X11 + +%description -n tqt3-dev-tools-devel +This package contains all tools that are necessary to build programs +that are written using TQt3. + +%files -n tqt3-dev-tools-devel +%defattr(-,root,root,-) +%dir %{_datadir}/tqt3/mkspecs/ +%{_datadir}/tqt3/mkspecs/* + +########## + +%package -n tqt3-designer +Summary: TQt3 Designer +Group: System/GUI/Other +Requires: %{libtqt3}-mt = %{version}-%{release} +Requires: tqt3-doc = %{version}-%{release} + +%description -n tqt3-designer +The TQt Designer is a GUI design program that interactively lets you +construct user interfaces for the TQt library. Additionally it lets you +create whole project and works together with the database drivers +provided by TQt to create applications with easy database access through +TQt. The resulting user interface files can then be converted to +C++ classes using the uic commandline utility which is usually done +automatically for the developer with a project management with qmake +or automake. + +%files -n tqt3-designer +%defattr(-,root,root,-) +%{_bindir}/tqdesigner +%{_bindir}/tqtcreatecw +%{_bindir}/tqtconv2ui +%{_datadir}/tqt3/doc/html/designer*html +%{_datadir}/tqt3/doc/html/designer*dcf +%{_datadir}/tqt3/doc/html/designer*jpg +%dir %{_datadir}/tqt3/templates/ +%{_datadir}/tqt3/templates/* +%{_libdir}/tqt3/plugins/designer/libcppeditor.so +%{_libdir}/tqt3/plugins/designer/libdlgplugin.so +%{_libdir}/tqt3/plugins/designer/libgladeplugin.so +%{_libdir}/tqt3/plugins/designer/libkdevdlgplugin.so +%{_libdir}/tqt3/plugins/designer/librcplugin.so +%{_libdir}/tqt3/plugins/designer/libwizards.so +%dir %{_datadir}/tqt3/tools/tqtconv2ui +%{_datadir}/tqt3/tools/tqtconv2ui/main.cpp +%{_datadir}/tqt3/tools/tqtconv2ui/tqtconv2ui.pro +%dir %{_datadir}/tqt3/tools/tqtcreatecw +%{_datadir}/tqt3/tools/tqtcreatecw/README +%{_datadir}/tqt3/tools/tqtcreatecw/main.cpp +%{_datadir}/tqt3/tools/tqtcreatecw/tqtcreatecw.pro +%{_datadir}/applications/tqdesigner.desktop +%{_datadir}/pixmaps/tqdesigner.png + +########### + +%package -n tqt3-apps-devel +Summary: TQt3 Developer applications development files +Group: Development/Libraries/X11 +Requires: %{libtqt3}-mt-devel = %{version}-%{release} + +%description -n tqt3-apps-devel +This package is intended for developers who want to develop applications +using the additional static libraries that ship with the applications +included with TQt; the TQt Designer and the TQt Assistant. +It allows integrating additional enhancements into the TQt Designer +respectively faciliate the TQt Assistant from within your TQt application +to interactively call the Assistant for displaying online help that the +developer includes with his application. + +%post -n tqt3-apps-devel +/sbin/ldconfig || : + +%postun -n tqt3-apps-devel +/sbin/ldconfig || : + +%files -n tqt3-apps-devel +%defattr(-,root,root,-) +%{_libdir}/libtqtdesignercore.prl +%{_libdir}/libtqtdesignercore.so +%{_libdir}/libtqtdesignercore.so.1 +%{_libdir}/libtqtdesignercore.so.1.0 +%{_libdir}/libtqtdesignercore.so.1.0.0 +%{_libdir}/libtqteditor.prl +%{_libdir}/libtqteditor.so +%{_libdir}/libtqteditor.so.1 +%{_libdir}/libtqteditor.so.1.0 +%{_libdir}/libtqteditor.so.1.0.0 +%{_libdir}/libtqassistantclient.prl +%{_libdir}/libtqassistantclient.so +%{_libdir}/libtqassistantclient.so.1 +%{_libdir}/libtqassistantclient.so.1.0 +%{_libdir}/libtqassistantclient.so.1.0.0 +%{_includedir}/tqt3/ntqassistantclient.h + +########## + +%package -n tqt3-linguist +Summary: The TQt3 Linguist +Group: System/GUI/Other +Requires: %{libtqt3}-mt = %{version}-%{release} +Requires: tqt3-doc = %{version}-%{release} + +%description -n tqt3-linguist +This package contains the TQt3 Linguist which provides translators a +tool perfect for translating any TQt-based application into other +languages and can be used and installed independently of any TQt +development files by the translator. + +%files -n tqt3-linguist +%defattr(-,root,root,-) +%{_bindir}/tqlinguist +%dir %{_datadir}/tqt3/phrasebooks/ +%{_datadir}/tqt3/phrasebooks/* +%{_datadir}/tqt3/doc/html/linguist*html +%{_datadir}/tqt3/doc/html/linguist*dcf +%dir %{_docdir}/tqt3-linguist +%{_docdir}/tqt3-linguist/qt_untranslated.ts +%{_datadir}/applications/tqlinguist.desktop +%{_datadir}/pixmaps/tqlinguist.png + +########## + +%package -n tqt3-assistant +Summary: The TQt3 assistant application +Group: System/GUI/Other +Requires: %{libtqt3}-mt = %{version}-%{release} +Requires: tqt3-doc = %{version}-%{release} + +%description -n tqt3-assistant +This package contains the TQt3 Assistant, an easy to use frontend for +the complete TQt3 documentation and serves as an online help viewer for +any TQt program that wants to give the usesr access to online help. +Within the TQt tools it is used as the help viewer for the online help +for the TQt3 Designer and Linguist as well as qmake and the TQt 3 API +documentation. + +Developers of TQt Application who want to faciliate the TQt Assistant for online +help display should refer to the README.Debian file for libtqt3-mt-devel and +the package tqt3-apps-devel. + +%files -n tqt3-assistant +%defattr(-,root,root,-) +%{_bindir}/tqassistant +%{_datadir}/tqt3/doc/html/assistant*html +%{_datadir}/tqt3/doc/html/assistant*dcf +%{_datadir}/applications/tqassistant.desktop +%{_datadir}/pixmaps/tqassistant.png + +########## + +%package -n tqt3-qtconfig +Summary: The TQt3 Configuration Application +Group: Development/Libraries/X11 +Requires: %{libtqt3}-mt = %{version}-%{release} +Requires: tqt3-doc = %{version}-%{release} + +%description -n tqt3-qtconfig +The TQt Configuration program allows endusers to configure the look +and behavior of any TQt3 application. It is mostly only necessary +on systems which don't run TDE because the Trinity control center already +covers this configuration automatically for the users TQt3 applications +according to his desktop settings in TDE. However, if you need to run +CJK-fonts or other non-latin scripts, you will most likely want to +install this package. + +%files -n tqt3-qtconfig +%defattr(-,root,root,-) +%{_bindir}/tqtconfig +%{_datadir}/applications/tqtconfig.desktop +%{_datadir}/pixmaps/tqtconfig.png + +########### + +%package -n tqt3-dev-tools-embedded +Summary: Tools to develop embedded TQt applications +Group: System/GUI/Other +Requires: %{libtqt3}-mt-devel = %{version}-%{release} + +%description -n tqt3-dev-tools-embedded +This package contains applications only suitable for developing +applications with TQt Embedded and/or Qtopia. It provides the QVFB +program for simulating an embedded device desktop as well as maketqpf +for converting fonts to embedded fonts suitable for being utilized +by TQt Embedded applications. + +%files -n tqt3-dev-tools-embedded +%defattr(-,root,root,-) +%{_bindir}/maketqpf +%{_bindir}/tqvfb +%dir %{_sysconfdir}/tqt3/tqvfb +%config %{_sysconfdir}/tqt3/tqvfb/pda.skin +%dir %{_datadir}/tqvfb +%{_datadir}/tqvfb/pda_down.png +%{_datadir}/tqvfb/pda_up.png + +########### + +%package -n tqt3-dev-tools-compat +Summary: Conversion utilities for TQt3 development +Group: System/GUI/Other +Requires: %{libtqt3}-mt-devel = %{version}-%{release} + +%description -n tqt3-dev-tools-compat +This package contains some older TQt tools (namely tqt20fix tqtrename140, +tqm2ts, tqtmergetr, tqtfindtr and msg2tqm). These tools are needed only by +application developers who need to migrate any TQt application written +for TQt 1.x or 2.x over to TQt 3.x. The purpose of the tools are to +help fixing the changes with include file renaming as well as migrating +the message file format of TQt 2 translation files or any gettext-based +translation system to the TQt 3 system. + +%files -n tqt3-dev-tools-compat +%defattr(-,root,root,-) +%{_bindir}/tqt20fix +%{_bindir}/tqtrename140 +%{_bindir}/tqm2ts +%{_bindir}/tqtmergetr +%{_bindir}/tqtfindtr +%{_bindir}/msg2tqm + +########## + +%package -n tqt3-i18n +Summary: Translation (i18n) files for TQt3 library +Group: System/GUI/Other +Requires: %{libtqt3}-mt = %{version}-%{release} + +%description -n tqt3-i18n +This package contains the internationalization files for the TQt library. +TQt applications that are internationalized will need to depend on this package +for full internationalization support of the application towards the end user. + +%files -n tqt3-i18n +%defattr(-,root,root,-) +%dir %{_datadir}/tqt3/translations/ +%{_datadir}/tqt3/translations/assistant_de.qm +%{_datadir}/tqt3/translations/assistant_fr.qm +%{_datadir}/tqt3/translations/designer_de.qm +%{_datadir}/tqt3/translations/designer_fr.qm +%{_datadir}/tqt3/translations/linguist_de.qm +%{_datadir}/tqt3/translations/linguist_fr.qm +%{_datadir}/tqt3/translations/qt_ar.qm +%{_datadir}/tqt3/translations/qt_ca.qm +%{_datadir}/tqt3/translations/qt_cs.qm +%{_datadir}/tqt3/translations/qt_de.qm +%{_datadir}/tqt3/translations/qt_es.qm +%{_datadir}/tqt3/translations/qt_fr.qm +%{_datadir}/tqt3/translations/qt_he.qm +%{_datadir}/tqt3/translations/qt_it.qm +%{_datadir}/tqt3/translations/qt_ja.qm +%{_datadir}/tqt3/translations/qt_nb.qm +%{_datadir}/tqt3/translations/qt_pt-br.qm +%{_datadir}/tqt3/translations/qt_ru.qm +%{_datadir}/tqt3/translations/qt_sk.qm +%{_datadir}/tqt3/translations/qt_zh-cn.qm +%{_datadir}/tqt3/translations/qt_zh-tw.qm + +########## + +%package -n tqt3-doc +Summary: TQt3 API documentation +Group: System/GUI/Other + +%description -n tqt3-doc +This package contains the complete API documentation for TQt3. +Examples to coding are in tqt3-examples. The documentation is provided +in HTML and manpage format; the HTML version can be viewed in conjunction +with the TQt Assistant. + +%files -n tqt3-doc +%defattr(-,root,root,-) +%exclude %{_datadir}/tqt3/doc/html/qmake*html +%exclude %{_datadir}/tqt3/doc/html/qmake*dcf +%exclude %{_datadir}/tqt3/doc/html/designer*html +%exclude %{_datadir}/tqt3/doc/html/designer*dcf +%exclude %{_datadir}/tqt3/doc/html/designer*jpg +%exclude %{_datadir}/tqt3/doc/html/linguist*html +%exclude %{_datadir}/tqt3/doc/html/linguist*dcf +%exclude %{_datadir}/tqt3/doc/html/assistant*html +%exclude %{_datadir}/tqt3/doc/html/assistant*dcf +%{_datadir}/tqt3/doc/html/* + +########## + +%package -n tqt3-examples +summary: Examples for TQt3 +Group: System/GUI/Other + +%description -n tqt3-examples +These are examples provided with TQt3. They may be especially useful for +you if you are learning to program in TQt as they cover tquite a lot of +things that are possible with TQt3. + +%files -n tqt3-examples +%defattr(-,root,root,-) +%dir %{_docdir}/tqt3-examples/ +%{_docdir}/tqt3-examples/build-examples +%{_docdir}/tqt3-examples/tqt3-examples.tar.gz + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + +%if 0%{?suse_version} +echo "suse_version = %{?suse_version}" +echo "sle_version = %{?sle_version}" +%endif + +# Add missing sqlite3 header +%__ln_s ../src/sql/drivers/sqlite3/qsql_sqlite3.h include/qsql_sqlite3.h + +# fix variables in 'qmake.conf' +%__sed -i mkspecs/*/qmake.conf \ + -e "s|^QMAKE_INCDIR_QT.*|QMAKE_INCDIR_QT = %{_includedir}/tqt3|" \ + -e "s|\$(QTDIR)|/usr|g" \ + -e "s|-lqt|-ltqt|g" \ + -e "s|^QMAKE_CFLAGS =.*|QMAKE_CFLAGS = %{?optflags} -pipe -fvisibility=hidden -fvisibility-inlines-hidden|" \ + -e "s|^QMAKE_INCDIR =.*|QMAKE_INCDIR = %{_includedir}|" \ + -e "s|^QMAKE_LIBDIR =.*|QMAKE_LIBDIR = %{_libdir}|" \ + -e "s|^QMAKE_RPATH = .*|QMAKE_RPATH =|" \ + -e "s|^QMAKE_STRIP =.*|QMAKE_STRIP =|" \ + -e "s|^QMAKE_STRIPFLAGS_LIB +=.*|QMAKE_STRIPFLAGS_LIB +=|" \ + -e "s|^QMAKE_MOC =.*|QMAKE_MOC = %{_bindir}/tqmoc|" \ + -e "s|^QMAKE_UIC =.*|QMAKE_UIC = %{_bindir}/tquic|" \ + -e "s|^QMAKE_INCDIR_QT =.*|QMAKE_INCDIR_QT = %{_includedir}/tqt3|" \ + -e "s|^QMAKE_LIBDIR_QT =.*|QMAKE_LIBDIR_QT = %{_libdir}|" \ + + +%build +unset QTDIR QTINC QTLIB +export QTDIR=$(pwd) +export PATH=${QTDIR}/bin:${PATH} +export MANPATH=${QTDIR}/doc/man:${MANPATH} +export LD_LIBRARY_PATH="${QTDIR}/lib" + +# Checks for supplementary include dir +INCDIRS="" +for d in \ + %{_includedir}/fontconfig \ + %{_includedir}/pgsql \ + %{_includedir}/pgsql/server \ + %{_includedir}/postgresql/server \ + %{_includedir}/Xft2 \ + %{_includedir}/Xft2/X11/Xft \ + %{_includedir}/mysql \ + %{_includedir}/libpng15 \ + %{_includedir}/libpng16 \ + %{_includedir}/tirpc \ +; do + if [ -d "${d}" ]; then + INCDIRS="${INCDIRS} -I${d}" + fi +done + +# Checks for supplementary library dirs +LIBDIRS="" +for d in \ + %{_libdir}/mysql \ + %{_libdir}/pgsql \ +; do + if [ -d "${d}" ]; then + LIBDIRS="${LIBDIRS} -L${d}" + fi +done + +# build shared, threaded (default) libraries +echo yes | ./configure \ + ${INCDIRS} \ + ${LIBDIRS} \ + -L%{_libdir} \ + -prefix "%{_prefix}" \ + -libdir "%{_libdir}" \ + -sysconfdir "%{_sysconfdir}/tqt3" \ + -datadir "%{_datadir}/tqt3" \ + -headerdir "%{_includedir}/tqt3" \ + -docdir "%{_datadir}/tqt3/doc" \ + -plugindir "%{_libdir}/tqt3/plugins" \ + -translationdir "%{_datadir}/tqt3/translations" \ + -sysshare "%{_datadir}" \ + \ + -thread \ + -shared \ + -fast \ + -no-exceptions \ +%if "%{_lib}" == "lib64" + -platform linux-g++-64 \ +%else + -platform linux-g++ \ +%endif + \ + %{?with_nis:-nis} %{?!with_nis:-no-nis} \ + -no-pch \ + -cups \ + -stl \ + -ipv6 \ + \ + -sm \ + -xshape \ + -xinerama \ + -xcursor \ + -xrandr \ + -xrender \ + -xft \ + -tablet \ + -xkb \ + \ + -system-zlib \ + -system-libpng \ + -system-libmng \ + -system-libjpeg \ + %{?with_nas:-system-nas-sound} %{?!with_nas:-no-nas-sound} \ + \ + -enable-opengl \ + -dlopen-opengl \ + \ + -qt-gif \ + -qt-imgfmt-mng \ + -qt-imgfmt-png \ + -qt-imgfmt-jpeg \ + -plugin-imgfmt-mng \ + \ + -plugin-sql-odbc \ + -plugin-sql-psql \ + -plugin-sql-mysql \ + %{?with_ibase:-plugin-sql-ibase} \ + -plugin-sql-sqlite \ + -plugin-sql-sqlite3 \ + \ + -lfontconfig \ + -inputmethod \ + %{?with_glibmainloop:-glibmainloop} \ + -debug \ + -v + +# proceed +%__make %{?_smp_mflags} sub-src || %__make sub-src +%__make %{?_smp_mflags} sub-plugins || %__make sub-plugins +%__make %{?_smp_mflags} sub-tools + +# build tqtconv2ui +%__make -C tools/designer/tools/tqtconv2ui + +# build tqvfb +%__make -C tools/tqvfb + +# fix .prl files +%__sed -i lib/*.prl -e "s|${QTDIR}|%{_datadir}/tqt3|g" + + +%install +%__rm -rf %{buildroot} +export QTDIR=$(pwd) +export PATH="${QTDIR}/bin:${PATH}" +export LD_LIBRARY_PATH=${QTDIR}/lib + +# Installs 'libtqt-mt.so.3' library +%__make -C src INSTALL_ROOT="%{?buildroot}" install_target + +# Installs all the remaining +%__make INSTALL_ROOT=%{?buildroot} install +%__make INSTALL_ROOT=%{?buildroot} plugins-install + +%__install -m755 "bin/tqtrename140" "%{?buildroot}%{_bindir}" +%__install -m755 "bin/tqt20fix" "%{?buildroot}%{_bindir}" +%__install -m755 "bin/tqtfindtr" "%{?buildroot}%{_bindir}" + +# install tqtconv2ui +%__install -m755 "bin/tqtconv2ui" "%{?buildroot}%{_bindir}/tqtconv2ui" + +# install tqvfb +%__install -m755 -D "tools/tqvfb/tqvfb" "%{?buildroot}%{_bindir}/tqvfb" +%__install -m644 -D "tools/tqvfb/pda.skin" "%{?buildroot}%{_sysconfdir}/tqt3/tqvfb/pda.skin" +%__install -m644 -D "tools/tqvfb/pda_down.png" "%{?buildroot}%{_datadir}/tqvfb/pda_down.png" +%__install -m644 -D "tools/tqvfb/pda_up.png" "%{?buildroot}%{_datadir}/tqvfb/pda_up.png" + +## create tqt3-apps-dev-package +cp tools/designer/interfaces/*.h "%{?buildroot}%{?_includedir}/tqt3/" +cp tools/designer/editor/*.h "%{?buildroot}%{?_includedir}/tqt3/" + +# language file for linguist +%__install -D -m644 "translations/template.ts" "%{?buildroot}%{?_docdir}/tqt3-linguist/qt_untranslated.ts" + +# fix that stupid friggin professional file +perl -pi -e 's{\$$\$$QT_SOURCE_TREE}{$(QTDIR)}' "src/qt_professional.pri" + +## i18n files for designer, linguist and assistant +for i in designer/designer assistant linguist/linguist; do + pushd "tools/${i}" + tqlrelease "${i##*/}.pro" + for j in ${i##*/}_*.qm; do + install -m644 "${j}" "%{?buildroot}%{_datadir}/tqt3/translations/" + done + popd +done + +%if 0%{?suse_version} +%suse_update_desktop_file tqassistant Documentation +%suse_update_desktop_file tqdesigner GUIDesigner +%suse_update_desktop_file tqlinguist Translation +%suse_update_desktop_file tqtconfig Utility +%endif + +# Install applications icons +#__install -m644 -D "tools/assistant/images/appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqassistant.png" +#__install -m644 -D "tools/designer/designer/images/designer_appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqdesigner.png" +#__install -m644 -D "tools/linguist/linguist/images/appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqlinguist.png" +#__install -m644 -D "tools/qtconfig/images/appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqtconfig.png" + +# build attic package and copy it to tqt3-compat-headers +pushd src +tar cvvfz "attic.tar.gz" attic/ +install -D -m644 "attic.tar.gz" "%{?buildroot}%{_docdir}/tqt3-compat-headers/attic.tar.gz" +popd + +# install the man pages +install -D -m644 "doc/man/man1/moc.1" "%{?buildroot}%{_mandir}/man1/moc-tqt3.1" +install -D -m644 "doc/man/man1/uic.1" "%{?buildroot}%{_mandir}/man1/uic-tqt3.1" +install -D -m644 "doc/man/man1/lrelease.1" "%{?buildroot}%{_mandir}/man1/lrelease-tqt3.1" +install -D -m644 "doc/man/man1/lupdate.1" "%{?buildroot}%{_mandir}/man1/lupdate-tqt3.1" + +# Install source for the designer tools, such as tqtcreatecw. +cp -ra tools/designer/tools %{?buildroot}%{_datadir}/tqt3/tools +rm -f %{?buildroot}%{_datadir}/tqt3/tools/tqtcreatecw/tqtcreatecw +rm -rf %{?buildroot}%{_datadir}/tqt3/tools/tqtcreatecw/.moc +rm -rf %{?buildroot}%{_datadir}/tqt3/tools/tqtcreatecw/.obj +rm -f %{?buildroot}%{_datadir}/tqt3/tools/tqtcreatecw/Makefile +rm -f %{?buildroot}%{_datadir}/tqt3/tools/tqtconv2ui/tqtconv2ui +rm -rf %{?buildroot}%{_datadir}/tqt3/tools/tqtconv2ui/.moc +rm -rf %{?buildroot}%{_datadir}/tqt3/tools/tqtconv2ui/.obj +rm -f %{?buildroot}%{_datadir}/tqt3/tools/tqtconv2ui/Makefile + +# create examples package +%__install -d tqt3-examples +cp -ax examples tqt3-examples/ +cp -ax tutorial tqt3-examples/ +mkdir -p tqt3-examples/tools/designer +cp -ax tools/designer/examples tqt3-examples/tools/designer/ +mkdir -p tqt3-examples/tools/linguist +cp -ax tools/linguist/tutorial tqt3-examples/tools/linguist/ +find tqt3-examples -name "tt1" -print | xargs rm -rf +find tqt3-examples -name "tt2" -print | xargs rm -rf +find tqt3-examples -name "tt3" -print | xargs rm -rf +find tqt3-examples -name ".moc" | xargs rm -rf +find tqt3-examples -name ".obj" | xargs rm -rf +find tqt3-examples -name "Makefile" | xargs rm -rf +install -D -m 755 %{SOURCE1} %{?buildroot}%{_docdir}/tqt3-examples/build-examples +tar cvvfz tqt3-examples.tar.gz tqt3-examples/ +install -D -m644 "tqt3-examples.tar.gz" "%{?buildroot}%{_docdir}/tqt3-examples/tqt3-examples.tar.gz" + +# Fix wrong permissions +chmod 644 "%{?buildroot}%{_datadir}/tqt3/mkspecs/"*/* + + +%clean +%__rm -rf %{buildroot} + + +%changelog diff --git a/redhat/dependencies/tqt3/tqtconfig.desktop b/redhat/dependencies/tqt3/tqtconfig.desktop deleted file mode 100644 index d20d2191d..000000000 --- a/redhat/dependencies/tqt3/tqtconfig.desktop +++ /dev/null @@ -1,13 +0,0 @@ -[Desktop Entry] -Encoding=UTF-8 -Exec=tqtconfig -Name=TQt3 Configuration -Name[de]=TQt3 Konfiguration -GenericName=Configuration Utility -Comment=A graphical configuration tool for programs using TQt 3 -Comment[de]=Ein grafisches Konfigurationstool für TQt3-Programme -MimeType=application/x-qtconfig; -Terminal=false -Icon=tqtconfig -Type=Application -Categories=Qt;Settings; diff --git a/redhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec b/redhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec deleted file mode 100644 index de6ad4622..000000000 --- a/redhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec +++ /dev/null @@ -1,276 +0,0 @@ -# -# spec file for package tqtinterface (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/ -# - -# BUILD WARNING: -# Remove qt-devel and qt3-devel and any kde*-devel on your system ! -# Having KDE libraries may cause FTBFS here ! - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.0.0 -%endif -%define tde_pkg tqtinterface -%define cmake_modules_dir %{_datadir}/cmake/Modules - -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} -%define libtqt4 %{_lib}tqt4 -%else -%define libtqt4 libtqt4 -%endif - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 4.2.0 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: The Trinity Qt Interface Libraries -Group: System/GUI/Other -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Project -#Packager: Francois Andriot - -Prefix: /usr -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: libtqt3-mt-devel >= 3.5.0 -BuildRequires: tqt3-dev-tools >= 3.5.0 - -%if 0%{?suse_version} && 0%{?suse_version} < 1300 -BuildRequires: trinity-cmake-macros -%endif - -BuildRequires: cmake >= 2.8 -BuildRequires: gcc-c++ -BuildRequires: pkgconfig - -# UUID support -%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} || 0%{?rhel} >= 6 -%define uuid_devel libuuid-devel -%endif -%if 0%{?rhel} == 5 -%define uuid_devel e2fsprogs-devel -%endif -%{?uuid_devel:BuildRequires: %{uuid_devel}} - - -# PTHREAD support -%if 0%{?rhel} >= 5 || 0%{?mdkversion} || 0%{?mgaversion} -%if 0%{?mgaversion} >= 7 -BuildRequires: %{_lib}npth-devel -%else -BuildRequires: pth-devel -%endif -%endif -%if 0%{?fedora} && 0%{?fedora} <= 26 -BuildRequires: pth-devel -%endif -%if 0%{?suse_version} && 0%{?suse_version} < 1500 -BuildRequires: libpth-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 - -# X11 libraries -%if 0%{?rhel} == 4 -BuildRequires: xorg-x11-devel -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: libxi-devel -%endif -%if 0%{?suse_version} >= 1220 || 0%{?rhel} >= 5 || 0%{?fedora} -BuildRequires: libXi-devel -%endif -%if 0%{?suse_version} == 1140 -BuildRequires: libXi6-devel -%endif - -%description -The Trinity Qt Interface is a library that abstracts Qt from Trinity. -This allows the Trinity code to rapidly port from one version of Qt to another. -This is primarily accomplished by defining old functions in terms of new functions, -although some code has been added for useful functions that are no longer part of Qt. - - -########## - -%package -n %{libtqt4} -Group: System/GUI/Other -Summary: The Trinity Qt Interface Libraries -Provides: libtqt4 = %{?epoch:%{epoch}:}%{version}-%{release} - -Requires: libtqt3-mt >= 3.5.0 - -%if 0%{?suse_version} && 0%{?suse_version} < 1300 -Requires: trinity-cmake-macros -%endif - -Obsoletes: trinity-tqtinterface < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-tqtinterface = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -n %{libtqt4} -The Trinity Qt Interface is a library that abstracts Qt from Trinity. -This allows the Trinity code to rapidly port from one version of Qt to another. -This is primarily accomplished by defining old functions in terms of new functions, -although some code has been added for useful functions that are no longer part of Qt. - -%files -n %{libtqt4} -%defattr(-,root,root,-) -%{_libdir}/libtqt.so.4 -%{_libdir}/libtqt.so.4.2.0 - -%post -n %{libtqt4} -/sbin/ldconfig || : - -%postun -n %{libtqt4} -/sbin/ldconfig || : - -########## - -%package -n %{libtqt4}-devel -Group: Development/Libraries/X11 -Summary: The Trinity Qt Interface Libraries (Development Files) -Provides: libtqt4-devel = %{?epoch:%{epoch}:}%{version}-%{release} - -Requires: %{libtqt4} = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: libtqt3-mt-devel >= 3.5.0 -Requires: tqt3-dev-tools >= 3.5.0 - -%if 0%{?suse_version} && 0%{?suse_version} < 1300 -Requires: trinity-cmake-macros -%endif - -Obsoletes: trinity-tqtinterface-devel < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-tqtinterface-devel = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -n %{libtqt4}-devel -The Trinity Qt Interface is a library that abstracts Qt from Trinity. -This allows the Trinity code to rapidly port from one version of Qt to another. -This is primarily accomplished by defining old functions in terms of new functions, -although some code has been added for useful functions that are no longer part of Qt. - -%post -n %{libtqt4}-devel -/sbin/ldconfig || : - -%postun -n %{libtqt4}-devel -/sbin/ldconfig || : - -%files -n %{libtqt4}-devel -%defattr(-,root,root,-) -%{_bindir}/convert_qt_tqt1 -%{_bindir}/convert_qt_tqt2 -%{_bindir}/convert_qt_tqt3 -%{_bindir}/dcopidl-tqt -%{_bindir}/dcopidl2cpp-tqt -%{_bindir}/dcopidlng-tqt -%{_bindir}/mcopidl-tqt -%{_bindir}/moc-tqt -%{_bindir}/tmoc -%{_bindir}/tqt-replace -%{_bindir}/tqt-replace-stream -%{_bindir}/uic-tqt -%{_includedir}/tqt/ -%{_libdir}/libtqt.la -%{_libdir}/libtqt.so -%{_libdir}/pkgconfig/tqt.pc -%{_libdir}/pkgconfig/tqtqui.pc -%{cmake_modules_dir}/*.cmake - -########## - -%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 - -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} -DNDEBUG" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -DCMAKE_SKIP_RPATH=ON \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=OFF \ - \ - -DQTDIR="%{_datadir}/tqt3" \ - -DQT_INCLUDE_DIR="%{_includedir}/tqt3" \ - -DQT_LIBRARY_DIR="%{_libdir}" \ - \ - -DCMAKE_INSTALL_PREFIX="%{_prefix}" \ - -DPKGCONFIG_INSTALL_DIR="%{_libdir}/pkgconfig" \ - -DINCLUDE_INSTALL_DIR=%{_includedir}/tqt \ - -DLIB_INSTALL_DIR=%{_libdir} \ - -DBIN_INSTALL_DIR=%{_bindir} \ - \ - -DCMAKE_LIBRARY_PATH="%{_libdir}" \ - -DCMAKE_INCLUDE_PATH="%{_includedir}" \ - \ - -DWITH_QT3="ON" \ - -DBUILD_ALL="ON" \ - -DUSE_QT3="ON" \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -%__rm -rf "%{?buildroot}" -%__make install DESTDIR="%{?buildroot}" -C build - -# Install 'cmake' modules for development use -%__mkdir_p "%{?buildroot}%{cmake_modules_dir}" -for i in cmake/modules/*.cmake; do - %__install -m 644 "$i" "%{?buildroot}%{cmake_modules_dir}" -done - - -%clean -%__rm -rf "%{?buildroot}" - - -%changelog diff --git a/redhat/dependencies/tqtinterface/tqtinterface.spec b/redhat/dependencies/tqtinterface/tqtinterface.spec new file mode 100644 index 000000000..392ca0bb6 --- /dev/null +++ b/redhat/dependencies/tqtinterface/tqtinterface.spec @@ -0,0 +1,279 @@ +# +# spec file for package tqtinterface (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/ +# + +# BUILD WARNING: +# Remove qt-devel and qt3-devel and any kde*-devel on your system ! +# Having KDE libraries may cause FTBFS here ! + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.0.7 +%endif +%define tde_pkg tqtinterface +%define cmake_modules_dir %{_datadir}/cmake/Modules + +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} +%define libtqt4 %{_lib}tqt4 +%else +%define libtqt4 libtqt4 +%endif + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 4.2.0 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: The Trinity Qt Interface Libraries +Group: System/GUI/Other +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Project +#Packager: Francois Andriot + +Prefix: /usr +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: libtqt3-mt-devel >= 3.5.0 +BuildRequires: tqt3-dev-tools >= 3.5.0 + +%if 0%{?suse_version} && 0%{?suse_version} < 1300 +BuildRequires: trinity-cmake-macros +%endif + +BuildRequires: cmake >= 2.8 +BuildRequires: gcc-c++ +BuildRequires: pkgconfig + +# UUID support +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} || 0%{?rhel} >= 6 +%define uuid_devel libuuid-devel +%endif +%if 0%{?rhel} == 5 +%define uuid_devel e2fsprogs-devel +%endif +%{?uuid_devel:BuildRequires: %{uuid_devel}} + + +# PTHREAD support +%if 0%{?mdkversion} || 0%{?mgaversion} +%if 0%{?mgaversion} >= 7 +BuildRequires: %{_lib}npth-devel +%else +BuildRequires: pth-devel +%endif +%endif +%if 0%{?fedora} && 0%{?fedora} <= 26 +BuildRequires: pth-devel +%endif +%if 0%{?rhel} >= 5 && 0%{?rhel} <= 7 +BuildRequires: pth-devel +%endif +%if 0%{?suse_version} && 0%{?suse_version} < 1500 +BuildRequires: libpth-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 + +# X11 libraries +%if 0%{?rhel} == 4 +BuildRequires: xorg-x11-devel +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: libxi-devel +%endif +%if 0%{?suse_version} >= 1220 || 0%{?rhel} >= 5 || 0%{?fedora} +BuildRequires: libXi-devel +%endif +%if 0%{?suse_version} == 1140 +BuildRequires: libXi6-devel +%endif + +%description +The Trinity Qt Interface is a library that abstracts Qt from Trinity. +This allows the Trinity code to rapidly port from one version of Qt to another. +This is primarily accomplished by defining old functions in terms of new functions, +although some code has been added for useful functions that are no longer part of Qt. + + +########## + +%package -n %{libtqt4} +Group: System/GUI/Other +Summary: The Trinity Qt Interface Libraries +Provides: libtqt4 = %{?epoch:%{epoch}:}%{version}-%{release} + +Requires: libtqt3-mt >= 3.5.0 + +%if 0%{?suse_version} && 0%{?suse_version} < 1300 +Requires: trinity-cmake-macros +%endif + +Obsoletes: trinity-tqtinterface < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-tqtinterface = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n %{libtqt4} +The Trinity Qt Interface is a library that abstracts Qt from Trinity. +This allows the Trinity code to rapidly port from one version of Qt to another. +This is primarily accomplished by defining old functions in terms of new functions, +although some code has been added for useful functions that are no longer part of Qt. + +%files -n %{libtqt4} +%defattr(-,root,root,-) +%{_libdir}/libtqt.so.4 +%{_libdir}/libtqt.so.4.2.0 + +%post -n %{libtqt4} +/sbin/ldconfig || : + +%postun -n %{libtqt4} +/sbin/ldconfig || : + +########## + +%package -n %{libtqt4}-devel +Group: Development/Libraries/X11 +Summary: The Trinity Qt Interface Libraries (Development Files) +Provides: libtqt4-devel = %{?epoch:%{epoch}:}%{version}-%{release} + +Requires: %{libtqt4} = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: libtqt3-mt-devel >= 3.5.0 +Requires: tqt3-dev-tools >= 3.5.0 + +%if 0%{?suse_version} && 0%{?suse_version} < 1300 +Requires: trinity-cmake-macros +%endif + +Obsoletes: trinity-tqtinterface-devel < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-tqtinterface-devel = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n %{libtqt4}-devel +The Trinity Qt Interface is a library that abstracts Qt from Trinity. +This allows the Trinity code to rapidly port from one version of Qt to another. +This is primarily accomplished by defining old functions in terms of new functions, +although some code has been added for useful functions that are no longer part of Qt. + +%post -n %{libtqt4}-devel +/sbin/ldconfig || : + +%postun -n %{libtqt4}-devel +/sbin/ldconfig || : + +%files -n %{libtqt4}-devel +%defattr(-,root,root,-) +%{_bindir}/convert_qt_tqt1 +%{_bindir}/convert_qt_tqt2 +%{_bindir}/convert_qt_tqt3 +%{_bindir}/dcopidl-tqt +%{_bindir}/dcopidl2cpp-tqt +%{_bindir}/dcopidlng-tqt +%{_bindir}/mcopidl-tqt +%{_bindir}/moc-tqt +%{_bindir}/tmoc +%{_bindir}/tqt-replace +%{_bindir}/tqt-replace-stream +%{_bindir}/uic-tqt +%{_includedir}/tqt/ +%{_libdir}/libtqt.la +%{_libdir}/libtqt.so +%{_libdir}/pkgconfig/tqt.pc +%{_libdir}/pkgconfig/tqtqui.pc +%{cmake_modules_dir}/*.cmake + +########## + +%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 + +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} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_SKIP_RPATH=ON \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DQTDIR="%{_datadir}/tqt3" \ + -DQT_INCLUDE_DIR="%{_includedir}/tqt3" \ + -DQT_LIBRARY_DIR="%{_libdir}" \ + \ + -DCMAKE_INSTALL_PREFIX="%{_prefix}" \ + -DPKGCONFIG_INSTALL_DIR="%{_libdir}/pkgconfig" \ + -DINCLUDE_INSTALL_DIR=%{_includedir}/tqt \ + -DLIB_INSTALL_DIR=%{_libdir} \ + -DBIN_INSTALL_DIR=%{_bindir} \ + \ + -DCMAKE_LIBRARY_PATH="%{_libdir}" \ + -DCMAKE_INCLUDE_PATH="%{_includedir}" \ + \ + -DWITH_QT3="ON" \ + -DBUILD_ALL="ON" \ + -DUSE_QT3="ON" \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +%__rm -rf "%{?buildroot}" +%__make install DESTDIR="%{?buildroot}" -C build + +# Install 'cmake' modules for development use +%__mkdir_p "%{?buildroot}%{cmake_modules_dir}" +for i in cmake/modules/*.cmake; do + %__install -m 644 "$i" "%{?buildroot}%{cmake_modules_dir}" +done + + +%clean +%__rm -rf "%{?buildroot}" + + +%changelog diff --git a/redhat/extras/brp-check-trinity/brp-check-trinity-14.0.0.spec b/redhat/extras/brp-check-trinity/brp-check-trinity-14.0.0.spec deleted file mode 100644 index a0abf2cf5..000000000 --- a/redhat/extras/brp-check-trinity/brp-check-trinity-14.0.0.spec +++ /dev/null @@ -1,117 +0,0 @@ -# -# spec file for package brp-check-trinity (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.0.0 -%endif -%define tde_prefix /opt/trinity - -Name: brp-check-trinity -Version: 1.0 -Release: 1%{?dist} -Summary: Build root policy check scripts for Trinity -Group: System Environment/Daemons -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Project -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildArch: noarch - -BuildRequires: update-desktop-files -BuildRequires: brp-check-suse -BuildRequires: brp-extract-appdata -Requires: update-desktop-files -Requires: brp-check-suse -Requires: brp-extract-appdata -Requires: sed - - - -%description -This package dynamically patches the openSUSE brp script to allow -building of Trinity Desktop Environment (TDE) instead of KDE3. -It should not be installed on runtime computer. - - -%files - -%post -for i in \ - brp-desktop.data/applications.menu \ - brp-desktop.data/kde-settings.menu \ - brp-desktop.data/xdg_menu \ - brp-suse.d/brp-25-symlink \ - brp-suse.d/brp-72-extract-appdata \ - map-desktop-category.sh \ - suse_update_desktop_file.sh \ -; do - echo "Patching file '/usr/lib/rpm/${i}' ..." - [ -r "/usr/lib/rpm/${i}" ] || continue - install -D "/usr/lib/rpm/${i}" "/usr/lib/rpm.orig/${i}" - sed -i "/usr/lib/rpm/${i}" \ - -e "s|opt/kde3|opt/trinity|g" \ - -e "s|kde-config|tde-config|g" \ - -e "s|kdesu|tdesu|g" \ - -e "s|kde-settings-|tde-settings-|g" \ - -e "s|doc/kde|doc/tde|g" \ - -e "s|kde_xdgdata|tde_xdgdata|g" \ - -e "s|applications/kde|applications/tde|g" \ - -e "s|KDE|TDE|g" \ - -e "s|kde-|tde-|g" \ - -e "s|tde-settings.menu|kde-settings.menu|" -done - - -%postun -for i in \ - brp-desktop.data/applications.menu \ - brp-desktop.data/kde-settings.menu \ - brp-desktop.data/xdg_menu \ - brp-suse.d/brp-25-symlink \ - brp-suse.d/brp-72-extract-appdata \ - map-desktop-category.sh \ - suse_update_desktop_file.sh \ -; do - [ -r "/usr/lib/rpm.orig/${i}" ] || continue - echo "Restoring file '/usr/lib/rpm/${i}' ..." - install "/usr/lib/rpm.orig/${i}" "/usr/lib/rpm/${i}" -done -rm -rf "/usr/lib/rpm.orig" - -########## - -%prep - -%build - -%install - -%clean -%__rm -rf %{?buildroot} - - -%changelog diff --git a/redhat/extras/brp-check-trinity/brp-check-trinity.spec b/redhat/extras/brp-check-trinity/brp-check-trinity.spec new file mode 100644 index 000000000..538376224 --- /dev/null +++ b/redhat/extras/brp-check-trinity/brp-check-trinity.spec @@ -0,0 +1,117 @@ +# +# spec file for package brp-check-trinity (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.0.7 +%endif +%define tde_prefix /opt/trinity + +Name: brp-check-trinity +Version: 1.0 +Release: 1%{?dist} +Summary: Build root policy check scripts for Trinity +Group: System Environment/Daemons +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Project +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch + +BuildRequires: update-desktop-files +BuildRequires: brp-check-suse +BuildRequires: brp-extract-appdata +Requires: update-desktop-files +Requires: brp-check-suse +Requires: brp-extract-appdata +Requires: sed + + + +%description +This package dynamically patches the openSUSE brp script to allow +building of Trinity Desktop Environment (TDE) instead of KDE3. +It should not be installed on runtime computer. + + +%files + +%post +for i in \ + brp-desktop.data/applications.menu \ + brp-desktop.data/kde-settings.menu \ + brp-desktop.data/xdg_menu \ + brp-suse.d/brp-25-symlink \ + brp-suse.d/brp-72-extract-appdata \ + map-desktop-category.sh \ + suse_update_desktop_file.sh \ +; do + echo "Patching file '/usr/lib/rpm/${i}' ..." + [ -r "/usr/lib/rpm/${i}" ] || continue + install -D "/usr/lib/rpm/${i}" "/usr/lib/rpm.orig/${i}" + sed -i "/usr/lib/rpm/${i}" \ + -e "s|opt/kde3|opt/trinity|g" \ + -e "s|kde-config|tde-config|g" \ + -e "s|kdesu|tdesu|g" \ + -e "s|kde-settings-|tde-settings-|g" \ + -e "s|doc/kde|doc/tde|g" \ + -e "s|kde_xdgdata|tde_xdgdata|g" \ + -e "s|applications/kde|applications/tde|g" \ + -e "s|KDE|TDE|g" \ + -e "s|kde-|tde-|g" \ + -e "s|tde-settings.menu|kde-settings.menu|" +done + + +%postun +for i in \ + brp-desktop.data/applications.menu \ + brp-desktop.data/kde-settings.menu \ + brp-desktop.data/xdg_menu \ + brp-suse.d/brp-25-symlink \ + brp-suse.d/brp-72-extract-appdata \ + map-desktop-category.sh \ + suse_update_desktop_file.sh \ +; do + [ -r "/usr/lib/rpm.orig/${i}" ] || continue + echo "Restoring file '/usr/lib/rpm/${i}' ..." + install "/usr/lib/rpm.orig/${i}" "/usr/lib/rpm/${i}" +done +rm -rf "/usr/lib/rpm.orig" + +########## + +%prep + +%build + +%install + +%clean +%__rm -rf %{?buildroot} + + +%changelog diff --git a/redhat/extras/icons-nuvola/icons-nuvola-14.0.0.spec b/redhat/extras/icons-nuvola/icons-nuvola-14.0.0.spec deleted file mode 100644 index f3547a475..000000000 --- a/redhat/extras/icons-nuvola/icons-nuvola-14.0.0.spec +++ /dev/null @@ -1,115 +0,0 @@ -# -# spec file for package icons-nuvola (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 icons-nuvola -%if "%{?tde_version}" == "" -%define tde_version 14.0.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: Nuvola icons for TDE Desktop -Version: 1.0 -Release: %{?!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: icons-nuvola-14.0.0.tar.bz2 - -BuildArch: noarch - -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 - -BuildRequires: gettext - - -%description -Nuvola SVG evolution of SKY icon theme. - - NUVOLA is an SVG based icon theme. - This mean that all icons where designed with a vector graphics software and - then exported to SVG. - Icons of the TDE version of Nuvola are PNG images (unscalable). - SVG files are available (not always updated) on my web site in the "svg" - section. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n nuvola - - -%build - - -%install -install -d -m 755 %{buildroot}%{tde_datadir}/icons/nuvola -install -d -m 755 %{buildroot}%{tde_datadir}/icons/nuvola/16x16 -install -d -m 755 %{buildroot}%{tde_datadir}/icons/nuvola/32x32 -install -d -m 755 %{buildroot}%{tde_datadir}/icons/nuvola/48x48 -install -d -m 755 %{buildroot}%{tde_datadir}/icons/nuvola/64x64 -install -d -m 755 %{buildroot}%{tde_datadir}/icons/nuvola/128x128 -rm -f thanks.to~ -cp -fr * %{buildroot}%{tde_datadir}/icons/nuvola/ - - -%clean -%__rm -rf %{buildroot} - - - - -%files -%defattr(-,root,root,-) -%doc author license.txt readme.txt -%{tde_datadir}/icons/nuvola/ - - -%changelog diff --git a/redhat/extras/icons-nuvola/icons-nuvola.spec b/redhat/extras/icons-nuvola/icons-nuvola.spec new file mode 100644 index 000000000..eff4527e3 --- /dev/null +++ b/redhat/extras/icons-nuvola/icons-nuvola.spec @@ -0,0 +1,115 @@ +# +# spec file for package icons-nuvola (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 icons-nuvola +%if "%{?tde_version}" == "" +%define tde_version 14.0.7 +%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: Nuvola icons for TDE Desktop +Version: 1.0 +Release: %{?!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: icons-nuvola-14.0.0.tar.bz2 + +BuildArch: noarch + +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 + +BuildRequires: gettext + + +%description +Nuvola SVG evolution of SKY icon theme. + + NUVOLA is an SVG based icon theme. + This mean that all icons where designed with a vector graphics software and + then exported to SVG. + Icons of the TDE version of Nuvola are PNG images (unscalable). + SVG files are available (not always updated) on my web site in the "svg" + section. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n nuvola + + +%build + + +%install +install -d -m 755 %{buildroot}%{tde_datadir}/icons/nuvola +install -d -m 755 %{buildroot}%{tde_datadir}/icons/nuvola/16x16 +install -d -m 755 %{buildroot}%{tde_datadir}/icons/nuvola/32x32 +install -d -m 755 %{buildroot}%{tde_datadir}/icons/nuvola/48x48 +install -d -m 755 %{buildroot}%{tde_datadir}/icons/nuvola/64x64 +install -d -m 755 %{buildroot}%{tde_datadir}/icons/nuvola/128x128 +rm -f thanks.to~ +cp -fr * %{buildroot}%{tde_datadir}/icons/nuvola/ + + +%clean +%__rm -rf %{buildroot} + + + + +%files +%defattr(-,root,root,-) +%doc author license.txt readme.txt +%{tde_datadir}/icons/nuvola/ + + +%changelog diff --git a/redhat/extras/kdevmon/kdevmon-14.0.0.spec b/redhat/extras/kdevmon/kdevmon-14.0.0.spec deleted file mode 100644 index d06d0c0ea..000000000 --- a/redhat/extras/kdevmon/kdevmon-14.0.0.spec +++ /dev/null @@ -1,150 +0,0 @@ -# -# spec file for package kdevmon (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 kdevmon -%if "%{?tde_version}" == "" -%define tde_version 14.0.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: A utility for monitoring the throughput of one network device -Version: 0.4.6 -Release: %{?!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: %{tde_pkg}-%{tde_version}.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-arts-devel >= 2:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: gettext - - -%description -Kdevmon is a utility for TDE that monitors the throughput of a network device. -It docks in Kicker (the panel of TDE) and shows the current network traffic -as a diagram. There also is a resizable main window that provides a larger -traffic diagram and displays the current net speed in bits per second. -Middle-clicking on the dock window or on the main window offers -you an overview of the amount of incoming/outgoing bits and the current and -the maximum bit rate. - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{tde_pkg}-%{version} - -%__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} \ - --docdir=%{tde_tdedocdir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --enable-final \ - --enable-closure \ - --enable-rpath \ - --disable-gcc-hidden-visibility - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%clean -%__rm -rf %{buildroot} - - -%post -for f in locolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig - - -%postun -for f in locolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig - - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/kdevmon -%{tde_datadir}/applnk/Internet/kdevmon.desktop -%{tde_tdedocdir}/HTML/en/kdevmon/ -%{tde_datadir}/icons/locolor/16x16/apps/kdevmon.png -%{tde_datadir}/icons/locolor/32x32/apps/kdevmon.png - - -%changelog diff --git a/redhat/extras/kdevmon/kdevmon.spec b/redhat/extras/kdevmon/kdevmon.spec new file mode 100644 index 000000000..b2aab09f9 --- /dev/null +++ b/redhat/extras/kdevmon/kdevmon.spec @@ -0,0 +1,150 @@ +# +# spec file for package kdevmon (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 kdevmon +%if "%{?tde_version}" == "" +%define tde_version 14.0.7 +%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: A utility for monitoring the throughput of one network device +Version: 0.4.6 +Release: %{?!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: %{tde_pkg}-%{tde_version}.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= %{tde_version} +BuildRequires: trinity-arts-devel >= 2:1.5.10 +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: gettext + + +%description +Kdevmon is a utility for TDE that monitors the throughput of a network device. +It docks in Kicker (the panel of TDE) and shows the current network traffic +as a diagram. There also is a resizable main window that provides a larger +traffic diagram and displays the current net speed in bits per second. +Middle-clicking on the dock window or on the main window offers +you an overview of the amount of incoming/outgoing bits and the current and +the maximum bit rate. + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{tde_pkg}-%{version} + +%__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} \ + --docdir=%{tde_tdedocdir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + \ + --disable-dependency-tracking \ + --disable-debug \ + --enable-new-ldflags \ + --enable-final \ + --enable-closure \ + --enable-rpath \ + --disable-gcc-hidden-visibility + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%clean +%__rm -rf %{buildroot} + + +%post +for f in locolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +/sbin/ldconfig + + +%postun +for f in locolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +/sbin/ldconfig + + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/kdevmon +%{tde_datadir}/applnk/Internet/kdevmon.desktop +%{tde_tdedocdir}/HTML/en/kdevmon/ +%{tde_datadir}/icons/locolor/16x16/apps/kdevmon.png +%{tde_datadir}/icons/locolor/32x32/apps/kdevmon.png + + +%changelog diff --git a/redhat/extras/klibido/klibido-14.0.0.spec b/redhat/extras/klibido/klibido-14.0.0.spec deleted file mode 100644 index be9338c85..000000000 --- a/redhat/extras/klibido/klibido-14.0.0.spec +++ /dev/null @@ -1,143 +0,0 @@ -# -# spec file for package klibido (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 klibido -%if "%{?tde_version}" == "" -%define tde_version 14.0.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: A TDE usenet news grabber for Linux. -Version: 0.2.5 -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} - -License: GPL -Group: Applications/Network - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://klibido.sourceforge.net/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{tde_pkg}-%{tde_version}.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-arts-devel >= 2:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: desktop-file-utils - -BuildRequires: uulib-devel - - -%description -KLibido is a TDE program to download encoded articles from the usenet news -service, using the nntp protocol. It supports multiple servers, multiple -download threads per server, automatic joining and decoding of articles. - -KLibido is not a NewsReader. It doesn't let you easily display the articles - -only their subject, and it discards all non-binary posts. If you want a nice -newsreader for TDE, try KNode. - -%files -%defattr(-,root,root) -%doc AUTHORS ChangeLog COPYING INSTALL NEWS README RELEASE TODO -%{tde_bindir}/klibido -%{tde_tdeappdir}/klibido.desktop -%{tde_datadir}/apps/klibido/ -%{tde_datadir}/doc/tde/HTML/en/klibido/ -%{tde_datadir}/icons/hicolor/*/apps/klibido.png -%lang(fr) %{tde_datadir}/locale/fr/LC_MESSAGES/klibido.mo - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{tde_pkg}-%{version} - -%__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 [ -r /usr/include/db53/db_cxx.h ]; then - EXTRA_INCLUDES="/usr/include/db53" -fi - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-final \ - --enable-new-ldflags \ - --enable-closure \ - --enable-rpath \ - --disable-gcc-hidden-visibility \ - \ - --with-extra-includes=%{_includedir}/uulib:${EXTRA_INCLUDES} - -%__make %{?_smp_mflags} || %__make - - -%install -%__rm -rf $RPM_BUILD_ROOT -%__make install DESTDIR=$RPM_BUILD_ROOT - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file klibido News -%endif - - -%clean -rm -rf $RPM_BUILD_ROOT - - -%changelog diff --git a/redhat/extras/klibido/klibido.spec b/redhat/extras/klibido/klibido.spec new file mode 100644 index 000000000..86a8323cd --- /dev/null +++ b/redhat/extras/klibido/klibido.spec @@ -0,0 +1,143 @@ +# +# spec file for package klibido (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 klibido +%if "%{?tde_version}" == "" +%define tde_version 14.0.7 +%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: A TDE usenet news grabber for Linux. +Version: 0.2.5 +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} + +License: GPL +Group: Applications/Network + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://klibido.sourceforge.net/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{tde_pkg}-%{tde_version}.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= %{tde_version} +BuildRequires: trinity-arts-devel >= 2:1.5.10 +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: desktop-file-utils + +BuildRequires: uulib-devel + + +%description +KLibido is a TDE program to download encoded articles from the usenet news +service, using the nntp protocol. It supports multiple servers, multiple +download threads per server, automatic joining and decoding of articles. + +KLibido is not a NewsReader. It doesn't let you easily display the articles - +only their subject, and it discards all non-binary posts. If you want a nice +newsreader for TDE, try KNode. + +%files +%defattr(-,root,root) +%doc AUTHORS ChangeLog COPYING INSTALL NEWS README RELEASE TODO +%{tde_bindir}/klibido +%{tde_tdeappdir}/klibido.desktop +%{tde_datadir}/apps/klibido/ +%{tde_datadir}/doc/tde/HTML/en/klibido/ +%{tde_datadir}/icons/hicolor/*/apps/klibido.png +%lang(fr) %{tde_datadir}/locale/fr/LC_MESSAGES/klibido.mo + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{tde_pkg}-%{version} + +%__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 [ -r /usr/include/db53/db_cxx.h ]; then + EXTRA_INCLUDES="/usr/include/db53" +fi + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + \ + --disable-dependency-tracking \ + --disable-debug \ + --enable-final \ + --enable-new-ldflags \ + --enable-closure \ + --enable-rpath \ + --disable-gcc-hidden-visibility \ + \ + --with-extra-includes=%{_includedir}/uulib:${EXTRA_INCLUDES} + +%__make %{?_smp_mflags} || %__make + + +%install +%__rm -rf $RPM_BUILD_ROOT +%__make install DESTDIR=$RPM_BUILD_ROOT + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file klibido News +%endif + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%changelog diff --git a/redhat/extras/kompose/kompose-14.0.0.spec b/redhat/extras/kompose/kompose-14.0.0.spec deleted file mode 100644 index 74719a3bf..000000000 --- a/redhat/extras/kompose/kompose-14.0.0.spec +++ /dev/null @@ -1,151 +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/ -# - -# Default version for this component -%define tde_pkg kompose -%if "%{?tde_version}" == "" -%define tde_version 14.0.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: Full-Screen Task Manager for TDE -Version: 0.5.3 -Release: %{?!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: %{tde_pkg}-%{tde_version}.tar.gz - -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 - -BuildRequires: gettext -BuildRequires: imlib2-devel - - -%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%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{tde_pkg}-%{version} - -%__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}" - -# Warning: --enable-final causes FTBFS -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --docdir=%{tde_tdedocdir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --disable-final \ - --enable-closure \ - --enable-rpath \ - --disable-gcc-hidden-visibility - -%__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} - - -%post -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig - - -%postun -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc TODO README AUTHORS ChangeLog COPYING -%{tde_bindir}/kompose -%{tde_datadir}/applnk/Utilities/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/extras/kompose/kompose.spec b/redhat/extras/kompose/kompose.spec new file mode 100644 index 000000000..eb86cbeb7 --- /dev/null +++ b/redhat/extras/kompose/kompose.spec @@ -0,0 +1,151 @@ +# +# 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/ +# + +# Default version for this component +%define tde_pkg kompose +%if "%{?tde_version}" == "" +%define tde_version 14.0.7 +%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: Full-Screen Task Manager for TDE +Version: 0.5.3 +Release: %{?!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: %{tde_pkg}-%{tde_version}.tar.gz + +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 + +BuildRequires: gettext +BuildRequires: imlib2-devel + + +%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%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{tde_pkg}-%{version} + +%__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}" + +# Warning: --enable-final causes FTBFS +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --docdir=%{tde_tdedocdir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + \ + --disable-dependency-tracking \ + --disable-debug \ + --enable-new-ldflags \ + --disable-final \ + --enable-closure \ + --enable-rpath \ + --disable-gcc-hidden-visibility + +%__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} + + +%post +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +/sbin/ldconfig + + +%postun +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +/sbin/ldconfig + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%doc TODO README AUTHORS ChangeLog COPYING +%{tde_bindir}/kompose +%{tde_datadir}/applnk/Utilities/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/extras/koverartist/koverartist-14.0.0.spec b/redhat/extras/koverartist/koverartist-14.0.0.spec deleted file mode 100644 index d638d93a2..000000000 --- a/redhat/extras/koverartist/koverartist-14.0.0.spec +++ /dev/null @@ -1,154 +0,0 @@ -# -# spec file for package koverartist (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 koverartist -%if "%{?tde_version}" == "" -%define tde_version 14.0.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: Fast Creation of CD/DVD Covers -Version: 0.5 -Release: %{?!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: %{tde_pkg}-%{tde_version}.tar.gz - -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 - -BuildRequires: gettext - - -%description -KoverArtist is a program for the fast creation of covers for -cd/dvd cases and boxes. The main idea behind it is to be able -to create decent looking covers with some mouseclicks. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{tde_pkg}-%{version} - -%__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} \ - --docdir=%{tde_tdedocdir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --enable-final \ - --enable-closure \ - --enable-rpath \ - --disable-gcc-hidden-visibility - -%__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} - - -%post -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig - - -%postun -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%{tde_bindir}/koverartist -%{tde_datadir}/applnk/Multimedia/koverartist.desktop -%{tde_datadir}/apps/koverartist/ -%{tde_tdedocdir}/HTML/en/koverartist/ -%{tde_datadir}/icons/hicolor/128x128/apps/koverartist.png -%{tde_datadir}/icons/hicolor/16x16/apps/koverartist.png -%{tde_datadir}/icons/hicolor/22x22/apps/koverartist.png -%{tde_datadir}/icons/hicolor/32x32/apps/koverartist.png -%{tde_datadir}/icons/hicolor/48x48/apps/koverartist.png -%{tde_datadir}/icons/hicolor/64x64/apps/koverartist.png -%{tde_datadir}/mimelnk/application/x-koverartist.desktop - - -%changelog diff --git a/redhat/extras/koverartist/koverartist.spec b/redhat/extras/koverartist/koverartist.spec new file mode 100644 index 000000000..84c199bb2 --- /dev/null +++ b/redhat/extras/koverartist/koverartist.spec @@ -0,0 +1,154 @@ +# +# spec file for package koverartist (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 koverartist +%if "%{?tde_version}" == "" +%define tde_version 14.0.7 +%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: Fast Creation of CD/DVD Covers +Version: 0.5 +Release: %{?!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: %{tde_pkg}-%{tde_version}.tar.gz + +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 + +BuildRequires: gettext + + +%description +KoverArtist is a program for the fast creation of covers for +cd/dvd cases and boxes. The main idea behind it is to be able +to create decent looking covers with some mouseclicks. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{tde_pkg}-%{version} + +%__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} \ + --docdir=%{tde_tdedocdir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + \ + --disable-dependency-tracking \ + --disable-debug \ + --enable-new-ldflags \ + --enable-final \ + --enable-closure \ + --enable-rpath \ + --disable-gcc-hidden-visibility + +%__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} + + +%post +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +/sbin/ldconfig + + +%postun +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +/sbin/ldconfig + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%{tde_bindir}/koverartist +%{tde_datadir}/applnk/Multimedia/koverartist.desktop +%{tde_datadir}/apps/koverartist/ +%{tde_tdedocdir}/HTML/en/koverartist/ +%{tde_datadir}/icons/hicolor/128x128/apps/koverartist.png +%{tde_datadir}/icons/hicolor/16x16/apps/koverartist.png +%{tde_datadir}/icons/hicolor/22x22/apps/koverartist.png +%{tde_datadir}/icons/hicolor/32x32/apps/koverartist.png +%{tde_datadir}/icons/hicolor/48x48/apps/koverartist.png +%{tde_datadir}/icons/hicolor/64x64/apps/koverartist.png +%{tde_datadir}/mimelnk/application/x-koverartist.desktop + + +%changelog diff --git a/redhat/extras/kpacman/kpacman-14.0.0.spec b/redhat/extras/kpacman/kpacman-14.0.0.spec deleted file mode 100644 index 64b54ba35..000000000 --- a/redhat/extras/kpacman/kpacman-14.0.0.spec +++ /dev/null @@ -1,158 +0,0 @@ -# -# spec file for package kpacman (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 kpacman -%if "%{?tde_version}" == "" -%define tde_version 14.0.0 -%endif - -# TDE specific building variables -%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_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: A pacman game for the Trinity Desktop. -Version: 0.3.2 -Release: %{?!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: %{tde_pkg}-%{tde_version}.tar.gz - -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 - -BuildRequires: trinity-libtdegames-devel >= %{tde_version} - -BuildRequires: gettext - - -%description -Pacman is a legendary game with an enthusiastic following from around -the world. Since its introduction in 1980, Pacman's image has been -splashed across magazine covers, television screens, T-shirts, and -bumper stickers. Created by Japan's Namco, and distributed in the -United States by Bally, Pacman is an icon of 1980's popular culture - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{tde_pkg}-%{version} - -%__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 kde_confdir="%{tde_confdir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --docdir=%{tde_tdedocdir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --enable-final \ - --enable-closure \ - --enable-rpath \ - --disable-gcc-hidden-visibility - -%__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} - - -%post -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig - - -%postun -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig - - -%files -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING README TODO -%{tde_bindir}/kpacman -%{tde_datadir}/applnk/Games/kpacman.desktop -%{tde_datadir}/apps/kpacman/ -%{tde_confdir}/kpacmanrc -%lang(de) %{tde_tdedocdir}/HTML/de/kpacman/ -%{tde_tdedocdir}/HTML/en/kpacman/ -%{tde_datadir}/icons/hicolor/16x16/apps/kpacman.png -%{tde_datadir}/icons/hicolor/32x32/apps/kpacman.png -%{tde_datadir}/icons/locolor/16x16/apps/kpacman.png -%{tde_datadir}/icons/locolor/32x32/apps/kpacman.png - - -%changelog diff --git a/redhat/extras/kpacman/kpacman.spec b/redhat/extras/kpacman/kpacman.spec new file mode 100644 index 000000000..f52e1c076 --- /dev/null +++ b/redhat/extras/kpacman/kpacman.spec @@ -0,0 +1,158 @@ +# +# spec file for package kpacman (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 kpacman +%if "%{?tde_version}" == "" +%define tde_version 14.0.7 +%endif + +# TDE specific building variables +%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_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: A pacman game for the Trinity Desktop. +Version: 0.3.2 +Release: %{?!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: %{tde_pkg}-%{tde_version}.tar.gz + +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 + +BuildRequires: trinity-libtdegames-devel >= %{tde_version} + +BuildRequires: gettext + + +%description +Pacman is a legendary game with an enthusiastic following from around +the world. Since its introduction in 1980, Pacman's image has been +splashed across magazine covers, television screens, T-shirts, and +bumper stickers. Created by Japan's Namco, and distributed in the +United States by Bally, Pacman is an icon of 1980's popular culture + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{tde_pkg}-%{version} + +%__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 kde_confdir="%{tde_confdir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --docdir=%{tde_tdedocdir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + \ + --disable-dependency-tracking \ + --disable-debug \ + --enable-new-ldflags \ + --enable-final \ + --enable-closure \ + --enable-rpath \ + --disable-gcc-hidden-visibility + +%__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} + + +%post +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +/sbin/ldconfig + + +%postun +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +/sbin/ldconfig + + +%files -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING README TODO +%{tde_bindir}/kpacman +%{tde_datadir}/applnk/Games/kpacman.desktop +%{tde_datadir}/apps/kpacman/ +%{tde_confdir}/kpacmanrc +%lang(de) %{tde_tdedocdir}/HTML/de/kpacman/ +%{tde_tdedocdir}/HTML/en/kpacman/ +%{tde_datadir}/icons/hicolor/16x16/apps/kpacman.png +%{tde_datadir}/icons/hicolor/32x32/apps/kpacman.png +%{tde_datadir}/icons/locolor/16x16/apps/kpacman.png +%{tde_datadir}/icons/locolor/32x32/apps/kpacman.png + + +%changelog diff --git a/redhat/extras/style-ia-ora/style-ia-ora-14.0.0.spec b/redhat/extras/style-ia-ora/style-ia-ora-14.0.0.spec deleted file mode 100644 index bdf009862..000000000 --- a/redhat/extras/style-ia-ora/style-ia-ora-14.0.0.spec +++ /dev/null @@ -1,116 +0,0 @@ -# Default version for this component -%define tde_pkg style-ia-ora -%define tde_version 14.0.0 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_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: Mandriva theme for TDE - Widget design -Version: 1.0.8 -Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant} - -License: GPL -Group: Environment/Desktop -URL: http://www.mandrivalinux.com/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{tde_pkg}-%{tde_version}.tar.gz - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} - -Requires: trinity-twin - -%description -Mandriva theme for Trinity - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n ia_ora-kde-%{version} - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - \ - --enable-rpath \ - --enable-closure \ - --disable-dependency-tracking \ - --enable-new-ldflags \ - --enable-final \ - --enable-shared \ - --disable-static - -%__make %{?_smp_mflags} - - -%install -%__rm -rf %{buildroot} -%__make install DESTDIR=%{?buildroot} - -# Removes useless files -%__rm -f %{?buildroot}%{tde_tdelibdir}/*.a -%__rm -f %{?buildroot}%{tde_tdelibdir}/plugins/styles/*.a - - -%clean -%__rm -rf %{buildroot} - - -%files -%defattr(-,root,root,-) -%{tde_tdelibdir}/twin3_iaora.la -%{tde_tdelibdir}/twin3_iaora.so -%{tde_tdelibdir}/twin_iaora_config.la -%{tde_tdelibdir}/twin_iaora_config.so -%{tde_tdelibdir}/plugins/styles/ia_ora.la -%{tde_tdelibdir}/plugins/styles/ia_ora.so -%{tde_datadir}/apps/kstyle/themes/ia_ora.themerc -%{tde_datadir}/apps/twin/iaora.desktop - - - - -%changelog -* Sat Jan 19 2013 Francois Andriot - 1.0.8-4 -- Initial release for TDE 14.0.0 diff --git a/redhat/extras/style-ia-ora/style-ia-ora.spec b/redhat/extras/style-ia-ora/style-ia-ora.spec new file mode 100644 index 000000000..351771520 --- /dev/null +++ b/redhat/extras/style-ia-ora/style-ia-ora.spec @@ -0,0 +1,114 @@ +# Default version for this component +%define tde_pkg style-ia-ora +%define tde_version 14.0.7 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_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: Mandriva theme for TDE - Widget design +Version: 1.0.8 +Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant} + +License: GPL +Group: Environment/Desktop +URL: http://www.mandrivalinux.com/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{tde_pkg}-%{tde_version}.tar.gz + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} + +Requires: trinity-twin + +%description +Mandriva theme for Trinity + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n ia_ora-kde-%{version} + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + \ + --enable-rpath \ + --enable-closure \ + --disable-dependency-tracking \ + --enable-new-ldflags \ + --enable-final \ + --enable-shared \ + --disable-static + +%__make %{?_smp_mflags} + + +%install +%__rm -rf %{buildroot} +%__make install DESTDIR=%{?buildroot} + +# Removes useless files +%__rm -f %{?buildroot}%{tde_tdelibdir}/*.a +%__rm -f %{?buildroot}%{tde_tdelibdir}/plugins/styles/*.a + + +%clean +%__rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%{tde_tdelibdir}/twin3_iaora.la +%{tde_tdelibdir}/twin3_iaora.so +%{tde_tdelibdir}/twin_iaora_config.la +%{tde_tdelibdir}/twin_iaora_config.so +%{tde_tdelibdir}/plugins/styles/ia_ora.la +%{tde_tdelibdir}/plugins/styles/ia_ora.so +%{tde_datadir}/apps/kstyle/themes/ia_ora.themerc +%{tde_datadir}/apps/twin/iaora.desktop + + + + +%changelog diff --git a/redhat/extras/trinity-desktop/trinity-3.5.13-fedora.repo b/redhat/extras/trinity-desktop/trinity-3.5.13-fedora.repo index 7a292aa39..05e45748c 100644 --- a/redhat/extras/trinity-desktop/trinity-3.5.13-fedora.repo +++ b/redhat/extras/trinity-desktop/trinity-3.5.13-fedora.repo @@ -1,23 +1,23 @@ [trinity-3.5.13] name=trinity-3.5.13 -#baseurl=http://mirror.ppa.trinitydesktop.org/trinity/trinity/rpm/f$releasever/trinity-3.5.13/RPMS/$basearch -mirrorlist=http://mirror.ppa.trinitydesktop.org/trinity/trinity/rpm/f$releasever/trinity-3.5.13-$basearch.list +#baseurl=http://mirror.ppa.trinitydesktop.org/trinity/rpm/f$releasever/trinity-3.5.13/RPMS/$basearch +mirrorlist=http://mirror.ppa.trinitydesktop.org/trinity/rpm/f$releasever/trinity-3.5.13-$basearch.list enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-trinity [trinity-3.5.13-noarch] name=trinity-3.5.13-noarch -#baseurl=http://mirror.ppa.trinitydesktop.org/trinity/trinity/rpm/f$releasever/trinity-3.5.13/RPMS/noarch -mirrorlist=http://mirror.ppa.trinitydesktop.org/trinity/trinity/rpm/f$releasever/trinity-3.5.13-noarch.list +#baseurl=http://mirror.ppa.trinitydesktop.org/trinity/rpm/f$releasever/trinity-3.5.13/RPMS/noarch +mirrorlist=http://mirror.ppa.trinitydesktop.org/trinity/rpm/f$releasever/trinity-3.5.13-noarch.list enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-trinity [trinity-3.5.13-source] name=trinity-3.5.13-source -#baseurl=http://mirror.ppa.trinitydesktop.org/trinity/trinity/rpm/f$releasever/trinity-3.5.13/SRPMS -mirrorlist=http://mirror.ppa.trinitydesktop.org/trinity/trinity/rpm/f$releasever/trinity-3.5.13-SRPMS.list +#baseurl=http://mirror.ppa.trinitydesktop.org/trinity/rpm/f$releasever/trinity-3.5.13/SRPMS +mirrorlist=http://mirror.ppa.trinitydesktop.org/trinity/rpm/f$releasever/trinity-3.5.13-SRPMS.list enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-trinity diff --git a/redhat/extras/trinity-desktop/trinity-3.5.13-rhel.repo b/redhat/extras/trinity-desktop/trinity-3.5.13-rhel.repo index f415f006a..7ce5d3e31 100644 --- a/redhat/extras/trinity-desktop/trinity-3.5.13-rhel.repo +++ b/redhat/extras/trinity-desktop/trinity-3.5.13-rhel.repo @@ -1,23 +1,23 @@ [trinity-3.5.13] name=trinity-3.5.13 -#baseurl=http://mirror.ppa.trinitydesktop.org/trinity/trinity/rpm/el$releasever/trinity-3.5.13/RPMS/$basearch -mirrorlist=http://mirror.ppa.trinitydesktop.org/trinity/trinity/rpm/el$releasever/trinity-3.5.13-$basearch.list +#baseurl=http://mirror.ppa.trinitydesktop.org/trinity/rpm/el$releasever/trinity-3.5.13/RPMS/$basearch +mirrorlist=http://mirror.ppa.trinitydesktop.org/trinity/rpm/el$releasever/trinity-3.5.13-$basearch.list enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-trinity [trinity-3.5.13-noarch] name=trinity-3.5.13-noarch -#baseurl=http://mirror.ppa.trinitydesktop.org/trinity/trinity/rpm/el$releasever/trinity-3.5.13/RPMS/noarch -mirrorlist=http://mirror.ppa.trinitydesktop.org/trinity/trinity/rpm/el$releasever/trinity-3.5.13-noarch.list +#baseurl=http://mirror.ppa.trinitydesktop.org/trinity/rpm/el$releasever/trinity-3.5.13/RPMS/noarch +mirrorlist=http://mirror.ppa.trinitydesktop.org/trinity/rpm/el$releasever/trinity-3.5.13-noarch.list enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-trinity [trinity-3.5.13-source] name=trinity-3.5.13-noarch -#baseurl=http://mirror.ppa.trinitydesktop.org/trinity/trinity/rpm/el$releasever/trinity-3.5.13/SRPMS -mirrorlist=http://mirror.ppa.trinitydesktop.org/trinity/trinity/rpm/el$releasever/trinity-3.5.13-SRPMS.list +#baseurl=http://mirror.ppa.trinitydesktop.org/trinity/rpm/el$releasever/trinity-3.5.13/SRPMS +mirrorlist=http://mirror.ppa.trinitydesktop.org/trinity/rpm/el$releasever/trinity-3.5.13-SRPMS.list enabled=0 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-trinity diff --git a/redhat/extras/trinity-desktop/trinity-desktop-14.0.0.spec b/redhat/extras/trinity-desktop/trinity-desktop-14.0.0.spec deleted file mode 100644 index 430a7168a..000000000 --- a/redhat/extras/trinity-desktop/trinity-desktop-14.0.0.spec +++ /dev/null @@ -1,392 +0,0 @@ -# -# spec file for package trinity-desktop (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/ -# - -# Starting with TDE R14.0.0, TDE is not intended to run in RHEL4 and older. -# Minimum (oldest) distribution supported is RHEL5. - -%if "%{?tde_version}" == "" -%define tde_version 14.0.0 -%endif - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _docdir %{_datadir}/doc -%define tde_datadir %{tde_prefix}/share -%endif - -Name: trinity-desktop -Version: %{tde_version} -Release: 1%{?dist} -Summary: Meta-package to install TDE -Group: User Interface/Desktops -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -Vendor: Trinity Project -Packager: Francois Andriot - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildArch: noarch - -Source0: trinity-3.5.13-fedora.repo -Source1: trinity-3.5.13-rhel.repo -Source2: RPM-GPG-KEY-trinity - -Requires: trinity-tdeaccessibility >= %{version} -Requires: trinity-tdeaddons >= %{version} -Requires: trinity-tdeadmin >= %{version} -Requires: trinity-tdeartwork >= %{version} -Requires: trinity-tdebase >= %{version} -Requires: trinity-tdebindings >= %{version} -Requires: trinity-tdeedu >= %{version} -Requires: trinity-tdegames >= %{version} -Requires: trinity-tdegraphics >= %{version} -Requires: trinity-tdemultimedia >= %{version} -Requires: trinity-tdenetwork >= %{version} -Requires: trinity-tdepim >= %{version} -Requires: trinity-tdeutils >= %{version} -Requires: trinity-tdetoys >= %{version} - -%if 0%{?rhel} || 0%{?fedora} -# YUM configuration file -Requires: trinity-repo >= %{version} -%endif - -%description -The TDE project aims to keep the KDE3.5 computing style alive, as well as -polish off any rough edges that were present as of KDE 3.5.10. Along -the way, new useful features will be added to keep the environment -up-to-date. -Toward that end, significant new enhancements have already been made in -areas such as display control, network connectivity, user -authentication, and much more! - -%files - -########## - -%package devel -Group: User Interface/Desktops -Summary: Meta-package to install TDE development tools - -Obsoletes: trinity-desktop-dev < %{version}-%{release} -Provides: trinity-desktop-dev = %{version}-%{release} - -Requires: trinity-tdesdk >= %{version} -Requires: trinity-tdevelop >= %{version} -Requires: trinity-tdewebdev >= %{version} - -%description devel -%{summary} - -%files devel - -########## - -%package applications -Group: User Interface/Desktops -Summary: Meta-package to install all TDE applications - -# Warning, k9copy requires ffmpeg -# Warning, tderadio requires libmp3lame - -Requires: trinity-abakus -Requires: trinity-amarok -Requires: trinity-basket -Requires: trinity-bibletime -Requires: trinity-digikam -Requires: trinity-dolphin -Requires: trinity-filelight -Requires: trinity-gwenview -Requires: trinity-kaffeine -Requires: trinity-kaffeine-mozilla -Requires: trinity-kasablanca -Requires: trinity-katapult -Requires: trinity-kbarcode -Requires: trinity-kbfx -Requires: trinity-kbibtex -Requires: trinity-kbiff -Requires: trinity-kbookreader -Requires: trinity-kchmviewer -Requires: trinity-kcmautostart -Requires: trinity-kcpuload -Requires: trinity-kdbg -Requires: trinity-kdbusnotification -Requires: trinity-kdiff3 -Requires: trinity-kdirstat -Requires: trinity-keep -Requires: trinity-keximdb -Requires: trinity-kftpgrabber -Requires: trinity-kile -Requires: trinity-kiosktool -Requires: trinity-kkbswitch -Requires: trinity-klcddimmer -Requires: trinity-kmplayer -Requires: trinity-kmyfirewall -Requires: trinity-kmymoney -Requires: trinity-knemo -Requires: trinity-knetload -Requires: trinity-knetstats -Requires: trinity-knights -Requires: trinity-knowit -Requires: trinity-knmap -Requires: trinity-knutclient -Requires: trinity-koffice-suite -Requires: trinity-konversation -Requires: trinity-kooldock -Requires: trinity-kopete-otr -Requires: trinity-kpicosim -Requires: trinity-kplayer -Requires: trinity-krecipes -Requires: trinity-krename -Requires: trinity-krusader -Requires: trinity-kscope -Requires: trinity-ksensors -Requires: trinity-ksplash-engine-moodin -Requires: trinity-ksquirrel -Requires: trinity-kshowmail -Requires: trinity-kshutdown -Requires: trinity-kstreamripper -Requires: trinity-ksystemlog -Requires: trinity-ktechlab -Requires: trinity-ktorrent -Requires: trinity-kuickshow -Requires: trinity-kvirc -Requires: trinity-kvkbd -Requires: trinity-kvpnc -Requires: trinity-kxmleditor -Requires: trinity-mplayerthumbs -Requires: trinity-piklab -Requires: trinity-potracegui -Requires: trinity-smb4k -Requires: trinity-smartcardauth -Requires: trinity-soundkonverter -Requires: trinity-tastymenu -Requires: trinity-tde-guidance -Requires: trinity-tde-style-baghira -Requires: trinity-tde-style-domino -Requires: trinity-tde-style-ia-ora -Requires: trinity-tde-style-lipstik -Requires: trinity-tde-style-qtcurve -Requires: trinity-tde-systemsettings -Requires: trinity-tdeio-apt -Requires: trinity-tdeio-ftps -Requires: trinity-tdeio-locate -Requires: trinity-tdeio-sword -Requires: trinity-tdeio-umountwrapper -Requires: trinity-tderadio -Requires: trinity-tdesvn -Requires: trinity-tdmtheme -Requires: trinity-tork -Requires: trinity-twin-style-crystal -Requires: trinity-wlassistant -Requires: trinity-yakuake - -# PCLinuxOS does not have sudo ... -%if 0%{?pclinuxos} == 0 -Requires: trinity-tdesudo -%endif - -# PCLinuxOS and RHEL 5 don't have heimdal ... -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%if 0%{?pclinuxos} == 0 -Requires: trinity-kcmldap -Requires: trinity-kcmldapcontroller -Requires: trinity-kcmldapmanager -Requires: trinity-kerberostray -%endif -%endif - -# RHEL5: UDEV is too old -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -Requires: trinity-k3b -Requires: trinity-k9copy -Requires: trinity-kima -Requires: trinity-kpilot -Requires: trinity-tellico -Requires: trinity-tdepowersave -%endif - -# Network management -# RHEL 6 and openSUSE 11.x: knetworkmanager8 -%if 0%{?suse_version} && 0%{?suse_version} <= 1140 || 0%{?rhel} == 6 -Requires: trinity-knetworkmanager -%endif -# Other distros use tdenetworkmanager (since R14) -%if 0%{?rhel} >= 7 || 0%{?suse_version} >= 1210 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?pclinuxos} || 0%{?fedora} -Requires: trinity-tdenetworkmanager -Obsoletes: trinity-knetworkmanager -Obsoletes: trinity-knetworkmanager8 -%endif - -# Power management -Obsoletes: trinity-tde-guidance-powermanager - -# Decoration-related stuff (not installed by default) -#Requires: trinity-kgtk-qt3 -#Requires: trinity-gtk-qt-engine -#Requires: trinity-gtk3-tqt-engine -#Requires: trinity-qt4-tqt-theme-engine - -# Missing qalculate on older RHEL ... -%if 0%{?rhel} == 0 || 0%{?rhel} >= 7 -Requires: trinity-qalculate-tde -%endif - -# On RHEL 5/7, lilypond is not available, so no rosegarden :'-( -%if 0%{?rhel} == 6 || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?pclinuxos} || 0%{?fedora} -Requires: trinity-rosegarden -%endif - -# Compiz-related stuff does not work (obsolete) -#Requires: trinity-compizconfig-backend-kconfig -#Requires: trinity-desktop-effects-kde -#Requires: trinity-fusion-icon - -# Useless l10n package -#Requires: trinity-filelight-l10n - -# Not even an RPM package ... -#Requires: trinity-konstruct - -# Debian/Ubuntu specific ... -#Requires: trinity-adept - -#Requires: trinity-gwenview-i18n - -# Beagle does not exist anymore, so Kerry is now useless. -#Requires: trinity-kerry - -%description applications -%{summary} - -%files applications - -########## - -%package extras -Group: User Interface/Desktops -Summary: Meta-package to install all extras (unofficial) TDE packages - -Requires: trinity-icons-crystalsvg-updated -Requires: trinity-icons-kfaenza -Requires: trinity-icons-nuvola -Requires: trinity-icons-oxygen -#Requires: trinity-kickoff-i18n -#Requires: trinity-kcheckgmail -#Requires: trinity-kdebluetooth -Requires: trinity-kdevmon -Requires: trinity-kdissert -Requires: trinity-kompose -Requires: trinity-koverartist -Requires: trinity-kpacman -Requires: trinity-mathemagics -#Requires: trinity-tdeio-sysinfo-plugin - -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -Requires: trinity-klibido -%endif - - -%description extras -%{summary} - -%files extras - -########## - -%package all -Group: User Interface/Desktops -Summary: Meta-package to install all TDE packages - -Requires: %{name} = %{version} -Requires: %{name}-applications = %{version} -Requires: %{name}-devel = %{version} -#Requires: %{name}-extras = %{version} - -%description all -%{summary} - -%files all - -########## - -%if 0%{?rhel} || 0%{?fedora} -%package -n trinity-repo -Group: User Interface/Desktops -Summary: Yum configuration files for Trinity -Requires(pre): coreutils - -%description -n trinity-repo -%{summary} - -%pre -n trinity-repo -# Make sure every Trinity related repository is deleted before installing new one. -%__rm -f %{_sysconfdir}/yum.repos.d/trinity-*.repo - -%files -n trinity-repo -%defattr(-,root,root,-) -%{_sysconfdir}/yum.repos.d/*.repo -%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-trinity -%endif - -########## - -%prep - - -%build - - -%install -%__rm -rf %{?buildroot} -%__mkdir_p "%{?buildroot}%{_sysconfdir}/yum.repos.d" - -# FEDORA configuration for YUM -%if 0%{?fedora} -%__sed %{SOURCE0} \ - -e 's/\$releasever/%{fedora}/g' \ - -e 's/-fedora/-f%{fedora}/g' \ - >"%{?buildroot}%{_sysconfdir}/yum.repos.d/trinity.repo" -%endif - -# RHEL configuration for YUM -# $releasever is replaced with its value -%if 0%{?rhel} -%__sed %{SOURCE1} \ - -e 's/\$releasever/%{rhel}/g' \ - >"%{?buildroot}%{_sysconfdir}/yum.repos.d/trinity.repo" -%endif - -%if 0%{?fedora} || 0%{?rhel} -%__sed -i %{?buildroot}%{_sysconfdir}/yum.repos.d/*.repo -e "s|3.5.13|r14|g" -%__chmod 644 %{?buildroot}%{_sysconfdir}/yum.repos.d/*.repo -%endif - -# RPM signing key -%if 0%{?rhel} || 0%{?fedora} -%__install -D -m 644 "%{SOURCE2}" "%{?buildroot}%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-trinity" -%endif - - -%changelog diff --git a/redhat/extras/trinity-desktop/trinity-desktop.spec b/redhat/extras/trinity-desktop/trinity-desktop.spec new file mode 100644 index 000000000..5766196c3 --- /dev/null +++ b/redhat/extras/trinity-desktop/trinity-desktop.spec @@ -0,0 +1,355 @@ +# +# spec file for package trinity-desktop (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 "%{?tde_version}" == "" +%define tde_version 14.0.7 +%endif + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _docdir %{_datadir}/doc +%define tde_datadir %{tde_prefix}/share +%endif + +Name: trinity-desktop +Version: %{tde_version} +Release: 1%{?dist} +Summary: Meta-package to install TDE +Group: User Interface/Desktops +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +Vendor: Trinity Project +Packager: Francois Andriot + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch + +Source0: trinity-3.5.13-fedora.repo +Source1: trinity-3.5.13-rhel.repo +Source2: RPM-GPG-KEY-trinity + +Requires: trinity-tdeaccessibility >= %{version} +Requires: trinity-tdeaddons >= %{version} +Requires: trinity-tdeadmin >= %{version} +Requires: trinity-tdeartwork >= %{version} +Requires: trinity-tdebase >= %{version} +Requires: trinity-tdebindings >= %{version} +Requires: trinity-tdeedu >= %{version} +Requires: trinity-tdegames >= %{version} +Requires: trinity-tdegraphics >= %{version} +Requires: trinity-tdemultimedia >= %{version} +Requires: trinity-tdenetwork >= %{version} +Requires: trinity-tdepim >= %{version} +Requires: trinity-tdetoys >= %{version} +Requires: trinity-tdeutils >= %{version} + +%if 0%{?rhel} || 0%{?fedora} +# YUM configuration file +Requires: trinity-repo >= %{version} +%endif + +%description +The TDE project aims to keep the KDE3.5 computing style alive, as well as +polish off any rough edges that were present as of KDE 3.5.10. Along +the way, new useful features will be added to keep the environment +up-to-date. +Toward that end, significant new enhancements have already been made in +areas such as display control, network connectivity, user +authentication, and much more! + +%files + +########## + +%package devel +Group: User Interface/Desktops +Summary: Meta-package to install TDE development tools + +Requires: trinity-tdesdk >= %{version} +Requires: trinity-tdevelop >= %{version} +Requires: trinity-tdewebdev >= %{version} + +%description devel +%{summary} + +%files devel + +########## + +%package applications +Group: User Interface/Desktops +Summary: Meta-package to install all TDE applications + +# Warning, k9copy requires ffmpeg + +Requires: trinity-abakus +Requires: trinity-amarok +Requires: trinity-basket +Requires: trinity-bibletime +Requires: trinity-digikam +Requires: trinity-dolphin +Requires: trinity-filelight +Requires: trinity-gwenview +Requires: trinity-k3b +Requires: trinity-k9copy +Requires: trinity-kaffeine +Requires: trinity-kaffeine-mozilla +Requires: trinity-kasablanca +Requires: trinity-katapult +Requires: trinity-kbarcode +Requires: trinity-kbfx +Requires: trinity-kbibtex +Requires: trinity-kbiff +Requires: trinity-kbookreader +Requires: trinity-kchmviewer +Requires: trinity-kcmautostart +Requires: trinity-kcmldap +Requires: trinity-kcmldapcontroller +Requires: trinity-kcmldapmanager +Requires: trinity-kcpuload +Requires: trinity-kdbg +Requires: trinity-kdbusnotification +Requires: trinity-kdiff3 +Requires: trinity-kdirstat +Requires: trinity-keep +Requires: trinity-kerberostray +Requires: trinity-kftpgrabber +Requires: trinity-kile +Requires: trinity-kima +Requires: trinity-kiosktool +Requires: trinity-kkbswitch +Requires: trinity-klcddimmer +Requires: trinity-kmplayer +Requires: trinity-kmyfirewall +Requires: trinity-kmymoney +Requires: trinity-knemo +Requires: trinity-knetload +Requires: trinity-knetstats +Requires: trinity-knights +Requires: trinity-knowit +Requires: trinity-knmap +Requires: trinity-knutclient +Requires: trinity-koffice-suite +Requires: trinity-konversation +Requires: trinity-kopete-otr +Requires: trinity-kpicosim +Requires: trinity-kpilot +Requires: trinity-krecipes +Requires: trinity-krename +Requires: trinity-krusader +Requires: trinity-kscope +Requires: trinity-ksensors +Requires: trinity-ksplash-engine-moodin +Requires: trinity-ksquirrel +Requires: trinity-kshowmail +Requires: trinity-kshutdown +Requires: trinity-kstreamripper +Requires: trinity-ksystemlog +Requires: trinity-ktechlab +Requires: trinity-ktorrent +Requires: trinity-kvirc +Requires: trinity-kvkbd +Requires: trinity-kvpnc +Requires: trinity-mplayerthumbs +Requires: trinity-piklab +Requires: trinity-potracegui +Requires: trinity-smb4k +Requires: trinity-smartcardauth +Requires: trinity-soundkonverter +Requires: trinity-tde-guidance +Requires: trinity-tde-style-lipstik +Requires: trinity-tde-style-qtcurve +Requires: trinity-tde-systemsettings +Requires: trinity-tdeio-apt +Requires: trinity-tdeio-ftps +Requires: trinity-tdeio-locate +Requires: trinity-tdeio-sword +Requires: trinity-tdeio-umountwrapper +Requires: trinity-tdepowersave +Requires: trinity-tderadio +Requires: trinity-tdesudo +Requires: trinity-tdesvn +Requires: trinity-tellico +Requires: trinity-tdmtheme +Requires: trinity-tork +Requires: trinity-twin-style-crystal +Requires: trinity-wlassistant +Requires: trinity-yakuake + +# Network management +# RHEL 6 and openSUSE 11.x: knetworkmanager8 +%if 0%{?suse_version} && 0%{?suse_version} <= 1140 || 0%{?rhel} == 6 +Requires: trinity-knetworkmanager +%endif +# Other distros use tdenetworkmanager (since R14) +%if 0%{?rhel} >= 7 || 0%{?suse_version} >= 1210 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?pclinuxos} || 0%{?fedora} +Requires: trinity-tdenetworkmanager +%endif + +# Power management +Obsoletes: trinity-tde-guidance-powermanager + +# Decoration-related stuff (not installed by default) +#Requires: trinity-kgtk-qt3 +#Requires: trinity-gtk-qt-engine +#Requires: trinity-gtk3-tqt-engine +#Requires: trinity-qt4-tqt-theme-engine + +# On RHEL 5/7, lilypond is not available, so no rosegarden :'-( +%if 0%{?rhel} == 6 || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?pclinuxos} || 0%{?fedora} +Requires: trinity-rosegarden +%endif + +# Compiz-related stuff does not work (obsolete) +#Requires: trinity-compizconfig-backend-kconfig +#Requires: trinity-desktop-effects-kde +#Requires: trinity-fusion-icon + +# Useless l10n package +#Requires: trinity-filelight-l10n + +# Not even an RPM package ... +#Requires: trinity-konstruct + +# Debian/Ubuntu specific ... +#Requires: trinity-adept + +#Requires: trinity-gwenview-i18n + +# Beagle does not exist anymore, so Kerry is now useless. +#Requires: trinity-kerry + +%description applications +%{summary} + +%files applications + +########## + +%package extras +Group: User Interface/Desktops +Summary: Meta-package to install all extras (unofficial) TDE packages + +Requires: trinity-icons-crystalsvg-updated +Requires: trinity-icons-kfaenza +Requires: trinity-icons-nuvola +Requires: trinity-icons-oxygen +#Requires: trinity-kickoff-i18n +#Requires: trinity-kcheckgmail +#Requires: trinity-kdebluetooth +Requires: trinity-kdevmon +Requires: trinity-kdissert +Requires: trinity-kompose +Requires: trinity-koverartist +Requires: trinity-kpacman +Requires: trinity-mathemagics +#Requires: trinity-tdeio-sysinfo-plugin + +%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +Requires: trinity-klibido +%endif + + +%description extras +%{summary} + +%files extras + +########## + +%package all +Group: User Interface/Desktops +Summary: Meta-package to install all TDE packages + +Requires: %{name} = %{version} +Requires: %{name}-applications = %{version} +Requires: %{name}-devel = %{version} +#Requires: %{name}-extras = %{version} + +%description all +%{summary} + +%files all + +########## + +%if 0%{?rhel} || 0%{?fedora} +%package -n trinity-repo +Group: User Interface/Desktops +Summary: Yum configuration files for Trinity +Requires(pre): coreutils + +%description -n trinity-repo +%{summary} + +%pre -n trinity-repo +# Make sure every Trinity related repository is deleted before installing new one. +%__rm -f %{_sysconfdir}/yum.repos.d/trinity-*.repo + +%files -n trinity-repo +%defattr(-,root,root,-) +%{_sysconfdir}/yum.repos.d/*.repo +%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-trinity +%endif + +########## + +%prep + + +%build + + +%install +%__rm -rf %{?buildroot} +%__mkdir_p "%{?buildroot}%{_sysconfdir}/yum.repos.d" + +# FEDORA configuration for YUM +%if 0%{?fedora} +%__sed %{SOURCE0} \ + -e 's/\$releasever/%{fedora}/g' \ + -e 's/-fedora/-f%{fedora}/g' \ + >"%{?buildroot}%{_sysconfdir}/yum.repos.d/trinity.repo" +%endif + +# RHEL configuration for YUM +# $releasever is replaced with its value +%if 0%{?rhel} +%__sed %{SOURCE1} \ + -e 's/\$releasever/%{rhel}/g' \ + >"%{?buildroot}%{_sysconfdir}/yum.repos.d/trinity.repo" +%endif + +%if 0%{?fedora} || 0%{?rhel} +%__sed -i %{?buildroot}%{_sysconfdir}/yum.repos.d/*.repo -e "s|3.5.13|r14|g" +%__chmod 644 %{?buildroot}%{_sysconfdir}/yum.repos.d/*.repo +%endif + +# RPM signing key +%if 0%{?rhel} || 0%{?fedora} +%__install -D -m 644 "%{SOURCE2}" "%{?buildroot}%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-trinity" +%endif + + +%changelog diff --git a/redhat/extras/trinity-filesystem/trinity-filesystem-14.0.0.spec b/redhat/extras/trinity-filesystem/trinity-filesystem-14.0.0.spec deleted file mode 100644 index dc4ab5cdb..000000000 --- a/redhat/extras/trinity-filesystem/trinity-filesystem-14.0.0.spec +++ /dev/null @@ -1,625 +0,0 @@ -# -# spec file for package trinity-filesystem (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.0.0 -%endif -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_confdir %{_sysconfdir}/trinity -%define tde_datadir %{tde_prefix}/share -%define _docdir %{tde_docdir} -%define tde_docdir %{tde_datadir}/doc -%define tde_mandir %{tde_datadir}/man -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_includedir %{tde_prefix}/include -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-filesystem -Version: %{tde_version} -Release: 1%{?dist} -Summary: Trinity Directory Layout -Group: System/Fhs -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: /usr -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildArch: noarch - - -%description -This package installs the Trinity directory structure. - - -%files -%defattr(-,root,root,-) -%dir %{tde_prefix} - -%dir %{tde_bindir} - -%dir %{tde_datadir} -%dir %{tde_confdir} -%dir %{tde_confdir}/magic - -%dir %{tde_docdir} -%dir %{tde_tdedocdir} -%dir %{tde_tdedocdir}/HTML -%dir %{tde_tdedocdir}/HTML/* -%dir %{tde_tdedocdir}/HTML/*/common - -%dir %{tde_includedir} -%dir %{tde_tdeincludedir} - -%dir %{tde_libdir} -%dir %{tde_libdir}/java -%dir %{tde_libdir}/jni -%dir %{tde_libdir}/pkgconfig -%dir %{tde_tdelibdir} - -%dir %{tde_datadir}/applications -%dir %{tde_datadir}/applications/tde -%dir %{tde_datadir}/applnk -%dir %{tde_datadir}/applnk/.hidden -%dir %{tde_datadir}/applnk/* -%dir %{tde_datadir}/applnk/*/* -%dir %{tde_datadir}/apps -%dir %{tde_datadir}/apps/* -%dir %{tde_datadir}/cmake -%dir %{tde_datadir}/config.kcfg -%dir %{tde_datadir}/autostart -%dir %{tde_datadir}/emoticons -%dir %{tde_datadir}/icons -%dir %{tde_datadir}/icons/crystalsvg -%dir %{tde_datadir}/icons/crystalsvg/* -%dir %{tde_datadir}/icons/crystalsvg/*/* -%dir %{tde_datadir}/icons/hicolor -%dir %{tde_datadir}/icons/hicolor/* -%dir %{tde_datadir}/icons/hicolor/*/* -%dir %{tde_datadir}/icons/locolor -%dir %{tde_datadir}/icons/locolor/* -%dir %{tde_datadir}/icons/locolor/*/* -%dir %{tde_datadir}/locale -%dir %{tde_datadir}/locale/* -%dir %{tde_datadir}/locale/*/* -%dir %{tde_datadir}/man -%dir %{tde_datadir}/man/* -%dir %{tde_datadir}/mime -%dir %{tde_datadir}/mime/* -%dir %{tde_datadir}/mimelnk -%dir %{tde_datadir}/mimelnk/* -%dir %{tde_datadir}/services -%dir %{tde_datadir}/services/* -%dir %{tde_datadir}/servicetypes -%dir %{tde_datadir}/X11 -%dir %{tde_datadir}/X11/xkb -%dir %{tde_datadir}/X11/xkb/symbols - -%dir %{tde_datadir}/wallpapers - - -%dir %{_sysconfdir}/trinity -%dir %{_sysconfdir}/xdg/menus - -########## - -%prep - -%build - -%install -%__install -d -m 755 %{?buildroot}%{tde_prefix} - -%__install -d -m 755 %{?buildroot}%{tde_bindir} - -%__install -d -m 755 %{?buildroot}%{tde_datadir} -%__install -d -m 755 %{?buildroot}%{tde_datadir}/applications -%__install -d -m 755 %{?buildroot}%{tde_datadir}/applications/tde -%__install -d -m 755 %{?buildroot}%{tde_datadir}/applnk -%__install -d -m 755 %{?buildroot}%{tde_datadir}/applnk/.hidden -%__install -d -m 755 %{?buildroot}%{tde_datadir}/applnk/Applications -%__install -d -m 755 %{?buildroot}%{tde_datadir}/applnk/Development -%__install -d -m 755 %{?buildroot}%{tde_datadir}/applnk/Edutainment -%__install -d -m 755 %{?buildroot}%{tde_datadir}/applnk/Edutainment/Languages -%__install -d -m 755 %{?buildroot}%{tde_datadir}/applnk/Edutainment/Mathematics -%__install -d -m 755 %{?buildroot}%{tde_datadir}/applnk/Edutainment/Miscellaneous -%__install -d -m 755 %{?buildroot}%{tde_datadir}/applnk/Edutainment/Science -%__install -d -m 755 %{?buildroot}%{tde_datadir}/applnk/Edutainment/Tools -%__install -d -m 755 %{?buildroot}%{tde_datadir}/applnk/Games -%__install -d -m 755 %{?buildroot}%{tde_datadir}/applnk/Games/Board -%__install -d -m 755 %{?buildroot}%{tde_datadir}/applnk/Graphics -%__install -d -m 755 %{?buildroot}%{tde_datadir}/applnk/Internet -%__install -d -m 755 %{?buildroot}%{tde_datadir}/applnk/Multimedia -%__install -d -m 755 %{?buildroot}%{tde_datadir}/applnk/Office -%__install -d -m 755 %{?buildroot}%{tde_datadir}/applnk/Settings -%__install -d -m 755 %{?buildroot}%{tde_datadir}/applnk/Settings/LookNFeel -%__install -d -m 755 %{?buildroot}%{tde_datadir}/applnk/Settings/WebBrowsing -%__install -d -m 755 %{?buildroot}%{tde_datadir}/applnk/System -%__install -d -m 755 %{?buildroot}%{tde_datadir}/applnk/System/ScreenSavers -%__install -d -m 755 %{?buildroot}%{tde_datadir}/applnk/Toys -%__install -d -m 755 %{?buildroot}%{tde_datadir}/applnk/Utilities -%__install -d -m 755 %{?buildroot}%{tde_datadir}/apps -%__install -d -m 755 %{?buildroot}%{tde_datadir}/apps/plugin -%__install -d -m 755 %{?buildroot}%{tde_datadir}/apps/profiles -%__install -d -m 755 %{?buildroot}%{tde_datadir}/apps/remotes -%__install -d -m 755 %{?buildroot}%{tde_datadir}/apps/remoteview -%__install -d -m 755 %{?buildroot}%{tde_datadir}/apps/videothumbnail -%__install -d -m 755 %{?buildroot}%{tde_datadir}/apps/zeroconf -%__install -d -m 755 %{?buildroot}%{tde_datadir}/autostart -%__install -d -m 755 %{?buildroot}%{tde_datadir}/cmake -%__install -d -m 755 %{?buildroot}%{tde_confdir} -%__install -d -m 755 %{?buildroot}%{tde_confdir}/magic -%__install -d -m 755 %{?buildroot}%{tde_datadir}/config.kcfg -%__install -d -m 755 %{?buildroot}%{tde_datadir}/emoticons -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale -%__install -d -m 755 %{?buildroot}%{tde_datadir}/man -%__install -d -m 755 %{?buildroot}%{tde_datadir}/man/man1 -%__install -d -m 755 %{?buildroot}%{tde_datadir}/man/man2 -%__install -d -m 755 %{?buildroot}%{tde_datadir}/man/man3 -%__install -d -m 755 %{?buildroot}%{tde_datadir}/man/man4 -%__install -d -m 755 %{?buildroot}%{tde_datadir}/man/man5 -%__install -d -m 755 %{?buildroot}%{tde_datadir}/man/man6 -%__install -d -m 755 %{?buildroot}%{tde_datadir}/man/man7 -%__install -d -m 755 %{?buildroot}%{tde_datadir}/man/man8 -%__install -d -m 755 %{?buildroot}%{tde_datadir}/man/man9 -%__install -d -m 755 %{?buildroot}%{tde_datadir}/mime -%__install -d -m 755 %{?buildroot}%{tde_datadir}/mime/packages -%__install -d -m 755 %{?buildroot}%{tde_datadir}/mimelnk -%__install -d -m 755 %{?buildroot}%{tde_datadir}/mimelnk/all -%__install -d -m 755 %{?buildroot}%{tde_datadir}/mimelnk/application -%__install -d -m 755 %{?buildroot}%{tde_datadir}/mimelnk/audio -%__install -d -m 755 %{?buildroot}%{tde_datadir}/mimelnk/fonts -%__install -d -m 755 %{?buildroot}%{tde_datadir}/mimelnk/image -%__install -d -m 755 %{?buildroot}%{tde_datadir}/mimelnk/interface -%__install -d -m 755 %{?buildroot}%{tde_datadir}/mimelnk/inode -%__install -d -m 755 %{?buildroot}%{tde_datadir}/mimelnk/media -%__install -d -m 755 %{?buildroot}%{tde_datadir}/mimelnk/message -%__install -d -m 755 %{?buildroot}%{tde_datadir}/mimelnk/model -%__install -d -m 755 %{?buildroot}%{tde_datadir}/mimelnk/multipart -%__install -d -m 755 %{?buildroot}%{tde_datadir}/mimelnk/print -%__install -d -m 755 %{?buildroot}%{tde_datadir}/mimelnk/text -%__install -d -m 755 %{?buildroot}%{tde_datadir}/mimelnk/uri -%__install -d -m 755 %{?buildroot}%{tde_datadir}/mimelnk/video -%__install -d -m 755 %{?buildroot}%{tde_datadir}/services -%__install -d -m 755 %{?buildroot}%{tde_datadir}/services/tdeconfiguredialog -%__install -d -m 755 %{?buildroot}%{tde_datadir}/servicetypes -%__install -d -m 755 %{?buildroot}%{tde_datadir}/X11/xkb/symbols - -%__install -d -m 755 %{?buildroot}%{tde_datadir}/wallpapers - -# Create icons directories -%__install -d -m 755 %{?buildroot}%{tde_datadir}/icons -for t in crystalsvg hicolor locolor ; do - %__install -d -m 755 "%{?buildroot}%{tde_datadir}/icons/${t}" - %__install -d -m 755 "%{?buildroot}%{tde_datadir}/icons/${t}/scalable" - for i in {16,22,32,48,64,128,256} ; do - %__install -d -m 755 "%{?buildroot}%{tde_datadir}/icons/${t}/${i}x${i}" - done - - # Create subdirectories - for r in actions apps categories devices mimetypes places ; do - %__install -d -m 755 "%{?buildroot}%{tde_datadir}/icons/${t}/scalable/${r}" - for i in {16,22,32,48,64,128} ; do - %__install -d -m 755 "%{?buildroot}%{tde_datadir}/icons/${t}/${i}x${i}/${r}" - done - done -done - -%__install -d -m 755 %{?buildroot}%{tde_docdir} -%__install -d -m 755 %{?buildroot}%{tde_tdedocdir} - -# HTML directories -%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML -%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/ca/common -%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/cs/common -%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/da/common -%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/de/common -%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/en/common -%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/en_GB/common -%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/es/common -%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/et/common -%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/fi/common -%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/fr/common -%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/he/common -%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/hu/common -%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/it/common -%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/ja/common -%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/nl/common -%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/pl/common -%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/pt_BR/common -%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/pt/common -%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/ro/common -%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/ru/common -%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/sk/common -%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/sl/common -%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/sr/common -%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/sv/common -%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/tr/common -%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/uk/common -%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/zh_CN/common -%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/zh_TW/common - -%__install -d -m 755 %{?buildroot}%{tde_includedir} -%__install -d -m 755 %{?buildroot}%{tde_tdeincludedir} - -%__install -d -m 755 %{?buildroot}%{tde_libdir} -%__install -d -m 755 %{?buildroot}%{tde_libdir}/java -%__install -d -m 755 %{?buildroot}%{tde_libdir}/jni -%__install -d -m 755 %{?buildroot}%{tde_libdir}/pkgconfig -%__install -d -m 755 %{?buildroot}%{tde_tdelibdir} - -%__install -d -m 755 %{?buildroot}%{_sysconfdir}/trinity -%__install -d -m 755 %{?buildroot}%{_sysconfdir}/xdg/menus - -# Locales directories -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/en_US -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/C -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ad -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ae -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/af -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ag -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ai -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/al -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/am -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/an -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ao -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ar -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/as -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/at -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/au -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/aw -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ax -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/az -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ba -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/bb -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/bd -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/be -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/bf -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/bg -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/bh -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/bi -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/bj -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/bm -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/bn -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/bo -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/br -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/bs -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/bt -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/bw -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/by -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/bz -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ca -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/cc -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/cd -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/cf -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/cg -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ch -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ci -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ck -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/cl -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/cm -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/cn -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/co -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/cr -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/cu -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/cv -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/cx -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/cy -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/cz -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/de -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/dj -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/dk -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/dm -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/do -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/dz -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ec -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ee -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/eg -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/eh -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/er -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/es -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/et -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/fi -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/fj -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/fk -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/fm -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/fo -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/fr -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ga -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/gb -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/gd -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ge -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/gh -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/gi -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/gl -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/gm -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/gn -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/gp -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/gq -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/gr -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/gt -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/gu -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/gw -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/gy -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/hk -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/hn -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/hr -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ht -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/hu -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/id -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ie -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/il -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/in -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/iq -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ir -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/is -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/it -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/jm -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/jo -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/jp -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ke -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/kg -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/kh -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ki -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/km -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/kn -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/kp -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/kr -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/kw -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ky -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/kz -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/la -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/lb -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/lc -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/li -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/lk -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/lr -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ls -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/lt -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/lu -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/lv -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ly -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ma -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/mc -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/md -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/me -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/mg -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/mh -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/mk -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ml -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/mm -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/mn -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/mo -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/mq -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/mr -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ms -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/mt -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/mu -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/mv -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/mw -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/mx -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/my -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/mz -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/na -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/nc -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ne -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/nf -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ng -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ni -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/nl -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/no -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/np -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/nr -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/nu -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/nz -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/om -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/pa -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/pe -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/pf -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/pg -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ph -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/pk -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/pl -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/pm -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/pn -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/pr -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ps -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/pt -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/pw -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/py -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/qa -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ro -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/rs -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ru -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/rw -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/sa -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/sb -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/sc -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/sd -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/se -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/sg -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/sh -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/si -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/sk -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/sm -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/sn -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/so -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/sr -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/st -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/sv -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/sy -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/sz -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/tc -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/td -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/tg -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/th -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/tj -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/tk -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/tm -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/tn -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/to -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/tp -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/tr -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/tt -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/tv -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/tw -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/tz -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ua -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ug -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/us -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/uy -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/uz -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/va -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/vc -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ve -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/vg -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/vi -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/vn -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/vu -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/wf -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ws -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ye -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/za -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/zm -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/zw - -# Directories for LC_MESSAGES (from *-i18n packages) -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/af/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/ar/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/az/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/be/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/bg/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/bn/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/br/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/bs/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/ca/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/cs/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/csb/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/cy/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/da/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/de/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/du/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/ee/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/el/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/en/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/en_GB/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/en_US/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/eo/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/es/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/es_AR/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/et/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/eu/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/fa/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/fi/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/fo/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/fr/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/fy/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/ga/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/gl/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/gu/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/he/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/hi/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/hr/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/hu/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/id/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/is/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/it/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/ja/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/ka/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/kk/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/km/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/ko/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/ku/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/lo/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/lt/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/lv/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/mk/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/mr/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/ms/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/mt/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/nb/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/nds/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/ne/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/nl/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/nn/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/nso/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/pa/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/pl/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/pl_PL/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/pl-utf/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/pt/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/pt_PT/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/pt_BR/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/ro/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/ru/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/rw/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/se/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/si/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/sk/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/sl/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/sl_SI/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/sq/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/sr/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/sr@latin/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/sr@Latn/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/ss/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/sv/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/ta/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/tg/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/th/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/tr/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/uk/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/uk@cyrillic/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/uz/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/uz@cyrillic/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/ve/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/ven/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/vi/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/wa/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/xh/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/xx/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/zh_CN.GB2312/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/zh_CN/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/zh_TW.Big5/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/zh_TW/LC_MESSAGES/ -%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/zu/LC_MESSAGES/ - -%post -%if 0%{?suse_version} -# Add setuid files in '/etc/permissions.local' -for b in kcheckpass kgrantpty kpac_dhcp_helper kppp start_tdeinit tdmtsak tdekbdledsync ; do - if ! grep -q "^%{tde_bindir}/${b}" "/etc/permissions.local"; then - echo "%{tde_bindir}/${b} root:root 4711" >>/etc/permissions.local - fi -done -%endif - - -%changelog diff --git a/redhat/extras/trinity-filesystem/trinity-filesystem.spec b/redhat/extras/trinity-filesystem/trinity-filesystem.spec new file mode 100644 index 000000000..3385dd5c0 --- /dev/null +++ b/redhat/extras/trinity-filesystem/trinity-filesystem.spec @@ -0,0 +1,625 @@ +# +# spec file for package trinity-filesystem (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.0.7 +%endif +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_confdir %{_sysconfdir}/trinity +%define tde_datadir %{tde_prefix}/share +%define _docdir %{tde_docdir} +%define tde_docdir %{tde_datadir}/doc +%define tde_mandir %{tde_datadir}/man +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_includedir %{tde_prefix}/include +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-filesystem +Version: %{tde_version} +Release: 1%{?dist} +Summary: Trinity Directory Layout +Group: System/Fhs +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: /usr +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch + + +%description +This package installs the Trinity directory structure. + + +%files +%defattr(-,root,root,-) +%dir %{tde_prefix} + +%dir %{tde_bindir} + +%dir %{tde_datadir} +%dir %{tde_confdir} +%dir %{tde_confdir}/magic + +%dir %{tde_docdir} +%dir %{tde_tdedocdir} +%dir %{tde_tdedocdir}/HTML +%dir %{tde_tdedocdir}/HTML/* +%dir %{tde_tdedocdir}/HTML/*/common + +%dir %{tde_includedir} +%dir %{tde_tdeincludedir} + +%dir %{tde_libdir} +%dir %{tde_libdir}/java +%dir %{tde_libdir}/jni +%dir %{tde_libdir}/pkgconfig +%dir %{tde_tdelibdir} + +%dir %{tde_datadir}/applications +%dir %{tde_datadir}/applications/tde +%dir %{tde_datadir}/applnk +%dir %{tde_datadir}/applnk/.hidden +%dir %{tde_datadir}/applnk/* +%dir %{tde_datadir}/applnk/*/* +%dir %{tde_datadir}/apps +%dir %{tde_datadir}/apps/* +%dir %{tde_datadir}/cmake +%dir %{tde_datadir}/config.kcfg +%dir %{tde_datadir}/autostart +%dir %{tde_datadir}/emoticons +%dir %{tde_datadir}/icons +%dir %{tde_datadir}/icons/crystalsvg +%dir %{tde_datadir}/icons/crystalsvg/* +%dir %{tde_datadir}/icons/crystalsvg/*/* +%dir %{tde_datadir}/icons/hicolor +%dir %{tde_datadir}/icons/hicolor/* +%dir %{tde_datadir}/icons/hicolor/*/* +%dir %{tde_datadir}/icons/locolor +%dir %{tde_datadir}/icons/locolor/* +%dir %{tde_datadir}/icons/locolor/*/* +%dir %{tde_datadir}/locale +%dir %{tde_datadir}/locale/* +%dir %{tde_datadir}/locale/*/* +%dir %{tde_datadir}/man +%dir %{tde_datadir}/man/* +%dir %{tde_datadir}/mime +%dir %{tde_datadir}/mime/* +%dir %{tde_datadir}/mimelnk +%dir %{tde_datadir}/mimelnk/* +%dir %{tde_datadir}/services +%dir %{tde_datadir}/services/* +%dir %{tde_datadir}/servicetypes +%dir %{tde_datadir}/X11 +%dir %{tde_datadir}/X11/xkb +%dir %{tde_datadir}/X11/xkb/symbols + +%dir %{tde_datadir}/wallpapers + + +%dir %{_sysconfdir}/trinity +%dir %{_sysconfdir}/xdg/menus + +########## + +%prep + +%build + +%install +%__install -d -m 755 %{?buildroot}%{tde_prefix} + +%__install -d -m 755 %{?buildroot}%{tde_bindir} + +%__install -d -m 755 %{?buildroot}%{tde_datadir} +%__install -d -m 755 %{?buildroot}%{tde_datadir}/applications +%__install -d -m 755 %{?buildroot}%{tde_datadir}/applications/tde +%__install -d -m 755 %{?buildroot}%{tde_datadir}/applnk +%__install -d -m 755 %{?buildroot}%{tde_datadir}/applnk/.hidden +%__install -d -m 755 %{?buildroot}%{tde_datadir}/applnk/Applications +%__install -d -m 755 %{?buildroot}%{tde_datadir}/applnk/Development +%__install -d -m 755 %{?buildroot}%{tde_datadir}/applnk/Edutainment +%__install -d -m 755 %{?buildroot}%{tde_datadir}/applnk/Edutainment/Languages +%__install -d -m 755 %{?buildroot}%{tde_datadir}/applnk/Edutainment/Mathematics +%__install -d -m 755 %{?buildroot}%{tde_datadir}/applnk/Edutainment/Miscellaneous +%__install -d -m 755 %{?buildroot}%{tde_datadir}/applnk/Edutainment/Science +%__install -d -m 755 %{?buildroot}%{tde_datadir}/applnk/Edutainment/Tools +%__install -d -m 755 %{?buildroot}%{tde_datadir}/applnk/Games +%__install -d -m 755 %{?buildroot}%{tde_datadir}/applnk/Games/Board +%__install -d -m 755 %{?buildroot}%{tde_datadir}/applnk/Graphics +%__install -d -m 755 %{?buildroot}%{tde_datadir}/applnk/Internet +%__install -d -m 755 %{?buildroot}%{tde_datadir}/applnk/Multimedia +%__install -d -m 755 %{?buildroot}%{tde_datadir}/applnk/Office +%__install -d -m 755 %{?buildroot}%{tde_datadir}/applnk/Settings +%__install -d -m 755 %{?buildroot}%{tde_datadir}/applnk/Settings/LookNFeel +%__install -d -m 755 %{?buildroot}%{tde_datadir}/applnk/Settings/WebBrowsing +%__install -d -m 755 %{?buildroot}%{tde_datadir}/applnk/System +%__install -d -m 755 %{?buildroot}%{tde_datadir}/applnk/System/ScreenSavers +%__install -d -m 755 %{?buildroot}%{tde_datadir}/applnk/Toys +%__install -d -m 755 %{?buildroot}%{tde_datadir}/applnk/Utilities +%__install -d -m 755 %{?buildroot}%{tde_datadir}/apps +%__install -d -m 755 %{?buildroot}%{tde_datadir}/apps/plugin +%__install -d -m 755 %{?buildroot}%{tde_datadir}/apps/profiles +%__install -d -m 755 %{?buildroot}%{tde_datadir}/apps/remotes +%__install -d -m 755 %{?buildroot}%{tde_datadir}/apps/remoteview +%__install -d -m 755 %{?buildroot}%{tde_datadir}/apps/videothumbnail +%__install -d -m 755 %{?buildroot}%{tde_datadir}/apps/zeroconf +%__install -d -m 755 %{?buildroot}%{tde_datadir}/autostart +%__install -d -m 755 %{?buildroot}%{tde_datadir}/cmake +%__install -d -m 755 %{?buildroot}%{tde_confdir} +%__install -d -m 755 %{?buildroot}%{tde_confdir}/magic +%__install -d -m 755 %{?buildroot}%{tde_datadir}/config.kcfg +%__install -d -m 755 %{?buildroot}%{tde_datadir}/emoticons +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale +%__install -d -m 755 %{?buildroot}%{tde_datadir}/man +%__install -d -m 755 %{?buildroot}%{tde_datadir}/man/man1 +%__install -d -m 755 %{?buildroot}%{tde_datadir}/man/man2 +%__install -d -m 755 %{?buildroot}%{tde_datadir}/man/man3 +%__install -d -m 755 %{?buildroot}%{tde_datadir}/man/man4 +%__install -d -m 755 %{?buildroot}%{tde_datadir}/man/man5 +%__install -d -m 755 %{?buildroot}%{tde_datadir}/man/man6 +%__install -d -m 755 %{?buildroot}%{tde_datadir}/man/man7 +%__install -d -m 755 %{?buildroot}%{tde_datadir}/man/man8 +%__install -d -m 755 %{?buildroot}%{tde_datadir}/man/man9 +%__install -d -m 755 %{?buildroot}%{tde_datadir}/mime +%__install -d -m 755 %{?buildroot}%{tde_datadir}/mime/packages +%__install -d -m 755 %{?buildroot}%{tde_datadir}/mimelnk +%__install -d -m 755 %{?buildroot}%{tde_datadir}/mimelnk/all +%__install -d -m 755 %{?buildroot}%{tde_datadir}/mimelnk/application +%__install -d -m 755 %{?buildroot}%{tde_datadir}/mimelnk/audio +%__install -d -m 755 %{?buildroot}%{tde_datadir}/mimelnk/fonts +%__install -d -m 755 %{?buildroot}%{tde_datadir}/mimelnk/image +%__install -d -m 755 %{?buildroot}%{tde_datadir}/mimelnk/interface +%__install -d -m 755 %{?buildroot}%{tde_datadir}/mimelnk/inode +%__install -d -m 755 %{?buildroot}%{tde_datadir}/mimelnk/media +%__install -d -m 755 %{?buildroot}%{tde_datadir}/mimelnk/message +%__install -d -m 755 %{?buildroot}%{tde_datadir}/mimelnk/model +%__install -d -m 755 %{?buildroot}%{tde_datadir}/mimelnk/multipart +%__install -d -m 755 %{?buildroot}%{tde_datadir}/mimelnk/print +%__install -d -m 755 %{?buildroot}%{tde_datadir}/mimelnk/text +%__install -d -m 755 %{?buildroot}%{tde_datadir}/mimelnk/uri +%__install -d -m 755 %{?buildroot}%{tde_datadir}/mimelnk/video +%__install -d -m 755 %{?buildroot}%{tde_datadir}/services +%__install -d -m 755 %{?buildroot}%{tde_datadir}/services/tdeconfiguredialog +%__install -d -m 755 %{?buildroot}%{tde_datadir}/servicetypes +%__install -d -m 755 %{?buildroot}%{tde_datadir}/X11/xkb/symbols + +%__install -d -m 755 %{?buildroot}%{tde_datadir}/wallpapers + +# Create icons directories +%__install -d -m 755 %{?buildroot}%{tde_datadir}/icons +for t in crystalsvg hicolor locolor ; do + %__install -d -m 755 "%{?buildroot}%{tde_datadir}/icons/${t}" + %__install -d -m 755 "%{?buildroot}%{tde_datadir}/icons/${t}/scalable" + for i in {16,22,32,48,64,128,256} ; do + %__install -d -m 755 "%{?buildroot}%{tde_datadir}/icons/${t}/${i}x${i}" + done + + # Create subdirectories + for r in actions apps categories devices mimetypes places ; do + %__install -d -m 755 "%{?buildroot}%{tde_datadir}/icons/${t}/scalable/${r}" + for i in {16,22,32,48,64,128} ; do + %__install -d -m 755 "%{?buildroot}%{tde_datadir}/icons/${t}/${i}x${i}/${r}" + done + done +done + +%__install -d -m 755 %{?buildroot}%{tde_docdir} +%__install -d -m 755 %{?buildroot}%{tde_tdedocdir} + +# HTML directories +%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML +%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/ca/common +%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/cs/common +%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/da/common +%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/de/common +%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/en/common +%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/en_GB/common +%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/es/common +%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/et/common +%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/fi/common +%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/fr/common +%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/he/common +%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/hu/common +%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/it/common +%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/ja/common +%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/nl/common +%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/pl/common +%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/pt_BR/common +%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/pt/common +%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/ro/common +%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/ru/common +%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/sk/common +%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/sl/common +%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/sr/common +%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/sv/common +%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/tr/common +%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/uk/common +%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/zh_CN/common +%__install -d -m 755 %{?buildroot}%{tde_tdedocdir}/HTML/zh_TW/common + +%__install -d -m 755 %{?buildroot}%{tde_includedir} +%__install -d -m 755 %{?buildroot}%{tde_tdeincludedir} + +%__install -d -m 755 %{?buildroot}%{tde_libdir} +%__install -d -m 755 %{?buildroot}%{tde_libdir}/java +%__install -d -m 755 %{?buildroot}%{tde_libdir}/jni +%__install -d -m 755 %{?buildroot}%{tde_libdir}/pkgconfig +%__install -d -m 755 %{?buildroot}%{tde_tdelibdir} + +%__install -d -m 755 %{?buildroot}%{_sysconfdir}/trinity +%__install -d -m 755 %{?buildroot}%{_sysconfdir}/xdg/menus + +# Locales directories +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/en_US +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/C +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ad +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ae +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/af +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ag +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ai +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/al +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/am +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/an +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ao +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ar +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/as +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/at +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/au +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/aw +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ax +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/az +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ba +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/bb +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/bd +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/be +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/bf +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/bg +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/bh +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/bi +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/bj +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/bm +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/bn +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/bo +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/br +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/bs +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/bt +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/bw +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/by +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/bz +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ca +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/cc +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/cd +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/cf +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/cg +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ch +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ci +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ck +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/cl +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/cm +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/cn +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/co +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/cr +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/cu +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/cv +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/cx +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/cy +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/cz +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/de +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/dj +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/dk +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/dm +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/do +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/dz +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ec +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ee +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/eg +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/eh +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/er +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/es +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/et +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/fi +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/fj +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/fk +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/fm +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/fo +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/fr +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ga +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/gb +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/gd +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ge +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/gh +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/gi +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/gl +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/gm +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/gn +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/gp +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/gq +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/gr +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/gt +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/gu +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/gw +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/gy +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/hk +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/hn +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/hr +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ht +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/hu +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/id +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ie +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/il +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/in +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/iq +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ir +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/is +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/it +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/jm +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/jo +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/jp +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ke +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/kg +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/kh +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ki +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/km +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/kn +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/kp +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/kr +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/kw +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ky +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/kz +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/la +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/lb +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/lc +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/li +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/lk +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/lr +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ls +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/lt +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/lu +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/lv +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ly +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ma +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/mc +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/md +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/me +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/mg +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/mh +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/mk +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ml +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/mm +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/mn +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/mo +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/mq +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/mr +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ms +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/mt +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/mu +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/mv +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/mw +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/mx +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/my +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/mz +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/na +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/nc +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ne +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/nf +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ng +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ni +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/nl +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/no +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/np +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/nr +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/nu +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/nz +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/om +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/pa +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/pe +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/pf +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/pg +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ph +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/pk +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/pl +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/pm +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/pn +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/pr +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ps +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/pt +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/pw +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/py +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/qa +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ro +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/rs +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ru +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/rw +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/sa +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/sb +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/sc +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/sd +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/se +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/sg +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/sh +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/si +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/sk +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/sm +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/sn +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/so +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/sr +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/st +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/sv +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/sy +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/sz +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/tc +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/td +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/tg +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/th +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/tj +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/tk +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/tm +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/tn +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/to +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/tp +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/tr +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/tt +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/tv +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/tw +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/tz +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ua +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ug +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/us +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/uy +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/uz +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/va +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/vc +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ve +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/vg +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/vi +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/vn +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/vu +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/wf +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ws +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/ye +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/za +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/zm +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/l10n/zw + +# Directories for LC_MESSAGES (from *-i18n packages) +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/af/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/ar/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/az/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/be/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/bg/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/bn/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/br/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/bs/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/ca/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/cs/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/csb/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/cy/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/da/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/de/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/du/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/ee/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/el/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/en/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/en_GB/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/en_US/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/eo/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/es/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/es_AR/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/et/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/eu/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/fa/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/fi/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/fo/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/fr/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/fy/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/ga/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/gl/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/gu/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/he/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/hi/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/hr/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/hu/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/id/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/is/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/it/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/ja/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/ka/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/kk/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/km/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/ko/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/ku/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/lo/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/lt/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/lv/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/mk/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/mr/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/ms/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/mt/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/nb/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/nds/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/ne/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/nl/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/nn/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/nso/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/pa/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/pl/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/pl_PL/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/pl-utf/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/pt/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/pt_PT/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/pt_BR/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/ro/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/ru/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/rw/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/se/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/si/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/sk/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/sl/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/sl_SI/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/sq/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/sr/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/sr@latin/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/sr@Latn/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/ss/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/sv/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/ta/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/tg/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/th/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/tr/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/uk/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/uk@cyrillic/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/uz/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/uz@cyrillic/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/ve/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/ven/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/vi/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/wa/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/xh/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/xx/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/zh_CN.GB2312/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/zh_CN/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/zh_TW.Big5/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/zh_TW/LC_MESSAGES/ +%__install -d -m 755 %{?buildroot}%{tde_datadir}/locale/zu/LC_MESSAGES/ + +%post +%if 0%{?suse_version} +# Add setuid files in '/etc/permissions.local' +for b in kcheckpass kgrantpty kpac_dhcp_helper kppp start_tdeinit tdmtsak tdekbdledsync ; do + if ! grep -q "^%{tde_bindir}/${b}" "/etc/permissions.local"; then + echo "%{tde_bindir}/${b} root:root 4711" >>/etc/permissions.local + fi +done +%endif + + +%changelog diff --git a/redhat/libraries/kipi-plugins/kipi-plugins.spec b/redhat/libraries/kipi-plugins/kipi-plugins.spec index 6f953fb06..9ad0b5e3b 100644 --- a/redhat/libraries/kipi-plugins/kipi-plugins.spec +++ b/redhat/libraries/kipi-plugins/kipi-plugins.spec @@ -22,7 +22,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg kipi-plugins %define tde_prefix /opt/trinity diff --git a/redhat/libraries/libkdcraw/libkdcraw-14.0.0.spec b/redhat/libraries/libkdcraw/libkdcraw-14.0.0.spec deleted file mode 100644 index d3ad7ed60..000000000 --- a/redhat/libraries/libkdcraw/libkdcraw-14.0.0.spec +++ /dev/null @@ -1,209 +0,0 @@ -# -# spec file for package libkdcraw (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.0.0 -%endif -%define tde_pkg libkdcraw -%define tde_prefix /opt/trinity -%define tde_datadir %{tde_prefix}/share -%define tde_includedir %{tde_prefix}/include -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_libdir %{tde_prefix}/%{_lib} - -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} -%define libkdcraw %{_lib}kdcraw -%else -%define libkdcraw libkdcraw -%endif - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.1.9 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Raw picture decoding C++ library (runtime) [Trinity] -Group: System/Libraries -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Desktop -#Packager: Francois Andriot - -Prefix: /usr -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-filesystem >= %{tde_version} - -BuildRequires: automake autoconf libtool -BuildRequires: gcc-c++ -BuildRequires: desktop-file-utils -BuildRequires: pkgconfig -BuildRequires: gettext - -# LCMS support -%if 0%{?suse_version} || 0%{?rhel} >= 7 -BuildRequires: liblcms-devel -%else -BuildRequires: lcms-devel -%endif - -# JPEG support -BuildRequires: libjpeg-devel - -# AUTOTOOLS -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}ltdl-devel -%endif -%if 0%{?fedora} || 0%{?rhel} >= 5 || 0%{?suse_version} >= 1220 -BuildRequires: libtool-ltdl-devel -%endif - -%description -C++ interface around dcraw binary program used to decode RAW -picture files. -This library is used by kipi-plugins, digiKam and others kipi host programs. -libkdcraw contains the library of libkdcraw. - -########## - -%package -n trinity-%{libkdcraw}4 -Summary: Raw picture decoding C++ library (runtime) [Trinity] -Group: System/Libraries -Requires: trinity-libkdcraw-common = %{?epoch:%{epoch}:}%{version}-%{release} - -Obsoletes: trinity-%{tde_pkg} < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-%{tde_pkg} = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -n trinity-%{libkdcraw}4 -C++ interface around dcraw binary program used to decode RAW -picture files. -This library is used by kipi-plugins, digiKam and others kipi host programs. -libkdcraw contains the library of libkdcraw. - -%files -n trinity-%{libkdcraw}4 -%defattr(-,root,root,-) -%{tde_libdir}/libkdcraw.so.4 -%{tde_libdir}/libkdcraw.so.4.0.3 - -########## - -%package -n trinity-libkdcraw-common -Summary: Raw picture decoding C++ library (runtime) [Trinity] -Group: System/Libraries -Requires: trinity-filesystem >= %{tde_version} - -%description -n trinity-libkdcraw-common -C++ interface around dcraw binary program used to decode RAW -picture files. -This library is used by kipi-plugins, digiKam and others kipi host programs. -libkdcraw contains the library of libkdcraw. - -%files -n trinity-libkdcraw-common -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%{tde_datadir}/icons/hicolor/*/apps/kdcraw.png - -########## - -%package -n trinity-%{libkdcraw}-devel -Summary: RAW picture decoding C++ library (development) [Trinity] -Group: Development/Libraries/Other -Requires: trinity-%{libkdcraw}4 = %{?epoch:%{epoch}:}%{version}-%{release} - -Obsoletes: trinity-%{tde_pkg}-devel < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-%{tde_pkg}-devel = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -n trinity-%{libkdcraw}-devel -Libkdcraw is a C++ interface around dcraw binary program used to -decode Raw picture files. -libkdcraw-devel contains development files and documentation. The -library documentation is available on kdcraw.h header file. - -%files -n trinity-%{libkdcraw}-devel -%defattr(-,root,root,-) -%{tde_libdir}/libkdcraw.so -%{tde_libdir}/libkdcraw.la -%{tde_tdeincludedir}/libkdcraw/ -%{tde_libdir}/pkgconfig/libkdcraw.pc - -########## - -%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}" - -# Warning: gcc-hidden-visibility causes FTBFS in digikam ! -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --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} - -%find_lang %{tde_pkg} - -# RHEL4: pkgconfig files do not support 'URL' keyword . -%if 0%{?rhel} == 4 -%__sed -i %{?buildroot}%{tde_libdir}/pkgconfig/*.pc -e "s/^URL: /#URL: /" -%endif - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/libraries/libkdcraw/libkdcraw.spec b/redhat/libraries/libkdcraw/libkdcraw.spec new file mode 100644 index 000000000..daa7f5c39 --- /dev/null +++ b/redhat/libraries/libkdcraw/libkdcraw.spec @@ -0,0 +1,209 @@ +# +# spec file for package libkdcraw (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.0.7 +%endif +%define tde_pkg libkdcraw +%define tde_prefix /opt/trinity +%define tde_datadir %{tde_prefix}/share +%define tde_includedir %{tde_prefix}/include +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_libdir %{tde_prefix}/%{_lib} + +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} +%define libkdcraw %{_lib}kdcraw +%else +%define libkdcraw libkdcraw +%endif + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.1.9 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Raw picture decoding C++ library (runtime) [Trinity] +Group: System/Libraries +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Desktop +#Packager: Francois Andriot + +Prefix: /usr +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-filesystem >= %{tde_version} + +BuildRequires: automake autoconf libtool +BuildRequires: gcc-c++ +BuildRequires: desktop-file-utils +BuildRequires: pkgconfig +BuildRequires: gettext + +# LCMS support +%if 0%{?suse_version} || 0%{?rhel} >= 7 +BuildRequires: liblcms-devel +%else +BuildRequires: lcms-devel +%endif + +# JPEG support +BuildRequires: libjpeg-devel + +# AUTOTOOLS +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}ltdl-devel +%endif +%if 0%{?fedora} || 0%{?rhel} >= 5 || 0%{?suse_version} >= 1220 +BuildRequires: libtool-ltdl-devel +%endif + +%description +C++ interface around dcraw binary program used to decode RAW +picture files. +This library is used by kipi-plugins, digiKam and others kipi host programs. +libkdcraw contains the library of libkdcraw. + +########## + +%package -n trinity-%{libkdcraw}4 +Summary: Raw picture decoding C++ library (runtime) [Trinity] +Group: System/Libraries +Requires: trinity-libkdcraw-common = %{?epoch:%{epoch}:}%{version}-%{release} + +Obsoletes: trinity-%{tde_pkg} < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-%{tde_pkg} = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n trinity-%{libkdcraw}4 +C++ interface around dcraw binary program used to decode RAW +picture files. +This library is used by kipi-plugins, digiKam and others kipi host programs. +libkdcraw contains the library of libkdcraw. + +%files -n trinity-%{libkdcraw}4 +%defattr(-,root,root,-) +%{tde_libdir}/libkdcraw.so.4 +%{tde_libdir}/libkdcraw.so.4.0.3 + +########## + +%package -n trinity-libkdcraw-common +Summary: Raw picture decoding C++ library (runtime) [Trinity] +Group: System/Libraries +Requires: trinity-filesystem >= %{tde_version} + +%description -n trinity-libkdcraw-common +C++ interface around dcraw binary program used to decode RAW +picture files. +This library is used by kipi-plugins, digiKam and others kipi host programs. +libkdcraw contains the library of libkdcraw. + +%files -n trinity-libkdcraw-common -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%{tde_datadir}/icons/hicolor/*/apps/kdcraw.png + +########## + +%package -n trinity-%{libkdcraw}-devel +Summary: RAW picture decoding C++ library (development) [Trinity] +Group: Development/Libraries/Other +Requires: trinity-%{libkdcraw}4 = %{?epoch:%{epoch}:}%{version}-%{release} + +Obsoletes: trinity-%{tde_pkg}-devel < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-%{tde_pkg}-devel = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n trinity-%{libkdcraw}-devel +Libkdcraw is a C++ interface around dcraw binary program used to +decode Raw picture files. +libkdcraw-devel contains development files and documentation. The +library documentation is available on kdcraw.h header file. + +%files -n trinity-%{libkdcraw}-devel +%defattr(-,root,root,-) +%{tde_libdir}/libkdcraw.so +%{tde_libdir}/libkdcraw.la +%{tde_tdeincludedir}/libkdcraw/ +%{tde_libdir}/pkgconfig/libkdcraw.pc + +########## + +%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}" + +# Warning: gcc-hidden-visibility causes FTBFS in digikam ! +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --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} + +%find_lang %{tde_pkg} + +# RHEL4: pkgconfig files do not support 'URL' keyword . +%if 0%{?rhel} == 4 +%__sed -i %{?buildroot}%{tde_libdir}/pkgconfig/*.pc -e "s/^URL: /#URL: /" +%endif + + +%clean +%__rm -rf %{buildroot} + + +%changelog diff --git a/redhat/libraries/libkexiv2/libkexiv2-14.0.0.spec b/redhat/libraries/libkexiv2/libkexiv2-14.0.0.spec deleted file mode 100644 index 26a35fb11..000000000 --- a/redhat/libraries/libkexiv2/libkexiv2-14.0.0.spec +++ /dev/null @@ -1,189 +0,0 @@ -# -# spec file for package libkexiv2 (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/ -# - -# BUILD WARNING: -# Remove qt-devel and qt3-devel and any kde*-devel on your system ! -# Having KDE libraries may cause FTBFS here ! - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.0.0 -%endif -%define tde_pkg libkexiv2 -%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_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%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} -%define libkexiv %{_lib}kexiv -%else -%define libkexiv libkexiv -%endif - - -Name: trinity-%{tde_pkg} -Epoch: 2 -Version: 0.1.7 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Qt like interface for the libexiv2 library (runtime) [Trinity] -Group: System/Libraries -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: gcc-c++ - -# AUTOTOOLS -BuildRequires: automake autoconf libtool -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}ltdl-devel -%endif -%if 0%{?fedora} || 0%{?rhel} >= 5 || 0%{?suse_version} >= 1220 -BuildRequires: libtool-ltdl-devel -%endif - -# EXIV2 -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}exiv2-devel -%endif -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: exiv2-devel -%endif -%if 0%{?suse_version} -BuildRequires: libexiv2-devel -%endif - -%description -libkexif2 contains the library of libkexiv2. -Libkexif is a wrapper around Exiv2 library to manipulate pictures metadata. - -########## - -%package -n trinity-%{libkexiv}2-5 -Summary: Qt like interface for the libexiv2 library (runtime) [Trinity] -Group: System/Libraries - -Obsoletes: trinity-%{tde_pkg} < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-%{tde_pkg} = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -n trinity-%{libkexiv}2-5 -libkexif2 contains the library of libkexiv2. -Libkexif is a wrapper around Exiv2 library to manipulate pictures metadata. - -%files -n trinity-%{libkexiv}2-5 -%defattr(-,root,root,-) -%{tde_libdir}/libkexiv2.so.5 -%{tde_libdir}/libkexiv2.so.5.0.0 - -########## - -%package -n trinity-%{libkexiv}2-devel -Group: Development/Libraries/Other -Summary: Qt like interface for the libexiv2 library (development) [Trinity] -Requires: trinity-%{libkexiv}2-5 = %{?epoch:%{epoch}:}%{version}-%{release} - -Obsoletes: trinity-%{tde_pkg}-devel < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-%{tde_pkg}-devel = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -n trinity-%{libkexiv}2-devel -libkexif2-devel contains development files and documentation for libkexiv2 -library. The library documentation is available on kexiv2.h header file. -Libkexif is a wrapper around Exiv2 library to manipulate pictures metadata. - -%files -n trinity-%{libkexiv}2-devel -%defattr(-,root,root,-) -%{tde_libdir}/libkexiv2.so -%{tde_libdir}/libkexiv2.la -%{tde_tdeincludedir}/libkexiv2/ -%{tde_libdir}/pkgconfig/libkexiv2.pc - -########## - -%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} \ - --libdir=%{tde_libdir} \ - --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} - -# RHEL4: pkgconfig files do not support 'URL' keyword . -%if 0%{?rhel} == 4 -%__sed -i %{?buildroot}%{tde_libdir}/pkgconfig/*.pc -e "s/^URL: /#URL: /" -%endif - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/libraries/libkexiv2/libkexiv2.spec b/redhat/libraries/libkexiv2/libkexiv2.spec new file mode 100644 index 000000000..ce0ecd529 --- /dev/null +++ b/redhat/libraries/libkexiv2/libkexiv2.spec @@ -0,0 +1,184 @@ +# +# spec file for package libkexiv2 (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/ +# + +# BUILD WARNING: +# Remove qt-devel and qt3-devel and any kde*-devel on your system ! +# Having KDE libraries may cause FTBFS here ! + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.0.7 +%endif +%define tde_pkg libkexiv2 +%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_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%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} +%define libkexiv %{_lib}kexiv +%else +%define libkexiv libkexiv +%endif + + +Name: trinity-%{tde_pkg} +Epoch: 2 +Version: 0.1.7 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Qt like interface for the libexiv2 library (runtime) [Trinity] +Group: System/Libraries +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: cmake >= 2.8 +BuildRequires: gettext +BuildRequires: gcc-c++ + +# EXIV2 +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}exiv2-devel +%endif +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: exiv2-devel +%endif +%if 0%{?suse_version} +BuildRequires: libexiv2-devel +%endif + +%description +libkexif2 contains the library of libkexiv2. +Libkexif is a wrapper around Exiv2 library to manipulate pictures metadata. + +########## + +%package -n trinity-%{libkexiv}2-5 +Summary: Qt like interface for the libexiv2 library (runtime) [Trinity] +Group: System/Libraries + +Obsoletes: trinity-%{tde_pkg} < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-%{tde_pkg} = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n trinity-%{libkexiv}2-5 +libkexif2 contains the library of libkexiv2. +Libkexif is a wrapper around Exiv2 library to manipulate pictures metadata. + +%files -n trinity-%{libkexiv}2-5 +%defattr(-,root,root,-) +%{tde_libdir}/libkexiv2.so.5 +%{tde_libdir}/libkexiv2.so.5.0.0 + +########## + +%package -n trinity-%{libkexiv}2-devel +Group: Development/Libraries/Other +Summary: Qt like interface for the libexiv2 library (development) [Trinity] +Requires: trinity-%{libkexiv}2-5 = %{?epoch:%{epoch}:}%{version}-%{release} + +Obsoletes: trinity-%{tde_pkg}-devel < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-%{tde_pkg}-devel = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n trinity-%{libkexiv}2-devel +libkexif2-devel contains development files and documentation for libkexiv2 +library. The library documentation is available on kexiv2.h header file. +Libkexif is a wrapper around Exiv2 library to manipulate pictures metadata. + +%files -n trinity-%{libkexiv}2-devel +%defattr(-,root,root,-) +%{tde_libdir}/libkexiv2.so +%{tde_libdir}/libkexiv2.la +%{tde_tdeincludedir}/libkexiv2/ +%{tde_libdir}/pkgconfig/libkexiv2.pc + +########## + +%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} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}" \ + -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/libraries/libkipi/libkipi-14.0.0.spec b/redhat/libraries/libkipi/libkipi-14.0.0.spec deleted file mode 100644 index 010aafa52..000000000 --- a/redhat/libraries/libkipi/libkipi-14.0.0.spec +++ /dev/null @@ -1,206 +0,0 @@ -# -# spec file for package libkipi (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/ -# - -# BUILD WARNING: -# Remove qt-devel and qt3-devel and any kde*-devel on your system ! -# Having KDE libraries may cause FTBFS here ! - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.0.0 -%endif -%define tde_pkg libkipi -%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_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%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} -%define libkipi %{_lib}kipi -%else -%define libkipi libkipi -%endif - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.1.5 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Library for apps that want to use kipi-plugins (runtime version) [Trinity] -Group: System/Libraries -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: pkgconfig -BuildRequires: gettext -BuildRequires: gcc-c++ - -# LCMS support -%if 0%{?suse_version} || 0%{?rhel} >= 7 -BuildRequires: liblcms-devel -%else -BuildRequires: lcms-devel -%endif - -# JPEG support -BuildRequires: libjpeg-devel - -# AUTOTOOLS -BuildRequires: automake autoconf libtool -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}ltdl-devel -%endif -%if 0%{?fedora} || 0%{?rhel} >= 5 || 0%{?suse_version} >= 1220 -BuildRequires: libtool-ltdl-devel -%endif - -%description -Libkipi is a library -- that contains common routines and widget used by kipi-plugins -- to ease implementation of the kipi-plugins interface in an application - that wants to use kipi-plugins - -Homepage: http://www.kipi-plugins.org/ - -########## - -%package -n trinity-%{libkipi}0 -Summary: library for apps that want to use kipi-plugins (runtime version) [Trinity] -Group: System/Libraries - -Obsoletes: trinity-%{tde_pkg} < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-%{tde_pkg} = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -n trinity-%{libkipi}0 -Libkipi is a library - o that contains common routines and widget used by kipi-plugins - o to ease implementation of the kipi-plugins interface in an application - that wants to use kipi-plugins - -Homepage: http://www.kipi-plugins.org/ - -%files -n trinity-%{libkipi}0 -f %{tde_pkg}.lang -%defattr(-,root,root,-) -%{tde_libdir}/libkipi.so.0 -%{tde_libdir}/libkipi.so.0.1.1 -%{tde_datadir}/apps/kipi/ -%{tde_datadir}/icons/hicolor/*/apps/kipi.png -%{tde_datadir}/servicetypes/kipiplugin.desktop - -########## - -%package -n trinity-%{libkipi}-devel -Group: Development/Libraries/Other -Summary: library for apps that want to use kipi-plugins (development version) [Trinity] -Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} - -Obsoletes: trinity-%{tde_pkg}-devel < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-%{tde_pkg}-devel = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -n trinity-%{libkipi}-devel -Libkipi is a library - o that contains common routines and widget used by kipi-plugins - o to ease implementation of the kipi-plugins interface in an application - that wants to use kipi-plugins - -This package contains development files and documentation for libkipi library. -Homepage: http://www.kipi-plugins.org/ - -%files -n trinity-%{libkipi}-devel -%defattr(-,root,root,-) -%{tde_libdir}/libkipi.so -%{tde_libdir}/libkipi.la -%{tde_tdeincludedir}/libkipi/ -%{tde_libdir}/pkgconfig/libkipi.pc - -########## - -%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}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --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} - -%find_lang %{tde_pkg} - - -%clean -%__rm -rf %{buildroot} - - - - - -%changelog diff --git a/redhat/libraries/libkipi/libkipi.spec b/redhat/libraries/libkipi/libkipi.spec new file mode 100644 index 000000000..5c8e49c4f --- /dev/null +++ b/redhat/libraries/libkipi/libkipi.spec @@ -0,0 +1,208 @@ +# +# spec file for package libkipi (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/ +# + +# BUILD WARNING: +# Remove qt-devel and qt3-devel and any kde*-devel on your system ! +# Having KDE libraries may cause FTBFS here ! + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.0.7 +%endif +%define tde_pkg libkipi +%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_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%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} +%define libkipi %{_lib}kipi +%else +%define libkipi libkipi +%endif + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.1.5 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Library for apps that want to use kipi-plugins (runtime version) [Trinity] +Group: System/Libraries +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: pkgconfig +BuildRequires: gettext +BuildRequires: gcc-c++ + +# LCMS support +%if 0%{?suse_version} || 0%{?rhel} >= 7 +BuildRequires: liblcms-devel +%else +BuildRequires: lcms-devel +%endif + +# JPEG support +BuildRequires: libjpeg-devel + +# CMAKE +BuildRequires: cmake >= 2.8 + +%description +Libkipi is a library +- that contains common routines and widget used by kipi-plugins +- to ease implementation of the kipi-plugins interface in an application + that wants to use kipi-plugins + +Homepage: http://www.kipi-plugins.org/ + +########## + +%package -n trinity-%{libkipi}0 +Summary: library for apps that want to use kipi-plugins (runtime version) [Trinity] +Group: System/Libraries + +Obsoletes: trinity-%{tde_pkg} < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-%{tde_pkg} = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n trinity-%{libkipi}0 +Libkipi is a library + o that contains common routines and widget used by kipi-plugins + o to ease implementation of the kipi-plugins interface in an application + that wants to use kipi-plugins + +Homepage: http://www.kipi-plugins.org/ + +%files -n trinity-%{libkipi}0 -f %{tde_pkg}.lang +%defattr(-,root,root,-) +%{tde_libdir}/libkipi.so.0 +%{tde_libdir}/libkipi.so.0.1.1 +%{tde_datadir}/kipi/ +%{tde_datadir}/icons/hicolor/*/apps/kipi.png +%{tde_datadir}/servicetypes/kipiplugin.desktop + +########## + +%package -n trinity-%{libkipi}-devel +Group: Development/Libraries/Other +Summary: library for apps that want to use kipi-plugins (development version) [Trinity] +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} + +Obsoletes: trinity-%{tde_pkg}-devel < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-%{tde_pkg}-devel = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n trinity-%{libkipi}-devel +Libkipi is a library + o that contains common routines and widget used by kipi-plugins + o to ease implementation of the kipi-plugins interface in an application + that wants to use kipi-plugins + +This package contains development files and documentation for libkipi library. +Homepage: http://www.kipi-plugins.org/ + +%files -n trinity-%{libkipi}-devel +%defattr(-,root,root,-) +%{tde_libdir}/libkipi.so +%{tde_libdir}/libkipi.la +%{tde_tdeincludedir}/libkipi/ +%{tde_libdir}/pkgconfig/libkipi.pc + +########## + +%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} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=OFF \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + -DDATA_INSTALL_DIR="%{tde_datadir}" \ + -DSERVICETYPES_INSTALL_DIR="%{tde_datadir}/servicetypes" \ + -DICON_INSTALL_DIR="%{tde_datadir}/icons" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_TRANSLATIONS=ON \ + \ + .. + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%find_lang %{tde_pkg} + + +%clean +%__rm -rf %{buildroot} + + + + + +%changelog diff --git a/redhat/libraries/libksquirrel/libksquirrel-14.0.0.spec b/redhat/libraries/libksquirrel/libksquirrel-14.0.0.spec deleted file mode 100644 index 9254f1700..000000000 --- a/redhat/libraries/libksquirrel/libksquirrel-14.0.0.spec +++ /dev/null @@ -1,564 +0,0 @@ -%if 0%{?fedora} >= 23 -%define _hardened_ldflags %nil -%endif - -# -# spec file for package libksquirrel (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/ -# - -# BUILD WARNING: -# Remove qt-devel and qt3-devel and any kde*-devel on your system ! -# Having KDE libraries may cause FTBFS here ! - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.0.0 -%endif -%define tde_pkg libksquirrel -%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_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.0 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Trinity image viewer -Group: System/Libraries -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: desktop-file-utils -BuildRequires: gcc-c++ -BuildRequires: pkgconfig - -# AUTOTOOLS -BuildRequires: automake autoconf libtool -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}ltdl-devel -%endif -%if 0%{?fedora} || 0%{?rhel} >= 5 || 0%{?suse_version} >= 1220 -BuildRequires: libtool-ltdl-devel -%endif - -# TRANSFIG support -BuildRequires: transfig - -# GHOSTSCRIPT support -%define with_ghostscript 1 -BuildRequires: ghostscript - -# GETTEXT support -BuildRequires: gettext -BuildRequires: gettext-devel - -# OPENEXR support -BuildRequires: OpenEXR-devel - -# TIFF support -BuildRequires: libtiff-devel - -# GIF support -%if 0%{?suse_version} || 0%{?fedora} >= 28 -BuildRequires: giflib-devel -%else -BuildRequires: libungif-devel -%endif - -# MNG support -BuildRequires: libmng-devel - -# DJVU support -%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define with_djvu 1 -BuildRequires: djvulibre -%endif - -# XMEDCON support -%if 0%{?fedora} -%define with_xmedcon 1 -BuildRequires: xmedcon -BuildRequires: xmedcon-devel -%endif - -# RSVG support -%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define with_svg 1 -%if 0%{?rhel} == 5 -BuildRequires: librsvg2-devel -%endif -%if 0%{?fedora} || 0%{?rhel} -BuildRequires: librsvg2 -%endif -%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7 -BuildRequires: librsvg2-tools -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: librsvg -%endif -%if 0%{?suse_version} -BuildRequires: rsvg-view -BuildRequires: librsvg-devel -%endif -%endif - -# JASPER support -%if 0%{?rhel} >=4 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define with_jasper 1 -%if 0%{?suse_version} -BuildRequires: libjasper-devel -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}jasper-devel -%endif -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: jasper-devel -%endif -%endif - -# FREETYPE support -%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define with_freetype 1 -%if 0%{?suse_version} == 1140 -BuildRequires: freetype2-devel -%else -BuildRequires: freetype-devel -%endif -%endif - -# WMF support -BuildRequires: libwmf-devel - -# XML2 support -BuildRequires: libxml2-devel - -# NETPBM support -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -BuildRequires: netpbm -%else -BuildRequires: netpbm-progs -%endif - - -%description -This package contains the runtime libraries for KSquirrel. - -%files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING LICENSE README -%dir %{tde_libdir}/ksquirrel-libs -%{tde_libdir}/ksquirrel-libs/libkls_avs.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_avs.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_bmp.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_bmp.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_camera.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_camera.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_cut.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_cut.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_dds.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_dds.so.0.8.0 -%if 0%{?with_xmedcon} -%{tde_libdir}/ksquirrel-libs/libkls_dicom.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_dicom.so.0.8.0 -%endif -%if 0%{?with_djvu} -%{tde_libdir}/ksquirrel-libs/libkls_djvu.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_djvu.so.0.8.0 -%endif -%if 0%{?with_ghostscript} -%{tde_libdir}/ksquirrel-libs/libkls_eps.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_eps.so.0.8.0 -%endif -%{tde_libdir}/ksquirrel-libs/libkls_fig.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_fig.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_fli.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_fli.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_gif.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_gif.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_hdr.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_hdr.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_ico.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_ico.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_iff.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_iff.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_jbig.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_jbig.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_jpeg.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_jpeg.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_jpeg2000.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_jpeg2000.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_koala.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_koala.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_leaf.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_leaf.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_lif.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_lif.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_ljpeg.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_ljpeg.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_mac.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_mac.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_mdl.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_mdl.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_mng.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_mng.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_mtv.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_mtv.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_neo.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_neo.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_openexr.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_openexr.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_pcx.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_pcx.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_pi1.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_pi1.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_pi3.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_pi3.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_pix.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_pix.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_png.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_png.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_pnm.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_pnm.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_psd.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_psd.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_psp.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_psp.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_pxr.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_pxr.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_ras.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_ras.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_rawrgb.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_rawrgb.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_sct.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_sct.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_sgi.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_sgi.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_sun.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_sun.so.0.8.0 -%if 0%{?with_svg} -%{tde_libdir}/ksquirrel-libs/libkls_svg.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_svg.so.0.8.0 -%endif -%{tde_libdir}/ksquirrel-libs/libkls_tga.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_tga.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_tiff.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_tiff.so.0.8.0 -%if 0%{?with_freetype} -%{tde_libdir}/ksquirrel-libs/libkls_ttf.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_ttf.so.0.8.0 -%endif -%{tde_libdir}/ksquirrel-libs/libkls_utah.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_utah.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_wal.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_wal.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_wbmp.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_wbmp.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_wmf.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_wmf.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_xbm.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_xbm.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_xcf.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_xcf.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_xcur.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_xcur.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_xim.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_xim.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_xpm.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_xpm.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_xwd.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_xwd.so.0.8.0 -%{tde_libdir}/libksquirrel-libs-png.so.0 -%{tde_libdir}/libksquirrel-libs-png.so.0.0.0 -%{tde_libdir}/libksquirrel-libs.so.0 -%{tde_libdir}/libksquirrel-libs.so.0.8.0 -%dir %{tde_datadir}/ksquirrel-libs -%{tde_datadir}/ksquirrel-libs/libkls_camera.so.ui -%if 0%{?with_djvu} -%{tde_datadir}/ksquirrel-libs/libkls_djvu.so.ui -%endif -%if 0%{?with_svg} -%{tde_datadir}/ksquirrel-libs/libkls_svg.so.ui -%endif -%{tde_datadir}/ksquirrel-libs/libkls_tiff.so.ui -%{tde_datadir}/ksquirrel-libs/libkls_xcf.so.ui -%{tde_datadir}/ksquirrel-libs/rgbmap - -########## - -%package devel -Group: Development/Libraries/Other -Summary: Trinity image viewer -Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} - -%description devel -This package contains the development libraries for KSquirrel. - -%files devel -%defattr(-,root,root,-) -%dir %{tde_includedir}/ksquirrel-libs -%{tde_includedir}/ksquirrel-libs/error.h -%{tde_includedir}/ksquirrel-libs/fileio.h -%{tde_includedir}/ksquirrel-libs/fmt_codec_base.h -%{tde_includedir}/ksquirrel-libs/fmt_defs.h -%{tde_includedir}/ksquirrel-libs/fmt_types.h -%{tde_includedir}/ksquirrel-libs/fmt_utils.h -%{tde_includedir}/ksquirrel-libs/settings.h -%{tde_libdir}/ksquirrel-libs/libkls_avs.la -%{tde_libdir}/ksquirrel-libs/libkls_avs.so -%{tde_libdir}/ksquirrel-libs/libkls_bmp.la -%{tde_libdir}/ksquirrel-libs/libkls_bmp.so -%{tde_libdir}/ksquirrel-libs/libkls_camera.la -%{tde_libdir}/ksquirrel-libs/libkls_camera.so -%{tde_libdir}/ksquirrel-libs/libkls_cut.la -%{tde_libdir}/ksquirrel-libs/libkls_cut.so -%{tde_libdir}/ksquirrel-libs/libkls_dds.la -%{tde_libdir}/ksquirrel-libs/libkls_dds.so -%if 0%{?with_xmedcon} -%{tde_libdir}/ksquirrel-libs/libkls_dicom.la -%{tde_libdir}/ksquirrel-libs/libkls_dicom.so -%endif -%if 0%{?with_djvu} -%{tde_libdir}/ksquirrel-libs/libkls_djvu.la -%{tde_libdir}/ksquirrel-libs/libkls_djvu.so -%endif -%if 0%{?with_ghostscript} -%{tde_libdir}/ksquirrel-libs/libkls_eps.la -%{tde_libdir}/ksquirrel-libs/libkls_eps.so -%endif -%{tde_libdir}/ksquirrel-libs/libkls_fig.la -%{tde_libdir}/ksquirrel-libs/libkls_fig.so -%{tde_libdir}/ksquirrel-libs/libkls_fli.la -%{tde_libdir}/ksquirrel-libs/libkls_fli.so -%{tde_libdir}/ksquirrel-libs/libkls_gif.la -%{tde_libdir}/ksquirrel-libs/libkls_gif.so -%{tde_libdir}/ksquirrel-libs/libkls_hdr.la -%{tde_libdir}/ksquirrel-libs/libkls_hdr.so -%{tde_libdir}/ksquirrel-libs/libkls_ico.la -%{tde_libdir}/ksquirrel-libs/libkls_ico.so -%{tde_libdir}/ksquirrel-libs/libkls_iff.la -%{tde_libdir}/ksquirrel-libs/libkls_iff.so -%{tde_libdir}/ksquirrel-libs/libkls_jbig.la -%{tde_libdir}/ksquirrel-libs/libkls_jbig.so -%{tde_libdir}/ksquirrel-libs/libkls_jpeg.la -%{tde_libdir}/ksquirrel-libs/libkls_jpeg.so -%{tde_libdir}/ksquirrel-libs/libkls_jpeg2000.la -%{tde_libdir}/ksquirrel-libs/libkls_jpeg2000.so -%{tde_libdir}/ksquirrel-libs/libkls_koala.la -%{tde_libdir}/ksquirrel-libs/libkls_koala.so -%{tde_libdir}/ksquirrel-libs/libkls_leaf.la -%{tde_libdir}/ksquirrel-libs/libkls_leaf.so -%{tde_libdir}/ksquirrel-libs/libkls_lif.la -%{tde_libdir}/ksquirrel-libs/libkls_lif.so -%{tde_libdir}/ksquirrel-libs/libkls_ljpeg.la -%{tde_libdir}/ksquirrel-libs/libkls_ljpeg.so -%{tde_libdir}/ksquirrel-libs/libkls_mac.la -%{tde_libdir}/ksquirrel-libs/libkls_mac.so -%{tde_libdir}/ksquirrel-libs/libkls_mdl.la -%{tde_libdir}/ksquirrel-libs/libkls_mdl.so -%{tde_libdir}/ksquirrel-libs/libkls_mng.la -%{tde_libdir}/ksquirrel-libs/libkls_mng.so -%{tde_libdir}/ksquirrel-libs/libkls_mtv.la -%{tde_libdir}/ksquirrel-libs/libkls_mtv.so -%{tde_libdir}/ksquirrel-libs/libkls_neo.la -%{tde_libdir}/ksquirrel-libs/libkls_neo.so -%{tde_libdir}/ksquirrel-libs/libkls_openexr.la -%{tde_libdir}/ksquirrel-libs/libkls_openexr.so -%{tde_libdir}/ksquirrel-libs/libkls_pcx.la -%{tde_libdir}/ksquirrel-libs/libkls_pcx.so -%{tde_libdir}/ksquirrel-libs/libkls_pi1.la -%{tde_libdir}/ksquirrel-libs/libkls_pi1.so -%{tde_libdir}/ksquirrel-libs/libkls_pi3.la -%{tde_libdir}/ksquirrel-libs/libkls_pi3.so -%{tde_libdir}/ksquirrel-libs/libkls_pix.la -%{tde_libdir}/ksquirrel-libs/libkls_pix.so -%{tde_libdir}/ksquirrel-libs/libkls_png.la -%{tde_libdir}/ksquirrel-libs/libkls_png.so -%{tde_libdir}/ksquirrel-libs/libkls_pnm.la -%{tde_libdir}/ksquirrel-libs/libkls_pnm.so -%{tde_libdir}/ksquirrel-libs/libkls_psd.la -%{tde_libdir}/ksquirrel-libs/libkls_psd.so -%{tde_libdir}/ksquirrel-libs/libkls_psp.la -%{tde_libdir}/ksquirrel-libs/libkls_psp.so -%{tde_libdir}/ksquirrel-libs/libkls_pxr.la -%{tde_libdir}/ksquirrel-libs/libkls_pxr.so -%{tde_libdir}/ksquirrel-libs/libkls_ras.la -%{tde_libdir}/ksquirrel-libs/libkls_ras.so -%{tde_libdir}/ksquirrel-libs/libkls_rawrgb.la -%{tde_libdir}/ksquirrel-libs/libkls_rawrgb.so -%{tde_libdir}/ksquirrel-libs/libkls_sct.la -%{tde_libdir}/ksquirrel-libs/libkls_sct.so -%{tde_libdir}/ksquirrel-libs/libkls_sgi.la -%{tde_libdir}/ksquirrel-libs/libkls_sgi.so -%{tde_libdir}/ksquirrel-libs/libkls_sun.la -%{tde_libdir}/ksquirrel-libs/libkls_sun.so -%if 0%{?with_svg} -%{tde_libdir}/ksquirrel-libs/libkls_svg.la -%{tde_libdir}/ksquirrel-libs/libkls_svg.so -%endif -%{tde_libdir}/ksquirrel-libs/libkls_tga.la -%{tde_libdir}/ksquirrel-libs/libkls_tga.so -%{tde_libdir}/ksquirrel-libs/libkls_tiff.la -%{tde_libdir}/ksquirrel-libs/libkls_tiff.so -%if 0%{?with_freetype} -%{tde_libdir}/ksquirrel-libs/libkls_ttf.la -%{tde_libdir}/ksquirrel-libs/libkls_ttf.so -%endif -%{tde_libdir}/ksquirrel-libs/libkls_utah.la -%{tde_libdir}/ksquirrel-libs/libkls_utah.so -%{tde_libdir}/ksquirrel-libs/libkls_wal.la -%{tde_libdir}/ksquirrel-libs/libkls_wal.so -%{tde_libdir}/ksquirrel-libs/libkls_wbmp.la -%{tde_libdir}/ksquirrel-libs/libkls_wbmp.so -%{tde_libdir}/ksquirrel-libs/libkls_wmf.la -%{tde_libdir}/ksquirrel-libs/libkls_wmf.so -%{tde_libdir}/ksquirrel-libs/libkls_xbm.la -%{tde_libdir}/ksquirrel-libs/libkls_xbm.so -%{tde_libdir}/ksquirrel-libs/libkls_xcf.la -%{tde_libdir}/ksquirrel-libs/libkls_xcf.so -%{tde_libdir}/ksquirrel-libs/libkls_xcur.la -%{tde_libdir}/ksquirrel-libs/libkls_xcur.so -%{tde_libdir}/ksquirrel-libs/libkls_xim.la -%{tde_libdir}/ksquirrel-libs/libkls_xim.so -%{tde_libdir}/ksquirrel-libs/libkls_xpm.la -%{tde_libdir}/ksquirrel-libs/libkls_xpm.so -%{tde_libdir}/ksquirrel-libs/libkls_xwd.la -%{tde_libdir}/ksquirrel-libs/libkls_xwd.so -%{tde_libdir}/libksquirrel-libs-png.la -%{tde_libdir}/libksquirrel-libs-png.so -%{tde_libdir}/libksquirrel-libs.la -%{tde_libdir}/libksquirrel-libs.so -%{tde_libdir}/pkgconfig/ksquirrellibs.pc -%{tde_docdir}/ksquirrel-libs/ - -########## - -%package tools -Summary: Trinity image viewer -Group: System/Libraries -Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} - -%description tools -This package contains the tools for KSquirrel. - -%files tools -%defattr(-,root,root,-) -%{tde_bindir}/ksquirrel-libs-camera2ppm -%{tde_bindir}/ksquirrel-libs-dcraw -%if 0%{?with_xmedcon} -%{tde_bindir}/ksquirrel-libs-dicom2png -%endif -%{tde_bindir}/ksquirrel-libs-fig2ppm -%{tde_bindir}/ksquirrel-libs-iff2ppm -%{tde_bindir}/ksquirrel-libs-leaf2ppm -%{tde_bindir}/ksquirrel-libs-ljpeg2ppm -%{tde_bindir}/ksquirrel-libs-ljpeg2ppm-s -%{tde_bindir}/ksquirrel-libs-mac2ppm -%{tde_bindir}/ksquirrel-libs-neo2ppm -%{tde_bindir}/ksquirrel-libs-pi12ppm -%{tde_bindir}/ksquirrel-libs-pi32ppm -%if 0%{?with_svg} -%{tde_bindir}/ksquirrel-libs-svg2png -%endif -%if 0%{?with_freetype} -%{tde_bindir}/ksquirrel-libs-ttf2pnm -%endif -%{tde_bindir}/ksquirrel-libs-utah2ppm -%{tde_bindir}/ksquirrel-libs-xcf2pnm -%{tde_bindir}/ksquirrel-libs-xim2ppm - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -# FIXME: under PCLinuxOS, headers are under 'freetype2' not 'freetype' -if [ -r /usr/include/freetype2/ftbitmap.h ]; then - %__sed -i "configure.ac" -e "s|freetype/ftbitmap.h|freetype2/ftbitmap.h|" - %__sed -i "kernel/kls_ttf/ttf2pnm.cpp" -e "s|freetype/config/|freetype2/config/|" -fi - -%__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} \ - --libdir=%{tde_libdir} \ - --includedir=%{tde_includedir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --enable-final \ - --enable-closure \ - --enable-rpath \ - --disable-gcc-hidden-visibility \ - \ - %{?with_djvu:--enable-djvu} - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/libraries/libksquirrel/libksquirrel.spec b/redhat/libraries/libksquirrel/libksquirrel.spec new file mode 100644 index 000000000..f2476bc2c --- /dev/null +++ b/redhat/libraries/libksquirrel/libksquirrel.spec @@ -0,0 +1,568 @@ +%if 0%{?fedora} >= 23 || 0%{?rhel} >= 8 +%define _hardened_ldflags %nil +%endif + +# +# spec file for package libksquirrel (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/ +# + +# BUILD WARNING: +# Remove qt-devel and qt3-devel and any kde*-devel on your system ! +# Having KDE libraries may cause FTBFS here ! + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.0.7 +%endif +%define tde_pkg libksquirrel +%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_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.0 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Trinity image viewer +Group: System/Libraries +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: desktop-file-utils +BuildRequires: gcc-c++ +BuildRequires: pkgconfig + +# AUTOTOOLS +BuildRequires: automake autoconf libtool +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}ltdl-devel +%endif +%if 0%{?fedora} || 0%{?rhel} >= 5 || 0%{?suse_version} >= 1220 +BuildRequires: libtool-ltdl-devel +%endif + +# TRANSFIG support +BuildRequires: transfig + +# GHOSTSCRIPT support +%define with_ghostscript 1 +BuildRequires: ghostscript + +# GETTEXT support +BuildRequires: gettext +BuildRequires: gettext-devel + +# OPENEXR support +BuildRequires: OpenEXR-devel + +# TIFF support +BuildRequires: libtiff-devel + +# GIF support +%if 0%{?suse_version} || 0%{?fedora} >= 28 || 0%{?rhel} >= 8 +BuildRequires: giflib-devel +%else +BuildRequires: libungif-devel +%endif + +# MNG support +BuildRequires: libmng-devel + +# DJVU support +%if 0%{?fedora} || 0%{?rhel} == 6 || 0%{?rhel} == 7 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define with_djvu 1 +BuildRequires: djvulibre +%endif + +# XMEDCON support +%if 0%{?fedora} +%define with_xmedcon 1 +BuildRequires: xmedcon +BuildRequires: xmedcon-devel +%endif + +# RSVG support +%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define with_svg 1 +%if 0%{?rhel} == 5 +BuildRequires: librsvg2-devel +%endif +%if 0%{?fedora} || 0%{?rhel} +BuildRequires: librsvg2 +%endif +%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7 +BuildRequires: librsvg2-tools +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: librsvg +%endif +%if 0%{?suse_version} +%if 0%{?suse_version} >= 1550 +BuildRequires: rsvg-convert +%else +BuildRequires: rsvg-view +%endif +BuildRequires: librsvg-devel +%endif +%endif + +# JASPER support +%if 0%{?rhel} >=4 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define with_jasper 1 +%if 0%{?suse_version} +BuildRequires: libjasper-devel +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}jasper-devel +%endif +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: jasper-devel +%endif +%endif + +# FREETYPE support +%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define with_freetype 1 +%if 0%{?suse_version} == 1140 +BuildRequires: freetype2-devel +%else +BuildRequires: freetype-devel +%endif +%endif + +# WMF support +BuildRequires: libwmf-devel + +# XML2 support +BuildRequires: libxml2-devel + +# NETPBM support +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +BuildRequires: netpbm +%else +BuildRequires: netpbm-progs +%endif + + +%description +This package contains the runtime libraries for KSquirrel. + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING LICENSE README +%dir %{tde_libdir}/ksquirrel-libs +%{tde_libdir}/ksquirrel-libs/libkls_avs.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_avs.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_bmp.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_bmp.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_camera.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_camera.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_cut.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_cut.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_dds.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_dds.so.0.8.0 +%if 0%{?with_xmedcon} +%{tde_libdir}/ksquirrel-libs/libkls_dicom.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_dicom.so.0.8.0 +%endif +%if 0%{?with_djvu} +%{tde_libdir}/ksquirrel-libs/libkls_djvu.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_djvu.so.0.8.0 +%endif +%if 0%{?with_ghostscript} +%{tde_libdir}/ksquirrel-libs/libkls_eps.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_eps.so.0.8.0 +%endif +%{tde_libdir}/ksquirrel-libs/libkls_fig.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_fig.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_fli.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_fli.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_gif.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_gif.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_hdr.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_hdr.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_ico.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_ico.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_iff.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_iff.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_jbig.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_jbig.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_jpeg.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_jpeg.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_jpeg2000.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_jpeg2000.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_koala.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_koala.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_leaf.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_leaf.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_lif.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_lif.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_ljpeg.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_ljpeg.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_mac.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_mac.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_mdl.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_mdl.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_mng.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_mng.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_mtv.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_mtv.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_neo.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_neo.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_openexr.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_openexr.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_pcx.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_pcx.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_pi1.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_pi1.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_pi3.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_pi3.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_pix.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_pix.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_png.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_png.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_pnm.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_pnm.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_psd.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_psd.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_psp.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_psp.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_pxr.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_pxr.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_ras.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_ras.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_rawrgb.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_rawrgb.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_sct.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_sct.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_sgi.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_sgi.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_sun.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_sun.so.0.8.0 +%if 0%{?with_svg} +%{tde_libdir}/ksquirrel-libs/libkls_svg.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_svg.so.0.8.0 +%endif +%{tde_libdir}/ksquirrel-libs/libkls_tga.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_tga.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_tiff.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_tiff.so.0.8.0 +%if 0%{?with_freetype} +%{tde_libdir}/ksquirrel-libs/libkls_ttf.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_ttf.so.0.8.0 +%endif +%{tde_libdir}/ksquirrel-libs/libkls_utah.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_utah.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_wal.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_wal.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_wbmp.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_wbmp.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_wmf.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_wmf.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_xbm.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_xbm.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_xcf.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_xcf.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_xcur.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_xcur.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_xim.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_xim.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_xpm.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_xpm.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_xwd.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_xwd.so.0.8.0 +%{tde_libdir}/libksquirrel-libs-png.so.0 +%{tde_libdir}/libksquirrel-libs-png.so.0.0.0 +%{tde_libdir}/libksquirrel-libs.so.0 +%{tde_libdir}/libksquirrel-libs.so.0.8.0 +%dir %{tde_datadir}/ksquirrel-libs +%{tde_datadir}/ksquirrel-libs/libkls_camera.so.ui +%if 0%{?with_djvu} +%{tde_datadir}/ksquirrel-libs/libkls_djvu.so.ui +%endif +%if 0%{?with_svg} +%{tde_datadir}/ksquirrel-libs/libkls_svg.so.ui +%endif +%{tde_datadir}/ksquirrel-libs/libkls_tiff.so.ui +%{tde_datadir}/ksquirrel-libs/libkls_xcf.so.ui +%{tde_datadir}/ksquirrel-libs/rgbmap + +########## + +%package devel +Group: Development/Libraries/Other +Summary: Trinity image viewer +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} + +%description devel +This package contains the development libraries for KSquirrel. + +%files devel +%defattr(-,root,root,-) +%dir %{tde_includedir}/ksquirrel-libs +%{tde_includedir}/ksquirrel-libs/error.h +%{tde_includedir}/ksquirrel-libs/fileio.h +%{tde_includedir}/ksquirrel-libs/fmt_codec_base.h +%{tde_includedir}/ksquirrel-libs/fmt_defs.h +%{tde_includedir}/ksquirrel-libs/fmt_types.h +%{tde_includedir}/ksquirrel-libs/fmt_utils.h +%{tde_includedir}/ksquirrel-libs/settings.h +%{tde_libdir}/ksquirrel-libs/libkls_avs.la +%{tde_libdir}/ksquirrel-libs/libkls_avs.so +%{tde_libdir}/ksquirrel-libs/libkls_bmp.la +%{tde_libdir}/ksquirrel-libs/libkls_bmp.so +%{tde_libdir}/ksquirrel-libs/libkls_camera.la +%{tde_libdir}/ksquirrel-libs/libkls_camera.so +%{tde_libdir}/ksquirrel-libs/libkls_cut.la +%{tde_libdir}/ksquirrel-libs/libkls_cut.so +%{tde_libdir}/ksquirrel-libs/libkls_dds.la +%{tde_libdir}/ksquirrel-libs/libkls_dds.so +%if 0%{?with_xmedcon} +%{tde_libdir}/ksquirrel-libs/libkls_dicom.la +%{tde_libdir}/ksquirrel-libs/libkls_dicom.so +%endif +%if 0%{?with_djvu} +%{tde_libdir}/ksquirrel-libs/libkls_djvu.la +%{tde_libdir}/ksquirrel-libs/libkls_djvu.so +%endif +%if 0%{?with_ghostscript} +%{tde_libdir}/ksquirrel-libs/libkls_eps.la +%{tde_libdir}/ksquirrel-libs/libkls_eps.so +%endif +%{tde_libdir}/ksquirrel-libs/libkls_fig.la +%{tde_libdir}/ksquirrel-libs/libkls_fig.so +%{tde_libdir}/ksquirrel-libs/libkls_fli.la +%{tde_libdir}/ksquirrel-libs/libkls_fli.so +%{tde_libdir}/ksquirrel-libs/libkls_gif.la +%{tde_libdir}/ksquirrel-libs/libkls_gif.so +%{tde_libdir}/ksquirrel-libs/libkls_hdr.la +%{tde_libdir}/ksquirrel-libs/libkls_hdr.so +%{tde_libdir}/ksquirrel-libs/libkls_ico.la +%{tde_libdir}/ksquirrel-libs/libkls_ico.so +%{tde_libdir}/ksquirrel-libs/libkls_iff.la +%{tde_libdir}/ksquirrel-libs/libkls_iff.so +%{tde_libdir}/ksquirrel-libs/libkls_jbig.la +%{tde_libdir}/ksquirrel-libs/libkls_jbig.so +%{tde_libdir}/ksquirrel-libs/libkls_jpeg.la +%{tde_libdir}/ksquirrel-libs/libkls_jpeg.so +%{tde_libdir}/ksquirrel-libs/libkls_jpeg2000.la +%{tde_libdir}/ksquirrel-libs/libkls_jpeg2000.so +%{tde_libdir}/ksquirrel-libs/libkls_koala.la +%{tde_libdir}/ksquirrel-libs/libkls_koala.so +%{tde_libdir}/ksquirrel-libs/libkls_leaf.la +%{tde_libdir}/ksquirrel-libs/libkls_leaf.so +%{tde_libdir}/ksquirrel-libs/libkls_lif.la +%{tde_libdir}/ksquirrel-libs/libkls_lif.so +%{tde_libdir}/ksquirrel-libs/libkls_ljpeg.la +%{tde_libdir}/ksquirrel-libs/libkls_ljpeg.so +%{tde_libdir}/ksquirrel-libs/libkls_mac.la +%{tde_libdir}/ksquirrel-libs/libkls_mac.so +%{tde_libdir}/ksquirrel-libs/libkls_mdl.la +%{tde_libdir}/ksquirrel-libs/libkls_mdl.so +%{tde_libdir}/ksquirrel-libs/libkls_mng.la +%{tde_libdir}/ksquirrel-libs/libkls_mng.so +%{tde_libdir}/ksquirrel-libs/libkls_mtv.la +%{tde_libdir}/ksquirrel-libs/libkls_mtv.so +%{tde_libdir}/ksquirrel-libs/libkls_neo.la +%{tde_libdir}/ksquirrel-libs/libkls_neo.so +%{tde_libdir}/ksquirrel-libs/libkls_openexr.la +%{tde_libdir}/ksquirrel-libs/libkls_openexr.so +%{tde_libdir}/ksquirrel-libs/libkls_pcx.la +%{tde_libdir}/ksquirrel-libs/libkls_pcx.so +%{tde_libdir}/ksquirrel-libs/libkls_pi1.la +%{tde_libdir}/ksquirrel-libs/libkls_pi1.so +%{tde_libdir}/ksquirrel-libs/libkls_pi3.la +%{tde_libdir}/ksquirrel-libs/libkls_pi3.so +%{tde_libdir}/ksquirrel-libs/libkls_pix.la +%{tde_libdir}/ksquirrel-libs/libkls_pix.so +%{tde_libdir}/ksquirrel-libs/libkls_png.la +%{tde_libdir}/ksquirrel-libs/libkls_png.so +%{tde_libdir}/ksquirrel-libs/libkls_pnm.la +%{tde_libdir}/ksquirrel-libs/libkls_pnm.so +%{tde_libdir}/ksquirrel-libs/libkls_psd.la +%{tde_libdir}/ksquirrel-libs/libkls_psd.so +%{tde_libdir}/ksquirrel-libs/libkls_psp.la +%{tde_libdir}/ksquirrel-libs/libkls_psp.so +%{tde_libdir}/ksquirrel-libs/libkls_pxr.la +%{tde_libdir}/ksquirrel-libs/libkls_pxr.so +%{tde_libdir}/ksquirrel-libs/libkls_ras.la +%{tde_libdir}/ksquirrel-libs/libkls_ras.so +%{tde_libdir}/ksquirrel-libs/libkls_rawrgb.la +%{tde_libdir}/ksquirrel-libs/libkls_rawrgb.so +%{tde_libdir}/ksquirrel-libs/libkls_sct.la +%{tde_libdir}/ksquirrel-libs/libkls_sct.so +%{tde_libdir}/ksquirrel-libs/libkls_sgi.la +%{tde_libdir}/ksquirrel-libs/libkls_sgi.so +%{tde_libdir}/ksquirrel-libs/libkls_sun.la +%{tde_libdir}/ksquirrel-libs/libkls_sun.so +%if 0%{?with_svg} +%{tde_libdir}/ksquirrel-libs/libkls_svg.la +%{tde_libdir}/ksquirrel-libs/libkls_svg.so +%endif +%{tde_libdir}/ksquirrel-libs/libkls_tga.la +%{tde_libdir}/ksquirrel-libs/libkls_tga.so +%{tde_libdir}/ksquirrel-libs/libkls_tiff.la +%{tde_libdir}/ksquirrel-libs/libkls_tiff.so +%if 0%{?with_freetype} +%{tde_libdir}/ksquirrel-libs/libkls_ttf.la +%{tde_libdir}/ksquirrel-libs/libkls_ttf.so +%endif +%{tde_libdir}/ksquirrel-libs/libkls_utah.la +%{tde_libdir}/ksquirrel-libs/libkls_utah.so +%{tde_libdir}/ksquirrel-libs/libkls_wal.la +%{tde_libdir}/ksquirrel-libs/libkls_wal.so +%{tde_libdir}/ksquirrel-libs/libkls_wbmp.la +%{tde_libdir}/ksquirrel-libs/libkls_wbmp.so +%{tde_libdir}/ksquirrel-libs/libkls_wmf.la +%{tde_libdir}/ksquirrel-libs/libkls_wmf.so +%{tde_libdir}/ksquirrel-libs/libkls_xbm.la +%{tde_libdir}/ksquirrel-libs/libkls_xbm.so +%{tde_libdir}/ksquirrel-libs/libkls_xcf.la +%{tde_libdir}/ksquirrel-libs/libkls_xcf.so +%{tde_libdir}/ksquirrel-libs/libkls_xcur.la +%{tde_libdir}/ksquirrel-libs/libkls_xcur.so +%{tde_libdir}/ksquirrel-libs/libkls_xim.la +%{tde_libdir}/ksquirrel-libs/libkls_xim.so +%{tde_libdir}/ksquirrel-libs/libkls_xpm.la +%{tde_libdir}/ksquirrel-libs/libkls_xpm.so +%{tde_libdir}/ksquirrel-libs/libkls_xwd.la +%{tde_libdir}/ksquirrel-libs/libkls_xwd.so +%{tde_libdir}/libksquirrel-libs-png.la +%{tde_libdir}/libksquirrel-libs-png.so +%{tde_libdir}/libksquirrel-libs.la +%{tde_libdir}/libksquirrel-libs.so +%{tde_libdir}/pkgconfig/ksquirrellibs.pc +%{tde_docdir}/ksquirrel-libs/ + +########## + +%package tools +Summary: Trinity image viewer +Group: System/Libraries +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} + +%description tools +This package contains the tools for KSquirrel. + +%files tools +%defattr(-,root,root,-) +%{tde_bindir}/ksquirrel-libs-camera2ppm +%{tde_bindir}/ksquirrel-libs-dcraw +%if 0%{?with_xmedcon} +%{tde_bindir}/ksquirrel-libs-dicom2png +%endif +%{tde_bindir}/ksquirrel-libs-fig2ppm +%{tde_bindir}/ksquirrel-libs-iff2ppm +%{tde_bindir}/ksquirrel-libs-leaf2ppm +%{tde_bindir}/ksquirrel-libs-ljpeg2ppm +%{tde_bindir}/ksquirrel-libs-ljpeg2ppm-s +%{tde_bindir}/ksquirrel-libs-mac2ppm +%{tde_bindir}/ksquirrel-libs-neo2ppm +%{tde_bindir}/ksquirrel-libs-pi12ppm +%{tde_bindir}/ksquirrel-libs-pi32ppm +%if 0%{?with_svg} +%{tde_bindir}/ksquirrel-libs-svg2png +%endif +%if 0%{?with_freetype} +%{tde_bindir}/ksquirrel-libs-ttf2pnm +%endif +%{tde_bindir}/ksquirrel-libs-utah2ppm +%{tde_bindir}/ksquirrel-libs-xcf2pnm +%{tde_bindir}/ksquirrel-libs-xim2ppm + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + +# FIXME: under PCLinuxOS, headers are under 'freetype2' not 'freetype' +if [ -r /usr/include/freetype2/ftbitmap.h ]; then + %__sed -i "configure.ac" -e "s|freetype/ftbitmap.h|freetype2/ftbitmap.h|" + %__sed -i "kernel/kls_ttf/ttf2pnm.cpp" -e "s|freetype/config/|freetype2/config/|" +fi + +%__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} \ + --libdir=%{tde_libdir} \ + --includedir=%{tde_includedir} \ + \ + --disable-dependency-tracking \ + --disable-debug \ + --enable-new-ldflags \ + --enable-final \ + --enable-closure \ + --enable-rpath \ + --disable-gcc-hidden-visibility \ + \ + %{?with_djvu:--enable-djvu} + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%clean +%__rm -rf %{buildroot} + + +%changelog diff --git a/redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec b/redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec deleted file mode 100644 index c13dbe2ae..000000000 --- a/redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec +++ /dev/null @@ -1,211 +0,0 @@ -# -# spec file for package libtdeldap (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/ -# - -# BUILD WARNING: -# Remove qt-devel and qt3-devel and any kde*-devel on your system ! -# Having KDE libraries may cause FTBFS here ! - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.0.0 -%endif -%define tde_pkg libtdeldap -%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_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: LDAP interface library for TDE -Group: System/Libraries -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: gcc-c++ - -# AUTOTOOLS -BuildRequires: automake autoconf libtool -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}ltdl-devel -%endif -%if 0%{?fedora} || 0%{?rhel} >= 5 || 0%{?suse_version} >= 1220 -BuildRequires: libtool-ltdl-devel -%endif - -# SASL support -%if 0%{?mageia} || 0%{?mandriva} || 0%{?pclinuxos} -BuildRequires: %{_lib}sasl2-devel -%endif -%if 0%{?suse_version} -BuildRequires: cyrus-sasl-devel -%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 - -# HEIMDAL support -%if 0%{?rhel} >= 5 || 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 -LDAP interface library for TDE management modules. - -%files -%defattr(-,root,root,-) -%{tde_libdir}/libtdeldap.so.1 -%{tde_libdir}/libtdeldap.so.1.0.0 - -########## - -%package devel -Group: Development/Libraries/Other -Summary: Trinity image viewer -Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} - -%description devel -LDAP interface library for TDE management modules. - -libtdeldap-trinity-dev contains development files and documentation. - -%files devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/ldappasswddlg.h -%{tde_tdeincludedir}/libtdeldap.h -%{tde_libdir}/libtdeldap.la -%{tde_libdir}/libtdeldap.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}" - -extra_includes="%{_includedir}" -extra_libs="%{_libdir}" - -if [ -d "%{_includedir}/openldap24" ]; then - extra_includes="%{_includedir}/openldap24:${extra_includes}" - extra_libs="%{_libdir}/openldap24:${extra_libs}" -fi - -if [ -d "%{_includedir}/heimdal" ]; then - extra_includes="%{_includedir}/heimdal:${extra_includes}" - extra_libs="%{_libdir}/heimdal:${extra_libs}" -fi - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --includedir=%{tde_tdeincludedir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --enable-final \ - --enable-closure \ - --enable-rpath \ - --disable-gcc-hidden-visibility \ - \ - --with-extra-includes=${extra_includes} \ - --with-extra-libs=${extra_libs} \ - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/libraries/libtdeldap/libtdeldap.spec b/redhat/libraries/libtdeldap/libtdeldap.spec new file mode 100644 index 000000000..57207a80c --- /dev/null +++ b/redhat/libraries/libtdeldap/libtdeldap.spec @@ -0,0 +1,211 @@ +# +# spec file for package libtdeldap (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/ +# + +# BUILD WARNING: +# Remove qt-devel and qt3-devel and any kde*-devel on your system ! +# Having KDE libraries may cause FTBFS here ! + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.0.7 +%endif +%define tde_pkg libtdeldap +%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_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: LDAP interface library for TDE +Group: System/Libraries +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: gcc-c++ + +# AUTOTOOLS +BuildRequires: automake autoconf libtool +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}ltdl-devel +%endif +%if 0%{?fedora} || 0%{?rhel} >= 5 || 0%{?suse_version} >= 1220 +BuildRequires: libtool-ltdl-devel +%endif + +# SASL support +%if 0%{?mageia} || 0%{?mandriva} || 0%{?pclinuxos} +BuildRequires: %{_lib}sasl2-devel +%endif +%if 0%{?suse_version} +BuildRequires: cyrus-sasl-devel +%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 + +# HEIMDAL support +#%if 0%{?rhel} >= 5 || 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 +LDAP interface library for TDE management modules. + +%files +%defattr(-,root,root,-) +%{tde_libdir}/libtdeldap.so.1 +%{tde_libdir}/libtdeldap.so.1.0.0 + +########## + +%package devel +Group: Development/Libraries/Other +Summary: Trinity image viewer +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} + +%description devel +LDAP interface library for TDE management modules. + +libtdeldap-trinity-dev contains development files and documentation. + +%files devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/ldappasswddlg.h +%{tde_tdeincludedir}/libtdeldap.h +%{tde_libdir}/libtdeldap.la +%{tde_libdir}/libtdeldap.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}" + +extra_includes="%{_includedir}" +extra_libs="%{_libdir}" + +if [ -d "%{_includedir}/openldap24" ]; then + extra_includes="%{_includedir}/openldap24:${extra_includes}" + extra_libs="%{_libdir}/openldap24:${extra_libs}" +fi + +if [ -d "%{_includedir}/heimdal" ]; then + extra_includes="%{_includedir}/heimdal:${extra_includes}" + extra_libs="%{_libdir}/heimdal:${extra_libs}" +fi + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --includedir=%{tde_tdeincludedir} \ + \ + --disable-dependency-tracking \ + --disable-debug \ + --enable-new-ldflags \ + --enable-final \ + --enable-closure \ + --enable-rpath \ + --disable-gcc-hidden-visibility \ + \ + --with-extra-includes=${extra_includes} \ + --with-extra-libs=${extra_libs} \ + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%clean +%__rm -rf %{buildroot} + + +%changelog diff --git a/redhat/libraries/libtqt-perl/libtqt-perl-14.0.0.spec b/redhat/libraries/libtqt-perl/libtqt-perl-14.0.0.spec deleted file mode 100644 index ab21298c0..000000000 --- a/redhat/libraries/libtqt-perl/libtqt-perl-14.0.0.spec +++ /dev/null @@ -1,175 +0,0 @@ -# -# spec file for package libtqt-perl (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.0.0 -%endif -%define tde_pkg libtqt-perl -%define tde_prefix /opt/trinity -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_mandir %{tde_datadir}/man -%define tde_tdeincludedir %{tde_includedir}/tde - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 3.008 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Perl bindings for the TQt library -Group: Development/Libraries/Perl -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: automake autoconf libtool -BuildRequires: gcc-c++ -BuildRequires: desktop-file-utils -BuildRequires: pkgconfig - -BuildRequires: trinity-libsmoketqt-devel >= %{tde_version} - -BuildRequires: perl(ExtUtils::MakeMaker) - -Requires: perl-TQt = %{?epoch:%{epoch}:}%{version}-%{release} - - -%description -This module lets you use the TQt library from Perl. -It provides an object-oriented interface and is easy to use. - -%files -%defattr(-,root,root,-) -%{tde_bindir}/puic -%{tde_mandir}/man1/puic.1* -%{_bindir}/pqtapi -%{_bindir}/pqtsh -%if 0%{?rhel} == 5 -%{_datadir}/doc/libqt-perl/ -%endif - -########## - -%package -n perl-TQt -Summary: Perl bindings for the TQt library -Group: Development/Libraries/Perl - -Provides: perl(TQtShell) -Provides: perl(TQtShellControl) - -%description -n perl-TQt -This module lets you use the TQt library from Perl. -It provides an object-oriented interface and is easy to use. - -%files -n perl-TQt -%defattr(-,root,root,-) -%{perl_vendorarch}/TQt.pm -%{perl_vendorarch}/TQt.pod -%dir %{perl_vendorarch}/TQt -%{perl_vendorarch}/TQt/GlobalSpace.pm -%{perl_vendorarch}/TQt/attributes.pm -%{perl_vendorarch}/TQt/constants.pm -%{perl_vendorarch}/TQt/debug.pm -%{perl_vendorarch}/TQt/enumerations.pm -%{perl_vendorarch}/TQt/isa.pm -%{perl_vendorarch}/TQt/properties.pm -%{perl_vendorarch}/TQt/signals.pm -%{perl_vendorarch}/TQt/slots.pm -%{perl_vendorarch}/auto/TQt/ -%{_mandir}/man3/TQt.3pm.* - -########## - -%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 TDEDIR=%{tde_prefix} -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-new-ldflags \ - --enable-final \ - --enable-closure \ - --enable-rpath \ - --disable-gcc-hidden-visibility \ - \ - --disable-smoke - -# Fix invalid path in RHEL 5 -%if 0%{?rhel} == 5 -%__sed -i "PerlTQt/Makefile" -e "s|\$(PREFIX)/|\$(DESTDIR)\$(PREFIX)/|" -%endif - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# Unwanted files -%__rm -f %{buildroot}%{perl_archlib}/perllocal.pod -%__rm -f %{buildroot}%{perl_vendorarch}/auto/TQt/.packlist - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/libraries/libtqt-perl/libtqt-perl.spec b/redhat/libraries/libtqt-perl/libtqt-perl.spec new file mode 100644 index 000000000..36577a66c --- /dev/null +++ b/redhat/libraries/libtqt-perl/libtqt-perl.spec @@ -0,0 +1,175 @@ +# +# spec file for package libtqt-perl (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.0.7 +%endif +%define tde_pkg libtqt-perl +%define tde_prefix /opt/trinity +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_mandir %{tde_datadir}/man +%define tde_tdeincludedir %{tde_includedir}/tde + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 3.008 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Perl bindings for the TQt library +Group: Development/Libraries/Perl +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: automake autoconf libtool +BuildRequires: gcc-c++ +BuildRequires: desktop-file-utils +BuildRequires: pkgconfig + +BuildRequires: trinity-libsmoketqt-devel >= %{tde_version} + +BuildRequires: perl(ExtUtils::MakeMaker) + +Requires: perl-TQt = %{?epoch:%{epoch}:}%{version}-%{release} + + +%description +This module lets you use the TQt library from Perl. +It provides an object-oriented interface and is easy to use. + +%files +%defattr(-,root,root,-) +%{tde_bindir}/puic +%{tde_mandir}/man1/puic.1* +%{_bindir}/pqtapi +%{_bindir}/pqtsh +%if 0%{?rhel} == 5 +%{_datadir}/doc/libqt-perl/ +%endif + +########## + +%package -n perl-TQt +Summary: Perl bindings for the TQt library +Group: Development/Libraries/Perl + +Provides: perl(TQtShell) +Provides: perl(TQtShellControl) + +%description -n perl-TQt +This module lets you use the TQt library from Perl. +It provides an object-oriented interface and is easy to use. + +%files -n perl-TQt +%defattr(-,root,root,-) +%{perl_vendorarch}/TQt.pm +%{perl_vendorarch}/TQt.pod +%dir %{perl_vendorarch}/TQt +%{perl_vendorarch}/TQt/GlobalSpace.pm +%{perl_vendorarch}/TQt/attributes.pm +%{perl_vendorarch}/TQt/constants.pm +%{perl_vendorarch}/TQt/debug.pm +%{perl_vendorarch}/TQt/enumerations.pm +%{perl_vendorarch}/TQt/isa.pm +%{perl_vendorarch}/TQt/properties.pm +%{perl_vendorarch}/TQt/signals.pm +%{perl_vendorarch}/TQt/slots.pm +%{perl_vendorarch}/auto/TQt/ +%{_mandir}/man3/TQt.3pm.* + +########## + +%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 TDEDIR=%{tde_prefix} +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-new-ldflags \ + --enable-final \ + --enable-closure \ + --enable-rpath \ + --disable-gcc-hidden-visibility \ + \ + --disable-smoke + +# Fix invalid path in RHEL 5 +%if 0%{?rhel} == 5 +%__sed -i "PerlTQt/Makefile" -e "s|\$(PREFIX)/|\$(DESTDIR)\$(PREFIX)/|" +%endif + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# Unwanted files +%__rm -f %{buildroot}%{perl_archlib}/perllocal.pod +%__rm -f %{buildroot}%{perl_vendorarch}/auto/TQt/.packlist + + +%clean +%__rm -rf %{buildroot} + + +%changelog diff --git a/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0.spec b/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0.spec deleted file mode 100644 index b8835c6d2..000000000 --- a/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0.spec +++ /dev/null @@ -1,251 +0,0 @@ -# -# spec file for package pytdeextensions (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/ -# - -%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.0.0 -%endif -%define tde_pkg pytdeextensions -%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_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 0.4.0 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Python packages to support TDE applications (scripts) -Group: Development/Libraries/Python -URL: http://www.trinitydesktop.org/ -#URL: http://www.simonzone.com/software/pykdeextensions - -%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: python-tqt-devel >= %{?epoch:%{epoch}:}3.18.1 -BuildRequires: trinity-python-trinity-devel -BuildRequires: trinity-pytqt-tools -Requires: python-tqt -Requires: trinity-python-trinity - -Requires: trinity-libpythonize0 = %{?epoch:%{epoch}:}%{version}-%{release} - -# SIP -BuildRequires: sip4-tqt-devel >= 4.10.5 -Requires: sip4-tqt >= 4.10.5 - - -Obsoletes: trinity-pykdeextensions < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-pykdeextensions = %{?epoch:%{epoch}:}%{version}-%{release} - - -%description -PyTDE Extensions is a collection of software and Python packages -to support the creation and installation of TDE applications. - - -%files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README TODO -%{tde_datadir}/apps/pytdeextensions/ -%{tde_tdedocdir}/HTML/en/pytdeextensions/ -%{python_sitearch}/* - -########## - -%package -n trinity-libpythonize0 -Summary: Python packages to support TDE applications (library) -Group: Development/Libraries/Python - -%description -n trinity-libpythonize0 -PyTDE Extensions is a collection of software and Python packages -to support the creation and installation of TDE applications. - -This package contains the libpythonize library files. - -%files -n trinity-libpythonize0 -%defattr(-,root,root,-) -%{tde_libdir}/libpythonize.so.* - -########## - -%package -n trinity-libpythonize-devel -Summary: Python packages to support TDE applications (development) -Group: Development/Libraries/Python -Requires: trinity-libpythonize0 = %{?epoch:%{epoch}:}%{version}-%{release} - -Obsoletes: trinity-libpythonize0-devel < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: trinity-libpythonize0-devel = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -n trinity-libpythonize-devel -PyTDE Extensions is a collection of software and Python packages -to support the creation and installation of TDE applications. - -This package contains the libpythonize development files. - -%files -n trinity-libpythonize-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/*.h -%{tde_libdir}/libpythonize.la -%{tde_libdir}/libpythonize.so - -########## - -%package devel -Summary: Meta-package to install all pytdeextensions development files -Group: Development/Libraries/Python -Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: trinity-libpythonize-devel = %{?epoch:%{epoch}:}%{version}-%{release} - -%description devel -This package is a meta-package to install all pytdeextensions development -files. - -%files devel - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -# Changes library directory to 'lib64' -# Also other fixes for distributions ... -for f in src/*.py; do - %__sed -i "${f}" \ - -e "s|'pytde-dir=',None,|'pytde-dir=','%{python_sitearch}',|g" \ - -e "s|self.pytde_dir = None|self.pytde_dir = \"%{python_sitearch}\"|g" \ - -e "s|'kde-lib-dir=',None,|'kde-lib-dir=','%{tde_libdir}',|g" \ - -e "s|self.kde_lib_dir = None|self.kde_lib_dir = \"%{tde_libdir}\"|g" \ - -e "s|'kde-kcm-lib-dir=',None,|'kde-kcm-lib-dir=','%{tde_libdir}/trinity',|g" \ - -e "s|self.kde_kcm_lib_dir = None|self.kde_kcm_lib_dir = \"%{tde_libdir}/trinity\"|g" \ - -e "s|%{tde_includedir}/tde|%{tde_tdeincludedir}|g" \ - -e 's|"/kde"|"/tde"|' \ - -e 's|"-I" + self.kde_inc_dir + "/tde"|"-I/opt/trinity/include"|' \ - -e "s|/usr/lib/pyshared/python\*|%{python_sitearch}|g" -done - -# Do not look for 'libpython2.x.so' (from -devel) package. -# Instead look for versioned runtime library. -LIBPYTHON="$(readlink %{_libdir}/libpython2.*.so)" -if [ -f "%{_libdir}/${LIBPYTHON}" ]; then - %__sed -i "src/tdedistutils.py" \ - -e "s|#define LIB_PYTHON \".*\"|#define LIB_PYTHON \"%{_libdir}/${LIBPYTHON}\"|" -fi - -# Fix FTBFS on RHEL 5 -%if 0%{?rhel} == 5 -%__sed -i "src/pythonize."* -e "s|const char \*object|char \*object|g" -%endif - -%if 0%{?fedora} >= 30 -%__sed -i "app_templates/kcontrol_module/setup.py" \ - "app_templates/kcontrol_module/src/kcontrol_module.py" \ - "app_templates/kdeapp/setup.py" \ - "app_templates/kdeapp/src/kdeapp.py" \ - "app_templates/kdeutility/setup.py" \ - "app_templates/kdeutility/src/kdeutility.py" \ - "app_templates/tdeioslave/setup.py" \ - "app_templates/tdeioslave/src/tdeioslave.py" \ - -e "s|/usr/bin/python|/usr/bin/env python2|" -%endif - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" - -%__mkdir_p build -./setup.py build_libpythonize - - -%install -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" - -# Avoids 'error: byte-compiling is disabled.' on Mandriva/Mageia -export PYTHONDONTWRITEBYTECODE= - -%__rm -rf %{buildroot} - -./setup.py install \ - --root=%{buildroot} \ - --prefix=%{tde_prefix} \ - --install-clib=%{tde_libdir} \ - --install-cheaders=%{tde_tdeincludedir} \ - -v - -# Removes BUILDROOT directory reference in installed files -for f in \ - %{buildroot}%{tde_libdir}/libpythonize.la \ - %{buildroot}%{tde_datadir}/apps/pytdeextensions/app_templates/kcontrol_module/src/KcontrolModuleWidgetUI.py \ - %{buildroot}%{tde_datadir}/apps/pytdeextensions/app_templates/kdeutility/src/KDEUtilityDialogUI.py \ -; do - %__sed -i "${f}" -e "s|%{buildroot}||g" -: -done - -# Moves PYTHON libraries to distribution directory -%__mkdir_p %{buildroot}%{python_sitearch} -%__mv -f %{buildroot}%{tde_prefix}/lib/python*/site-packages/* %{buildroot}%{python_sitearch} -%__rm -rf %{buildroot}%{tde_prefix}/lib/python*/site-packages - -# Removes useless files -%__rm -rf %{?buildroot}%{tde_libdir}/*.a - -# Fix permissions on include files -%__chmod 644 %{?buildroot}%{tde_tdeincludedir}/*.h - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/libraries/pytdeextensions/pytdeextensions.spec b/redhat/libraries/pytdeextensions/pytdeextensions.spec new file mode 100644 index 000000000..7a1919d30 --- /dev/null +++ b/redhat/libraries/pytdeextensions/pytdeextensions.spec @@ -0,0 +1,259 @@ +# +# spec file for package pytdeextensions (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.0.7 +%endif +%define tde_pkg pytdeextensions +%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_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 0.4.0 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Python packages to support TDE applications (scripts) +Group: Development/Libraries/Python +URL: http://www.trinitydesktop.org/ +#URL: http://www.simonzone.com/software/pykdeextensions + +%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: python-tqt-devel >= %{?epoch:%{epoch}:}3.18.1 +BuildRequires: trinity-python-trinity-devel +BuildRequires: trinity-pytqt-tools +Requires: python-tqt +Requires: trinity-python-trinity + +Requires: trinity-libpythonize0 = %{?epoch:%{epoch}:}%{version}-%{release} + +# SIP +BuildRequires: sip4-tqt-devel >= 4.10.5 +Requires: sip4-tqt >= 4.10.5 + +# PYTHON support +%if 0%{?rhel} >= 8 || 0%{?fedora} >= 31 +%define python python2 +%define __python %__python2 +%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} +%else +%define python python +%endif + + +Obsoletes: trinity-pykdeextensions < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-pykdeextensions = %{?epoch:%{epoch}:}%{version}-%{release} + + +%description +PyTDE Extensions is a collection of software and Python packages +to support the creation and installation of TDE applications. + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README TODO +%{tde_datadir}/apps/pytdeextensions/ +%{tde_tdedocdir}/HTML/en/pytdeextensions/ +%{python_sitearch}/* + +########## + +%package -n trinity-libpythonize0 +Summary: Python packages to support TDE applications (library) +Group: Development/Libraries/Python + +%description -n trinity-libpythonize0 +PyTDE Extensions is a collection of software and Python packages +to support the creation and installation of TDE applications. + +This package contains the libpythonize library files. + +%files -n trinity-libpythonize0 +%defattr(-,root,root,-) +%{tde_libdir}/libpythonize.so.* + +########## + +%package -n trinity-libpythonize-devel +Summary: Python packages to support TDE applications (development) +Group: Development/Libraries/Python +Requires: trinity-libpythonize0 = %{?epoch:%{epoch}:}%{version}-%{release} + +Obsoletes: trinity-libpythonize0-devel < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: trinity-libpythonize0-devel = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n trinity-libpythonize-devel +PyTDE Extensions is a collection of software and Python packages +to support the creation and installation of TDE applications. + +This package contains the libpythonize development files. + +%files -n trinity-libpythonize-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/*.h +%{tde_libdir}/libpythonize.la +%{tde_libdir}/libpythonize.so + +########## + +%package devel +Summary: Meta-package to install all pytdeextensions development files +Group: Development/Libraries/Python +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: trinity-libpythonize-devel = %{?epoch:%{epoch}:}%{version}-%{release} + +%description devel +This package is a meta-package to install all pytdeextensions development +files. + +%files devel + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + +# Changes library directory to 'lib64' +# Also other fixes for distributions ... +for f in src/*.py; do + %__sed -i "${f}" \ + -e "s|'pytde-dir=',None,|'pytde-dir=','%{python_sitearch}',|g" \ + -e "s|self.pytde_dir = None|self.pytde_dir = \"%{python_sitearch}\"|g" \ + -e "s|'kde-lib-dir=',None,|'kde-lib-dir=','%{tde_libdir}',|g" \ + -e "s|self.kde_lib_dir = None|self.kde_lib_dir = \"%{tde_libdir}\"|g" \ + -e "s|'kde-kcm-lib-dir=',None,|'kde-kcm-lib-dir=','%{tde_libdir}/trinity',|g" \ + -e "s|self.kde_kcm_lib_dir = None|self.kde_kcm_lib_dir = \"%{tde_libdir}/trinity\"|g" \ + -e "s|%{tde_includedir}/tde|%{tde_tdeincludedir}|g" \ + -e 's|"/kde"|"/tde"|' \ + -e 's|"-I" + self.kde_inc_dir + "/tde"|"-I/opt/trinity/include"|' \ + -e "s|/usr/lib/pyshared/python\*|%{python_sitearch}|g" +done + +# Do not look for 'libpython2.x.so' (from -devel) package. +# Instead look for versioned runtime library. +LIBPYTHON="$(readlink %{_libdir}/libpython2.*.so)" +if [ -f "%{_libdir}/${LIBPYTHON}" ]; then + %__sed -i "src/tdedistutils.py" \ + -e "s|#define LIB_PYTHON \".*\"|#define LIB_PYTHON \"%{_libdir}/${LIBPYTHON}\"|" +fi + +# Fix FTBFS on RHEL 5 +%if 0%{?rhel} == 5 +%__sed -i "src/pythonize."* -e "s|const char \*object|char \*object|g" +%endif + +%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8 +%__sed -i "app_templates/kcontrol_module/setup.py" \ + "app_templates/kcontrol_module/src/kcontrol_module.py" \ + "app_templates/kdeapp/setup.py" \ + "app_templates/kdeapp/src/kdeapp.py" \ + "app_templates/kdeutility/setup.py" \ + "app_templates/kdeutility/src/kdeutility.py" \ + "app_templates/tdeioslave/setup.py" \ + "app_templates/tdeioslave/src/tdeioslave.py" \ + -e "s|/usr/bin/python|/usr/bin/env python2|" +%endif + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" + +%__mkdir_p build +%__python ./setup.py build_libpythonize + + +%install +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" + +# Avoids 'error: byte-compiling is disabled.' on Mandriva/Mageia +export PYTHONDONTWRITEBYTECODE= + +%__rm -rf %{buildroot} + +%__python ./setup.py install \ + --root=%{buildroot} \ + --prefix=%{tde_prefix} \ + --install-clib=%{tde_libdir} \ + --install-cheaders=%{tde_tdeincludedir} \ + -v + +# Removes BUILDROOT directory reference in installed files +for f in \ + %{buildroot}%{tde_libdir}/libpythonize.la \ + %{buildroot}%{tde_datadir}/apps/pytdeextensions/app_templates/kcontrol_module/src/KcontrolModuleWidgetUI.py \ + %{buildroot}%{tde_datadir}/apps/pytdeextensions/app_templates/kdeutility/src/KDEUtilityDialogUI.py \ +; do + %__sed -i "${f}" -e "s|%{buildroot}||g" +: +done + +# Moves PYTHON libraries to distribution directory +%__mkdir_p %{buildroot}%{python_sitearch} +%__mv -f %{buildroot}%{tde_prefix}/lib/python*/site-packages/* %{buildroot}%{python_sitearch} +%__rm -rf %{buildroot}%{tde_prefix}/lib/python*/site-packages + +# Removes useless files +%__rm -rf %{?buildroot}%{tde_libdir}/*.a + +# Fix permissions on include files +%__chmod 644 %{?buildroot}%{tde_tdeincludedir}/*.h + + +%clean +%__rm -rf %{buildroot} + + +%changelog diff --git a/redhat/libraries/python-trinity/python-trinity-14.0.0.spec b/redhat/libraries/python-trinity/python-trinity-14.0.0.spec deleted file mode 100644 index 51edd425b..000000000 --- a/redhat/libraries/python-trinity/python-trinity-14.0.0.spec +++ /dev/null @@ -1,176 +0,0 @@ -# -# spec file for package python-trinity (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/ -# - -%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.0.0 -%endif -%define tde_pkg python-trinity -%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_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde - - -Name: trinity-%{tde_pkg} -Epoch: %{tde_epoch} -Version: 3.16.3 -Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Trinity bindings for Python -Group: Development/Libraries/Python -URL: http://www.trinitydesktop.org/ -#URL: http://www.simonzone.com/software/pykdeextensions - -%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++ - -# PYTHON support -BuildRequires: python -BuildRequires: python-tqt-devel -Requires: python-tqt - -# SIP -BuildRequires: sip4-tqt-devel >= 4.10.5 -Requires: sip4-tqt >= 4.10.5 - -Obsoletes: python-trinity < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: python-trinity = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -Python binding module that provides wide access to the Trinity API, -also known as PyTDE. Using this, you'll get (for example) classes -from tdeio, tdejs, tdehtml and tdeprint. - -%files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README -%{python_sitearch}/*.so -%{python_sitearch}/dcop*.py* -%{python_sitearch}/pytde*.py* - -########## - -%package devel -Summary: Trinity bindings for Python - Development files and scripts -Group: Development/Libraries/Python -Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} - -Obsoletes: python-trinity-devel < %{version}-%{release} -Provides: python-trinity-devel = %{version}-%{release} - -%description devel -Development .sip files with definitions of PyTDE classes. They -are needed to build PyTDE, but also as building blocks of other -packages based on them. -The package also contains kdepyuic, a wrapper script around PyQt's -user interface compiler. - -%files devel -%defattr(-,root,root,-) -%{tde_bindir}/tdepyuic -# The SIP files are outside TDE's prefix -%{_datadir}/sip/trinity/ - -########## - -%package doc -Summary: Documentation and examples for PyTDE -Group: Development/Libraries/Python - -Obsoletes: python-trinity-doc < %{?epoch:%{epoch}:}%{version}-%{release} -Provides: python-trinity-doc = %{?epoch:%{epoch}:}%{version}-%{release} - -%description doc -General documentation and examples for PyTDE providing programming -tips and working code you can use to learn from. - -%files doc -%defattr(-,root,root,-) -%{tde_tdedocdir}/HTML/en/python-trinity/ - -########## - -%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 -%__sed -i "contrib/tdepyuic" -e "s|/usr/bin/env python|/usr/bin/env python2|" -%endif - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export LD_RUN_PATH="%{tde_libdir}" - -export DH_OPTIONS - -%__python configure.py \ - -k %{tde_prefix} \ - -L %{_lib} \ - -v %{_datadir}/sip/trinity - -%__make %{_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# Install documentation -%__mkdir_p %{buildroot}%{tde_tdedocdir}/HTML/en/ -%__cp -rf doc %{buildroot}%{tde_tdedocdir}/HTML/en/python-trinity/ - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/libraries/python-trinity/python-trinity.spec b/redhat/libraries/python-trinity/python-trinity.spec new file mode 100644 index 000000000..30ed147c1 --- /dev/null +++ b/redhat/libraries/python-trinity/python-trinity.spec @@ -0,0 +1,183 @@ +# +# spec file for package python-trinity (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.0.7 +%endif +%define tde_pkg python-trinity +%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_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde + + +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 3.16.3 +Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Trinity bindings for Python +Group: Development/Libraries/Python +URL: http://www.trinitydesktop.org/ +#URL: http://www.simonzone.com/software/pykdeextensions + +%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++ + +# PYTHON support +%if 0%{?rhel} >= 8 || 0%{?fedora} >= 31 +%define python python2 +%define __python %__python2 +%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} +%else +%define python python +%endif +BuildRequires: %{python} +BuildRequires: %{python}-devel + +BuildRequires: python-tqt-devel +Requires: python-tqt + +# SIP +BuildRequires: sip4-tqt-devel >= 4.10.5 +Requires: sip4-tqt >= 4.10.5 + +Obsoletes: python-trinity < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: python-trinity = %{?epoch:%{epoch}:}%{version}-%{release} + +%description +Python binding module that provides wide access to the Trinity API, +also known as PyTDE. Using this, you'll get (for example) classes +from tdeio, tdejs, tdehtml and tdeprint. + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README +%{python_sitearch}/*.so +%{python_sitearch}/dcop*.py* +%{python_sitearch}/pytde*.py* + +########## + +%package devel +Summary: Trinity bindings for Python - Development files and scripts +Group: Development/Libraries/Python +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} + +Obsoletes: python-trinity-devel < %{version}-%{release} +Provides: python-trinity-devel = %{version}-%{release} + +%description devel +Development .sip files with definitions of PyTDE classes. They +are needed to build PyTDE, but also as building blocks of other +packages based on them. +The package also contains kdepyuic, a wrapper script around PyQt's +user interface compiler. + +%files devel +%defattr(-,root,root,-) +%{tde_bindir}/tdepyuic +# The SIP files are outside TDE's prefix +%{_datadir}/sip/trinity/ + +########## + +%package doc +Summary: Documentation and examples for PyTDE +Group: Development/Libraries/Python + +Obsoletes: python-trinity-doc < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: python-trinity-doc = %{?epoch:%{epoch}:}%{version}-%{release} + +%description doc +General documentation and examples for PyTDE providing programming +tips and working code you can use to learn from. + +%files doc +%defattr(-,root,root,-) +%{tde_tdedocdir}/HTML/en/python-trinity/ + +########## + +%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 +%__sed -i "contrib/tdepyuic" -e "s|/usr/bin/env python|/usr/bin/env python2|" +%endif + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export LD_RUN_PATH="%{tde_libdir}" + +export DH_OPTIONS + +%__python configure.py \ + -k %{tde_prefix} \ + -L %{_lib} \ + -v %{_datadir}/sip/trinity + +%__make %{_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# Install documentation +%__mkdir_p %{buildroot}%{tde_tdedocdir}/HTML/en/ +%__cp -rf doc %{buildroot}%{tde_tdedocdir}/HTML/en/python-trinity/ + + +%clean +%__rm -rf %{buildroot} + + +%changelog diff --git a/redhat/main/tde-i18n/tde-i18n-14.0.0.spec b/redhat/main/tde-i18n/tde-i18n-14.0.0.spec deleted file mode 100644 index bad847a91..000000000 --- a/redhat/main/tde-i18n/tde-i18n-14.0.0.spec +++ /dev/null @@ -1,1494 +0,0 @@ -# -# spec file for package tde-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.0.0 -%endif -%define tde_pkg tde-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 af ar az be bg bn br bs ca cs csb cy da de el en_GB eo es et eu fa fi fr fy ga gl he hi hr hu is it ja kk km ko lt lv mk mn ms nb nds nl nn pa pl pt pt_BR ro ru rw se sk sl sr sr@Latn ss sv ta te tg th tr uk uz uz@cyrillic vi wa zh_CN zh_TW -%endif - - -Name: trinity-%{tde_pkg} -Version: %{tde_version} -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Internationalization support for 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: findutils -BuildRequires: gettext -BuildRequires: cmake -BuildRequires: gcc-c++ - -%description -This package contains %{summary}. - -########## - -%package Afrikaans -Summary: Afrikaans(af) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-af = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Afrikaans < %{version}-%{release} -Provides: trinity-kde-i18n-Afrikaans = %{version}-%{release} - -%description Afrikaans -This package contains %{summary}. - -%files Afrikaans -%defattr(-,root,root,-) -%{tde_datadir}/locale/af/ - -########## - -%package Arabic -Summary: Arabic(ar) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ar = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Arabic < %{version}-%{release} -Provides: trinity-kde-i18n-Arabic = %{version}-%{release} - -%description Arabic -This package contains %{summary}. - -%files Arabic -%defattr(-,root,root,-) -%{tde_datadir}/locale/ar/ - -########## - -%package Azerbaijani -Summary: Azerbaijani(az) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-az = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Arabic < %{version}-%{release} -Provides: trinity-kde-i18n-Arabic = %{version}-%{release} - -%description Azerbaijani -This package contains %{summary}. - -%files Azerbaijani -%defattr(-,root,root,-) -%{tde_datadir}/locale/az/ - -########## - -%package Belarusian -Summary: Belarusian(be) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-be = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Belarusian < %{version}-%{release} -Provides: trinity-kde-i18n-Belarusian = %{version}-%{release} - -%description Belarusian -This package contains %{summary}. - -%files Belarusian -%defattr(-,root,root,-) -%{tde_datadir}/locale/be/ - -########## - -%package Bulgarian -Summary: Bulgarian(bg) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-bg = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Bulgarian < %{version}-%{release} -Provides: trinity-kde-i18n-Bulgarian = %{version}-%{release} - -%description Bulgarian -This package contains %{summary}. - -%files Bulgarian -%defattr(-,root,root,-) -%{tde_datadir}/locale/bg/ - -########## - -%package Bengali -Summary: Bengali(bn) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-bn = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Bengali < %{version}-%{release} -Provides: trinity-kde-i18n-Bengali = %{version}-%{release} - -%description Bengali -This package contains %{summary}. - -%files Bengali -%defattr(-,root,root,-) -%{tde_datadir}/locale/bn/ - -########## - -%package Tibetan -Summary: Tibetan(bo) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-bo = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Tibetan < %{version}-%{release} -Provides: trinity-kde-i18n-Tibetan = %{version}-%{release} - -%description Tibetan -This package contains %{summary}. - -#%files Tibetan -#%defattr(-,root,root,-) -#%{tde_datadir}/locale/bo/ - -########## - -%package Breton -Summary: Breton(br) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-br = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Breton < %{version}-%{release} -Provides: trinity-kde-i18n-Breton = %{version}-%{release} - -%description Breton -This package contains %{summary}. - -%files Breton -%defattr(-,root,root,-) -%{tde_datadir}/locale/br/ - -########## - -%package Bosnian -Summary: Bosnian(bs) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-bs = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Bosnian < %{version}-%{release} -Provides: trinity-kde-i18n-Bosnian = %{version}-%{release} - -%description Bosnian -This package contains %{summary}. - -%files Bosnian -%defattr(-,root,root,-) -%{tde_datadir}/locale/bs/ - -########## - -%package Catalan -Summary: Catalan(ca) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ca = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Catalan < %{version}-%{release} -Provides: trinity-kde-i18n-Catalan = %{version}-%{release} - -%description Catalan -This package contains %{summary}. - -%files Catalan -%defattr(-,root,root,-) -%{tde_datadir}/locale/ca/ -%{tde_tdedocdir}/HTML/ca/ - -########## - -%package Czech -Summary: Czech(cs) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-cs = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Czech < %{version}-%{release} -Provides: trinity-kde-i18n-Czech = %{version}-%{release} - -%description Czech -This package contains %{summary}. - -%files Czech -%defattr(-,root,root,-) -%{tde_datadir}/locale/cs/ -%{tde_tdedocdir}/HTML/cs/ - -########## - -%package Kashubian -Summary: Kashubian(csb) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-csb = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Kashubian < %{version}-%{release} -Provides: trinity-kde-i18n-Kashubian = %{version}-%{release} - -%description Kashubian -This package contains %{summary}. - -%files Kashubian -%defattr(-,root,root,-) -%{tde_datadir}/locale/csb/ - -########## - -%package Cymraeg -Summary: Cymraeg language support for TDE -Group: User Interface/Desktops -Obsoletes: trinity-kde-i18n-Cymraeg < %{version}-%{release} -Provides: trinity-kde-i18n-Cymraeg = %{version}-%{release} - -%description Cymraeg -This package contains %{summary}. - -########## - -%package Welsh -Summary: Welsh(cy) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-cy = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Welsh < %{version}-%{release} -Provides: trinity-kde-i18n-Welsh = %{version}-%{release} - -%description Welsh -This package contains %{summary}. - -%files Welsh -%defattr(-,root,root,-) -%{tde_datadir}/locale/cy/ - -########## - -%package Danish -Summary: Danish(da) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-da = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Danish < %{version}-%{release} -Provides: trinity-kde-i18n-Danish = %{version}-%{release} - -%description Danish -This package contains %{summary}. - -%files Danish -%defattr(-,root,root,-) -%{tde_datadir}/locale/da/ -%{tde_tdedocdir}/HTML/da/ - -########## - -%package German -Summary: German(de) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-de = %{version}-%{release} -Obsoletes: trinity-kde-i18n-German < %{version}-%{release} -Provides: trinity-kde-i18n-German = %{version}-%{release} - -%description German -This package contains %{summary}. - -%files German -%defattr(-,root,root,-) -%{tde_datadir}/locale/de/ -%{tde_tdedocdir}/HTML/de/ - -########## - -%package Greek -Summary: Greek(el) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-el = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Greek < %{version}-%{release} -Provides: trinity-kde-i18n-Greek = %{version}-%{release} - -%description Greek -This package contains %{summary}. - -%files Greek -%defattr(-,root,root,-) -%{tde_datadir}/locale/el/ - -########## - -%package British -Summary: British(en_GB) English support for TDE -Group: User Interface/Desktops -Provides: %{name}-en_GB = %{version}-%{release} -Obsoletes: trinity-kde-i18n-British < %{version}-%{release} -Provides: trinity-kde-i18n-British = %{version}-%{release} - -%description British -This package contains %{summary}. - -%files British -%defattr(-,root,root,-) -%{tde_datadir}/locale/en_GB/ -%{tde_tdedocdir}/HTML/en_GB/ - -########## - -%package Esperanto -Summary: Esperanto(eo) support for TDE -Group: User Interface/Desktops -Provides: %{name}-eo = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Esperanto < %{version}-%{release} -Provides: trinity-kde-i18n-Esperanto = %{version}-%{release} - -%description Esperanto -This package contains %{summary}. - -%files Esperanto -%defattr(-,root,root,-) -%{tde_datadir}/locale/eo/ - -########## - -%package Spanish -Summary: Spanish(es) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-es = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Spanish < %{version}-%{release} -Provides: trinity-kde-i18n-Spanish = %{version}-%{release} - -%description Spanish -This package contains %{summary}. - -%files Spanish -%defattr(-,root,root,-) -%{tde_datadir}/locale/es/ -%{tde_tdedocdir}/HTML/es/ - -########## - -%package Estonian -Summary: Estonian(et) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-et = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Estonian < %{version}-%{release} -Provides: trinity-kde-i18n-Estonian = %{version}-%{release} - -%description Estonian -This package contains %{summary}. - -%files Estonian -%defattr(-,root,root,-) -%{tde_datadir}/locale/et/ -%{tde_tdedocdir}/HTML/et/ - -########## - -%package Basque -Summary: Basque(eu) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-eu = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Basque < %{version}-%{release} -Provides: trinity-kde-i18n-Basque = %{version}-%{release} - -%description Basque -This package contains %{summary}. - -%files Basque -%defattr(-,root,root,-) -%{tde_datadir}/locale/eu/ -%{tde_tdedocdir}/HTML/eu/ - -########## - -%package Farsi -Summary: Farsi(fa) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-fa = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Farsi < %{version}-%{release} -Provides: trinity-kde-i18n-Farsi = %{version}-%{release} - -%description Farsi -This package contains %{summary}. - -%files Farsi -%defattr(-,root,root,-) -%{tde_datadir}/locale/fa/ - -########## - -%package Finnish -Summary: Finnish(fi) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-fi = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Finnish < %{version}-%{release} -Provides: trinity-kde-i18n-Finnish = %{version}-%{release} - -%description Finnish -This package contains %{summary}. - -%files Finnish -%defattr(-,root,root,-) -%{tde_datadir}/locale/fi/ -%{tde_tdedocdir}/HTML/fi/ - -########## - -%package Faroese -Summary: Faroese(fo) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-fo = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Faroese < %{version}-%{release} -Provides: trinity-kde-i18n-Faroese = %{version}-%{release} - -%description Faroese -This package contains %{summary}. - -#%files Faroese -#%defattr(-,root,root,-) -#%{tde_datadir}/locale/fo/ - -########## - -%package French -Summary: French(fr) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-fr = %{version}-%{release} -Obsoletes: trinity-kde-i18n-French < %{version}-%{release} -Provides: trinity-kde-i18n-French = %{version}-%{release} - -%description French -This package contains %{summary}. - -%files French -%defattr(-,root,root,-) -%{tde_datadir}/locale/fr/ -%{tde_tdedocdir}/HTML/fr/ - -########## - -%package Frisian -Summary: Frisian(fy) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-fy = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Frisian < %{version}-%{release} -Provides: trinity-kde-i18n-Frisian = %{version}-%{release} - -%description Frisian -This package contains %{summary}. - -%files Frisian -%defattr(-,root,root,-) -%{tde_datadir}/locale/fy/ - -########## - -%package Irish -Summary: Irish(ga) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ga = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Irish < %{version}-%{release} -Provides: trinity-kde-i18n-Irish = %{version}-%{release} - -%description Irish -This package contains %{summary}. - -%files Irish -%defattr(-,root,root,-) -%{tde_datadir}/locale/ga/ - -########## - -%package Galician -Summary: Galician(gl) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-gl = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Galician < %{version}-%{release} -Provides: trinity-kde-i18n-Galician = %{version}-%{release} - -%description Galician -This package contains %{summary}. - -%files Galician -%defattr(-,root,root,-) -%{tde_datadir}/locale/gl/ - -########## - -%package Hebrew -Summary: Hebrew(he) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-he = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Hebrew < %{version}-%{release} -Provides: trinity-kde-i18n-Hebrew = %{version}-%{release} - -%description Hebrew -This package contains %{summary}. - -%files Hebrew -%defattr(-,root,root,-) -%{tde_datadir}/locale/he/ -%{tde_tdedocdir}/HTML/he/ - -########## - -%package Hindi -Summary: Hindi(hi) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-hi = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Hindi < %{version}-%{release} -Provides: trinity-kde-i18n-Hindi = %{version}-%{release} - -%description Hindi -This package contains %{summary}. - -%files Hindi -%defattr(-,root,root,-) -%{tde_datadir}/locale/hi/ - -########## - -%package Croatian -Summary: Croatian(hr) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-hr = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Croatian < %{version}-%{release} -Provides: trinity-kde-i18n-Croatian = %{version}-%{release} - -%description Croatian -This package contains %{summary}. - -%files Croatian -%defattr(-,root,root,-) -%{tde_datadir}/locale/hr/ -%{tde_tdedocdir}/HTML/hr/ - -########## - -%package Hungarian -Summary: Hungarian(hu) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-hu = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Hungarian < %{version}-%{release} -Provides: trinity-kde-i18n-Hungarian = %{version}-%{release} - -%description Hungarian -This package contains %{summary}. - -%files Hungarian -%defattr(-,root,root,-) -%{tde_datadir}/locale/hu/ -%{tde_tdedocdir}/HTML/hu/ - -########## - -%package Indonesian -Summary: Indonesian(id) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-id = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Indonesian < %{version}-%{release} -Provides: trinity-kde-i18n-Indonesian = %{version}-%{release} - -%description Indonesian -This package contains %{summary}. - -#%files Indonesian -#%defattr(-,root,root,-) -#%{tde_datadir}/locale/id/ - -########## - -%package Icelandic -Summary: Icelandic(is) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-is = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Icelandic < %{version}-%{release} -Provides: trinity-kde-i18n-Icelandic = %{version}-%{release} - -%description Icelandic -This package contains %{summary}. - -%files Icelandic -%defattr(-,root,root,-) -%{tde_datadir}/locale/is/ - -########## - -%package Italian -Summary: Italian(it) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-it = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Italian < %{version}-%{release} -Provides: trinity-kde-i18n-Italian = %{version}-%{release} - -%description Italian -This package contains %{summary}. - -%files Italian -%defattr(-,root,root,-) -%{tde_datadir}/locale/it/ -%{tde_tdedocdir}/HTML/it/ - -########## - -%package Japanese -Summary: Japanese(ja) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ja = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Japanese < %{version}-%{release} -Provides: trinity-kde-i18n-Japanese = %{version}-%{release} - -%description Japanese -This package contains %{summary}. - -%files Japanese -%defattr(-,root,root,-) -%{tde_datadir}/locale/ja/ -%{tde_tdedocdir}/HTML/ja/ - -########## - -%package Kazakh -Summary: Kazakh(kk) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-kk = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Kazakh < %{version}-%{release} -Provides: trinity-kde-i18n-Kazakh = %{version}-%{release} - -%description Kazakh -This package contains %{summary}. - -%files Kazakh -%defattr(-,root,root,-) -%{tde_datadir}/locale/kk/ - -########## - -%package Khmer -Summary: Khmer(km) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ko = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Khmer < %{version}-%{release} -Provides: trinity-kde-i18n-Khmer = %{version}-%{release} - -%description Khmer -This package contains %{summary}. - -%files Khmer -%defattr(-,root,root,-) -%{tde_datadir}/locale/km/ - -########## - -%package Korean -Summary: Korean(ko) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ko = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Korean < %{version}-%{release} -Provides: trinity-kde-i18n-Korean = %{version}-%{release} - -%description Korean -This package contains %{summary}. - -%files Korean -%defattr(-,root,root,-) -%{tde_datadir}/locale/ko/ -%{tde_tdedocdir}/HTML/ko/ - -########## - -%package Kurdish -Summary: Kurdish(ku) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ku = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Kurdish < %{version}-%{release} -Provides: trinity-kde-i18n-Kurdish = %{version}-%{release} - -%description Kurdish -This package contains %{summary}. - -#%files Kurdish -#%defattr(-,root,root,-) -#%{tde_datadir}/locale/ku/ - -########## - -%package Lao -Summary: Lao(lo) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-lo = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Lao < %{version}-%{release} -Provides: trinity-kde-i18n-Lao = %{version}-%{release} - -%description Lao -This package contains %{summary}. - -#%files Lao -#%defattr(-,root,root,-) -#%{tde_datadir}/locale/lo/ - -########## - -%package Lithuanian -Summary: Lithuanian(lt) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-lt = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Lithuanian < %{version}-%{release} -Provides: trinity-kde-i18n-Lithuanian = %{version}-%{release} - -%description Lithuanian -This package contains %{summary}. - -%files Lithuanian -%defattr(-,root,root,-) -%{tde_datadir}/locale/lt/ - -########## - -%package Latvian -Summary: Latvian(lv) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-lv = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Latvian < %{version}-%{release} -Provides: trinity-kde-i18n-Latvian = %{version}-%{release} - -%description Latvian -This package contains %{summary}. - -%files Latvian -%defattr(-,root,root,-) -%{tde_datadir}/locale/lv/ - -########## - -%package Maori -Summary: Maori(mi) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-mi = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Maori < %{version}-%{release} -Provides: trinity-kde-i18n-Maori = %{version}-%{release} - -%description Maori -This package contains %{summary}. - -#%files Maori -#%defattr(-,root,root,-) -#%{tde_datadir}/locale/mi/ - -########## - -%package Macedonian -Summary: Macedonian(mk) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-mk = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Macedonian < %{version}-%{release} -Provides: trinity-kde-i18n-Macedonian = %{version}-%{release} - -%description Macedonian -This package contains %{summary}. - -%files Macedonian -%defattr(-,root,root,-) -%{tde_datadir}/locale/mk/ - -########## - -%package Mongolian -Summary: Mongolian(mn) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-mn = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Mongolian < %{version}-%{release} -Provides: trinity-kde-i18n-Mongolian = %{version}-%{release} - -%description Mongolian -This package contains %{summary}. - -%files Mongolian -%defattr(-,root,root,-) -%{tde_datadir}/locale/mn/ - -########## - -%package Malay -Summary: Malay(ms) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ms = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Malay < %{version}-%{release} -Provides: trinity-kde-i18n-Malay = %{version}-%{release} - -%description Malay -This package contains %{summary}. - -%files Malay -%defattr(-,root,root,-) -%{tde_datadir}/locale/ms/ - -########## - -%package Maltese -Summary: Maltese(mt) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-mt = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Maltese < %{version}-%{release} -Provides: trinity-kde-i18n-Maltese = %{version}-%{release} - -%description Maltese -This package contains %{summary}. - -#%files Maltese -#%defattr(-,root,root,-) -#%{tde_datadir}/locale/mt/ - -########## - -%package Low-Saxon -Summary: Low Saxon(nds) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-nds = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Low-Saxon < %{version}-%{release} -Provides: trinity-kde-i18n-Low-Saxon = %{version}-%{release} - -%description Low-Saxon -This package contains %{summary}. - -%files Low-Saxon -%defattr(-,root,root,-) -%{tde_datadir}/locale/nds/ - -########## - -%package Dutch -Summary: Dutch(nl) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-nl = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Dutch < %{version}-%{release} -Provides: trinity-kde-i18n-Dutch = %{version}-%{release} - -%description Dutch -This package contains %{summary}. - -%files Dutch -%defattr(-,root,root,-) -%{tde_datadir}/locale/nl/ -%{tde_tdedocdir}/HTML/nl/ - -########## - -%package Norwegian -Summary: Norwegian(no) (Bokmaal) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-no = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Norwegian < %{version}-%{release} -Provides: trinity-kde-i18n-Norwegian = %{version}-%{release} - -%description Norwegian -This package contains %{summary}. - -%files Norwegian -%defattr(-,root,root,-) -%{tde_datadir}/locale/nb/ - -########## - -%package Norwegian-Nynorsk -Summary: Norwegian(nn) (Nynorsk) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-nn = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Norwegian-Nynorsk < %{version}-%{release} -Provides: trinity-kde-i18n-Norwegian-Nynorsk = %{version}-%{release} - -%description Norwegian-Nynorsk -This package contains %{summary}. - -%files Norwegian-Nynorsk -%defattr(-,root,root,-) -%{tde_datadir}/locale/nn/ - -########## - -%package Occitan -Summary: Occitan(oc) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-oc = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Occitan < %{version}-%{release} -Provides: trinity-kde-i18n-Occitan = %{version}-%{release} - -%description Occitan -This package contains %{summary}. - -#%files Occitan -#%defattr(-,root,root,-) -#%{tde_datadir}/locale/oc/ - -########## - -%package Polish -Summary: Polish(pl) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-pl = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Polish < %{version}-%{release} -Provides: trinity-kde-i18n-Polish = %{version}-%{release} - -%description Polish -This package contains %{summary}. - -%files Polish -%defattr(-,root,root,-) -%{tde_datadir}/locale/pl/ -%{tde_tdedocdir}/HTML/pl/ - -########## - -%package Portuguese -Summary: Portuguese(pt) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-pt = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Portuguese < %{version}-%{release} -Provides: trinity-kde-i18n-Portuguese = %{version}-%{release} - -%description Portuguese -This package contains %{summary}. - -%files Portuguese -%defattr(-,root,root,-) -%{tde_datadir}/locale/pt/ -%{tde_tdedocdir}/HTML/pt/ - -########## - -%package Punjabi -Summary: Punjabi(pa) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-pa = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Punjabi < %{version}-%{release} -Provides: trinity-kde-i18n-Punjabi = %{version}-%{release} - -%description Punjabi -This package contains %{summary}. - -%files Punjabi -%defattr(-,root,root,-) -%{tde_datadir}/locale/pa/ - -########## - -%package Brazil -Summary: Brazil(pt_BR) Portuguese language support for TDE -Group: User Interface/Desktops -Provides: %{name}-pt_BR = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Brazil < %{version}-%{release} -Provides: trinity-kde-i18n-Brazil = %{version}-%{release} - -%description Brazil -This package contains %{summary}. - -%files Brazil -%defattr(-,root,root,-) -%{tde_datadir}/locale/pt_BR/ -%{tde_tdedocdir}/HTML/pt_BR/ - -########## - -%package Romanian -Summary: Romanian(ro) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ro = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Romanian < %{version}-%{release} -Provides: trinity-kde-i18n-Romanian = %{version}-%{release} - -%description Romanian -This package contains %{summary}. - -%files Romanian -%defattr(-,root,root,-) -%{tde_datadir}/locale/ro/ -%{tde_tdedocdir}/HTML/ro/ - -########## - -%package Russian -Summary: Russian(ru) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ru = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Russian < %{version}-%{release} -Provides: trinity-kde-i18n-Russian = %{version}-%{release} - -%description Russian -This package contains %{summary}. - -%files Russian -%defattr(-,root,root,-) -%{tde_datadir}/locale/ru/ -%{tde_tdedocdir}/HTML/ru/ - -########## - -%package Kinyarwanda -Summary: Kinyarwanda(rw) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-rw = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Kinyarwanda < %{version}-%{release} -Provides: trinity-kde-i18n-Kinyarwanda = %{version}-%{release} - -%description Kinyarwanda -This package contains %{summary}. - -%files Kinyarwanda -%defattr(-,root,root,-) -%{tde_datadir}/locale/rw/ - -########## - -%package Northern-Sami -Summary: Northern-Sami(se) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-se = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Northern-Sami < %{version}-%{release} -Provides: trinity-kde-i18n-Northern-Sami = %{version}-%{release} - -%description Northern-Sami -This package contains %{summary}. - -%files Northern-Sami -%defattr(-,root,root,-) -%{tde_datadir}/locale/se/ - -########## - -%package Slovak -Summary: Slovak(sk) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-sk = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Slovak < %{version}-%{release} -Provides: trinity-kde-i18n-Slovak = %{version}-%{release} - -%description Slovak -This package contains %{summary}. - -%files Slovak -%defattr(-,root,root,-) -%{tde_datadir}/locale/sk/ -%{tde_tdedocdir}/HTML/sk/ - -########## - -%package Slovenian -Summary: Slovenian(sl) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-sl = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Slovenian < %{version}-%{release} -Provides: trinity-kde-i18n-Slovenian = %{version}-%{release} - -%description Slovenian -This package contains %{summary}. - -%files Slovenian -%defattr(-,root,root,-) -%{tde_datadir}/locale/sl/ -%{tde_tdedocdir}/HTML/sl/ - -########## - -%package Serbian -Summary: Serbian(sr) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-sr = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Serbian < %{version}-%{release} -Provides: trinity-kde-i18n-Serbian = %{version}-%{release} - -%description Serbian -This package contains %{summary}. - -%files Serbian -%defattr(-,root,root,-) -%{tde_datadir}/locale/sr/ -%{tde_tdedocdir}/HTML/sr/ - -########## - -%package Serbian-Latin -Summary: Serbian-Latin(sr@Latn) language support for TDE -Group: User Interface/Desktops -Obsoletes: trinity-kde-i18n-Serbian-Latin < %{version}-%{release} -Provides: trinity-kde-i18n-Serbian-Latin = %{version}-%{release} - -%description Serbian-Latin -This package contains %{summary}. - -%files Serbian-Latin -%defattr(-,root,root,-) -%{tde_datadir}/locale/sr@Latn/ - -########## - -%package South-Sudan -Summary: South-Sudan(ss) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ss = %{version}-%{release} -Obsoletes: trinity-kde-i18n-South-Sudan < %{version}-%{release} -Provides: trinity-kde-i18n-South-Sudan = %{version}-%{release} - -%description South-Sudan -This package contains %{summary}. - -%files South-Sudan -%defattr(-,root,root,-) -%{tde_datadir}/locale/ss/ - -########## - -%package Swedish -Summary: Swedish(sv) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-sv = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Swedish < %{version}-%{release} -Provides: trinity-kde-i18n-Swedish = %{version}-%{release} - -%description Swedish -This package contains %{summary}. - -%files Swedish -%defattr(-,root,root,-) -%{tde_datadir}/locale/sv/ -%{tde_tdedocdir}/HTML/sv/ - -########## - -%package Tamil -Summary: Tamil(ta) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ta = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Tamil < %{version}-%{release} -Provides: trinity-kde-i18n-Tamil = %{version}-%{release} - -%description Tamil -This package contains %{summary}. - -%files Tamil -%defattr(-,root,root,-) -%{tde_datadir}/locale/ta/ - -########## - -%package Telugu -Summary: Telugu(te) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-te = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Telugu < %{version}-%{release} -Provides: trinity-kde-i18n-Telugu = %{version}-%{release} - -%description Telugu -This package contains %{summary}. - -%files Telugu -%defattr(-,root,root,-) -%{tde_datadir}/locale/te/ - -########## - -%package Tajik -Summary: Tajik(tg) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-tg = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Tajik < %{version}-%{release} -Provides: trinity-kde-i18n-Tajik = %{version}-%{release} - -%description Tajik -This package contains %{summary}. - -%files Tajik -%defattr(-,root,root,-) -%{tde_datadir}/locale/tg/ - -########## - -%package Thai -Summary: Thai(th) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-th = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Thai < %{version}-%{release} -Provides: trinity-kde-i18n-Thai = %{version}-%{release} - -%description Thai -This package contains %{summary}. - -%files Thai -%defattr(-,root,root,-) -%{tde_datadir}/locale/th/ - -########## - -%package Turkish -Summary: Turkish(tr) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-tr = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Turkish < %{version}-%{release} -Provides: trinity-kde-i18n-Turkish = %{version}-%{release} - -%description Turkish -This package contains %{summary}. - -%files Turkish -%defattr(-,root,root,-) -%{tde_datadir}/locale/tr/ -%{tde_tdedocdir}/HTML/tr/ - -########## - -%package Ukrainian -Summary: Ukrainian(uk) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-uk = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Ukrainian < %{version}-%{release} -Provides: trinity-kde-i18n-Ukrainian = %{version}-%{release} - -%description Ukrainian -This package contains %{summary}. - -%files Ukrainian -%defattr(-,root,root,-) -%{tde_tdedocdir}/HTML/uk/ -%{tde_datadir}/locale/uk/ - -########## - -%package Uzbek -Summary: Uzbek(uz) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-uz = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Uzbek < %{version}-%{release} -Provides: trinity-kde-i18n-Uzbek = %{version}-%{release} - -%description Uzbek -This package contains %{summary}. - -%files Uzbek -%defattr(-,root,root,-) -%{tde_datadir}/locale/uz/ - -########## - -%package Uzbek-Cyrillic -Summary: Uzbek(uz@cyrillic) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-uz@cyrillic = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Uzbek-Cyrillic < %{version}-%{release} -Provides: trinity-kde-i18n-Uzbek-Cyrillic = %{version}-%{release} - -%description Uzbek-Cyrillic -This package contains %{summary}. - -%files Uzbek-Cyrillic -%defattr(-,root,root,-) -%{tde_datadir}/locale/uz@cyrillic/ - -########## - -%package Venda -Summary: Venda(ven) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ven = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Venda < %{version}-%{release} -Provides: trinity-kde-i18n-Venda = %{version}-%{release} - -%description Venda -This package contains %{summary}. - -#%files Venda -#%defattr(-,root,root,-) -#%{tde_datadir}/locale/ven/ - -########## - -%package Vietnamese -Summary: Vietnamese(vi) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-vi = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Vietnamese < %{version}-%{release} -Provides: trinity-kde-i18n-Vietnamese = %{version}-%{release} - -%description Vietnamese -This package contains %{summary}. - -%files Vietnamese -%defattr(-,root,root,-) -%{tde_datadir}/locale/vi/ - -########## - -%package Walloon -Summary: Walloon(wa) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-wa = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Walloon < %{version}-%{release} -Provides: trinity-kde-i18n-Walloon = %{version}-%{release} - -%description Walloon -This package contains %{summary}. - -%files Walloon -%defattr(-,root,root,-) -%{tde_datadir}/locale/wa/ - -########## - -%package Xhosa -Summary: Xhosa(xh) (a Bantu language) support for TDE -Group: User Interface/Desktops -Provides: %{name}-xh = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Xhosa < %{version}-%{release} -Provides: trinity-kde-i18n-Xhosa = %{version}-%{release} - -%description Xhosa -This package contains %{summary}. - -#%files Xhosa -#%defattr(-,root,root,-) -#%{tde_datadir}/locale/xh/ - -########## - -%package Chinese -Summary: Chinese(zh_CN) (Simplified Chinese) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-zh_CN = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Chinese < %{version}-%{release} -Provides: trinity-kde-i18n-Chinese = %{version}-%{release} - -%description Chinese -This package contains %{summary}. - -%files Chinese -%defattr(-,root,root,-) -%{tde_datadir}/locale/zh_CN/ -%{tde_tdedocdir}/HTML/zh_CN/ - -########## - -%package Chinese-Big5 -Summary: Chinese(zh_TW) (Big5) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-tz_TW = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Chinese-Big5 < %{version}-%{release} -Provides: trinity-kde-i18n-Chinese-Big5 = %{version}-%{release} - -%description Chinese-Big5 -This package contains %{summary}. - -%files Chinese-Big5 -%defattr(-,root,root,-) -%{tde_datadir}/locale/zh_TW/ -%{tde_tdedocdir}/HTML/zh_TW/ - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" - -( -for l in %{TDE_LANGS}; do - for f in tde-i18n-${l}/; do - if [ -d "${f}" ]; then - pushd ${f} - if ! rpm -E %%cmake|grep -q "cd build"; then - %__mkdir_p build - cd build - fi - - %cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DBIN_INSTALL_DIR="%{tde_bindir}" \ - -DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - -DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - \ - -DBUILD_ALL=ON \ - -DBUILD_DOC=ON \ - -DBUILD_DATA=ON \ - -DBUILD_MESSAGES=ON \ - .. - - # Run the build process in background - ( %__make -j4 || %__make || echo TDE_Error ) & - - # Do not build more than 4 languages at the same time - while [ $(jobs | wc -l) -ge 4 ]; do sleep 3; done - popd - fi - done -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 -%__rm -rf %{?buildroot} -export PATH="%{tde_bindir}:${PATH}" - -for l in %{TDE_LANGS}; do - for f in tde-i18n-${l}/; do - %__make install DESTDIR="%{?buildroot}" -C "${f}/build" - done -done - - -# remove zero-length file -find "%{buildroot}%{tde_tdedocdir}/HTML" -size 0 -exec rm -f {} \; - -# remove obsolete KDE 3 application data translations -%__rm -rf "%{buildroot}%{tde_datadir}/apps" - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/main/tde-i18n/tde-i18n.spec b/redhat/main/tde-i18n/tde-i18n.spec new file mode 100644 index 000000000..6cf838bc5 --- /dev/null +++ b/redhat/main/tde-i18n/tde-i18n.spec @@ -0,0 +1,1494 @@ +# +# spec file for package tde-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.0.7 +%endif +%define tde_pkg tde-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 af ar az be bg bn br bs ca cs csb cy da de el en_GB eo es et eu fa fi fr fy ga gl he hi hr hu is it ja kk km ko lt lv mk mn ms nb nds nl nn pa pl pt pt_BR ro ru rw se sk sl sr sr@Latn ss sv ta te tg th tr uk uz uz@cyrillic vi wa zh_CN zh_TW +%endif + + +Name: trinity-%{tde_pkg} +Version: %{tde_version} +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Internationalization support for 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: findutils +BuildRequires: gettext +BuildRequires: cmake +BuildRequires: gcc-c++ + +%description +This package contains %{summary}. + +########## + +%package Afrikaans +Summary: Afrikaans(af) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-af = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Afrikaans < %{version}-%{release} +Provides: trinity-kde-i18n-Afrikaans = %{version}-%{release} + +%description Afrikaans +This package contains %{summary}. + +%files Afrikaans +%defattr(-,root,root,-) +%{tde_datadir}/locale/af/ + +########## + +%package Arabic +Summary: Arabic(ar) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ar = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Arabic < %{version}-%{release} +Provides: trinity-kde-i18n-Arabic = %{version}-%{release} + +%description Arabic +This package contains %{summary}. + +%files Arabic +%defattr(-,root,root,-) +%{tde_datadir}/locale/ar/ + +########## + +%package Azerbaijani +Summary: Azerbaijani(az) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-az = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Arabic < %{version}-%{release} +Provides: trinity-kde-i18n-Arabic = %{version}-%{release} + +%description Azerbaijani +This package contains %{summary}. + +%files Azerbaijani +%defattr(-,root,root,-) +%{tde_datadir}/locale/az/ + +########## + +%package Belarusian +Summary: Belarusian(be) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-be = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Belarusian < %{version}-%{release} +Provides: trinity-kde-i18n-Belarusian = %{version}-%{release} + +%description Belarusian +This package contains %{summary}. + +%files Belarusian +%defattr(-,root,root,-) +%{tde_datadir}/locale/be/ + +########## + +%package Bulgarian +Summary: Bulgarian(bg) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-bg = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Bulgarian < %{version}-%{release} +Provides: trinity-kde-i18n-Bulgarian = %{version}-%{release} + +%description Bulgarian +This package contains %{summary}. + +%files Bulgarian +%defattr(-,root,root,-) +%{tde_datadir}/locale/bg/ + +########## + +%package Bengali +Summary: Bengali(bn) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-bn = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Bengali < %{version}-%{release} +Provides: trinity-kde-i18n-Bengali = %{version}-%{release} + +%description Bengali +This package contains %{summary}. + +%files Bengali +%defattr(-,root,root,-) +%{tde_datadir}/locale/bn/ + +########## + +%package Tibetan +Summary: Tibetan(bo) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-bo = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Tibetan < %{version}-%{release} +Provides: trinity-kde-i18n-Tibetan = %{version}-%{release} + +%description Tibetan +This package contains %{summary}. + +#%files Tibetan +#%defattr(-,root,root,-) +#%{tde_datadir}/locale/bo/ + +########## + +%package Breton +Summary: Breton(br) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-br = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Breton < %{version}-%{release} +Provides: trinity-kde-i18n-Breton = %{version}-%{release} + +%description Breton +This package contains %{summary}. + +%files Breton +%defattr(-,root,root,-) +%{tde_datadir}/locale/br/ + +########## + +%package Bosnian +Summary: Bosnian(bs) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-bs = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Bosnian < %{version}-%{release} +Provides: trinity-kde-i18n-Bosnian = %{version}-%{release} + +%description Bosnian +This package contains %{summary}. + +%files Bosnian +%defattr(-,root,root,-) +%{tde_datadir}/locale/bs/ + +########## + +%package Catalan +Summary: Catalan(ca) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ca = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Catalan < %{version}-%{release} +Provides: trinity-kde-i18n-Catalan = %{version}-%{release} + +%description Catalan +This package contains %{summary}. + +%files Catalan +%defattr(-,root,root,-) +%{tde_datadir}/locale/ca/ +%{tde_tdedocdir}/HTML/ca/ + +########## + +%package Czech +Summary: Czech(cs) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-cs = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Czech < %{version}-%{release} +Provides: trinity-kde-i18n-Czech = %{version}-%{release} + +%description Czech +This package contains %{summary}. + +%files Czech +%defattr(-,root,root,-) +%{tde_datadir}/locale/cs/ +%{tde_tdedocdir}/HTML/cs/ + +########## + +%package Kashubian +Summary: Kashubian(csb) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-csb = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Kashubian < %{version}-%{release} +Provides: trinity-kde-i18n-Kashubian = %{version}-%{release} + +%description Kashubian +This package contains %{summary}. + +%files Kashubian +%defattr(-,root,root,-) +%{tde_datadir}/locale/csb/ + +########## + +%package Cymraeg +Summary: Cymraeg language support for TDE +Group: User Interface/Desktops +Obsoletes: trinity-kde-i18n-Cymraeg < %{version}-%{release} +Provides: trinity-kde-i18n-Cymraeg = %{version}-%{release} + +%description Cymraeg +This package contains %{summary}. + +########## + +%package Welsh +Summary: Welsh(cy) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-cy = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Welsh < %{version}-%{release} +Provides: trinity-kde-i18n-Welsh = %{version}-%{release} + +%description Welsh +This package contains %{summary}. + +%files Welsh +%defattr(-,root,root,-) +%{tde_datadir}/locale/cy/ + +########## + +%package Danish +Summary: Danish(da) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-da = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Danish < %{version}-%{release} +Provides: trinity-kde-i18n-Danish = %{version}-%{release} + +%description Danish +This package contains %{summary}. + +%files Danish +%defattr(-,root,root,-) +%{tde_datadir}/locale/da/ +%{tde_tdedocdir}/HTML/da/ + +########## + +%package German +Summary: German(de) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-de = %{version}-%{release} +Obsoletes: trinity-kde-i18n-German < %{version}-%{release} +Provides: trinity-kde-i18n-German = %{version}-%{release} + +%description German +This package contains %{summary}. + +%files German +%defattr(-,root,root,-) +%{tde_datadir}/locale/de/ +%{tde_tdedocdir}/HTML/de/ + +########## + +%package Greek +Summary: Greek(el) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-el = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Greek < %{version}-%{release} +Provides: trinity-kde-i18n-Greek = %{version}-%{release} + +%description Greek +This package contains %{summary}. + +%files Greek +%defattr(-,root,root,-) +%{tde_datadir}/locale/el/ + +########## + +%package British +Summary: British(en_GB) English support for TDE +Group: User Interface/Desktops +Provides: %{name}-en_GB = %{version}-%{release} +Obsoletes: trinity-kde-i18n-British < %{version}-%{release} +Provides: trinity-kde-i18n-British = %{version}-%{release} + +%description British +This package contains %{summary}. + +%files British +%defattr(-,root,root,-) +%{tde_datadir}/locale/en_GB/ +%{tde_tdedocdir}/HTML/en_GB/ + +########## + +%package Esperanto +Summary: Esperanto(eo) support for TDE +Group: User Interface/Desktops +Provides: %{name}-eo = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Esperanto < %{version}-%{release} +Provides: trinity-kde-i18n-Esperanto = %{version}-%{release} + +%description Esperanto +This package contains %{summary}. + +%files Esperanto +%defattr(-,root,root,-) +%{tde_datadir}/locale/eo/ + +########## + +%package Spanish +Summary: Spanish(es) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-es = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Spanish < %{version}-%{release} +Provides: trinity-kde-i18n-Spanish = %{version}-%{release} + +%description Spanish +This package contains %{summary}. + +%files Spanish +%defattr(-,root,root,-) +%{tde_datadir}/locale/es/ +%{tde_tdedocdir}/HTML/es/ + +########## + +%package Estonian +Summary: Estonian(et) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-et = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Estonian < %{version}-%{release} +Provides: trinity-kde-i18n-Estonian = %{version}-%{release} + +%description Estonian +This package contains %{summary}. + +%files Estonian +%defattr(-,root,root,-) +%{tde_datadir}/locale/et/ +%{tde_tdedocdir}/HTML/et/ + +########## + +%package Basque +Summary: Basque(eu) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-eu = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Basque < %{version}-%{release} +Provides: trinity-kde-i18n-Basque = %{version}-%{release} + +%description Basque +This package contains %{summary}. + +%files Basque +%defattr(-,root,root,-) +%{tde_datadir}/locale/eu/ +%{tde_tdedocdir}/HTML/eu/ + +########## + +%package Farsi +Summary: Farsi(fa) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-fa = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Farsi < %{version}-%{release} +Provides: trinity-kde-i18n-Farsi = %{version}-%{release} + +%description Farsi +This package contains %{summary}. + +%files Farsi +%defattr(-,root,root,-) +%{tde_datadir}/locale/fa/ + +########## + +%package Finnish +Summary: Finnish(fi) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-fi = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Finnish < %{version}-%{release} +Provides: trinity-kde-i18n-Finnish = %{version}-%{release} + +%description Finnish +This package contains %{summary}. + +%files Finnish +%defattr(-,root,root,-) +%{tde_datadir}/locale/fi/ +%{tde_tdedocdir}/HTML/fi/ + +########## + +%package Faroese +Summary: Faroese(fo) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-fo = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Faroese < %{version}-%{release} +Provides: trinity-kde-i18n-Faroese = %{version}-%{release} + +%description Faroese +This package contains %{summary}. + +#%files Faroese +#%defattr(-,root,root,-) +#%{tde_datadir}/locale/fo/ + +########## + +%package French +Summary: French(fr) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-fr = %{version}-%{release} +Obsoletes: trinity-kde-i18n-French < %{version}-%{release} +Provides: trinity-kde-i18n-French = %{version}-%{release} + +%description French +This package contains %{summary}. + +%files French +%defattr(-,root,root,-) +%{tde_datadir}/locale/fr/ +%{tde_tdedocdir}/HTML/fr/ + +########## + +%package Frisian +Summary: Frisian(fy) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-fy = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Frisian < %{version}-%{release} +Provides: trinity-kde-i18n-Frisian = %{version}-%{release} + +%description Frisian +This package contains %{summary}. + +%files Frisian +%defattr(-,root,root,-) +%{tde_datadir}/locale/fy/ + +########## + +%package Irish +Summary: Irish(ga) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ga = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Irish < %{version}-%{release} +Provides: trinity-kde-i18n-Irish = %{version}-%{release} + +%description Irish +This package contains %{summary}. + +%files Irish +%defattr(-,root,root,-) +%{tde_datadir}/locale/ga/ + +########## + +%package Galician +Summary: Galician(gl) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-gl = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Galician < %{version}-%{release} +Provides: trinity-kde-i18n-Galician = %{version}-%{release} + +%description Galician +This package contains %{summary}. + +%files Galician +%defattr(-,root,root,-) +%{tde_datadir}/locale/gl/ + +########## + +%package Hebrew +Summary: Hebrew(he) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-he = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Hebrew < %{version}-%{release} +Provides: trinity-kde-i18n-Hebrew = %{version}-%{release} + +%description Hebrew +This package contains %{summary}. + +%files Hebrew +%defattr(-,root,root,-) +%{tde_datadir}/locale/he/ +%{tde_tdedocdir}/HTML/he/ + +########## + +%package Hindi +Summary: Hindi(hi) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-hi = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Hindi < %{version}-%{release} +Provides: trinity-kde-i18n-Hindi = %{version}-%{release} + +%description Hindi +This package contains %{summary}. + +%files Hindi +%defattr(-,root,root,-) +%{tde_datadir}/locale/hi/ + +########## + +%package Croatian +Summary: Croatian(hr) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-hr = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Croatian < %{version}-%{release} +Provides: trinity-kde-i18n-Croatian = %{version}-%{release} + +%description Croatian +This package contains %{summary}. + +%files Croatian +%defattr(-,root,root,-) +%{tde_datadir}/locale/hr/ +%{tde_tdedocdir}/HTML/hr/ + +########## + +%package Hungarian +Summary: Hungarian(hu) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-hu = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Hungarian < %{version}-%{release} +Provides: trinity-kde-i18n-Hungarian = %{version}-%{release} + +%description Hungarian +This package contains %{summary}. + +%files Hungarian +%defattr(-,root,root,-) +%{tde_datadir}/locale/hu/ +%{tde_tdedocdir}/HTML/hu/ + +########## + +%package Indonesian +Summary: Indonesian(id) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-id = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Indonesian < %{version}-%{release} +Provides: trinity-kde-i18n-Indonesian = %{version}-%{release} + +%description Indonesian +This package contains %{summary}. + +#%files Indonesian +#%defattr(-,root,root,-) +#%{tde_datadir}/locale/id/ + +########## + +%package Icelandic +Summary: Icelandic(is) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-is = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Icelandic < %{version}-%{release} +Provides: trinity-kde-i18n-Icelandic = %{version}-%{release} + +%description Icelandic +This package contains %{summary}. + +%files Icelandic +%defattr(-,root,root,-) +%{tde_datadir}/locale/is/ + +########## + +%package Italian +Summary: Italian(it) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-it = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Italian < %{version}-%{release} +Provides: trinity-kde-i18n-Italian = %{version}-%{release} + +%description Italian +This package contains %{summary}. + +%files Italian +%defattr(-,root,root,-) +%{tde_datadir}/locale/it/ +%{tde_tdedocdir}/HTML/it/ + +########## + +%package Japanese +Summary: Japanese(ja) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ja = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Japanese < %{version}-%{release} +Provides: trinity-kde-i18n-Japanese = %{version}-%{release} + +%description Japanese +This package contains %{summary}. + +%files Japanese +%defattr(-,root,root,-) +%{tde_datadir}/locale/ja/ +%{tde_tdedocdir}/HTML/ja/ + +########## + +%package Kazakh +Summary: Kazakh(kk) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-kk = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Kazakh < %{version}-%{release} +Provides: trinity-kde-i18n-Kazakh = %{version}-%{release} + +%description Kazakh +This package contains %{summary}. + +%files Kazakh +%defattr(-,root,root,-) +%{tde_datadir}/locale/kk/ + +########## + +%package Khmer +Summary: Khmer(km) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ko = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Khmer < %{version}-%{release} +Provides: trinity-kde-i18n-Khmer = %{version}-%{release} + +%description Khmer +This package contains %{summary}. + +%files Khmer +%defattr(-,root,root,-) +%{tde_datadir}/locale/km/ + +########## + +%package Korean +Summary: Korean(ko) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ko = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Korean < %{version}-%{release} +Provides: trinity-kde-i18n-Korean = %{version}-%{release} + +%description Korean +This package contains %{summary}. + +%files Korean +%defattr(-,root,root,-) +%{tde_datadir}/locale/ko/ +%{tde_tdedocdir}/HTML/ko/ + +########## + +%package Kurdish +Summary: Kurdish(ku) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ku = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Kurdish < %{version}-%{release} +Provides: trinity-kde-i18n-Kurdish = %{version}-%{release} + +%description Kurdish +This package contains %{summary}. + +#%files Kurdish +#%defattr(-,root,root,-) +#%{tde_datadir}/locale/ku/ + +########## + +%package Lao +Summary: Lao(lo) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-lo = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Lao < %{version}-%{release} +Provides: trinity-kde-i18n-Lao = %{version}-%{release} + +%description Lao +This package contains %{summary}. + +#%files Lao +#%defattr(-,root,root,-) +#%{tde_datadir}/locale/lo/ + +########## + +%package Lithuanian +Summary: Lithuanian(lt) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-lt = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Lithuanian < %{version}-%{release} +Provides: trinity-kde-i18n-Lithuanian = %{version}-%{release} + +%description Lithuanian +This package contains %{summary}. + +%files Lithuanian +%defattr(-,root,root,-) +%{tde_datadir}/locale/lt/ + +########## + +%package Latvian +Summary: Latvian(lv) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-lv = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Latvian < %{version}-%{release} +Provides: trinity-kde-i18n-Latvian = %{version}-%{release} + +%description Latvian +This package contains %{summary}. + +%files Latvian +%defattr(-,root,root,-) +%{tde_datadir}/locale/lv/ + +########## + +%package Maori +Summary: Maori(mi) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-mi = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Maori < %{version}-%{release} +Provides: trinity-kde-i18n-Maori = %{version}-%{release} + +%description Maori +This package contains %{summary}. + +#%files Maori +#%defattr(-,root,root,-) +#%{tde_datadir}/locale/mi/ + +########## + +%package Macedonian +Summary: Macedonian(mk) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-mk = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Macedonian < %{version}-%{release} +Provides: trinity-kde-i18n-Macedonian = %{version}-%{release} + +%description Macedonian +This package contains %{summary}. + +%files Macedonian +%defattr(-,root,root,-) +%{tde_datadir}/locale/mk/ + +########## + +%package Mongolian +Summary: Mongolian(mn) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-mn = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Mongolian < %{version}-%{release} +Provides: trinity-kde-i18n-Mongolian = %{version}-%{release} + +%description Mongolian +This package contains %{summary}. + +%files Mongolian +%defattr(-,root,root,-) +%{tde_datadir}/locale/mn/ + +########## + +%package Malay +Summary: Malay(ms) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ms = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Malay < %{version}-%{release} +Provides: trinity-kde-i18n-Malay = %{version}-%{release} + +%description Malay +This package contains %{summary}. + +%files Malay +%defattr(-,root,root,-) +%{tde_datadir}/locale/ms/ + +########## + +%package Maltese +Summary: Maltese(mt) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-mt = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Maltese < %{version}-%{release} +Provides: trinity-kde-i18n-Maltese = %{version}-%{release} + +%description Maltese +This package contains %{summary}. + +#%files Maltese +#%defattr(-,root,root,-) +#%{tde_datadir}/locale/mt/ + +########## + +%package Low-Saxon +Summary: Low Saxon(nds) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-nds = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Low-Saxon < %{version}-%{release} +Provides: trinity-kde-i18n-Low-Saxon = %{version}-%{release} + +%description Low-Saxon +This package contains %{summary}. + +%files Low-Saxon +%defattr(-,root,root,-) +%{tde_datadir}/locale/nds/ + +########## + +%package Dutch +Summary: Dutch(nl) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-nl = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Dutch < %{version}-%{release} +Provides: trinity-kde-i18n-Dutch = %{version}-%{release} + +%description Dutch +This package contains %{summary}. + +%files Dutch +%defattr(-,root,root,-) +%{tde_datadir}/locale/nl/ +%{tde_tdedocdir}/HTML/nl/ + +########## + +%package Norwegian +Summary: Norwegian(no) (Bokmaal) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-no = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Norwegian < %{version}-%{release} +Provides: trinity-kde-i18n-Norwegian = %{version}-%{release} + +%description Norwegian +This package contains %{summary}. + +%files Norwegian +%defattr(-,root,root,-) +%{tde_datadir}/locale/nb/ + +########## + +%package Norwegian-Nynorsk +Summary: Norwegian(nn) (Nynorsk) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-nn = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Norwegian-Nynorsk < %{version}-%{release} +Provides: trinity-kde-i18n-Norwegian-Nynorsk = %{version}-%{release} + +%description Norwegian-Nynorsk +This package contains %{summary}. + +%files Norwegian-Nynorsk +%defattr(-,root,root,-) +%{tde_datadir}/locale/nn/ + +########## + +%package Occitan +Summary: Occitan(oc) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-oc = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Occitan < %{version}-%{release} +Provides: trinity-kde-i18n-Occitan = %{version}-%{release} + +%description Occitan +This package contains %{summary}. + +#%files Occitan +#%defattr(-,root,root,-) +#%{tde_datadir}/locale/oc/ + +########## + +%package Polish +Summary: Polish(pl) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-pl = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Polish < %{version}-%{release} +Provides: trinity-kde-i18n-Polish = %{version}-%{release} + +%description Polish +This package contains %{summary}. + +%files Polish +%defattr(-,root,root,-) +%{tde_datadir}/locale/pl/ +%{tde_tdedocdir}/HTML/pl/ + +########## + +%package Portuguese +Summary: Portuguese(pt) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-pt = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Portuguese < %{version}-%{release} +Provides: trinity-kde-i18n-Portuguese = %{version}-%{release} + +%description Portuguese +This package contains %{summary}. + +%files Portuguese +%defattr(-,root,root,-) +%{tde_datadir}/locale/pt/ +%{tde_tdedocdir}/HTML/pt/ + +########## + +%package Punjabi +Summary: Punjabi(pa) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-pa = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Punjabi < %{version}-%{release} +Provides: trinity-kde-i18n-Punjabi = %{version}-%{release} + +%description Punjabi +This package contains %{summary}. + +%files Punjabi +%defattr(-,root,root,-) +%{tde_datadir}/locale/pa/ + +########## + +%package Brazil +Summary: Brazil(pt_BR) Portuguese language support for TDE +Group: User Interface/Desktops +Provides: %{name}-pt_BR = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Brazil < %{version}-%{release} +Provides: trinity-kde-i18n-Brazil = %{version}-%{release} + +%description Brazil +This package contains %{summary}. + +%files Brazil +%defattr(-,root,root,-) +%{tde_datadir}/locale/pt_BR/ +%{tde_tdedocdir}/HTML/pt_BR/ + +########## + +%package Romanian +Summary: Romanian(ro) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ro = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Romanian < %{version}-%{release} +Provides: trinity-kde-i18n-Romanian = %{version}-%{release} + +%description Romanian +This package contains %{summary}. + +%files Romanian +%defattr(-,root,root,-) +%{tde_datadir}/locale/ro/ +%{tde_tdedocdir}/HTML/ro/ + +########## + +%package Russian +Summary: Russian(ru) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ru = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Russian < %{version}-%{release} +Provides: trinity-kde-i18n-Russian = %{version}-%{release} + +%description Russian +This package contains %{summary}. + +%files Russian +%defattr(-,root,root,-) +%{tde_datadir}/locale/ru/ +%{tde_tdedocdir}/HTML/ru/ + +########## + +%package Kinyarwanda +Summary: Kinyarwanda(rw) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-rw = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Kinyarwanda < %{version}-%{release} +Provides: trinity-kde-i18n-Kinyarwanda = %{version}-%{release} + +%description Kinyarwanda +This package contains %{summary}. + +%files Kinyarwanda +%defattr(-,root,root,-) +%{tde_datadir}/locale/rw/ + +########## + +%package Northern-Sami +Summary: Northern-Sami(se) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-se = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Northern-Sami < %{version}-%{release} +Provides: trinity-kde-i18n-Northern-Sami = %{version}-%{release} + +%description Northern-Sami +This package contains %{summary}. + +%files Northern-Sami +%defattr(-,root,root,-) +%{tde_datadir}/locale/se/ + +########## + +%package Slovak +Summary: Slovak(sk) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-sk = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Slovak < %{version}-%{release} +Provides: trinity-kde-i18n-Slovak = %{version}-%{release} + +%description Slovak +This package contains %{summary}. + +%files Slovak +%defattr(-,root,root,-) +%{tde_datadir}/locale/sk/ +%{tde_tdedocdir}/HTML/sk/ + +########## + +%package Slovenian +Summary: Slovenian(sl) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-sl = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Slovenian < %{version}-%{release} +Provides: trinity-kde-i18n-Slovenian = %{version}-%{release} + +%description Slovenian +This package contains %{summary}. + +%files Slovenian +%defattr(-,root,root,-) +%{tde_datadir}/locale/sl/ +%{tde_tdedocdir}/HTML/sl/ + +########## + +%package Serbian +Summary: Serbian(sr) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-sr = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Serbian < %{version}-%{release} +Provides: trinity-kde-i18n-Serbian = %{version}-%{release} + +%description Serbian +This package contains %{summary}. + +%files Serbian +%defattr(-,root,root,-) +%{tde_datadir}/locale/sr/ +%{tde_tdedocdir}/HTML/sr/ + +########## + +%package Serbian-Latin +Summary: Serbian-Latin(sr@Latn) language support for TDE +Group: User Interface/Desktops +Obsoletes: trinity-kde-i18n-Serbian-Latin < %{version}-%{release} +Provides: trinity-kde-i18n-Serbian-Latin = %{version}-%{release} + +%description Serbian-Latin +This package contains %{summary}. + +%files Serbian-Latin +%defattr(-,root,root,-) +%{tde_datadir}/locale/sr@Latn/ + +########## + +%package South-Sudan +Summary: South-Sudan(ss) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ss = %{version}-%{release} +Obsoletes: trinity-kde-i18n-South-Sudan < %{version}-%{release} +Provides: trinity-kde-i18n-South-Sudan = %{version}-%{release} + +%description South-Sudan +This package contains %{summary}. + +%files South-Sudan +%defattr(-,root,root,-) +%{tde_datadir}/locale/ss/ + +########## + +%package Swedish +Summary: Swedish(sv) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-sv = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Swedish < %{version}-%{release} +Provides: trinity-kde-i18n-Swedish = %{version}-%{release} + +%description Swedish +This package contains %{summary}. + +%files Swedish +%defattr(-,root,root,-) +%{tde_datadir}/locale/sv/ +%{tde_tdedocdir}/HTML/sv/ + +########## + +%package Tamil +Summary: Tamil(ta) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ta = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Tamil < %{version}-%{release} +Provides: trinity-kde-i18n-Tamil = %{version}-%{release} + +%description Tamil +This package contains %{summary}. + +%files Tamil +%defattr(-,root,root,-) +%{tde_datadir}/locale/ta/ + +########## + +%package Telugu +Summary: Telugu(te) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-te = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Telugu < %{version}-%{release} +Provides: trinity-kde-i18n-Telugu = %{version}-%{release} + +%description Telugu +This package contains %{summary}. + +%files Telugu +%defattr(-,root,root,-) +%{tde_datadir}/locale/te/ + +########## + +%package Tajik +Summary: Tajik(tg) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-tg = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Tajik < %{version}-%{release} +Provides: trinity-kde-i18n-Tajik = %{version}-%{release} + +%description Tajik +This package contains %{summary}. + +%files Tajik +%defattr(-,root,root,-) +%{tde_datadir}/locale/tg/ + +########## + +%package Thai +Summary: Thai(th) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-th = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Thai < %{version}-%{release} +Provides: trinity-kde-i18n-Thai = %{version}-%{release} + +%description Thai +This package contains %{summary}. + +%files Thai +%defattr(-,root,root,-) +%{tde_datadir}/locale/th/ + +########## + +%package Turkish +Summary: Turkish(tr) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-tr = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Turkish < %{version}-%{release} +Provides: trinity-kde-i18n-Turkish = %{version}-%{release} + +%description Turkish +This package contains %{summary}. + +%files Turkish +%defattr(-,root,root,-) +%{tde_datadir}/locale/tr/ +%{tde_tdedocdir}/HTML/tr/ + +########## + +%package Ukrainian +Summary: Ukrainian(uk) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-uk = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Ukrainian < %{version}-%{release} +Provides: trinity-kde-i18n-Ukrainian = %{version}-%{release} + +%description Ukrainian +This package contains %{summary}. + +%files Ukrainian +%defattr(-,root,root,-) +%{tde_tdedocdir}/HTML/uk/ +%{tde_datadir}/locale/uk/ + +########## + +%package Uzbek +Summary: Uzbek(uz) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-uz = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Uzbek < %{version}-%{release} +Provides: trinity-kde-i18n-Uzbek = %{version}-%{release} + +%description Uzbek +This package contains %{summary}. + +%files Uzbek +%defattr(-,root,root,-) +%{tde_datadir}/locale/uz/ + +########## + +%package Uzbek-Cyrillic +Summary: Uzbek(uz@cyrillic) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-uz@cyrillic = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Uzbek-Cyrillic < %{version}-%{release} +Provides: trinity-kde-i18n-Uzbek-Cyrillic = %{version}-%{release} + +%description Uzbek-Cyrillic +This package contains %{summary}. + +%files Uzbek-Cyrillic +%defattr(-,root,root,-) +%{tde_datadir}/locale/uz@cyrillic/ + +########## + +%package Venda +Summary: Venda(ven) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ven = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Venda < %{version}-%{release} +Provides: trinity-kde-i18n-Venda = %{version}-%{release} + +%description Venda +This package contains %{summary}. + +#%files Venda +#%defattr(-,root,root,-) +#%{tde_datadir}/locale/ven/ + +########## + +%package Vietnamese +Summary: Vietnamese(vi) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-vi = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Vietnamese < %{version}-%{release} +Provides: trinity-kde-i18n-Vietnamese = %{version}-%{release} + +%description Vietnamese +This package contains %{summary}. + +%files Vietnamese +%defattr(-,root,root,-) +%{tde_datadir}/locale/vi/ + +########## + +%package Walloon +Summary: Walloon(wa) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-wa = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Walloon < %{version}-%{release} +Provides: trinity-kde-i18n-Walloon = %{version}-%{release} + +%description Walloon +This package contains %{summary}. + +%files Walloon +%defattr(-,root,root,-) +%{tde_datadir}/locale/wa/ + +########## + +%package Xhosa +Summary: Xhosa(xh) (a Bantu language) support for TDE +Group: User Interface/Desktops +Provides: %{name}-xh = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Xhosa < %{version}-%{release} +Provides: trinity-kde-i18n-Xhosa = %{version}-%{release} + +%description Xhosa +This package contains %{summary}. + +#%files Xhosa +#%defattr(-,root,root,-) +#%{tde_datadir}/locale/xh/ + +########## + +%package Chinese +Summary: Chinese(zh_CN) (Simplified Chinese) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-zh_CN = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Chinese < %{version}-%{release} +Provides: trinity-kde-i18n-Chinese = %{version}-%{release} + +%description Chinese +This package contains %{summary}. + +%files Chinese +%defattr(-,root,root,-) +%{tde_datadir}/locale/zh_CN/ +%{tde_tdedocdir}/HTML/zh_CN/ + +########## + +%package Chinese-Big5 +Summary: Chinese(zh_TW) (Big5) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-tz_TW = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Chinese-Big5 < %{version}-%{release} +Provides: trinity-kde-i18n-Chinese-Big5 = %{version}-%{release} + +%description Chinese-Big5 +This package contains %{summary}. + +%files Chinese-Big5 +%defattr(-,root,root,-) +%{tde_datadir}/locale/zh_TW/ +%{tde_tdedocdir}/HTML/zh_TW/ + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" + +( +for l in %{TDE_LANGS}; do + for f in tde-i18n-${l}/; do + if [ -d "${f}" ]; then + pushd ${f} + if ! rpm -E %%cmake|grep -q "cd build"; then + %__mkdir_p build + cd build + fi + + %cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DBIN_INSTALL_DIR="%{tde_bindir}" \ + -DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + -DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + \ + -DBUILD_ALL=ON \ + -DBUILD_DOC=ON \ + -DBUILD_DATA=ON \ + -DBUILD_MESSAGES=ON \ + .. + + # Run the build process in background + ( %__make -j4 || %__make || echo TDE_Error ) & + + # Do not build more than 4 languages at the same time + while [ $(jobs | wc -l) -ge 4 ]; do sleep 3; done + popd + fi + done +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 +%__rm -rf %{?buildroot} +export PATH="%{tde_bindir}:${PATH}" + +for l in %{TDE_LANGS}; do + for f in tde-i18n-${l}/; do + %__make install DESTDIR="%{?buildroot}" -C "${f}/build" + done +done + + +# remove zero-length file +find "%{buildroot}%{tde_tdedocdir}/HTML" -size 0 -exec rm -f {} \; + +# remove obsolete KDE 3 application data translations +%__rm -rf "%{buildroot}%{tde_datadir}/apps" + + +%clean +%__rm -rf %{buildroot} + + +%changelog diff --git a/redhat/main/tdeaccessibility/tdeaccessibility-14.0.0.spec b/redhat/main/tdeaccessibility/tdeaccessibility-14.0.0.spec deleted file mode 100644 index 3e8d02cf6..000000000 --- a/redhat/main/tdeaccessibility/tdeaccessibility-14.0.0.spec +++ /dev/null @@ -1,505 +0,0 @@ -# -# spec file for package tdeaccessibility (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/ -# - -# BUILD WARNING: -# Remove qt-devel and qt3-devel and any kde*-devel on your system ! -# Having KDE libraries may cause FTBFS here ! - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.0.0 -%endif -%define tde_pkg tdeaccessibility -%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_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-tdeaccessibility -Summary: Trinity Desktop Environment - Accessibility -Version: %{tde_version} -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Group: System/GUI/Other -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Project -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz -Source1: %{name}-rpmlintrc - -BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: trinity-tdemultimedia-devel >= %{tde_version} - -BuildRequires: autoconf automake libtool m4 -BuildRequires: gcc-c++ -BuildRequires: desktop-file-utils -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 - -# AUDIOFILE support -BuildRequires: audiofile-devel - -# AKODE support -%define with_akode 1 -BuildRequires: trinity-akode-devel - -# MAD support -%ifarch %{ix86} x86_64 -%define with_libmad 1 -%{?with_libmad:BuildRequires: libakode_mpeg_decoder} -%endif - -# ALSA support -BuildRequires: alsa-lib-devel - -# GLIB2 support -BuildRequires: glib2-devel - -# XCB support -%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 - -# XAU support -%if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?mgaversion} >= 4 -BuildRequires: %{_lib}xau-devel -%else -BuildRequires: %{_lib}xau%{?mgaversion:6}-devel -%endif -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 -BuildRequires: libXau-devel -%endif - -Obsoletes: trinity-kdeaccessibility < %{version}-%{release} -Provides: trinity-kdeaccessibility = %{version}-%{release} -Obsoletes: trinity-kdeaccessibility-libs < %{version}-%{release} -Provides: trinity-kdeaccessibility-libs = %{version}-%{release} - -Requires: trinity-tde-icons-mono = %{version}-%{release} -Requires: trinity-kbstate = %{version}-%{release} -Requires: trinity-kmag = %{version}-%{release} -Requires: trinity-kmousetool = %{version}-%{release} -Requires: trinity-kmouth = %{version}-%{release} -Requires: trinity-ksayit = %{version}-%{release} -Requires: trinity-kttsd = %{version}-%{release} -Requires: trinity-kttsd-contrib-plugins = %{version}-%{release} - -%description -Included with this package are: -* kmag, a screen magnifier, -* kmousetool, a program for people whom it hurts to click the mouse, -* kmouth, program that allows people who have lost their voice - to let their computer speak for them. - -%files - -########## - -%package -n trinity-tde-icons-mono -Summary: A monochromatic icons theme for TDE -Group: System/GUI/Other - -Obsoletes: trinity-kde-icons-mono < %{version}-%{release} -Provides: trinity-kde-icons-mono = %{version}-%{release} - -%description -n trinity-tde-icons-mono -A monochromatic icon theme for TDE, designed for accessibility purposes. - -This package is part of Trinity, as a component of the TDE accessibility module. - -%files -n trinity-tde-icons-mono -%defattr(-,root,root,-) -%dir %{tde_datadir}/icons/mono -%dir %{tde_datadir}/icons/mono/scalable -%dir %{tde_datadir}/icons/mono/scalable/actions -%dir %{tde_datadir}/icons/mono/scalable/apps -%dir %{tde_datadir}/icons/mono/scalable/devices -%dir %{tde_datadir}/icons/mono/scalable/mimetypes -%dir %{tde_datadir}/icons/mono/scalable/places -%{tde_datadir}/icons/mono/index.theme -%{tde_datadir}/icons/mono/scalable/*/*.svgz - -########## - -%package -n trinity-kbstate -Summary: A keyboard status applet for TDE -Group: System/GUI/Other - -%description -n trinity-kbstate -A panel applet that displays the keyboard status. - -This package is part of Trinity, as a component of the TDE accessibility module. - -%files -n trinity-kbstate -%defattr(-,root,root,-) -%{tde_tdelibdir}/kbstate_panelapplet.la -%{tde_tdelibdir}/kbstate_panelapplet.so -%{tde_datadir}/apps/kbstateapplet/ -%{tde_datadir}/apps/kicker/applets/kbstateapplet.desktop - -########## - -%package -n trinity-kmag -Summary: A screen magnifier for TDE -Group: System/GUI/Other - -%description -n trinity-kmag -TDE's screen magnifier tool. - -You can use KMagnifier to magnify a part of the screen just as you would use -a lens to magnify a newspaper fine-print or a photograph. This application is -useful for a variety of people: from researchers to artists to web-designers to -people with low vision. - -This package is part of Trinity, as a component of the TDE accessibility module. - -%files -n trinity-kmag -%defattr(-,root,root,-) -%{tde_bindir}/kmag -%{tde_tdeappdir}/kmag.desktop -%{tde_datadir}/apps/kmag/ -%{tde_datadir}/icons/hicolor/*/apps/kmag.png -%{tde_datadir}/icons/locolor/*/apps/kmag.png -%{tde_tdedocdir}/HTML/en/kmag/ - -########## - -%package -n trinity-kmousetool -Summary: TDE mouse manipulation tool for the disabled -Group: System/GUI/Other - -%description -n trinity-kmousetool -KMouseTool clicks the mouse whenever the mouse cursor pauses briefly. It was -designed to help those with repetitive strain injuries, for whom pressing -buttons hurts. - -This package is part of Trinity, as a component of the TDE accessibility module. - -%files -n trinity-kmousetool -%defattr(-,root,root,-) -%{tde_bindir}/kmousetool -%{tde_tdeappdir}/kmousetool.desktop -%{tde_datadir}/apps/kmousetool/ -%{tde_datadir}/icons/hicolor/*/apps/kmousetool.png -%{tde_tdedocdir}/HTML/en/kmousetool/ - -########## - -%package -n trinity-kmouth -Summary: A type-and-say KDE frontend for speech synthesizers -Group: System/GUI/Other - -%description -n trinity-kmouth -KDE's type-and-say frontend for speech synthesizers. - -It includes a history of spoken sentences from which the user can select -sentences to be re-spoken. - -This package is part of Trinity, as a component of the TDE accessibility module. - -%files -n trinity-kmouth -%defattr(-,root,root,-) -%{tde_confdir}/kmouthrc -%{tde_bindir}/kmouth -%{tde_tdeappdir}/kmouth.desktop -%{tde_datadir}/apps/kmouth/ -%{tde_datadir}/icons/hicolor/*/actions/speak.png -%{tde_datadir}/icons/hicolor/*/actions/nospeak.png -%{tde_datadir}/icons/hicolor/*/apps/kmouth.png -%{tde_datadir}/icons/locolor/*/actions/speak.png -%{tde_datadir}/icons/locolor/*/apps/kmouth.png -%{tde_tdedocdir}/HTML/en/kmouth/ - -########## - -%package -n trinity-ksayit -Summary: A frontend for the TDE Text-to-Speech system -Group: System/GUI/Other - -%description -n trinity-ksayit -Text-to-speech front-end to kttsd. - -This package is part of Trinity, as a component of the TDE accessibility module. - -%files -n trinity-ksayit -%defattr(-,root,root,-) -%{tde_bindir}/ksayit -%{tde_tdelibdir}/libFreeverb_plugin.la -%{tde_tdelibdir}/libFreeverb_plugin.so -%{tde_libdir}/libKTTSD_Lib.so.* -%{tde_tdeappdir}/ksayit.desktop -%{tde_datadir}/apps/ksayit/ -%{tde_datadir}/icons/hicolor/*/apps/ksayit.png -%{tde_datadir}/icons/hicolor/32x32/apps/ksayit_clipempty.png -%{tde_datadir}/icons/hicolor/32x32/apps/ksayit_talking.png -%{tde_datadir}/services/ksayit_libFreeverb.desktop -%{tde_datadir}/servicetypes/ksayit_libFreeverb_service.desktop -%{tde_tdedocdir}/HTML/en/ksayit/ - -########## - -%package -n trinity-kttsd -Summary: A Text-to-Speech system for TDE -Group: System/GUI/Other - -%description -n trinity-kttsd -The KDE Text-to-Speech system is a plugin based service that allows any KDE -(or non-KDE) application to speak using the DCOP interface. - -ksayit and kmouth are useful front-ends for this capability, while one of -festival, flite, and epos are essential back-ends. - -This package is part of Trinity, as a component of the TDE accessibility module. - -Homepage: http://accessibility.kde.org/developer/kttsd - -%files -n trinity-kttsd -%defattr(-,root,root,-) -%{tde_bindir}/kttsd -%{tde_bindir}/kttsmgr -%{tde_tdelibdir}/kcm_kttsd.la -%{tde_tdelibdir}/kcm_kttsd.so -%{tde_tdelibdir}/tdetexteditor_kttsd.la -%{tde_tdelibdir}/tdetexteditor_kttsd.so -%if 0%{?with_akode} -%{tde_tdelibdir}/libkttsd_akodeplugin.la -%{tde_tdelibdir}/libkttsd_akodeplugin.so -%endif -%{tde_tdelibdir}/libkttsd_alsaplugin.la -%{tde_tdelibdir}/libkttsd_alsaplugin.so -%{tde_tdelibdir}/libkttsd_artsplugin.la -%{tde_tdelibdir}/libkttsd_artsplugin.so -%{tde_tdelibdir}/libkttsd_commandplugin.la -%{tde_tdelibdir}/libkttsd_commandplugin.so -%{tde_tdelibdir}/libkttsd_eposplugin.la -%{tde_tdelibdir}/libkttsd_eposplugin.so -%{tde_tdelibdir}/libkttsd_festivalintplugin.la -%{tde_tdelibdir}/libkttsd_festivalintplugin.so -%{tde_tdelibdir}/libkttsd_fliteplugin.la -%{tde_tdelibdir}/libkttsd_fliteplugin.so -%{tde_tdelibdir}/libkttsd_sbdplugin.la -%{tde_tdelibdir}/libkttsd_sbdplugin.so -%{tde_tdelibdir}/libkttsd_stringreplacerplugin.la -%{tde_tdelibdir}/libkttsd_stringreplacerplugin.so -%{tde_tdelibdir}/libkttsd_talkerchooserplugin.la -%{tde_tdelibdir}/libkttsd_talkerchooserplugin.so -%{tde_tdelibdir}/libkttsd_xmltransformerplugin.la -%{tde_tdelibdir}/libkttsd_xmltransformerplugin.so -%{tde_tdelibdir}/libkttsjobmgrpart.la -%{tde_tdelibdir}/libkttsjobmgrpart.so -%{tde_libdir}/libkttsd.so.* -%{tde_tdeappdir}/kcmkttsd.desktop -%{tde_tdeappdir}/kttsmgr.desktop -%{tde_datadir}/apps/tdetexteditor_kttsd/ -%exclude %{tde_datadir}/apps/kttsd/hadifix/xslt/SSMLtoTxt2pho.xsl -%{tde_datadir}/apps/kttsd/ -%{tde_datadir}/icons/hicolor/16x16/actions/female.png -%{tde_datadir}/icons/hicolor/16x16/actions/male.png -%{tde_datadir}/icons/hicolor/*/apps/kttsd.png -%{tde_datadir}/icons/hicolor/*/apps/kcmkttsd.png -%{tde_datadir}/services/tdetexteditor_kttsd.desktop -%{tde_datadir}/services/kttsd.desktop -%if 0%{?with_akode} -%{tde_datadir}/services/kttsd_akodeplugin.desktop -%endif -%{tde_datadir}/services/kttsd_alsaplugin.desktop -%{tde_datadir}/services/kttsd_artsplugin.desktop -%{tde_datadir}/services/kttsd_commandplugin.desktop -%{tde_datadir}/services/kttsd_eposplugin.desktop -%{tde_datadir}/services/kttsd_festivalintplugin.desktop -%{tde_datadir}/services/kttsd_fliteplugin.desktop -%{tde_datadir}/services/kttsd_sbdplugin.desktop -%{tde_datadir}/services/kttsd_stringreplacerplugin.desktop -%{tde_datadir}/services/kttsd_talkerchooserplugin.desktop -%{tde_datadir}/services/kttsd_xmltransformerplugin.desktop -%{tde_datadir}/services/kttsjobmgr.desktop -%{tde_datadir}/servicetypes/kttsd_audioplugin.desktop -%{tde_datadir}/servicetypes/kttsd_filterplugin.desktop -%{tde_datadir}/servicetypes/kttsd_synthplugin.desktop -%{tde_tdedocdir}/HTML/en/kttsd/ - -########## - -%package -n trinity-kttsd-contrib-plugins -Summary: The TDE Text-to-Speech system -Group: System/GUI/Other -Requires: trinity-kttsd = %{version}-%{release} - -%description -n trinity-kttsd-contrib-plugins -kttsd synthetizer plugins that depends on non-free software : -* FreeTTS plugin. -* Hadifix (mbrola/txt2pho) plugin. -Those plugins will require manual installation of third party, -non free software to work. - -This package is part of Trinity, as a component of the TDE accessibility module. - -%files -n trinity-kttsd-contrib-plugins -%defattr(-,root,root,-) -%{tde_tdelibdir}/libkttsd_freettsplugin.la -%{tde_tdelibdir}/libkttsd_freettsplugin.so -%{tde_tdelibdir}/libkttsd_hadifixplugin.la -%{tde_tdelibdir}/libkttsd_hadifixplugin.so -%{tde_datadir}/apps/kttsd/hadifix/xslt/SSMLtoTxt2pho.xsl -%{tde_datadir}/services/kttsd_freettsplugin.desktop -%{tde_datadir}/services/kttsd_hadifixplugin.desktop - -########## - -%package devel -Summary: Development files for tdeaccessibility -Group: Development/Libraries/X11 -Requires: %{name} = %{version}-%{release} -Requires: trinity-tdelibs-devel >= %{version} -Requires: libjpeg-devel -Requires: libpng-devel - -Obsoletes: trinity-kdeaccessibility-devel < %{version}-%{release} -Provides: trinity-kdeaccessibility-devel = %{version}-%{release} - -%description devel -This package contains the development file for TDE accessibility -programs. - -%files devel -%defattr(-,root,root,-) -%{tde_libdir}/libkttsd.la -%{tde_libdir}/libkttsd.so -%{tde_libdir}/libKTTSD_Lib.la -%{tde_libdir}/libKTTSD_Lib.so -%{tde_tdeincludedir}/ksayit_fxplugin.h - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} - -# Update icons for some control center modules -%__sed -i "kttsd/kcmkttsmgr/kcmkttsd.desktop" -e "s|^Icon=.*|Icon=kcmkttsd|" - -%__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" -export kde_confdir="%{tde_confdir}" - -%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 \ - \ - --enable-ksayit-audio-plugins \ - %{?with_akode:--with-akode} %{?!with_akode:--without-akode} - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# Adds missing icons in 'hicolor' theme -# These icons are copied from 'crystalsvg' theme, provided by 'tdelibs'. -%__mkdir_p "%{?buildroot}%{tde_datadir}/icons/hicolor/"{16x16,22x22,32x32,48x48,64x64,128x128}"/apps/" -pushd "%{?buildroot}%{tde_datadir}/icons" -for i in {16,22,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/apps/kttsd.png hicolor/"$i"x"$i"/apps/kttsd.png ;done -for i in {16,22,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/apps/kttsd.png hicolor/"$i"x"$i"/apps/kcmkttsd.png ;done -popd - -# Avoid conflict with tdelibs -%__rm -f %{?buildroot}%{tde_datadir}/icons/crystalsvg/*/apps/kttsd.png -%__rm -f %{?buildroot}%{tde_datadir}/icons/crystalsvg/scalable/apps/kttsd.svgz - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file -r kmag Utility Accessibility -%suse_update_desktop_file kmousetool Utility Accessibility -%suse_update_desktop_file kmouth Utility Accessibility -%suse_update_desktop_file kttsmgr Utility Accessibility -%suse_update_desktop_file ksayit Utility Accessibility -%suse_update_desktop_file kcmkttsd Utility Accessibility -%endif - -# Links duplicate files -%fdupes "%{?buildroot}%{tde_datadir}" - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/main/tdeaccessibility/tdeaccessibility.spec b/redhat/main/tdeaccessibility/tdeaccessibility.spec new file mode 100644 index 000000000..96ee80e2d --- /dev/null +++ b/redhat/main/tdeaccessibility/tdeaccessibility.spec @@ -0,0 +1,505 @@ +# +# spec file for package tdeaccessibility (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/ +# + +# BUILD WARNING: +# Remove qt-devel and qt3-devel and any kde*-devel on your system ! +# Having KDE libraries may cause FTBFS here ! + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.0.7 +%endif +%define tde_pkg tdeaccessibility +%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_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-tdeaccessibility +Summary: Trinity Desktop Environment - Accessibility +Version: %{tde_version} +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Group: System/GUI/Other +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Project +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz +Source1: %{name}-rpmlintrc + +BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10 +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: trinity-tdemultimedia-devel >= %{tde_version} + +BuildRequires: autoconf automake libtool m4 +BuildRequires: gcc-c++ +BuildRequires: desktop-file-utils +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 + +# AUDIOFILE support +BuildRequires: audiofile-devel + +# AKODE support +%define with_akode 1 +BuildRequires: trinity-akode-devel + +# MAD support +%ifarch %{ix86} x86_64 +%define with_libmad 1 +%{?with_libmad:BuildRequires: libakode_mpeg_decoder} +%endif + +# ALSA support +BuildRequires: alsa-lib-devel + +# GLIB2 support +BuildRequires: glib2-devel + +# XCB support +%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 + +# XAU support +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?mgaversion} >= 4 +BuildRequires: %{_lib}xau-devel +%else +BuildRequires: %{_lib}xau%{?mgaversion:6}-devel +%endif +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 +BuildRequires: libXau-devel +%endif + +Obsoletes: trinity-kdeaccessibility < %{version}-%{release} +Provides: trinity-kdeaccessibility = %{version}-%{release} +Obsoletes: trinity-kdeaccessibility-libs < %{version}-%{release} +Provides: trinity-kdeaccessibility-libs = %{version}-%{release} + +Requires: trinity-tde-icons-mono = %{version}-%{release} +Requires: trinity-kbstate = %{version}-%{release} +Requires: trinity-kmag = %{version}-%{release} +Requires: trinity-kmousetool = %{version}-%{release} +Requires: trinity-kmouth = %{version}-%{release} +Requires: trinity-ksayit = %{version}-%{release} +Requires: trinity-kttsd = %{version}-%{release} +Requires: trinity-kttsd-contrib-plugins = %{version}-%{release} + +%description +Included with this package are: +* kmag, a screen magnifier, +* kmousetool, a program for people whom it hurts to click the mouse, +* kmouth, program that allows people who have lost their voice + to let their computer speak for them. + +%files + +########## + +%package -n trinity-tde-icons-mono +Summary: A monochromatic icons theme for TDE +Group: System/GUI/Other + +Obsoletes: trinity-kde-icons-mono < %{version}-%{release} +Provides: trinity-kde-icons-mono = %{version}-%{release} + +%description -n trinity-tde-icons-mono +A monochromatic icon theme for TDE, designed for accessibility purposes. + +This package is part of Trinity, as a component of the TDE accessibility module. + +%files -n trinity-tde-icons-mono +%defattr(-,root,root,-) +%dir %{tde_datadir}/icons/mono +%dir %{tde_datadir}/icons/mono/scalable +%dir %{tde_datadir}/icons/mono/scalable/actions +%dir %{tde_datadir}/icons/mono/scalable/apps +%dir %{tde_datadir}/icons/mono/scalable/devices +%dir %{tde_datadir}/icons/mono/scalable/mimetypes +%dir %{tde_datadir}/icons/mono/scalable/places +%{tde_datadir}/icons/mono/index.theme +%{tde_datadir}/icons/mono/scalable/*/*.svgz + +########## + +%package -n trinity-kbstate +Summary: A keyboard status applet for TDE +Group: System/GUI/Other + +%description -n trinity-kbstate +A panel applet that displays the keyboard status. + +This package is part of Trinity, as a component of the TDE accessibility module. + +%files -n trinity-kbstate +%defattr(-,root,root,-) +%{tde_tdelibdir}/kbstate_panelapplet.la +%{tde_tdelibdir}/kbstate_panelapplet.so +%{tde_datadir}/apps/kbstateapplet/ +%{tde_datadir}/apps/kicker/applets/kbstateapplet.desktop + +########## + +%package -n trinity-kmag +Summary: A screen magnifier for TDE +Group: System/GUI/Other + +%description -n trinity-kmag +TDE's screen magnifier tool. + +You can use KMagnifier to magnify a part of the screen just as you would use +a lens to magnify a newspaper fine-print or a photograph. This application is +useful for a variety of people: from researchers to artists to web-designers to +people with low vision. + +This package is part of Trinity, as a component of the TDE accessibility module. + +%files -n trinity-kmag +%defattr(-,root,root,-) +%{tde_bindir}/kmag +%{tde_tdeappdir}/kmag.desktop +%{tde_datadir}/apps/kmag/ +%{tde_datadir}/icons/hicolor/*/apps/kmag.png +%{tde_datadir}/icons/locolor/*/apps/kmag.png +%{tde_tdedocdir}/HTML/en/kmag/ + +########## + +%package -n trinity-kmousetool +Summary: TDE mouse manipulation tool for the disabled +Group: System/GUI/Other + +%description -n trinity-kmousetool +KMouseTool clicks the mouse whenever the mouse cursor pauses briefly. It was +designed to help those with repetitive strain injuries, for whom pressing +buttons hurts. + +This package is part of Trinity, as a component of the TDE accessibility module. + +%files -n trinity-kmousetool +%defattr(-,root,root,-) +%{tde_bindir}/kmousetool +%{tde_tdeappdir}/kmousetool.desktop +%{tde_datadir}/apps/kmousetool/ +%{tde_datadir}/icons/hicolor/*/apps/kmousetool.png +%{tde_tdedocdir}/HTML/en/kmousetool/ + +########## + +%package -n trinity-kmouth +Summary: A type-and-say KDE frontend for speech synthesizers +Group: System/GUI/Other + +%description -n trinity-kmouth +KDE's type-and-say frontend for speech synthesizers. + +It includes a history of spoken sentences from which the user can select +sentences to be re-spoken. + +This package is part of Trinity, as a component of the TDE accessibility module. + +%files -n trinity-kmouth +%defattr(-,root,root,-) +%{tde_confdir}/kmouthrc +%{tde_bindir}/kmouth +%{tde_tdeappdir}/kmouth.desktop +%{tde_datadir}/apps/kmouth/ +%{tde_datadir}/icons/hicolor/*/actions/speak.png +%{tde_datadir}/icons/hicolor/*/actions/nospeak.png +%{tde_datadir}/icons/hicolor/*/apps/kmouth.png +%{tde_datadir}/icons/locolor/*/actions/speak.png +%{tde_datadir}/icons/locolor/*/apps/kmouth.png +%{tde_tdedocdir}/HTML/en/kmouth/ + +########## + +%package -n trinity-ksayit +Summary: A frontend for the TDE Text-to-Speech system +Group: System/GUI/Other + +%description -n trinity-ksayit +Text-to-speech front-end to kttsd. + +This package is part of Trinity, as a component of the TDE accessibility module. + +%files -n trinity-ksayit +%defattr(-,root,root,-) +%{tde_bindir}/ksayit +%{tde_tdelibdir}/libFreeverb_plugin.la +%{tde_tdelibdir}/libFreeverb_plugin.so +%{tde_libdir}/libKTTSD_Lib.so.* +%{tde_tdeappdir}/ksayit.desktop +%{tde_datadir}/apps/ksayit/ +%{tde_datadir}/icons/hicolor/*/apps/ksayit.png +%{tde_datadir}/icons/hicolor/32x32/apps/ksayit_clipempty.png +%{tde_datadir}/icons/hicolor/32x32/apps/ksayit_talking.png +%{tde_datadir}/services/ksayit_libFreeverb.desktop +%{tde_datadir}/servicetypes/ksayit_libFreeverb_service.desktop +%{tde_tdedocdir}/HTML/en/ksayit/ + +########## + +%package -n trinity-kttsd +Summary: A Text-to-Speech system for TDE +Group: System/GUI/Other + +%description -n trinity-kttsd +The KDE Text-to-Speech system is a plugin based service that allows any KDE +(or non-KDE) application to speak using the DCOP interface. + +ksayit and kmouth are useful front-ends for this capability, while one of +festival, flite, and epos are essential back-ends. + +This package is part of Trinity, as a component of the TDE accessibility module. + +Homepage: http://accessibility.kde.org/developer/kttsd + +%files -n trinity-kttsd +%defattr(-,root,root,-) +%{tde_bindir}/kttsd +%{tde_bindir}/kttsmgr +%{tde_tdelibdir}/kcm_kttsd.la +%{tde_tdelibdir}/kcm_kttsd.so +%{tde_tdelibdir}/tdetexteditor_kttsd.la +%{tde_tdelibdir}/tdetexteditor_kttsd.so +%if 0%{?with_akode} +%{tde_tdelibdir}/libkttsd_akodeplugin.la +%{tde_tdelibdir}/libkttsd_akodeplugin.so +%endif +%{tde_tdelibdir}/libkttsd_alsaplugin.la +%{tde_tdelibdir}/libkttsd_alsaplugin.so +%{tde_tdelibdir}/libkttsd_artsplugin.la +%{tde_tdelibdir}/libkttsd_artsplugin.so +%{tde_tdelibdir}/libkttsd_commandplugin.la +%{tde_tdelibdir}/libkttsd_commandplugin.so +%{tde_tdelibdir}/libkttsd_eposplugin.la +%{tde_tdelibdir}/libkttsd_eposplugin.so +%{tde_tdelibdir}/libkttsd_festivalintplugin.la +%{tde_tdelibdir}/libkttsd_festivalintplugin.so +%{tde_tdelibdir}/libkttsd_fliteplugin.la +%{tde_tdelibdir}/libkttsd_fliteplugin.so +%{tde_tdelibdir}/libkttsd_sbdplugin.la +%{tde_tdelibdir}/libkttsd_sbdplugin.so +%{tde_tdelibdir}/libkttsd_stringreplacerplugin.la +%{tde_tdelibdir}/libkttsd_stringreplacerplugin.so +%{tde_tdelibdir}/libkttsd_talkerchooserplugin.la +%{tde_tdelibdir}/libkttsd_talkerchooserplugin.so +%{tde_tdelibdir}/libkttsd_xmltransformerplugin.la +%{tde_tdelibdir}/libkttsd_xmltransformerplugin.so +%{tde_tdelibdir}/libkttsjobmgrpart.la +%{tde_tdelibdir}/libkttsjobmgrpart.so +%{tde_libdir}/libkttsd.so.* +%{tde_tdeappdir}/kcmkttsd.desktop +%{tde_tdeappdir}/kttsmgr.desktop +%{tde_datadir}/apps/tdetexteditor_kttsd/ +%exclude %{tde_datadir}/apps/kttsd/hadifix/xslt/SSMLtoTxt2pho.xsl +%{tde_datadir}/apps/kttsd/ +%{tde_datadir}/icons/hicolor/16x16/actions/female.png +%{tde_datadir}/icons/hicolor/16x16/actions/male.png +%{tde_datadir}/icons/hicolor/*/apps/kttsd.png +%{tde_datadir}/icons/hicolor/*/apps/kcmkttsd.png +%{tde_datadir}/services/tdetexteditor_kttsd.desktop +%{tde_datadir}/services/kttsd.desktop +%if 0%{?with_akode} +%{tde_datadir}/services/kttsd_akodeplugin.desktop +%endif +%{tde_datadir}/services/kttsd_alsaplugin.desktop +%{tde_datadir}/services/kttsd_artsplugin.desktop +%{tde_datadir}/services/kttsd_commandplugin.desktop +%{tde_datadir}/services/kttsd_eposplugin.desktop +%{tde_datadir}/services/kttsd_festivalintplugin.desktop +%{tde_datadir}/services/kttsd_fliteplugin.desktop +%{tde_datadir}/services/kttsd_sbdplugin.desktop +%{tde_datadir}/services/kttsd_stringreplacerplugin.desktop +%{tde_datadir}/services/kttsd_talkerchooserplugin.desktop +%{tde_datadir}/services/kttsd_xmltransformerplugin.desktop +%{tde_datadir}/services/kttsjobmgr.desktop +%{tde_datadir}/servicetypes/kttsd_audioplugin.desktop +%{tde_datadir}/servicetypes/kttsd_filterplugin.desktop +%{tde_datadir}/servicetypes/kttsd_synthplugin.desktop +%{tde_tdedocdir}/HTML/en/kttsd/ + +########## + +%package -n trinity-kttsd-contrib-plugins +Summary: The TDE Text-to-Speech system +Group: System/GUI/Other +Requires: trinity-kttsd = %{version}-%{release} + +%description -n trinity-kttsd-contrib-plugins +kttsd synthetizer plugins that depends on non-free software : +* FreeTTS plugin. +* Hadifix (mbrola/txt2pho) plugin. +Those plugins will require manual installation of third party, +non free software to work. + +This package is part of Trinity, as a component of the TDE accessibility module. + +%files -n trinity-kttsd-contrib-plugins +%defattr(-,root,root,-) +%{tde_tdelibdir}/libkttsd_freettsplugin.la +%{tde_tdelibdir}/libkttsd_freettsplugin.so +%{tde_tdelibdir}/libkttsd_hadifixplugin.la +%{tde_tdelibdir}/libkttsd_hadifixplugin.so +%{tde_datadir}/apps/kttsd/hadifix/xslt/SSMLtoTxt2pho.xsl +%{tde_datadir}/services/kttsd_freettsplugin.desktop +%{tde_datadir}/services/kttsd_hadifixplugin.desktop + +########## + +%package devel +Summary: Development files for tdeaccessibility +Group: Development/Libraries/X11 +Requires: %{name} = %{version}-%{release} +Requires: trinity-tdelibs-devel >= %{version} +Requires: libjpeg-devel +Requires: libpng-devel + +Obsoletes: trinity-kdeaccessibility-devel < %{version}-%{release} +Provides: trinity-kdeaccessibility-devel = %{version}-%{release} + +%description devel +This package contains the development file for TDE accessibility +programs. + +%files devel +%defattr(-,root,root,-) +%{tde_libdir}/libkttsd.la +%{tde_libdir}/libkttsd.so +%{tde_libdir}/libKTTSD_Lib.la +%{tde_libdir}/libKTTSD_Lib.so +%{tde_tdeincludedir}/ksayit_fxplugin.h + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} + +# Update icons for some control center modules +%__sed -i "kttsd/kcmkttsmgr/kcmkttsd.desktop" -e "s|^Icon=.*|Icon=kcmkttsd|" + +%__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" +export kde_confdir="%{tde_confdir}" + +%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 \ + \ + --enable-ksayit-audio-plugins \ + %{?with_akode:--with-akode} %{?!with_akode:--without-akode} + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# Adds missing icons in 'hicolor' theme +# These icons are copied from 'crystalsvg' theme, provided by 'tdelibs'. +%__mkdir_p "%{?buildroot}%{tde_datadir}/icons/hicolor/"{16x16,22x22,32x32,48x48,64x64,128x128}"/apps/" +pushd "%{?buildroot}%{tde_datadir}/icons" +for i in {16,22,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/apps/kttsd.png hicolor/"$i"x"$i"/apps/kttsd.png ;done +for i in {16,22,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/apps/kttsd.png hicolor/"$i"x"$i"/apps/kcmkttsd.png ;done +popd + +# Avoid conflict with tdelibs +%__rm -f %{?buildroot}%{tde_datadir}/icons/crystalsvg/*/apps/kttsd.png +%__rm -f %{?buildroot}%{tde_datadir}/icons/crystalsvg/scalable/apps/kttsd.svgz + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file -r kmag Utility Accessibility +%suse_update_desktop_file kmousetool Utility Accessibility +%suse_update_desktop_file kmouth Utility Accessibility +%suse_update_desktop_file kttsmgr Utility Accessibility +%suse_update_desktop_file ksayit Utility Accessibility +%suse_update_desktop_file kcmkttsd Utility Accessibility +%endif + +# Links duplicate files +%fdupes "%{?buildroot}%{tde_datadir}" + + +%clean +%__rm -rf %{buildroot} + + +%changelog diff --git a/redhat/main/tdeaddons/tdeaddons-14.0.0.spec b/redhat/main/tdeaddons/tdeaddons-14.0.0.spec deleted file mode 100644 index 90ddfe3e6..000000000 --- a/redhat/main/tdeaddons/tdeaddons-14.0.0.spec +++ /dev/null @@ -1,758 +0,0 @@ -# -# spec file for package tdeaddons (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/ -# - -# BUILD WARNING: -# Remove qt-devel and qt3-devel and any kde*-devel on your system ! -# Having KDE libraries may cause FTBFS here ! - -# TDE variables -%if "%{?tde_version}" == "" -%define tde_version 14.0.0 -%endif -%define tde_pkg tdeaddons -%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_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: Trinity Desktop Environment - Plugins -Version: %{tde_version} -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Group: User Interface/Desktops -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Project -#Packager: Francois Andriot - -Obsoletes: trinity-kdeaddons < %{version}-%{release} -Provides: trinity-kdeaddons = %{version}-%{release} -Obsoletes: trinity-kdeaddons-extras < %{version}-%{release} -Provides: trinity-kdeaddons-extras = %{version}-%{release} - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz - - -# Trinity dependencies -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: trinity-tdegames-devel >= %{tde_version} -BuildRequires: trinity-tdemultimedia-devel >= %{tde_version} -BuildRequires: trinity-tdepim-devel >= %{tde_version} - -BuildRequires: cmake >= 2.8 -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 - -# SDL support -BuildRequires: SDL-devel - -# ALSA support -BuildRequires: alsa-lib-devel - -# OPENSSL support -BuildRequires: openssl-devel - -# IDN support -BuildRequires: libidn-devel - -# GAMIN support -# Not on openSUSE. -%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_gamin 1 -BuildRequires: gamin-devel -%endif - -# PCRE support -%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define with_pcre 1 -BuildRequires: pcre-devel -%endif - -# ACL support -BuildRequires: libacl-devel - -# 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} -%if 0%{?pclinuxos} -BuildRequires: db4-devel -%else -BuildRequires: db5-devel -%endif -%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 - -# XMMS support: no, always disabled, even on Fedora -#%if 0%{?fedora} -#define with_xmms 1 -#BuildRequires: xmms-devel -#%endif - -Requires: trinity-atlantikdesigner = %{version}-%{release} -Requires: trinity-kaddressbook-plugins = %{version}-%{release} -Requires: trinity-kate-plugins = %{version}-%{release} -Requires: trinity-tdeaddons-tdefile-plugins = %{version}-%{release} -Requires: trinity-kicker-applets = %{version}-%{release} -Requires: trinity-knewsticker-scripts = %{version}-%{release} -Requires: trinity-konq-plugins = %{version}-%{release} -Requires: trinity-ksig = %{version}-%{release} -Requires: trinity-noatun-plugins = %{version}-%{release} - - -%description -A collection of TDE Addons/Plugins, including: -* atlantikdesigner: game board designer -* konq-plugins: akregator, babelfish, domtreeviewer, imagerotation, validators, webarchiver -* kate (plugins) -* kicker-applets: kbinaryclock, kolourpicker, ktimemon, mediacontrol -* knewsticker-scripts -* noatun-plugins - -%files -%defattr(-,root,root,-) - -########## - -%package -n trinity-atlantikdesigner -Summary: Game board designer for Atlantik -Group: Applications/Games -#Requires: trinity-atlantik -Requires: trinity-tdegames - -%description -n trinity-atlantikdesigner -Atlantik Designer is a game board designer for the game Atlantik. - -Atlantik is a TDE client for playing Monopoly-like board games on the -monopd network. It can play any board supported by the network -server, including the classic Monopoly game as well as the Atlantik -game in which the properties include several major cities in North -America and Europe. - -%files -n trinity-atlantikdesigner -%defattr(-,root,root,-) -%doc README atlantikdesigner/TODO -%{tde_bindir}/atlantikdesigner -%{tde_datadir}/apps/atlantikdesigner -%{tde_tdeappdir}/atlantikdesigner.desktop -%{tde_datadir}/icons/hicolor/*/apps/atlantikdesigner.png -%{tde_tdedocdir}/HTML/en/atlantikdesigner/ - -########## - -%package -n trinity-kaddressbook-plugins -Summary: Plugins for KAddressBook, the Trinity address book -Group: Applications/Utilities -Requires: trinity-kaddressbook - -%description -n trinity-kaddressbook-plugins -This package contains a variety of useful plugins for the KDE address -book. These plugins can be loaded through the TDE address book settings. - -Highlights include exporting postal addresses as flags in KWorldClock, -as well as importing and exporting contacts in the native format used -by the German freemail provider GMX. - -%files -n trinity-kaddressbook-plugins -%defattr(-,root,root,-) -%doc README -%{tde_tdelibdir}/libkaddrbk_geo_xxport.la -%{tde_tdelibdir}/libkaddrbk_geo_xxport.so -%{tde_tdelibdir}/libkaddrbk_gmx_xxport.la -%{tde_tdelibdir}/libkaddrbk_gmx_xxport.so -%{tde_datadir}/apps/kaddressbook -%{tde_datadir}/services/kaddressbook - -########## - -%package -n trinity-kate-plugins -Summary: Plugins for Kate, the TDE Advanced Text Editor -Group: Applications/Utilities -Requires: trinity-kate -Requires: tidy - -%description -n trinity-kate-plugins -This package contains a variety of useful plugins for Kate, the KDE -Advanced Text Editor. These plugins can be loaded through the plugin -manager in Kate settings. - -Highlights include spell checking, text filtering, HTML/XML construction -and validation, vim/emacs modeline handling, templates for new files -and text snippets, opening of C/C++ headers, extraction of C/C++ symbols, -a tab bar, a Python browser and even more. - -%files -n trinity-kate-plugins -%defattr(-,root,root,-) -%doc kate/xmltools/ChangeLog kate/xmltools/README -%{tde_tdelibdir}/katecppsymbolviewerplugin.la -%{tde_tdelibdir}/katecppsymbolviewerplugin.so -%{tde_tdelibdir}/katefiletemplates.la -%{tde_tdelibdir}/katefiletemplates.so -%{tde_tdelibdir}/katefll_plugin.la -%{tde_tdelibdir}/katefll_plugin.so -%{tde_tdelibdir}/katehelloworldplugin.la -%{tde_tdelibdir}/katehelloworldplugin.so -%{tde_tdelibdir}/katehtmltoolsplugin.la -%{tde_tdelibdir}/katehtmltoolsplugin.so -%{tde_tdelibdir}/kateinsertcommandplugin.la -%{tde_tdelibdir}/kateinsertcommandplugin.so -%{tde_tdelibdir}/katemakeplugin.la -%{tde_tdelibdir}/katemakeplugin.so -%{tde_tdelibdir}/katemodelineplugin.la -%{tde_tdelibdir}/katemodelineplugin.so -%{tde_tdelibdir}/kateopenheaderplugin.la -%{tde_tdelibdir}/kateopenheaderplugin.so -%{tde_tdelibdir}/katepybrowseplugin.la -%{tde_tdelibdir}/katepybrowseplugin.so -%{tde_tdelibdir}/katesnippetsplugin.la -%{tde_tdelibdir}/katesnippetsplugin.so -%{tde_tdelibdir}/katetextfilterplugin.la -%{tde_tdelibdir}/katetextfilterplugin.so -%{tde_tdelibdir}/katexmlcheckplugin.la -%{tde_tdelibdir}/katexmlcheckplugin.so -%{tde_tdelibdir}/katexmltoolsplugin.la -%{tde_tdelibdir}/katexmltoolsplugin.so -%{tde_tdelibdir}/libkatetabbarextensionplugin.la -%{tde_tdelibdir}/libkatetabbarextensionplugin.so -%{tde_datadir}/applnk/.hidden/kate-plugins.desktop -%{tde_datadir}/applnk/.hidden/katefll.desktop -%{tde_datadir}/apps/kate -%{tde_datadir}/apps/katepart -%{tde_datadir}/apps/katexmltools -%{tde_datadir}/services/katecppsymbolviewer.desktop -%{tde_datadir}/services/katefiletemplates.desktop -%{tde_datadir}/services/katefll_plugin.desktop -%{tde_datadir}/services/katehelloworld.desktop -%{tde_datadir}/services/katehtmltools.desktop -%{tde_datadir}/services/kateinsertcommand.desktop -%{tde_datadir}/services/katemake.desktop -%{tde_datadir}/services/katemodeline.desktop -%{tde_datadir}/services/kateopenheader.desktop -%{tde_datadir}/services/katepybrowse.desktop -%{tde_datadir}/services/katesnippets.desktop -%{tde_datadir}/services/katetabbarextension.desktop -%{tde_datadir}/services/katetextfilter.desktop -%{tde_datadir}/services/katexmlcheck.desktop -%{tde_datadir}/services/katexmltools.desktop -%{tde_tdedocdir}/HTML/en/kate-plugins/ -# katesort plugin -%{tde_tdelibdir}/katesortplugin.la -%{tde_tdelibdir}/katesortplugin.so -%{tde_datadir}/icons/hicolor/*/actions/katesort.png -%{tde_datadir}/services/katesort.desktop - -########## - -%package tdefile-plugins -Summary: Trinity file dialog plugins for text files and folders -Group: Applications/Utilities - -Obsoletes: trinity-tdeaddons-kfile-plugins < %{version}-%{release} -Provides: trinity-tdeaddons-kfile-plugins = %{version}-%{release} - -%description tdefile-plugins -This is a collection of plugins for the TDE file dialog. These plugins -extend the file dialog to offer advanced meta-information for text, -HTML and desktop files, as well as for folders, Windows .lnk files, -MIME archives and X.509 certificates. - -This package also includes plugins for the KDE file rename dialog, -allowing a user to more easily decide what to do when faced with a -decision regarding conflicting filenames. Rename dialog plugins are -provided for audio and image files. - -%files tdefile-plugins -%defattr(-,root,root,-) -%doc tdefile-plugins/lnk/README -%{tde_bindir}/lnkforward -%{tde_tdelibdir}/tdefile_cert.la -%{tde_tdelibdir}/tdefile_cert.so -%{tde_tdelibdir}/tdefile_desktop.la -%{tde_tdelibdir}/tdefile_desktop.so -%{tde_tdelibdir}/tdefile_folder.la -%{tde_tdelibdir}/tdefile_folder.so -%{tde_tdelibdir}/tdefile_html.la -%{tde_tdelibdir}/tdefile_html.so -%{tde_tdelibdir}/tdefile_lnk.la -%{tde_tdelibdir}/tdefile_lnk.so -%{tde_tdelibdir}/tdefile_mhtml.la -%{tde_tdelibdir}/tdefile_mhtml.so -%{tde_tdelibdir}/tdefile_txt.la -%{tde_tdelibdir}/tdefile_txt.so -%{tde_tdelibdir}/librenaudioplugin.la -%{tde_tdelibdir}/librenaudioplugin.so -%{tde_tdelibdir}/librenimageplugin.la -%{tde_tdelibdir}/librenimageplugin.so -%{tde_datadir}/applnk/.hidden/lnkforward.desktop -%{tde_datadir}/mimelnk/application/x-win-lnk.desktop -%{tde_datadir}/services/tdefile_cert.desktop -%{tde_datadir}/services/tdefile_desktop.desktop -%{tde_datadir}/services/tdefile_folder.desktop -%{tde_datadir}/services/tdefile_html.desktop -%{tde_datadir}/services/tdefile_lnk.desktop -%{tde_datadir}/services/tdefile_mhtml.desktop -%{tde_datadir}/services/tdefile_txt.desktop -%{tde_datadir}/services/renaudiodlg.desktop -%{tde_datadir}/services/renimagedlg.desktop - -########## - -%package -n trinity-kicker-applets -Summary: Applets for Kicker, the Trinity panel -Group: Applications/Utilities -Requires: trinity-kicker - -%description -n trinity-kicker-applets -This package contains a variety of applets for Kicker, the KDE panel. -These applets will appear in the panel's Add--Applet menu. - -Included are a system monitor, a colour picker, a media player controller, -a mathematical evaluator and a binary clock. - -The media control applet does not support XMMS, as this would force all -kicker-applets users to install XMMS. If you want a kicker applet that -controls XMMS, install the xmms-kde-trinity package. - -%files -n trinity-kicker-applets -%defattr(-,root,root,-) -%doc README -%{tde_tdelibdir}/kolourpicker_panelapplet.la -%{tde_tdelibdir}/kolourpicker_panelapplet.so -%{tde_tdelibdir}/ktimemon_panelapplet.la -%{tde_tdelibdir}/ktimemon_panelapplet.so -%{tde_tdelibdir}/math_panelapplet.la -%{tde_tdelibdir}/math_panelapplet.so -%{tde_tdelibdir}/mediacontrol_panelapplet.la -%{tde_tdelibdir}/mediacontrol_panelapplet.so -%{tde_tdelibdir}/kbinaryclock_panelapplet.la -%{tde_tdelibdir}/kbinaryclock_panelapplet.so -%{tde_datadir}/apps/kicker/applets -%{tde_datadir}/apps/mediacontrol -%{tde_datadir}/config.kcfg/kbinaryclock.kcfg -%{tde_datadir}/icons/locolor/*/apps/ktimemon.png -%{tde_datadir}/icons/crystalsvg/*/apps/ktimemon.png -%{tde_tdedocdir}/HTML/en/kicker-applets/ - -########## - -%package -n trinity-knewsticker-scripts -Summary: scripts for KNewsTicker, the Trinity news ticker -Group: Applications/Utilities -Requires: perl -Requires: python -#Requires: libfinance-quote-perl -#Requires: libmime-perl -#Requires: libnews-nntpclient-perl -Requires: perl-libwww-perl -Requires: trinity-knewsticker - -%description -n trinity-knewsticker-scripts -This package contains a variety of scripts that provide additional news -sources for KNewsTicker, the news ticker applet for the TDE panel. - -Highlights include newsgroup handling, stock data retrieval, sports scores -and various local news sources. - -%files -n trinity-knewsticker-scripts -%defattr(-,root,root,-) -%doc README -%{tde_datadir}/apps/knewsticker/ - -########## - -%package -n trinity-konq-plugins -Summary: plugins for Konqueror, the Trinity file/web/doc browser -Group: Applications/Utilities -%if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?pclinuxos} == 0 -Requires: %{_lib}jpeg8 -%endif -%endif -%if 0%{?rhel} || 0%{?fedora} -Requires: libjpeg -%endif -%if 0%{?suse_version} == 1220 -Requires: libjpeg62 -%endif -%if 0%{?pclinuxos} -Requires: %{_lib}jpeg62 -%endif -%if 0%{?suse_version} == 1230 -Requires: libjpeg8 -%endif -Requires: python -Requires: rsync -#Requires: unison -Requires: trinity-konqueror -%if 0%{?fedora} -Requires: python-exif -%endif - -%description -n trinity-konq-plugins -This package contains a variety of useful plugins for Konqueror, the -file manager, web browser and document viewer for TDE. Many of these -plugins will appear in Konqueror's Tools menu. - -Highlights for web browsing include web page translation, web page archiving, -auto-refreshing, HTML and CSS structural analysis, a search toolbar, a -sidebar news ticker, fast access to common options, bookmarklets, a crash -monitor, a microformat availability indicator, a del.icio.us bookmarks -sidebar, and integration with the aKregator RSS feed reader. - -Highlights for directory browsing include directory filters, image gallery -creation, archive compression and extraction, quick copy/move, a sidebar -media player, a file information metabar/sidebar, a media folder helper, a -graphical disk usage viewer and image conversions and transformations. - -%files -n trinity-konq-plugins -%defattr(-,root,root,-) -%doc konq-plugins/README -%{_sysconfdir}/trinity/translaterc -%{tde_bindir}/fsview -%{tde_bindir}/jpegorient -%{tde_bindir}/tdeio_media_realfolder -%{tde_tdelibdir}/konq_sidebarnews.la -%{tde_tdelibdir}/konq_sidebarnews.so -%{tde_tdelibdir}/konqsidebar_delicious.la -%{tde_tdelibdir}/konqsidebar_delicious.so -%{tde_tdelibdir}/konqsidebar_mediaplayer.la -%{tde_tdelibdir}/konqsidebar_mediaplayer.so -%{tde_tdelibdir}/konqsidebar_metabar.la -%{tde_tdelibdir}/konqsidebar_metabar.so -%{tde_tdelibdir}/libakregatorkonqfeedicon.la -%{tde_tdelibdir}/libakregatorkonqfeedicon.so -%{tde_tdelibdir}/libakregatorkonqplugin.la -%{tde_tdelibdir}/libakregatorkonqplugin.so -%{tde_tdelibdir}/libarkplugin.la -%{tde_tdelibdir}/libarkplugin.so -%{tde_tdelibdir}/libautorefresh.la -%{tde_tdelibdir}/libautorefresh.so -%{tde_tdelibdir}/libbabelfishplugin.la -%{tde_tdelibdir}/libbabelfishplugin.so -%{tde_tdelibdir}/libcrashesplugin.la -%{tde_tdelibdir}/libcrashesplugin.so -%{tde_tdelibdir}/libdirfilterplugin.la -%{tde_tdelibdir}/libdirfilterplugin.so -%{tde_tdelibdir}/librsyncplugin.la -%{tde_tdelibdir}/librsyncplugin.so -%{tde_tdelibdir}/libdomtreeviewerplugin.la -%{tde_tdelibdir}/libdomtreeviewerplugin.so -%{tde_tdelibdir}/libfsviewpart.la -%{tde_tdelibdir}/libfsviewpart.so -%{tde_tdelibdir}/libtdehtmlsettingsplugin.la -%{tde_tdelibdir}/libtdehtmlsettingsplugin.so -%{tde_tdelibdir}/kcm_kuick.la -%{tde_tdelibdir}/kcm_kuick.so -%{tde_tdelibdir}/libkimgallery.la -%{tde_tdelibdir}/libkimgallery.so -%{tde_tdelibdir}/libkuickplugin.la -%{tde_tdelibdir}/libkuickplugin.so -%{tde_tdelibdir}/libmfkonqmficon.la -%{tde_tdelibdir}/libmfkonqmficon.so -%{tde_tdelibdir}/libminitoolsplugin.la -%{tde_tdelibdir}/libminitoolsplugin.so -%{tde_tdelibdir}/librellinksplugin.la -%{tde_tdelibdir}/librellinksplugin.so -%{tde_tdelibdir}/libsearchbarplugin.la -%{tde_tdelibdir}/libsearchbarplugin.so -%{tde_tdelibdir}/libuachangerplugin.la -%{tde_tdelibdir}/libuachangerplugin.so -%{tde_tdelibdir}/libvalidatorsplugin.la -%{tde_tdelibdir}/libvalidatorsplugin.so -%{tde_tdelibdir}/libwebarchiverplugin.la -%{tde_tdelibdir}/libwebarchiverplugin.so -%{tde_tdelibdir}/webarchivethumbnail.la -%{tde_tdelibdir}/webarchivethumbnail.so -%{tde_datadir}/applnk/.hidden/arkplugin.desktop -%{tde_datadir}/applnk/.hidden/kcmkuick.desktop -%{tde_datadir}/applnk/.hidden/kuickplugin.desktop -%{tde_datadir}/applnk/.hidden/mediaplayerplugin.desktop -%{tde_datadir}/applnk/.hidden/crashesplugin.desktop -%{tde_datadir}/applnk/.hidden/dirfilterplugin.desktop -%{tde_datadir}/applnk/.hidden/rsyncplugin.desktop -%{tde_datadir}/applnk/.hidden/fsview.desktop -%{tde_datadir}/applnk/.hidden/tdehtmlsettingsplugin.desktop -%{tde_datadir}/applnk/.hidden/kimgalleryplugin.desktop -%{tde_datadir}/applnk/.hidden/plugin_babelfish.desktop -%{tde_datadir}/applnk/.hidden/plugin_domtreeviewer.desktop -%{tde_datadir}/applnk/.hidden/plugin_validators.desktop -%{tde_datadir}/applnk/.hidden/plugin_webarchiver.desktop -%{tde_datadir}/applnk/.hidden/uachangerplugin.desktop -%{tde_datadir}/apps/akregator -%{tde_datadir}/apps/domtreeviewer -%{tde_datadir}/apps/fsview -%{tde_datadir}/apps/imagerotation/ -%{tde_datadir}/apps/tdehtml/kpartplugins -%{tde_datadir}/apps/konqiconview -%{tde_datadir}/apps/konqlistview -%{tde_datadir}/apps/konqsidebartng -%{tde_datadir}/apps/konqueror/icons -%{tde_datadir}/apps/konqueror/kpartplugins -%{tde_datadir}/apps/konqueror/servicemenus -%{tde_datadir}/apps/metabar/ -%{tde_datadir}/apps/microformat/ -%{tde_datadir}/config.kcfg/konq_sidebarnews.kcfg -%{tde_datadir}/icons/crystalsvg/*/actions/babelfish.png -%{tde_datadir}/icons/crystalsvg/*/actions/cssvalidator.png -%{tde_datadir}/icons/crystalsvg/*/actions/domtreeviewer.png -%{tde_datadir}/icons/crystalsvg/*/actions/htmlvalidator.png -%{tde_datadir}/icons/crystalsvg/*/actions/imagegallery.png -%{tde_datadir}/icons/crystalsvg/*/actions/remotesync.png -%{tde_datadir}/icons/crystalsvg/*/actions/remotesyncconfig.png -%{tde_datadir}/icons/crystalsvg/*/actions/minitools.png -%{tde_datadir}/icons/crystalsvg/*/actions/validators.png -%{tde_datadir}/icons/crystalsvg/*/actions/webarchiver.png -%{tde_datadir}/icons/crystalsvg/*/apps/konqsidebar_delicious.png -%{tde_datadir}/icons/crystalsvg/*/apps/konqsidebar_mediaplayer.png -%{tde_datadir}/icons/crystalsvg/*/apps/konqsidebar_news.png -%{tde_datadir}/icons/hicolor/*/apps/metabar.png -%{tde_datadir}/icons/hicolor/*/apps/fsview.png -%{tde_datadir}/icons/hicolor/scalable/apps/metabar.svgz -%{tde_datadir}/icons/locolor/*/apps/autorefresh.png -%{tde_datadir}/icons/locolor/*/apps/konqsidebar_mediaplayer.png -%{tde_datadir}/services/akregator_konqplugin.desktop -%{tde_datadir}/services/ark_plugin.desktop -%{tde_datadir}/services/fsview_part.desktop -%{tde_datadir}/services/kuick_plugin.desktop -%{tde_datadir}/services/webarchivethumbnail.desktop -%{tde_tdelibdir}/libadblock.la -%{tde_tdelibdir}/libadblock.so -%{tde_tdedocdir}/HTML/en/konq-plugins/ - -########## - -%package -n trinity-ksig -Summary: Graphical tool for managing multiple email signatures -Group: Applications/Utilities -Requires: trinity-kmail - -%description -n trinity-ksig -KSig is a graphical tool for keeping track of many different email -signatures. The signatures themselves can be edited through KSig's -graphical user interface. A command-line interface is then available -for generating random or daily signatures from this list. - -The command-line interface makes a suitable plugin for generating -signatures in external mail clients such as KMail. - -%files -n trinity-ksig -%defattr(-,root,root,-) -%doc README -%{tde_bindir}/ksig -%{tde_tdeappdir}/ksig.desktop -%{tde_datadir}/apps/ksig/ -%{tde_datadir}/icons/hicolor/*/apps/ksig.png -%{tde_tdedocdir}/HTML/en/ksig/ - -########## - -%package -n trinity-noatun-plugins -Summary: plugins for Noatun, the Trinity media player -Group: Applications/Utilities -Requires: trinity-noatun - -%description -n trinity-noatun-plugins -This package contains a variety of useful plugins for Noatun, the audio and -video media player for TDE. These plugins can be loaded through the plugin -manager in Noatun settings. - -Highlights include an alarm clock, guessing tags from filenames, adjustable -playback speed, capture to wave file and displaying lyrics, plus a variety -of user interfaces, playlists and visualisation plugins. - -%files -n trinity-noatun-plugins -%defattr(-,root,root,-) -%doc README -%{tde_bindir}/noatunsynaescope.bin -%{tde_bindir}/noatuntippecanoe.bin -%{tde_bindir}/noatuntyler.bin -%{tde_tdelibdir}/noatunalsaplayer.la -%{tde_tdelibdir}/noatunalsaplayer.so -%{tde_tdelibdir}/noatunblurscope.la -%{tde_tdelibdir}/noatunblurscope.so -%{tde_tdelibdir}/noatuncharlatan.la -%{tde_tdelibdir}/noatuncharlatan.so -%{tde_tdelibdir}/noatundub.la -%{tde_tdelibdir}/noatundub.so -%{tde_tdelibdir}/noatun_ffrs.la -%{tde_tdelibdir}/noatun_ffrs.so -%{tde_tdelibdir}/noatunluckytag.la -%{tde_tdelibdir}/noatunluckytag.so -%{tde_tdelibdir}/noatunlyrics.la -%{tde_tdelibdir}/noatunlyrics.so -%{tde_tdelibdir}/noatunmadness.la -%{tde_tdelibdir}/noatunmadness.so -%if 0%{?with_db} -%{tde_tdelibdir}/noatun_oblique.la -%{tde_tdelibdir}/noatun_oblique.so -%endif -%{tde_tdelibdir}/noatunpitchablespeed.la -%{tde_tdelibdir}/noatunpitchablespeed.so -%{tde_tdelibdir}/noatunsynaescope.la -%{tde_tdelibdir}/noatunsynaescope.so -%{tde_tdelibdir}/noatuntippecanoe.la -%{tde_tdelibdir}/noatuntippecanoe.so -%{tde_tdelibdir}/noatuntyler.la -%{tde_tdelibdir}/noatuntyler.so -%{tde_tdelibdir}/noatunwakeup.la -%{tde_tdelibdir}/noatunwakeup.so -%{tde_tdelibdir}/noatunwavecapture.la -%{tde_tdelibdir}/noatunwavecapture.so -%{tde_datadir}/apps/noatun/* -%{tde_datadir}/icons/crystalsvg/16x16/apps/synaescope.png - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} - -%if 0%{?fedora} >= 30 -# Fix shebangs -sed -i "knewsticker-scripts/sportscores.py" \ - "konq-plugins/imagerotation/orient.py" \ - "konq-plugins/imagerotation/exif.py" \ - -e "s|env python|env python3|" -%endif - - -%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 - -# Help cmake to find DB headers ... -if [ -d "/usr/include/db53" ]; then - export CMAKE_INCLUDE_PATH="/usr/include/db53" -fi -if [ -d "/usr/include/db4" ]; then - export CMAKE_INCLUDE_PATH="/usr/include/db4" -fi - - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -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}" \ - -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 \ - -DWITH_ARTS=ON \ - -DWITH_SDL=ON \ - -DWITH_BERKELEY_DB=ON \ - -DWITH_XMMS=OFF \ - -DWITH_TEST=OFF \ - \ - -DBUILD_ALL=ON \ - -DBUILD_ATLANTIKDESIGNER=ON \ - -DBUILD_DOC=ON \ - -DBUILD_KADDRESSBOOK_PLUGINS=ON \ - -DBUILD_KATE_PLUGINS=ON \ - -DBUILD_KICKER_APPLETS=ON \ - -DBUILD_KNEWSTICKER_SCRIPTS=ON \ - -DBUILD_KONQ_PLUGINS=ON \ - -DBUILD_KSIG=ON \ - -DBUILD_NOATUN_PLUGINS=ON \ - -DBUILD_RENAMEDLG_PLUGINS=ON \ - -DBUILD_TDEFILE_PLUGINS=ON \ - -DBUILD_TUTORIALS=OFF \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -# Temporary -%__rm -rf %{?buildroot}%{tde_tdedocdir}/HTML/en/khelpcenter - - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file atlantikdesigner Game BoardGame -%suse_update_desktop_file -r ksig Network Email -%endif - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/main/tdeaddons/tdeaddons.spec b/redhat/main/tdeaddons/tdeaddons.spec new file mode 100644 index 000000000..8a048cf08 --- /dev/null +++ b/redhat/main/tdeaddons/tdeaddons.spec @@ -0,0 +1,761 @@ +# +# spec file for package tdeaddons (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/ +# + +# BUILD WARNING: +# Remove qt-devel and qt3-devel and any kde*-devel on your system ! +# Having KDE libraries may cause FTBFS here ! + +# TDE variables +%if "%{?tde_version}" == "" +%define tde_version 14.0.7 +%endif +%define tde_pkg tdeaddons +%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_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: Trinity Desktop Environment - Plugins +Version: %{tde_version} +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Group: User Interface/Desktops +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Project +#Packager: Francois Andriot + +Obsoletes: trinity-kdeaddons < %{version}-%{release} +Provides: trinity-kdeaddons = %{version}-%{release} +Obsoletes: trinity-kdeaddons-extras < %{version}-%{release} +Provides: trinity-kdeaddons-extras = %{version}-%{release} + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz + + +# Trinity dependencies +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: trinity-tdegames-devel >= %{tde_version} +BuildRequires: trinity-tdemultimedia-devel >= %{tde_version} +BuildRequires: trinity-tdepim-devel >= %{tde_version} + +BuildRequires: cmake >= 2.8 +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 + +# SDL support +BuildRequires: SDL-devel + +# ALSA support +BuildRequires: alsa-lib-devel + +# OPENSSL support +BuildRequires: openssl-devel + +# IDN support +BuildRequires: libidn-devel + +# GAMIN support +# Not on openSUSE. +%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_gamin 1 +BuildRequires: gamin-devel +%endif + +# PCRE support +%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define with_pcre 1 +BuildRequires: pcre-devel +%endif + +# ACL support +BuildRequires: libacl-devel + +# 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} || 0%{?pclinuxos} +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 + +# XMMS support: no, always disabled, even on Fedora +#%if 0%{?fedora} +#define with_xmms 1 +#BuildRequires: xmms-devel +#%endif + +# PYTHON support +%if 0%{?rhel} >= 8 || 0%{?fedora} >= 30 +%define python python3 +%else +%define python python +%endif + +Requires: trinity-atlantikdesigner = %{version}-%{release} +Requires: trinity-kaddressbook-plugins = %{version}-%{release} +Requires: trinity-kate-plugins = %{version}-%{release} +Requires: trinity-tdeaddons-tdefile-plugins = %{version}-%{release} +Requires: trinity-kicker-applets = %{version}-%{release} +Requires: trinity-knewsticker-scripts = %{version}-%{release} +Requires: trinity-konq-plugins = %{version}-%{release} +Requires: trinity-ksig = %{version}-%{release} +Requires: trinity-noatun-plugins = %{version}-%{release} + + +%description +A collection of TDE Addons/Plugins, including: +* atlantikdesigner: game board designer +* konq-plugins: akregator, babelfish, domtreeviewer, imagerotation, validators, webarchiver +* kate (plugins) +* kicker-applets: kbinaryclock, kolourpicker, ktimemon, mediacontrol +* knewsticker-scripts +* noatun-plugins + +%files +%defattr(-,root,root,-) + +########## + +%package -n trinity-atlantikdesigner +Summary: Game board designer for Atlantik +Group: Applications/Games +#Requires: trinity-atlantik +Requires: trinity-tdegames + +%description -n trinity-atlantikdesigner +Atlantik Designer is a game board designer for the game Atlantik. + +Atlantik is a TDE client for playing Monopoly-like board games on the +monopd network. It can play any board supported by the network +server, including the classic Monopoly game as well as the Atlantik +game in which the properties include several major cities in North +America and Europe. + +%files -n trinity-atlantikdesigner +%defattr(-,root,root,-) +%doc README atlantikdesigner/TODO +%{tde_bindir}/atlantikdesigner +%{tde_datadir}/apps/atlantikdesigner +%{tde_tdeappdir}/atlantikdesigner.desktop +%{tde_datadir}/icons/hicolor/*/apps/atlantikdesigner.png +%{tde_tdedocdir}/HTML/en/atlantikdesigner/ + +########## + +%package -n trinity-kaddressbook-plugins +Summary: Plugins for KAddressBook, the Trinity address book +Group: Applications/Utilities +Requires: trinity-kaddressbook + +%description -n trinity-kaddressbook-plugins +This package contains a variety of useful plugins for the KDE address +book. These plugins can be loaded through the TDE address book settings. + +Highlights include exporting postal addresses as flags in KWorldClock, +as well as importing and exporting contacts in the native format used +by the German freemail provider GMX. + +%files -n trinity-kaddressbook-plugins +%defattr(-,root,root,-) +%doc README +%{tde_tdelibdir}/libkaddrbk_geo_xxport.la +%{tde_tdelibdir}/libkaddrbk_geo_xxport.so +%{tde_tdelibdir}/libkaddrbk_gmx_xxport.la +%{tde_tdelibdir}/libkaddrbk_gmx_xxport.so +%{tde_datadir}/apps/kaddressbook +%{tde_datadir}/services/kaddressbook + +########## + +%package -n trinity-kate-plugins +Summary: Plugins for Kate, the TDE Advanced Text Editor +Group: Applications/Utilities +Requires: trinity-kate +Requires: tidy + +%description -n trinity-kate-plugins +This package contains a variety of useful plugins for Kate, the KDE +Advanced Text Editor. These plugins can be loaded through the plugin +manager in Kate settings. + +Highlights include spell checking, text filtering, HTML/XML construction +and validation, vim/emacs modeline handling, templates for new files +and text snippets, opening of C/C++ headers, extraction of C/C++ symbols, +a tab bar, a Python browser and even more. + +%files -n trinity-kate-plugins +%defattr(-,root,root,-) +%doc kate/xmltools/ChangeLog kate/xmltools/README +%{tde_tdelibdir}/katecppsymbolviewerplugin.la +%{tde_tdelibdir}/katecppsymbolviewerplugin.so +%{tde_tdelibdir}/katefiletemplates.la +%{tde_tdelibdir}/katefiletemplates.so +%{tde_tdelibdir}/katefll_plugin.la +%{tde_tdelibdir}/katefll_plugin.so +%{tde_tdelibdir}/katehelloworldplugin.la +%{tde_tdelibdir}/katehelloworldplugin.so +%{tde_tdelibdir}/katehtmltoolsplugin.la +%{tde_tdelibdir}/katehtmltoolsplugin.so +%{tde_tdelibdir}/kateinsertcommandplugin.la +%{tde_tdelibdir}/kateinsertcommandplugin.so +%{tde_tdelibdir}/katemakeplugin.la +%{tde_tdelibdir}/katemakeplugin.so +%{tde_tdelibdir}/katemodelineplugin.la +%{tde_tdelibdir}/katemodelineplugin.so +%{tde_tdelibdir}/kateopenheaderplugin.la +%{tde_tdelibdir}/kateopenheaderplugin.so +%{tde_tdelibdir}/katepybrowseplugin.la +%{tde_tdelibdir}/katepybrowseplugin.so +%{tde_tdelibdir}/katesnippetsplugin.la +%{tde_tdelibdir}/katesnippetsplugin.so +%{tde_tdelibdir}/katetextfilterplugin.la +%{tde_tdelibdir}/katetextfilterplugin.so +%{tde_tdelibdir}/katexmlcheckplugin.la +%{tde_tdelibdir}/katexmlcheckplugin.so +%{tde_tdelibdir}/katexmltoolsplugin.la +%{tde_tdelibdir}/katexmltoolsplugin.so +%{tde_tdelibdir}/libkatetabbarextensionplugin.la +%{tde_tdelibdir}/libkatetabbarextensionplugin.so +%{tde_datadir}/applnk/.hidden/kate-plugins.desktop +%{tde_datadir}/applnk/.hidden/katefll.desktop +%{tde_datadir}/apps/kate +%{tde_datadir}/apps/katepart +%{tde_datadir}/apps/katexmltools +%{tde_datadir}/services/katecppsymbolviewer.desktop +%{tde_datadir}/services/katefiletemplates.desktop +%{tde_datadir}/services/katefll_plugin.desktop +%{tde_datadir}/services/katehelloworld.desktop +%{tde_datadir}/services/katehtmltools.desktop +%{tde_datadir}/services/kateinsertcommand.desktop +%{tde_datadir}/services/katemake.desktop +%{tde_datadir}/services/katemodeline.desktop +%{tde_datadir}/services/kateopenheader.desktop +%{tde_datadir}/services/katepybrowse.desktop +%{tde_datadir}/services/katesnippets.desktop +%{tde_datadir}/services/katetabbarextension.desktop +%{tde_datadir}/services/katetextfilter.desktop +%{tde_datadir}/services/katexmlcheck.desktop +%{tde_datadir}/services/katexmltools.desktop +%{tde_tdedocdir}/HTML/en/kate-plugins/ +# katesort plugin +%{tde_tdelibdir}/katesortplugin.la +%{tde_tdelibdir}/katesortplugin.so +%{tde_datadir}/icons/hicolor/*/actions/katesort.png +%{tde_datadir}/services/katesort.desktop + +########## + +%package tdefile-plugins +Summary: Trinity file dialog plugins for text files and folders +Group: Applications/Utilities + +Obsoletes: trinity-tdeaddons-kfile-plugins < %{version}-%{release} +Provides: trinity-tdeaddons-kfile-plugins = %{version}-%{release} + +%description tdefile-plugins +This is a collection of plugins for the TDE file dialog. These plugins +extend the file dialog to offer advanced meta-information for text, +HTML and desktop files, as well as for folders, Windows .lnk files, +MIME archives and X.509 certificates. + +This package also includes plugins for the KDE file rename dialog, +allowing a user to more easily decide what to do when faced with a +decision regarding conflicting filenames. Rename dialog plugins are +provided for audio and image files. + +%files tdefile-plugins +%defattr(-,root,root,-) +%doc tdefile-plugins/lnk/README +%{tde_bindir}/lnkforward +%{tde_tdelibdir}/tdefile_cert.la +%{tde_tdelibdir}/tdefile_cert.so +%{tde_tdelibdir}/tdefile_desktop.la +%{tde_tdelibdir}/tdefile_desktop.so +%{tde_tdelibdir}/tdefile_folder.la +%{tde_tdelibdir}/tdefile_folder.so +%{tde_tdelibdir}/tdefile_html.la +%{tde_tdelibdir}/tdefile_html.so +%{tde_tdelibdir}/tdefile_lnk.la +%{tde_tdelibdir}/tdefile_lnk.so +%{tde_tdelibdir}/tdefile_mhtml.la +%{tde_tdelibdir}/tdefile_mhtml.so +%{tde_tdelibdir}/tdefile_txt.la +%{tde_tdelibdir}/tdefile_txt.so +%{tde_tdelibdir}/librenaudioplugin.la +%{tde_tdelibdir}/librenaudioplugin.so +%{tde_tdelibdir}/librenimageplugin.la +%{tde_tdelibdir}/librenimageplugin.so +%{tde_datadir}/applnk/.hidden/lnkforward.desktop +%{tde_datadir}/mimelnk/application/x-win-lnk.desktop +%{tde_datadir}/services/tdefile_cert.desktop +%{tde_datadir}/services/tdefile_desktop.desktop +%{tde_datadir}/services/tdefile_folder.desktop +%{tde_datadir}/services/tdefile_html.desktop +%{tde_datadir}/services/tdefile_lnk.desktop +%{tde_datadir}/services/tdefile_mhtml.desktop +%{tde_datadir}/services/tdefile_txt.desktop +%{tde_datadir}/services/renaudiodlg.desktop +%{tde_datadir}/services/renimagedlg.desktop + +########## + +%package -n trinity-kicker-applets +Summary: Applets for Kicker, the Trinity panel +Group: Applications/Utilities +Requires: trinity-kicker + +%description -n trinity-kicker-applets +This package contains a variety of applets for Kicker, the KDE panel. +These applets will appear in the panel's Add--Applet menu. + +Included are a system monitor, a colour picker, a media player controller, +a mathematical evaluator and a binary clock. + +The media control applet does not support XMMS, as this would force all +kicker-applets users to install XMMS. If you want a kicker applet that +controls XMMS, install the xmms-kde-trinity package. + +%files -n trinity-kicker-applets +%defattr(-,root,root,-) +%doc README +%{tde_tdelibdir}/kolourpicker_panelapplet.la +%{tde_tdelibdir}/kolourpicker_panelapplet.so +%{tde_tdelibdir}/ktimemon_panelapplet.la +%{tde_tdelibdir}/ktimemon_panelapplet.so +%{tde_tdelibdir}/math_panelapplet.la +%{tde_tdelibdir}/math_panelapplet.so +%{tde_tdelibdir}/mediacontrol_panelapplet.la +%{tde_tdelibdir}/mediacontrol_panelapplet.so +%{tde_tdelibdir}/kbinaryclock_panelapplet.la +%{tde_tdelibdir}/kbinaryclock_panelapplet.so +%{tde_datadir}/apps/kicker/applets +%{tde_datadir}/apps/mediacontrol +%{tde_datadir}/config.kcfg/kbinaryclock.kcfg +%{tde_datadir}/icons/locolor/*/apps/ktimemon.png +%{tde_datadir}/icons/crystalsvg/*/apps/ktimemon.png +%{tde_tdedocdir}/HTML/en/kicker-applets/ + +########## + +%package -n trinity-knewsticker-scripts +Summary: scripts for KNewsTicker, the Trinity news ticker +Group: Applications/Utilities +Requires: perl +Requires: %{python} +#Requires: libfinance-quote-perl +#Requires: libmime-perl +#Requires: libnews-nntpclient-perl +Requires: perl-libwww-perl +Requires: trinity-knewsticker + +%description -n trinity-knewsticker-scripts +This package contains a variety of scripts that provide additional news +sources for KNewsTicker, the news ticker applet for the TDE panel. + +Highlights include newsgroup handling, stock data retrieval, sports scores +and various local news sources. + +%files -n trinity-knewsticker-scripts +%defattr(-,root,root,-) +%doc README +%{tde_datadir}/apps/knewsticker/ + +########## + +%package -n trinity-konq-plugins +Summary: plugins for Konqueror, the Trinity file/web/doc browser +Group: Applications/Utilities +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?pclinuxos} == 0 +Requires: %{_lib}jpeg8 +%endif +%endif +%if 0%{?rhel} || 0%{?fedora} +Requires: libjpeg +%endif +%if 0%{?suse_version} == 1220 +Requires: libjpeg62 +%endif +%if 0%{?pclinuxos} +Requires: %{_lib}jpeg62 +%endif +%if 0%{?suse_version} == 1230 +Requires: libjpeg8 +%endif +Requires: %{python} +Requires: rsync +#Requires: unison +Requires: trinity-konqueror +%if 0%{?fedora} +Requires: %{python}-exif +%endif + +%description -n trinity-konq-plugins +This package contains a variety of useful plugins for Konqueror, the +file manager, web browser and document viewer for TDE. Many of these +plugins will appear in Konqueror's Tools menu. + +Highlights for web browsing include web page translation, web page archiving, +auto-refreshing, HTML and CSS structural analysis, a search toolbar, a +sidebar news ticker, fast access to common options, bookmarklets, a crash +monitor, a microformat availability indicator, a del.icio.us bookmarks +sidebar, and integration with the aKregator RSS feed reader. + +Highlights for directory browsing include directory filters, image gallery +creation, archive compression and extraction, quick copy/move, a sidebar +media player, a file information metabar/sidebar, a media folder helper, a +graphical disk usage viewer and image conversions and transformations. + +%files -n trinity-konq-plugins +%defattr(-,root,root,-) +%doc konq-plugins/README +%{_sysconfdir}/trinity/translaterc +%{tde_bindir}/fsview +%{tde_bindir}/jpegorient +%{tde_bindir}/tdeio_media_realfolder +%{tde_tdelibdir}/konq_sidebarnews.la +%{tde_tdelibdir}/konq_sidebarnews.so +%{tde_tdelibdir}/konqsidebar_delicious.la +%{tde_tdelibdir}/konqsidebar_delicious.so +%{tde_tdelibdir}/konqsidebar_mediaplayer.la +%{tde_tdelibdir}/konqsidebar_mediaplayer.so +%{tde_tdelibdir}/konqsidebar_metabar.la +%{tde_tdelibdir}/konqsidebar_metabar.so +%{tde_tdelibdir}/libakregatorkonqfeedicon.la +%{tde_tdelibdir}/libakregatorkonqfeedicon.so +%{tde_tdelibdir}/libakregatorkonqplugin.la +%{tde_tdelibdir}/libakregatorkonqplugin.so +%{tde_tdelibdir}/libarkplugin.la +%{tde_tdelibdir}/libarkplugin.so +%{tde_tdelibdir}/libautorefresh.la +%{tde_tdelibdir}/libautorefresh.so +%{tde_tdelibdir}/libbabelfishplugin.la +%{tde_tdelibdir}/libbabelfishplugin.so +%{tde_tdelibdir}/libcrashesplugin.la +%{tde_tdelibdir}/libcrashesplugin.so +%{tde_tdelibdir}/libdirfilterplugin.la +%{tde_tdelibdir}/libdirfilterplugin.so +%{tde_tdelibdir}/librsyncplugin.la +%{tde_tdelibdir}/librsyncplugin.so +%{tde_tdelibdir}/libdomtreeviewerplugin.la +%{tde_tdelibdir}/libdomtreeviewerplugin.so +%{tde_tdelibdir}/libfsviewpart.la +%{tde_tdelibdir}/libfsviewpart.so +%{tde_tdelibdir}/libtdehtmlsettingsplugin.la +%{tde_tdelibdir}/libtdehtmlsettingsplugin.so +%{tde_tdelibdir}/kcm_kuick.la +%{tde_tdelibdir}/kcm_kuick.so +%{tde_tdelibdir}/libkimgallery.la +%{tde_tdelibdir}/libkimgallery.so +%{tde_tdelibdir}/libkuickplugin.la +%{tde_tdelibdir}/libkuickplugin.so +%{tde_tdelibdir}/libmfkonqmficon.la +%{tde_tdelibdir}/libmfkonqmficon.so +%{tde_tdelibdir}/libminitoolsplugin.la +%{tde_tdelibdir}/libminitoolsplugin.so +%{tde_tdelibdir}/librellinksplugin.la +%{tde_tdelibdir}/librellinksplugin.so +%{tde_tdelibdir}/libsearchbarplugin.la +%{tde_tdelibdir}/libsearchbarplugin.so +%{tde_tdelibdir}/libuachangerplugin.la +%{tde_tdelibdir}/libuachangerplugin.so +%{tde_tdelibdir}/libvalidatorsplugin.la +%{tde_tdelibdir}/libvalidatorsplugin.so +%{tde_tdelibdir}/libwebarchiverplugin.la +%{tde_tdelibdir}/libwebarchiverplugin.so +%{tde_tdelibdir}/webarchivethumbnail.la +%{tde_tdelibdir}/webarchivethumbnail.so +%{tde_datadir}/applnk/.hidden/arkplugin.desktop +%{tde_datadir}/applnk/.hidden/kcmkuick.desktop +%{tde_datadir}/applnk/.hidden/kuickplugin.desktop +%{tde_datadir}/applnk/.hidden/mediaplayerplugin.desktop +%{tde_datadir}/applnk/.hidden/crashesplugin.desktop +%{tde_datadir}/applnk/.hidden/dirfilterplugin.desktop +%{tde_datadir}/applnk/.hidden/rsyncplugin.desktop +%{tde_datadir}/applnk/.hidden/fsview.desktop +%{tde_datadir}/applnk/.hidden/tdehtmlsettingsplugin.desktop +%{tde_datadir}/applnk/.hidden/kimgalleryplugin.desktop +%{tde_datadir}/applnk/.hidden/plugin_babelfish.desktop +%{tde_datadir}/applnk/.hidden/plugin_domtreeviewer.desktop +%{tde_datadir}/applnk/.hidden/plugin_validators.desktop +%{tde_datadir}/applnk/.hidden/plugin_webarchiver.desktop +%{tde_datadir}/applnk/.hidden/uachangerplugin.desktop +%{tde_datadir}/apps/akregator +%{tde_datadir}/apps/domtreeviewer +%{tde_datadir}/apps/fsview +%{tde_datadir}/apps/imagerotation/ +%{tde_datadir}/apps/tdehtml/kpartplugins +%{tde_datadir}/apps/konqiconview +%{tde_datadir}/apps/konqlistview +%{tde_datadir}/apps/konqsidebartng +%{tde_datadir}/apps/konqueror/icons +%{tde_datadir}/apps/konqueror/kpartplugins +%{tde_datadir}/apps/konqueror/servicemenus +%{tde_datadir}/apps/metabar/ +%{tde_datadir}/apps/microformat/ +%{tde_datadir}/config.kcfg/konq_sidebarnews.kcfg +%{tde_datadir}/icons/crystalsvg/*/actions/babelfish.png +%{tde_datadir}/icons/crystalsvg/*/actions/cssvalidator.png +%{tde_datadir}/icons/crystalsvg/*/actions/domtreeviewer.png +%{tde_datadir}/icons/crystalsvg/*/actions/htmlvalidator.png +%{tde_datadir}/icons/crystalsvg/*/actions/imagegallery.png +%{tde_datadir}/icons/crystalsvg/*/actions/remotesync.png +%{tde_datadir}/icons/crystalsvg/*/actions/remotesyncconfig.png +%{tde_datadir}/icons/crystalsvg/*/actions/minitools.png +%{tde_datadir}/icons/crystalsvg/*/actions/validators.png +%{tde_datadir}/icons/crystalsvg/*/actions/webarchiver.png +%{tde_datadir}/icons/crystalsvg/*/apps/konqsidebar_delicious.png +%{tde_datadir}/icons/crystalsvg/*/apps/konqsidebar_mediaplayer.png +%{tde_datadir}/icons/crystalsvg/*/apps/konqsidebar_news.png +%{tde_datadir}/icons/hicolor/*/apps/metabar.png +%{tde_datadir}/icons/hicolor/*/apps/fsview.png +%{tde_datadir}/icons/hicolor/scalable/apps/metabar.svgz +%{tde_datadir}/icons/locolor/*/apps/autorefresh.png +%{tde_datadir}/icons/locolor/*/apps/konqsidebar_mediaplayer.png +%{tde_datadir}/services/akregator_konqplugin.desktop +%{tde_datadir}/services/ark_plugin.desktop +%{tde_datadir}/services/fsview_part.desktop +%{tde_datadir}/services/kuick_plugin.desktop +%{tde_datadir}/services/webarchivethumbnail.desktop +%{tde_tdelibdir}/libadblock.la +%{tde_tdelibdir}/libadblock.so +%{tde_tdedocdir}/HTML/en/konq-plugins/ + +########## + +%package -n trinity-ksig +Summary: Graphical tool for managing multiple email signatures +Group: Applications/Utilities +Requires: trinity-kmail + +%description -n trinity-ksig +KSig is a graphical tool for keeping track of many different email +signatures. The signatures themselves can be edited through KSig's +graphical user interface. A command-line interface is then available +for generating random or daily signatures from this list. + +The command-line interface makes a suitable plugin for generating +signatures in external mail clients such as KMail. + +%files -n trinity-ksig +%defattr(-,root,root,-) +%doc README +%{tde_bindir}/ksig +%{tde_tdeappdir}/ksig.desktop +%{tde_datadir}/apps/ksig/ +%{tde_datadir}/icons/hicolor/*/apps/ksig.png +%{tde_tdedocdir}/HTML/en/ksig/ + +########## + +%package -n trinity-noatun-plugins +Summary: plugins for Noatun, the Trinity media player +Group: Applications/Utilities +Requires: trinity-noatun + +%description -n trinity-noatun-plugins +This package contains a variety of useful plugins for Noatun, the audio and +video media player for TDE. These plugins can be loaded through the plugin +manager in Noatun settings. + +Highlights include an alarm clock, guessing tags from filenames, adjustable +playback speed, capture to wave file and displaying lyrics, plus a variety +of user interfaces, playlists and visualisation plugins. + +%files -n trinity-noatun-plugins +%defattr(-,root,root,-) +%doc README +%{tde_bindir}/noatunsynaescope.bin +%{tde_bindir}/noatuntippecanoe.bin +%{tde_bindir}/noatuntyler.bin +%{tde_tdelibdir}/noatunalsaplayer.la +%{tde_tdelibdir}/noatunalsaplayer.so +%{tde_tdelibdir}/noatunblurscope.la +%{tde_tdelibdir}/noatunblurscope.so +%{tde_tdelibdir}/noatuncharlatan.la +%{tde_tdelibdir}/noatuncharlatan.so +%{tde_tdelibdir}/noatundub.la +%{tde_tdelibdir}/noatundub.so +%{tde_tdelibdir}/noatun_ffrs.la +%{tde_tdelibdir}/noatun_ffrs.so +%{tde_tdelibdir}/noatunluckytag.la +%{tde_tdelibdir}/noatunluckytag.so +%{tde_tdelibdir}/noatunlyrics.la +%{tde_tdelibdir}/noatunlyrics.so +%{tde_tdelibdir}/noatunmadness.la +%{tde_tdelibdir}/noatunmadness.so +%if 0%{?with_db} +%{tde_tdelibdir}/noatun_oblique.la +%{tde_tdelibdir}/noatun_oblique.so +%endif +%{tde_tdelibdir}/noatunpitchablespeed.la +%{tde_tdelibdir}/noatunpitchablespeed.so +%{tde_tdelibdir}/noatunsynaescope.la +%{tde_tdelibdir}/noatunsynaescope.so +%{tde_tdelibdir}/noatuntippecanoe.la +%{tde_tdelibdir}/noatuntippecanoe.so +%{tde_tdelibdir}/noatuntyler.la +%{tde_tdelibdir}/noatuntyler.so +%{tde_tdelibdir}/noatunwakeup.la +%{tde_tdelibdir}/noatunwakeup.so +%{tde_tdelibdir}/noatunwavecapture.la +%{tde_tdelibdir}/noatunwavecapture.so +%{tde_datadir}/apps/noatun/* +%{tde_datadir}/icons/crystalsvg/16x16/apps/synaescope.png + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} + +%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8 +# Fix shebangs +sed -i "knewsticker-scripts/sportscores.py" \ + "konq-plugins/imagerotation/orient.py" \ + "konq-plugins/imagerotation/exif.py" \ + -e "s|env python|env %{python}|" +%endif + + +%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 + +# Help cmake to find DB headers ... +if [ -d "/usr/include/db53" ]; then + export CMAKE_INCLUDE_PATH="/usr/include/db53" +fi +if [ -d "/usr/include/db4" ]; then + export CMAKE_INCLUDE_PATH="/usr/include/db4" +fi + + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -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}" \ + -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 \ + -DWITH_ARTS=ON \ + -DWITH_SDL=ON \ + -DWITH_BERKELEY_DB=ON \ + -DWITH_XMMS=OFF \ + -DWITH_TEST=OFF \ + \ + -DBUILD_ALL=ON \ + -DBUILD_ATLANTIKDESIGNER=ON \ + -DBUILD_DOC=ON \ + -DBUILD_KADDRESSBOOK_PLUGINS=ON \ + -DBUILD_KATE_PLUGINS=ON \ + -DBUILD_KICKER_APPLETS=ON \ + -DBUILD_KNEWSTICKER_SCRIPTS=ON \ + -DBUILD_KONQ_PLUGINS=ON \ + -DBUILD_KSIG=ON \ + -DBUILD_NOATUN_PLUGINS=ON \ + -DBUILD_RENAMEDLG_PLUGINS=ON \ + -DBUILD_TDEFILE_PLUGINS=ON \ + -DBUILD_TUTORIALS=OFF \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +# Temporary +%__rm -rf %{?buildroot}%{tde_tdedocdir}/HTML/en/khelpcenter + + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file atlantikdesigner Game BoardGame +%suse_update_desktop_file -r ksig Network Email +%endif + + +%clean +%__rm -rf %{buildroot} + + +%changelog diff --git a/redhat/main/tdeadmin/tdeadmin.spec b/redhat/main/tdeadmin/tdeadmin.spec index 3e7a33ef6..11420b963 100644 --- a/redhat/main/tdeadmin/tdeadmin.spec +++ b/redhat/main/tdeadmin/tdeadmin.spec @@ -22,7 +22,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg tdeadmin %define tde_prefix /opt/trinity diff --git a/redhat/main/tdeartwork/tdeartwork-14.0.0.spec b/redhat/main/tdeartwork/tdeartwork-14.0.0.spec deleted file mode 100644 index 3d31f7233..000000000 --- a/redhat/main/tdeartwork/tdeartwork-14.0.0.spec +++ /dev/null @@ -1,772 +0,0 @@ -# -# spec file for package tdeartwork (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/ -# - -# BUILD WARNING: -# Remove qt-devel and qt3-devel and any kde*-devel on your system ! -# Having KDE libraries may cause FTBFS here ! - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.0.0 -%endif -%define tde_pkg tdeartwork -%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_sbindir %{tde_prefix}/sbin -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-%{tde_pkg} -Summary: Additional artwork (themes, sound themes, ...) for TDE -Version: %{tde_version} -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Group: System/GUI/Other -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}-%{version}%{?preversion:~%{preversion}}.tar.gz - -Obsoletes: trinity-kdeartwork < %{version}-%{release} -Provides: trinity-kdeartwork = %{version}-%{release} - -BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} - -BuildRequires: cmake >= 2.8 -BuildRequires: gcc-c++ -BuildRequires: fdupes - -BuildRequires: gettext -BuildRequires: libidn-devel - -# ESOUND support -BuildRequires: esound-devel - -# ACL support -BuildRequires: libacl-devel - -# 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 - -# LIBART support -%define with_libart 1 -BuildRequires: libart_lgpl-devel - -# XSCREENSAVER support -# RHEL 4: disabled -# RHEL 6: available in EPEL -# RHEL 7: available in NUX -%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 -BuildRequires: xscreensaver-extrusion -BuildRequires: xscreensaver-gl -%endif - -# Opensuse <= 13.10 does not provide 'webcollage' screensaver -%if 0%{?suse_version} == 0 || 0%{?suse_version} >= 1320 -%define with_webcollage 1 -%endif - -%endif - -# JACK support -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} -%define with_jack 1 -%if 0%{?mgaversion} || 0%{?mdkversion} -%define jack_devel %{_lib}jack-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} -%define jack_devel jack-audio-connection-kit-devel -%endif -%if 0%{?suse_version} -%define jack_devel libjack-devel -%endif -BuildRequires: %{jack_devel} -%endif - -# GAMIN support -# Not on openSUSE. -%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_gamin 1 -BuildRequires: gamin-devel -%endif - -# OPENSSL support -BuildRequires: openssl-devel - - -# Metapackage -Requires: %{name}-emoticons = %{version}-%{release} -Requires: %{name}-misc = %{version}-%{release} -Requires: %{name}-style = %{version}-%{release} -Requires: %{name}-theme-icon = %{version}-%{release} -Requires: %{name}-theme-window = %{version}-%{release} -Requires: trinity-tdewallpapers = %{version}-%{release} -Requires: trinity-tdescreensaver = %{version}-%{release} - -%if 0%{?with_xscreensaver} -Requires: trinity-tdescreensaver-xsavers = %{version}-%{release} -Requires: trinity-tdescreensaver-xsavers-extra = %{version}-%{release} -%if 0%{?with_webcollage} -Requires: trinity-tdescreensaver-xsavers-webcollage = %{version}-%{release} -%endif -%endif - - -%description -TDE (the Trinity Desktop Environment) is a powerful Open Source graphical -desktop environment for Unix workstations. It combines ease of use, -contemporary functionality, and outstanding graphical design with the -technological superiority of the Unix operating system. - -This metapackage includes a collection of artistic extras (themes, widget -styles, screen savers, wallpaper, icons, emoticons and so on) provided -with the official release of TDE. - - -%files - -########## - -%package emoticons -Summary: Emoticon collections for tDE chat clients -Group: System/GUI/Other - -%description emoticons -This package contains several collections of emoticons used by official -and unofficial TDE chat clients, such as Kopete and Konversation. - -This package is part of TDE, and a component of the TDE artwork module. - -%files emoticons -%defattr(-,root,root,-) -%{tde_datadir}/emoticons/ - -########## - -%package misc -Summary: Various multimedia goodies released with TDE -Group: System/GUI/Other - -%description misc -This package contains miscellaneous multimedia goodies for TDE. -Included are additional TDE sounds and kworldclock themes. - -This package is part of Trinity, and a component of the TDE artwork module. - -%files misc -%defattr(-,root,root,-) -%{tde_datadir}/apps/kworldclock/ -%{tde_datadir}/sounds/KDE_Logout_new.wav -%{tde_datadir}/sounds/KDE_Startup_new.wav - -########## - -%package style -Summary: Widget styles released with Trinity -Group: System/GUI/Other - -%description style -This package contains additional widget styles for Trinity. Widget styles -can be used to customise the look and feel of interface components such -as buttons, scrollbars and so on. They can be applied using the style -manager in the Trinity Control Center. - -This package is part of Trinity, and a component of the TDE artwork module. - -%files style -%defattr(-,root,root,-) -%{tde_tdelibdir}/plugins/styles/ -%{tde_tdelibdir}/tdestyle_phase_config.la -%{tde_tdelibdir}/tdestyle_phase_config.so -%{tde_datadir}/apps/tdestyle/ - -########## - -%package theme-icon -Summary: Icon themes released with Trinity -Group: System/GUI/Other - -Obsoletes: trinity-kdeartwork-icons < %{version}-%{release} -Provides: trinity-kdeartwork-icons = %{version}-%{release} - -%description theme-icon -This package contains additional icon themes for Trinity. Icon themes can be -used to customise the appearance of standard icons throughout TDE. They -can be applied using the icon manager in the Trinity Control Centre. - -This package is part of Trinity, and a component of the TDE artwork module. - -%files theme-icon -%defattr(-,root,root,-) -%{tde_datadir}/icons/ikons/ -%{tde_datadir}/icons/kdeclassic/ -%{tde_datadir}/icons/kids/ -%{tde_datadir}/icons/slick/ -%{tde_datadir}/icons/locolor/index.theme -%{tde_datadir}/icons/locolor/*/*/*.png - -########## - -%package theme-window -Summary: Window decoration themes released with Trinity -Group: System/GUI/Other - -%description theme-window -This package contains additional window decoration themes for Trinity. Window -decoration themes can be used to customise the look of window borders and -buttons, and can be applied using the window decoration manager in the Trinity -Control Center. - -This package is part of Trinity, and a component of the TDE artwork module. - -%files theme-window -%defattr(-,root,root,-) -%{tde_tdelibdir}/twin* -%{tde_datadir}/apps/twin/ - -########## - -%package -n trinity-tdewallpapers -Summary: Wallpapers released with Trinity -Group: System/GUI/Other -Obsoletes: trinity-kdewallpapers < %{version}-%{release} -Provides: trinity-kdewallpapers = %{version}-%{release} - -%description -n trinity-tdewallpapers -This package contains additional wallpapers for Trinity. Wallpapers can be -applied using the background manager in the Trinity Control Center. - -This package is part of Trinity, and a component of the TDE artwork module. - -%files -n trinity-tdewallpapers -%defattr(-,root,root,-) -%{tde_datadir}/wallpapers/* - -########## - -%package -n trinity-tdescreensaver -Summary: Additional screen savers released with Trinity -Group: System/GUI/Other - -Obsoletes: trinity-kscreensaver < %{version}-%{release} -Provides: trinity-kscreensaver = %{version}-%{release} - -%description -n trinity-tdescreensaver -This package contains the screen savers for Trinity. They can be tested and -selected within the Appearance and Themes section of the Trinity Control -Center. - -The hooks for the standard xscreensavers are no longer part of this -package. To select and/or configure the standard xscreensavers through -the Trinity Control Center, install the separate package tdescreensaver-xsavers. - -This package is part of Trinity, and a component of the TDE artwork module. - -%files -n trinity-tdescreensaver -%defattr(-,root,root,-) -%{tde_bindir}/kslideshow.kss -%{tde_bindir}/kpolygon.kss -%{tde_bindir}/krotation.kss -%{tde_bindir}/ksolarwinds.kss -%{tde_bindir}/klorenz.kss -%{tde_bindir}/kvm.kss -%{tde_bindir}/kflux.kss -%{tde_bindir}/kscience.kss -%{tde_bindir}/kbanner.kss -%{tde_bindir}/kclock.kss -%{tde_bindir}/kfiresaver.kss -%{tde_bindir}/keuphoria.kss -%{tde_bindir}/kfountain.kss -%{tde_bindir}/kgravity.kss -%{tde_bindir}/tdepartsaver.kss -%{tde_bindir}/kpendulum.kss -%{tde_bindir}/kblob.kss -%{tde_bindir}/klines.kss -%{tde_bindir}/kwave.kss -%{tde_datadir}/applnk/System/ScreenSavers/KBanner.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KBlob.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KClock.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KEuphoria.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KFiresaver.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KFlux.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KFountain.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KGravity.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KLines-saver.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KLorenz.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KPendulum.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KPolygon.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KRotation.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KScience.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KSlideshow.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KSolarWinds.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KVm.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KWave.desktop -%{tde_datadir}/applnk/System/ScreenSavers/tdepartsaver.desktop -%{tde_datadir}/apps/kfiresaver/ -%{tde_datadir}/apps/tdescreensaver/ - -%if 0%{?with_xscreensaver} -%{tde_bindir}/kspace.kss -%{tde_bindir}/kswarm.kss -%{tde_datadir}/applnk/System/ScreenSavers/KSpace.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KSwarm.desktop -%endif - -########## - -%if 0%{?with_xscreensaver} - -%package -n trinity-tdescreensaver-xsavers -Summary: Trinity hooks for standard xscreensavers -Group: System/GUI/Other -Requires: trinity-tdebase-bin >= %{tde_version} -Requires: xscreensaver - -Obsoletes: trinity-kscreensaver-xsavers < %{version}-%{release} -Provides: trinity-kscreensaver-xsavers = %{version}-%{release} - -%description -n trinity-tdescreensaver-xsavers -This package allows a smooth integration of the standard xscreensavers -into Trinity. With this package installed you can select and/or configure -the standard xscreensavers through the Appearances and Themes section of -the Trinity Control Centre. - -Note that this package does not actually contain any screensavers itself. -For the additional screensavers shipped with Trinity, see the separate package -tdescreensaver-trinity. This package does depend on the xscreensaver package, and -recommend the xscreensaver-gl package, as well as contain the necessary -files to integrate these packages into Trinity. - -This package is part of Trinity, and a component of the TDE artwork module. - -%files -n trinity-tdescreensaver-xsavers -%defattr(-,root,root,-) -%{tde_bindir}/xscreensaver-getimage-file -%{tde_bindir}/xscreensaver-getimage -%{tde_bindir}/kxsconfig -%{tde_bindir}/kxsrun -%{tde_datadir}/applnk/System/ScreenSavers/antinspect.desktop -%{tde_datadir}/applnk/System/ScreenSavers/antspotlight.desktop -%{tde_datadir}/applnk/System/ScreenSavers/atunnel.desktop -%{tde_datadir}/applnk/System/ScreenSavers/blinkbox.desktop -%{tde_datadir}/applnk/System/ScreenSavers/braid.desktop -%{tde_datadir}/applnk/System/ScreenSavers/bubble3d.desktop -%{tde_datadir}/applnk/System/ScreenSavers/circuit.desktop -%{tde_datadir}/applnk/System/ScreenSavers/cubestorm.desktop -%{tde_datadir}/applnk/System/ScreenSavers/deco.desktop -%{tde_datadir}/applnk/System/ScreenSavers/distort.desktop -%{tde_datadir}/applnk/System/ScreenSavers/endgame.desktop -%{tde_datadir}/applnk/System/ScreenSavers/engine.desktop -%{tde_datadir}/applnk/System/ScreenSavers/fiberlamp.desktop -%{tde_datadir}/applnk/System/ScreenSavers/flipflop.desktop -%{tde_datadir}/applnk/System/ScreenSavers/flipscreen3d.desktop -%{tde_datadir}/applnk/System/ScreenSavers/flyingtoasters.desktop -%{tde_datadir}/applnk/System/ScreenSavers/fuzzyflakes.desktop -%{tde_datadir}/applnk/System/ScreenSavers/galaxy.desktop -%{tde_datadir}/applnk/System/ScreenSavers/gears.desktop -%{tde_datadir}/applnk/System/ScreenSavers/gflux.desktop -%{tde_datadir}/applnk/System/ScreenSavers/glblur.desktop -%{tde_datadir}/applnk/System/ScreenSavers/gleidescope.desktop -%{tde_datadir}/applnk/System/ScreenSavers/glknots.desktop -%{tde_datadir}/applnk/System/ScreenSavers/glslideshow.desktop -%{tde_datadir}/applnk/System/ScreenSavers/glsnake.desktop -%{tde_datadir}/applnk/System/ScreenSavers/gltext.desktop -%{tde_datadir}/applnk/System/ScreenSavers/hypertorus.desktop -%{tde_datadir}/applnk/System/ScreenSavers/jigglypuff.desktop -%{tde_datadir}/applnk/System/ScreenSavers/lavalite.desktop -%{tde_datadir}/applnk/System/ScreenSavers/metaballs.desktop -%{tde_datadir}/applnk/System/ScreenSavers/mirrorblob.desktop -%{tde_datadir}/applnk/System/ScreenSavers/moebius.desktop -%{tde_datadir}/applnk/System/ScreenSavers/molecule.desktop -%{tde_datadir}/applnk/System/ScreenSavers/morph3d.desktop -%{tde_datadir}/applnk/System/ScreenSavers/penrose.desktop -%{tde_datadir}/applnk/System/ScreenSavers/pipes.desktop -%{tde_datadir}/applnk/System/ScreenSavers/polyhedra.desktop -%{tde_datadir}/applnk/System/ScreenSavers/polytopes.desktop -%{tde_datadir}/applnk/System/ScreenSavers/popsquares.desktop -%{tde_datadir}/applnk/System/ScreenSavers/pulsar.desktop -%{tde_datadir}/applnk/System/ScreenSavers/queens.desktop -%{tde_datadir}/applnk/System/ScreenSavers/ripples.desktop -%{tde_datadir}/applnk/System/ScreenSavers/shadebobs.desktop -%{tde_datadir}/applnk/System/ScreenSavers/sierpinski3d.desktop -%{tde_datadir}/applnk/System/ScreenSavers/slidescreen.desktop -%{tde_datadir}/applnk/System/ScreenSavers/sonar.desktop -%{tde_datadir}/applnk/System/ScreenSavers/spheremonics.desktop -%{tde_datadir}/applnk/System/ScreenSavers/stonerview.desktop -%{tde_datadir}/applnk/System/ScreenSavers/superquadrics.desktop -%{tde_datadir}/applnk/System/ScreenSavers/swirl.desktop -%{tde_datadir}/applnk/System/ScreenSavers/xlyap.desktop -%{tde_datadir}/applnk/System/ScreenSavers/m6502.desktop -%{tde_datadir}/applnk/System/ScreenSavers/glschool.desktop -%{tde_datadir}/applnk/System/ScreenSavers/moebiusgears.desktop -%{tde_datadir}/applnk/System/ScreenSavers/glcells.desktop -%{tde_datadir}/applnk/System/ScreenSavers/abstractile.desktop -%{tde_datadir}/applnk/System/ScreenSavers/lockward.desktop -%{tde_datadir}/applnk/System/ScreenSavers/cwaves.desktop -%{tde_datadir}/applnk/System/ScreenSavers/topblock.desktop -%{tde_datadir}/applnk/System/ScreenSavers/voronoi.desktop -%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%{tde_datadir}/applnk/System/ScreenSavers/cubicgrid.desktop -%{tde_datadir}/applnk/System/ScreenSavers/hypnowheel.desktop -%{tde_datadir}/applnk/System/ScreenSavers/lcdscrub.desktop -%{tde_datadir}/applnk/System/ScreenSavers/photopile.desktop -%{tde_datadir}/applnk/System/ScreenSavers/skytentacles.desktop -%endif -%if 0%{?rhel} == 5 -%{tde_datadir}/applnk/System/ScreenSavers/bubbles.desktop -%{tde_datadir}/applnk/System/ScreenSavers/critical.desktop -%{tde_datadir}/applnk/System/ScreenSavers/flag.desktop -%{tde_datadir}/applnk/System/ScreenSavers/forest.desktop -%{tde_datadir}/applnk/System/ScreenSavers/glforestfire.desktop -%{tde_datadir}/applnk/System/ScreenSavers/hyperball.desktop -%{tde_datadir}/applnk/System/ScreenSavers/hypercube.desktop -%{tde_datadir}/applnk/System/ScreenSavers/juggle.desktop -%{tde_datadir}/applnk/System/ScreenSavers/laser.desktop -%{tde_datadir}/applnk/System/ScreenSavers/lightning.desktop -%{tde_datadir}/applnk/System/ScreenSavers/lisa.desktop -%{tde_datadir}/applnk/System/ScreenSavers/lissie.desktop -%{tde_datadir}/applnk/System/ScreenSavers/lmorph.desktop -%{tde_datadir}/applnk/System/ScreenSavers/mismunch.desktop -%{tde_datadir}/applnk/System/ScreenSavers/rotor.desktop -%{tde_datadir}/applnk/System/ScreenSavers/sphere.desktop -%{tde_datadir}/applnk/System/ScreenSavers/spiral.desktop -%{tde_datadir}/applnk/System/ScreenSavers/t3d.desktop -%{tde_datadir}/applnk/System/ScreenSavers/vines.desktop -%{tde_datadir}/applnk/System/ScreenSavers/whirlygig.desktop -%{tde_datadir}/applnk/System/ScreenSavers/worm.desktop -%endif - -%endif - -########## - -%if 0%{?with_webcollage} - -%package -n trinity-tdescreensaver-xsavers-webcollage -Summary: Webcollage screensaver Trinity hook -Group: System/GUI/Other -Requires: trinity-tdescreensaver-xsavers-extra = %{version}-%{release} -Requires: netpbm - -Obsoletes: trinity-kscreensaver-xsavers-webcollage < %{version}-%{release} -Provides: trinity-kscreensaver-xsavers-webcollage = %{version}-%{release} - -%description -n trinity-tdescreensaver-xsavers-webcollage -This package give access to the webcollage screensaver through the Trinity -screensaver configuration. - -This screensaver downloads random pictures from the internet and creates -a collage as screensaver. - -IMPORTANT NOTICE: The internet contains all kinds of pictures, some of which -you might find inappropriate and offensive. -You are specially discouraged to install this package if you are using -your computer in a working environment or in an environment with children. - -This package is part of Trinity, and a component of the TDE artwork module. - -%files -n trinity-tdescreensaver-xsavers-webcollage -%defattr(-,root,root,-) -%{tde_datadir}/applnk/System/ScreenSavers/webcollage.desktop - -%endif - -########## - -%package -n trinity-tdescreensaver-xsavers-extra -Summary: Trinity hooks for standard xscreensavers -Group: System/GUI/Other -Requires: trinity-tdescreensaver-xsavers = %{version}-%{release} - -Obsoletes: trinity-kscreensaver-xsavers-extra < %{version}-%{release} -Provides: trinity-kscreensaver-xsavers-extra = %{version}-%{release} - -%description -n trinity-tdescreensaver-xsavers-extra -This package allows a smooth integration of the universe xscreensavers -into Trinity. With this package installed you can select and/or configure -the universe xscreensavers through the Appearances and Themes section of -the Trinity Control Centre. - -Note that this package does not actually contain any screensavers itself. -For the additional screensavers shipped with TDE, see the separate package -tdescreensaver. - -This package is part of Trinity, and a component of the TDE artwork module. - -%files -n trinity-tdescreensaver-xsavers-extra -%defattr(-,root,root,-) -%exclude %{tde_datadir}/applnk/System/ScreenSavers/webcollage.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/antinspect.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/antspotlight.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/atunnel.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/blinkbox.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/braid.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/bubble3d.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/circuit.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/cubestorm.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/deco.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/distort.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/endgame.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/engine.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/fiberlamp.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/flipflop.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/flipscreen3d.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/flyingtoasters.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/fuzzyflakes.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/galaxy.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/gears.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/gflux.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/glblur.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/gleidescope.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/glknots.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/glslideshow.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/glsnake.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/gltext.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/hypertorus.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/jigglypuff.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/lavalite.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/metaballs.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/mirrorblob.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/moebius.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/molecule.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/morph3d.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/penrose.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/pipes.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/polyhedra.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/polytopes.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/popsquares.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/pulsar.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/queens.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/ripples.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/shadebobs.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/sierpinski3d.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/slidescreen.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/sonar.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/spheremonics.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/stonerview.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/superquadrics.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/swirl.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/xlyap.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/m6502.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/glschool.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/moebiusgears.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/glcells.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/abstractile.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/lockward.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/cwaves.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/topblock.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/voronoi.desktop -%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%exclude %{tde_datadir}/applnk/System/ScreenSavers/cubicgrid.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/hypnowheel.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/lcdscrub.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/photopile.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/skytentacles.desktop -%endif -%if 0%{?rhel} == 5 -%exclude %{tde_datadir}/applnk/System/ScreenSavers/bubbles.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/critical.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/flag.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/forest.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/glforestfire.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/hyperball.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/hypercube.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/juggle.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/laser.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/lightning.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/lisa.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/lissie.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/lmorph.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/mismunch.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/rotor.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/sphere.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/spiral.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/t3d.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/vines.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/whirlygig.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/worm.desktop -%endif - -%exclude %{tde_datadir}/applnk/System/ScreenSavers/KBanner.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/KBlob.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/KClock.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/KEuphoria.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/KFiresaver.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/KFlux.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/KFountain.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/KGravity.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/KLines-saver.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/KLorenz.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/KPendulum.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/KPolygon.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/KRotation.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/KScience.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/KSlideshow.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/KSolarWinds.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/KVm.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/KWave.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/tdepartsaver.desktop - -%exclude %{tde_datadir}/applnk/System/ScreenSavers/KSpace.desktop -%exclude %{tde_datadir}/applnk/System/ScreenSavers/KSwarm.desktop - -%{tde_datadir}/applnk/System/ScreenSavers/*.desktop - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} - -# http://www.trinitydesktop.org/wiki/bin/view/Developers/HowToBuild -# NOTE: Before building tdeartwork, install any and all xhack screensavers that might be uses, then: -cd tdescreensaver/kxsconfig/ -./update_hacks.sh - - -%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} -DNDEBUG" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -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} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - \ - %{!?with_xscreensaver:-DWITH_XSCREENSAVER=OFF} \ - %{!?with_libart}:-DWITH_LIBART=OFF} \ - -DWITH_OPENGL=ON \ - -DWITH_ARTS=ON \ - -DBUILD_ALL=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf "%{buildroot}" -%__make install -C build DESTDIR="%{buildroot}" - -# Should not be here if xscreensaver is disabled -%if 0%{?with_xscreensaver} == 0 -%__rm -f "%{?buildroot}%{tde_bindir}/xscreensaver-getimage" -%__rm -f "%{?buildroot}%{tde_bindir}/xscreensaver-getimage-file" -%endif - -# Duplicate with trinity-kbabel (from tdesdk) -%__rm -f "%{?buildroot}%{tde_datadir}/icons/locolor/16x16/apps/kbabel.png" -%__rm -f "%{?buildroot}%{tde_datadir}/icons/locolor/32x32/apps/kbabel.png" - -# Links duplicate files -%fdupes "%{?buildroot}%{tde_datadir}" - -# Fix invalid permissions -%if 0%{?with_xscreensaver} -chmod +x "%{?buildroot}%{tde_bindir}/xscreensaver-getimage" -chmod +x "%{?buildroot}%{tde_bindir}/xscreensaver-getimage-file" -%endif - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/main/tdeartwork/tdeartwork.spec b/redhat/main/tdeartwork/tdeartwork.spec new file mode 100644 index 000000000..7c47950a3 --- /dev/null +++ b/redhat/main/tdeartwork/tdeartwork.spec @@ -0,0 +1,772 @@ +# +# spec file for package tdeartwork (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/ +# + +# BUILD WARNING: +# Remove qt-devel and qt3-devel and any kde*-devel on your system ! +# Having KDE libraries may cause FTBFS here ! + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.0.7 +%endif +%define tde_pkg tdeartwork +%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_sbindir %{tde_prefix}/sbin +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-%{tde_pkg} +Summary: Additional artwork (themes, sound themes, ...) for TDE +Version: %{tde_version} +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Group: System/GUI/Other +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}-%{version}%{?preversion:~%{preversion}}.tar.gz + +Obsoletes: trinity-kdeartwork < %{version}-%{release} +Provides: trinity-kdeartwork = %{version}-%{release} + +BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10 +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} + +BuildRequires: cmake >= 2.8 +BuildRequires: gcc-c++ +BuildRequires: fdupes + +BuildRequires: gettext +BuildRequires: libidn-devel + +# ESOUND support +BuildRequires: esound-devel + +# ACL support +BuildRequires: libacl-devel + +# 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 + +# LIBART support +%define with_libart 1 +BuildRequires: libart_lgpl-devel + +# XSCREENSAVER support +# RHEL 4: disabled +# RHEL 6: available in EPEL +# RHEL 7: available in NUX +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || (0%{?rhel} >= 5 && 0%{?rhel} <= 7) || 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 +BuildRequires: xscreensaver-extrusion +BuildRequires: xscreensaver-gl +%endif + +# Opensuse <= 13.10 does not provide 'webcollage' screensaver +%if 0%{?suse_version} == 0 || 0%{?suse_version} >= 1320 +%define with_webcollage 1 +%endif + +%endif + +# JACK support +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} +%define with_jack 1 +%if 0%{?mgaversion} || 0%{?mdkversion} +%define jack_devel %{_lib}jack-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} +%define jack_devel jack-audio-connection-kit-devel +%endif +%if 0%{?suse_version} +%define jack_devel libjack-devel +%endif +BuildRequires: %{jack_devel} +%endif + +# GAMIN support +# Not on openSUSE. +%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_gamin 1 +BuildRequires: gamin-devel +%endif + +# OPENSSL support +BuildRequires: openssl-devel + + +# Metapackage +Requires: %{name}-emoticons = %{version}-%{release} +Requires: %{name}-misc = %{version}-%{release} +Requires: %{name}-style = %{version}-%{release} +Requires: %{name}-theme-icon = %{version}-%{release} +Requires: %{name}-theme-window = %{version}-%{release} +Requires: trinity-tdewallpapers = %{version}-%{release} +Requires: trinity-tdescreensaver = %{version}-%{release} + +%if 0%{?with_xscreensaver} +Requires: trinity-tdescreensaver-xsavers = %{version}-%{release} +Requires: trinity-tdescreensaver-xsavers-extra = %{version}-%{release} +%if 0%{?with_webcollage} +Requires: trinity-tdescreensaver-xsavers-webcollage = %{version}-%{release} +%endif +%endif + + +%description +TDE (the Trinity Desktop Environment) is a powerful Open Source graphical +desktop environment for Unix workstations. It combines ease of use, +contemporary functionality, and outstanding graphical design with the +technological superiority of the Unix operating system. + +This metapackage includes a collection of artistic extras (themes, widget +styles, screen savers, wallpaper, icons, emoticons and so on) provided +with the official release of TDE. + + +%files + +########## + +%package emoticons +Summary: Emoticon collections for tDE chat clients +Group: System/GUI/Other + +%description emoticons +This package contains several collections of emoticons used by official +and unofficial TDE chat clients, such as Kopete and Konversation. + +This package is part of TDE, and a component of the TDE artwork module. + +%files emoticons +%defattr(-,root,root,-) +%{tde_datadir}/emoticons/ + +########## + +%package misc +Summary: Various multimedia goodies released with TDE +Group: System/GUI/Other + +%description misc +This package contains miscellaneous multimedia goodies for TDE. +Included are additional TDE sounds and kworldclock themes. + +This package is part of Trinity, and a component of the TDE artwork module. + +%files misc +%defattr(-,root,root,-) +%{tde_datadir}/apps/kworldclock/ +%{tde_datadir}/sounds/KDE_Logout_new.wav +%{tde_datadir}/sounds/KDE_Startup_new.wav + +########## + +%package style +Summary: Widget styles released with Trinity +Group: System/GUI/Other + +%description style +This package contains additional widget styles for Trinity. Widget styles +can be used to customise the look and feel of interface components such +as buttons, scrollbars and so on. They can be applied using the style +manager in the Trinity Control Center. + +This package is part of Trinity, and a component of the TDE artwork module. + +%files style +%defattr(-,root,root,-) +%{tde_tdelibdir}/plugins/styles/ +%{tde_tdelibdir}/tdestyle_phase_config.la +%{tde_tdelibdir}/tdestyle_phase_config.so +%{tde_datadir}/apps/tdestyle/ + +########## + +%package theme-icon +Summary: Icon themes released with Trinity +Group: System/GUI/Other + +Obsoletes: trinity-kdeartwork-icons < %{version}-%{release} +Provides: trinity-kdeartwork-icons = %{version}-%{release} + +%description theme-icon +This package contains additional icon themes for Trinity. Icon themes can be +used to customise the appearance of standard icons throughout TDE. They +can be applied using the icon manager in the Trinity Control Centre. + +This package is part of Trinity, and a component of the TDE artwork module. + +%files theme-icon +%defattr(-,root,root,-) +%{tde_datadir}/icons/ikons/ +%{tde_datadir}/icons/kdeclassic/ +%{tde_datadir}/icons/kids/ +%{tde_datadir}/icons/slick/ +%{tde_datadir}/icons/locolor/index.theme +%{tde_datadir}/icons/locolor/*/*/*.png + +########## + +%package theme-window +Summary: Window decoration themes released with Trinity +Group: System/GUI/Other + +%description theme-window +This package contains additional window decoration themes for Trinity. Window +decoration themes can be used to customise the look of window borders and +buttons, and can be applied using the window decoration manager in the Trinity +Control Center. + +This package is part of Trinity, and a component of the TDE artwork module. + +%files theme-window +%defattr(-,root,root,-) +%{tde_tdelibdir}/twin* +%{tde_datadir}/apps/twin/ + +########## + +%package -n trinity-tdewallpapers +Summary: Wallpapers released with Trinity +Group: System/GUI/Other +Obsoletes: trinity-kdewallpapers < %{version}-%{release} +Provides: trinity-kdewallpapers = %{version}-%{release} + +%description -n trinity-tdewallpapers +This package contains additional wallpapers for Trinity. Wallpapers can be +applied using the background manager in the Trinity Control Center. + +This package is part of Trinity, and a component of the TDE artwork module. + +%files -n trinity-tdewallpapers +%defattr(-,root,root,-) +%{tde_datadir}/wallpapers/* + +########## + +%package -n trinity-tdescreensaver +Summary: Additional screen savers released with Trinity +Group: System/GUI/Other + +Obsoletes: trinity-kscreensaver < %{version}-%{release} +Provides: trinity-kscreensaver = %{version}-%{release} + +%description -n trinity-tdescreensaver +This package contains the screen savers for Trinity. They can be tested and +selected within the Appearance and Themes section of the Trinity Control +Center. + +The hooks for the standard xscreensavers are no longer part of this +package. To select and/or configure the standard xscreensavers through +the Trinity Control Center, install the separate package tdescreensaver-xsavers. + +This package is part of Trinity, and a component of the TDE artwork module. + +%files -n trinity-tdescreensaver +%defattr(-,root,root,-) +%{tde_bindir}/kslideshow.kss +%{tde_bindir}/kpolygon.kss +%{tde_bindir}/krotation.kss +%{tde_bindir}/ksolarwinds.kss +%{tde_bindir}/klorenz.kss +%{tde_bindir}/kvm.kss +%{tde_bindir}/kflux.kss +%{tde_bindir}/kscience.kss +%{tde_bindir}/kbanner.kss +%{tde_bindir}/kclock.kss +%{tde_bindir}/kfiresaver.kss +%{tde_bindir}/keuphoria.kss +%{tde_bindir}/kfountain.kss +%{tde_bindir}/kgravity.kss +%{tde_bindir}/tdepartsaver.kss +%{tde_bindir}/kpendulum.kss +%{tde_bindir}/kblob.kss +%{tde_bindir}/klines.kss +%{tde_bindir}/kwave.kss +%{tde_datadir}/applnk/System/ScreenSavers/KBanner.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KBlob.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KClock.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KEuphoria.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KFiresaver.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KFlux.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KFountain.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KGravity.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KLines-saver.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KLorenz.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KPendulum.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KPolygon.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KRotation.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KScience.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KSlideshow.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KSolarWinds.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KVm.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KWave.desktop +%{tde_datadir}/applnk/System/ScreenSavers/tdepartsaver.desktop +%{tde_datadir}/apps/kfiresaver/ +%{tde_datadir}/apps/tdescreensaver/ + +%if 0%{?with_xscreensaver} +%{tde_bindir}/kspace.kss +%{tde_bindir}/kswarm.kss +%{tde_datadir}/applnk/System/ScreenSavers/KSpace.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KSwarm.desktop +%endif + +########## + +%if 0%{?with_xscreensaver} + +%package -n trinity-tdescreensaver-xsavers +Summary: Trinity hooks for standard xscreensavers +Group: System/GUI/Other +Requires: trinity-tdebase-bin >= %{tde_version} +Requires: xscreensaver + +Obsoletes: trinity-kscreensaver-xsavers < %{version}-%{release} +Provides: trinity-kscreensaver-xsavers = %{version}-%{release} + +%description -n trinity-tdescreensaver-xsavers +This package allows a smooth integration of the standard xscreensavers +into Trinity. With this package installed you can select and/or configure +the standard xscreensavers through the Appearances and Themes section of +the Trinity Control Centre. + +Note that this package does not actually contain any screensavers itself. +For the additional screensavers shipped with Trinity, see the separate package +tdescreensaver-trinity. This package does depend on the xscreensaver package, and +recommend the xscreensaver-gl package, as well as contain the necessary +files to integrate these packages into Trinity. + +This package is part of Trinity, and a component of the TDE artwork module. + +%files -n trinity-tdescreensaver-xsavers +%defattr(-,root,root,-) +%{tde_bindir}/xscreensaver-getimage-file +%{tde_bindir}/xscreensaver-getimage +%{tde_bindir}/kxsconfig +%{tde_bindir}/kxsrun +%{tde_datadir}/applnk/System/ScreenSavers/antinspect.desktop +%{tde_datadir}/applnk/System/ScreenSavers/antspotlight.desktop +%{tde_datadir}/applnk/System/ScreenSavers/atunnel.desktop +%{tde_datadir}/applnk/System/ScreenSavers/blinkbox.desktop +%{tde_datadir}/applnk/System/ScreenSavers/braid.desktop +%{tde_datadir}/applnk/System/ScreenSavers/bubble3d.desktop +%{tde_datadir}/applnk/System/ScreenSavers/circuit.desktop +%{tde_datadir}/applnk/System/ScreenSavers/cubestorm.desktop +%{tde_datadir}/applnk/System/ScreenSavers/deco.desktop +%{tde_datadir}/applnk/System/ScreenSavers/distort.desktop +%{tde_datadir}/applnk/System/ScreenSavers/endgame.desktop +%{tde_datadir}/applnk/System/ScreenSavers/engine.desktop +%{tde_datadir}/applnk/System/ScreenSavers/fiberlamp.desktop +%{tde_datadir}/applnk/System/ScreenSavers/flipflop.desktop +%{tde_datadir}/applnk/System/ScreenSavers/flipscreen3d.desktop +%{tde_datadir}/applnk/System/ScreenSavers/flyingtoasters.desktop +%{tde_datadir}/applnk/System/ScreenSavers/fuzzyflakes.desktop +%{tde_datadir}/applnk/System/ScreenSavers/galaxy.desktop +%{tde_datadir}/applnk/System/ScreenSavers/gears.desktop +%{tde_datadir}/applnk/System/ScreenSavers/gflux.desktop +%{tde_datadir}/applnk/System/ScreenSavers/glblur.desktop +%{tde_datadir}/applnk/System/ScreenSavers/gleidescope.desktop +%{tde_datadir}/applnk/System/ScreenSavers/glknots.desktop +%{tde_datadir}/applnk/System/ScreenSavers/glslideshow.desktop +%{tde_datadir}/applnk/System/ScreenSavers/glsnake.desktop +%{tde_datadir}/applnk/System/ScreenSavers/gltext.desktop +%{tde_datadir}/applnk/System/ScreenSavers/hypertorus.desktop +%{tde_datadir}/applnk/System/ScreenSavers/jigglypuff.desktop +%{tde_datadir}/applnk/System/ScreenSavers/lavalite.desktop +%{tde_datadir}/applnk/System/ScreenSavers/metaballs.desktop +%{tde_datadir}/applnk/System/ScreenSavers/mirrorblob.desktop +%{tde_datadir}/applnk/System/ScreenSavers/moebius.desktop +%{tde_datadir}/applnk/System/ScreenSavers/molecule.desktop +%{tde_datadir}/applnk/System/ScreenSavers/morph3d.desktop +%{tde_datadir}/applnk/System/ScreenSavers/penrose.desktop +%{tde_datadir}/applnk/System/ScreenSavers/pipes.desktop +%{tde_datadir}/applnk/System/ScreenSavers/polyhedra.desktop +%{tde_datadir}/applnk/System/ScreenSavers/polytopes.desktop +%{tde_datadir}/applnk/System/ScreenSavers/popsquares.desktop +%{tde_datadir}/applnk/System/ScreenSavers/pulsar.desktop +%{tde_datadir}/applnk/System/ScreenSavers/queens.desktop +%{tde_datadir}/applnk/System/ScreenSavers/ripples.desktop +%{tde_datadir}/applnk/System/ScreenSavers/shadebobs.desktop +%{tde_datadir}/applnk/System/ScreenSavers/sierpinski3d.desktop +%{tde_datadir}/applnk/System/ScreenSavers/slidescreen.desktop +%{tde_datadir}/applnk/System/ScreenSavers/sonar.desktop +%{tde_datadir}/applnk/System/ScreenSavers/spheremonics.desktop +%{tde_datadir}/applnk/System/ScreenSavers/stonerview.desktop +%{tde_datadir}/applnk/System/ScreenSavers/superquadrics.desktop +%{tde_datadir}/applnk/System/ScreenSavers/swirl.desktop +%{tde_datadir}/applnk/System/ScreenSavers/xlyap.desktop +%{tde_datadir}/applnk/System/ScreenSavers/m6502.desktop +%{tde_datadir}/applnk/System/ScreenSavers/glschool.desktop +%{tde_datadir}/applnk/System/ScreenSavers/moebiusgears.desktop +%{tde_datadir}/applnk/System/ScreenSavers/glcells.desktop +%{tde_datadir}/applnk/System/ScreenSavers/abstractile.desktop +%{tde_datadir}/applnk/System/ScreenSavers/lockward.desktop +%{tde_datadir}/applnk/System/ScreenSavers/cwaves.desktop +%{tde_datadir}/applnk/System/ScreenSavers/topblock.desktop +%{tde_datadir}/applnk/System/ScreenSavers/voronoi.desktop +%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%{tde_datadir}/applnk/System/ScreenSavers/cubicgrid.desktop +%{tde_datadir}/applnk/System/ScreenSavers/hypnowheel.desktop +%{tde_datadir}/applnk/System/ScreenSavers/lcdscrub.desktop +%{tde_datadir}/applnk/System/ScreenSavers/photopile.desktop +%{tde_datadir}/applnk/System/ScreenSavers/skytentacles.desktop +%endif +%if 0%{?rhel} == 5 +%{tde_datadir}/applnk/System/ScreenSavers/bubbles.desktop +%{tde_datadir}/applnk/System/ScreenSavers/critical.desktop +%{tde_datadir}/applnk/System/ScreenSavers/flag.desktop +%{tde_datadir}/applnk/System/ScreenSavers/forest.desktop +%{tde_datadir}/applnk/System/ScreenSavers/glforestfire.desktop +%{tde_datadir}/applnk/System/ScreenSavers/hyperball.desktop +%{tde_datadir}/applnk/System/ScreenSavers/hypercube.desktop +%{tde_datadir}/applnk/System/ScreenSavers/juggle.desktop +%{tde_datadir}/applnk/System/ScreenSavers/laser.desktop +%{tde_datadir}/applnk/System/ScreenSavers/lightning.desktop +%{tde_datadir}/applnk/System/ScreenSavers/lisa.desktop +%{tde_datadir}/applnk/System/ScreenSavers/lissie.desktop +%{tde_datadir}/applnk/System/ScreenSavers/lmorph.desktop +%{tde_datadir}/applnk/System/ScreenSavers/mismunch.desktop +%{tde_datadir}/applnk/System/ScreenSavers/rotor.desktop +%{tde_datadir}/applnk/System/ScreenSavers/sphere.desktop +%{tde_datadir}/applnk/System/ScreenSavers/spiral.desktop +%{tde_datadir}/applnk/System/ScreenSavers/t3d.desktop +%{tde_datadir}/applnk/System/ScreenSavers/vines.desktop +%{tde_datadir}/applnk/System/ScreenSavers/whirlygig.desktop +%{tde_datadir}/applnk/System/ScreenSavers/worm.desktop +%endif + +%endif + +########## + +%if 0%{?with_webcollage} + +%package -n trinity-tdescreensaver-xsavers-webcollage +Summary: Webcollage screensaver Trinity hook +Group: System/GUI/Other +Requires: trinity-tdescreensaver-xsavers-extra = %{version}-%{release} +Requires: netpbm + +Obsoletes: trinity-kscreensaver-xsavers-webcollage < %{version}-%{release} +Provides: trinity-kscreensaver-xsavers-webcollage = %{version}-%{release} + +%description -n trinity-tdescreensaver-xsavers-webcollage +This package give access to the webcollage screensaver through the Trinity +screensaver configuration. + +This screensaver downloads random pictures from the internet and creates +a collage as screensaver. + +IMPORTANT NOTICE: The internet contains all kinds of pictures, some of which +you might find inappropriate and offensive. +You are specially discouraged to install this package if you are using +your computer in a working environment or in an environment with children. + +This package is part of Trinity, and a component of the TDE artwork module. + +%files -n trinity-tdescreensaver-xsavers-webcollage +%defattr(-,root,root,-) +%{tde_datadir}/applnk/System/ScreenSavers/webcollage.desktop + +%endif + +########## + +%package -n trinity-tdescreensaver-xsavers-extra +Summary: Trinity hooks for standard xscreensavers +Group: System/GUI/Other +Requires: trinity-tdescreensaver-xsavers = %{version}-%{release} + +Obsoletes: trinity-kscreensaver-xsavers-extra < %{version}-%{release} +Provides: trinity-kscreensaver-xsavers-extra = %{version}-%{release} + +%description -n trinity-tdescreensaver-xsavers-extra +This package allows a smooth integration of the universe xscreensavers +into Trinity. With this package installed you can select and/or configure +the universe xscreensavers through the Appearances and Themes section of +the Trinity Control Centre. + +Note that this package does not actually contain any screensavers itself. +For the additional screensavers shipped with TDE, see the separate package +tdescreensaver. + +This package is part of Trinity, and a component of the TDE artwork module. + +%files -n trinity-tdescreensaver-xsavers-extra +%defattr(-,root,root,-) +%exclude %{tde_datadir}/applnk/System/ScreenSavers/webcollage.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/antinspect.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/antspotlight.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/atunnel.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/blinkbox.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/braid.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/bubble3d.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/circuit.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/cubestorm.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/deco.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/distort.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/endgame.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/engine.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/fiberlamp.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/flipflop.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/flipscreen3d.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/flyingtoasters.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/fuzzyflakes.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/galaxy.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/gears.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/gflux.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/glblur.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/gleidescope.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/glknots.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/glslideshow.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/glsnake.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/gltext.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/hypertorus.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/jigglypuff.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/lavalite.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/metaballs.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/mirrorblob.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/moebius.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/molecule.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/morph3d.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/penrose.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/pipes.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/polyhedra.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/polytopes.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/popsquares.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/pulsar.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/queens.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/ripples.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/shadebobs.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/sierpinski3d.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/slidescreen.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/sonar.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/spheremonics.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/stonerview.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/superquadrics.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/swirl.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/xlyap.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/m6502.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/glschool.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/moebiusgears.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/glcells.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/abstractile.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/lockward.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/cwaves.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/topblock.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/voronoi.desktop +%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%exclude %{tde_datadir}/applnk/System/ScreenSavers/cubicgrid.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/hypnowheel.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/lcdscrub.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/photopile.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/skytentacles.desktop +%endif +%if 0%{?rhel} == 5 +%exclude %{tde_datadir}/applnk/System/ScreenSavers/bubbles.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/critical.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/flag.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/forest.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/glforestfire.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/hyperball.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/hypercube.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/juggle.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/laser.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/lightning.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/lisa.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/lissie.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/lmorph.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/mismunch.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/rotor.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/sphere.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/spiral.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/t3d.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/vines.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/whirlygig.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/worm.desktop +%endif + +%exclude %{tde_datadir}/applnk/System/ScreenSavers/KBanner.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/KBlob.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/KClock.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/KEuphoria.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/KFiresaver.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/KFlux.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/KFountain.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/KGravity.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/KLines-saver.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/KLorenz.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/KPendulum.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/KPolygon.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/KRotation.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/KScience.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/KSlideshow.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/KSolarWinds.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/KVm.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/KWave.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/tdepartsaver.desktop + +%exclude %{tde_datadir}/applnk/System/ScreenSavers/KSpace.desktop +%exclude %{tde_datadir}/applnk/System/ScreenSavers/KSwarm.desktop + +%{tde_datadir}/applnk/System/ScreenSavers/*.desktop + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} + +# http://www.trinitydesktop.org/wiki/bin/view/Developers/HowToBuild +# NOTE: Before building tdeartwork, install any and all xhack screensavers that might be uses, then: +cd tdescreensaver/kxsconfig/ +./update_hacks.sh + + +%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} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -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} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + \ + %{!?with_xscreensaver:-DWITH_XSCREENSAVER=OFF} \ + %{!?with_libart}:-DWITH_LIBART=OFF} \ + -DWITH_OPENGL=ON \ + -DWITH_ARTS=ON \ + -DBUILD_ALL=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf "%{buildroot}" +%__make install -C build DESTDIR="%{buildroot}" + +# Should not be here if xscreensaver is disabled +%if 0%{?with_xscreensaver} == 0 +%__rm -f "%{?buildroot}%{tde_bindir}/xscreensaver-getimage" +%__rm -f "%{?buildroot}%{tde_bindir}/xscreensaver-getimage-file" +%endif + +# Duplicate with trinity-kbabel (from tdesdk) +%__rm -f "%{?buildroot}%{tde_datadir}/icons/locolor/16x16/apps/kbabel.png" +%__rm -f "%{?buildroot}%{tde_datadir}/icons/locolor/32x32/apps/kbabel.png" + +# Links duplicate files +%fdupes "%{?buildroot}%{tde_datadir}" + +# Fix invalid permissions +%if 0%{?with_xscreensaver} +chmod +x "%{?buildroot}%{tde_bindir}/xscreensaver-getimage" +chmod +x "%{?buildroot}%{tde_bindir}/xscreensaver-getimage-file" +%endif + + +%clean +%__rm -rf %{buildroot} + + +%changelog diff --git a/redhat/main/tdebase/pamd.kcheckpass-trinity.el8 b/redhat/main/tdebase/pamd.kcheckpass-trinity.el8 new file mode 120000 index 000000000..dab729b22 --- /dev/null +++ b/redhat/main/tdebase/pamd.kcheckpass-trinity.el8 @@ -0,0 +1 @@ +pamd.kcheckpass-trinity.el7 \ No newline at end of file diff --git a/redhat/main/tdebase/pamd.kcheckpass-trinity.fc31 b/redhat/main/tdebase/pamd.kcheckpass-trinity.fc31 new file mode 100644 index 000000000..0a37e6e13 --- /dev/null +++ b/redhat/main/tdebase/pamd.kcheckpass-trinity.fc31 @@ -0,0 +1,5 @@ +#%PAM-1.0 +auth include system-auth +account include system-auth +password include system-auth +session include system-auth diff --git a/redhat/main/tdebase/pamd.kcheckpass-trinity.pclos b/redhat/main/tdebase/pamd.kcheckpass-trinity.pclos new file mode 120000 index 000000000..ad0fc6da6 --- /dev/null +++ b/redhat/main/tdebase/pamd.kcheckpass-trinity.pclos @@ -0,0 +1 @@ +pamd.kcheckpass-trinity.pclos2018 \ No newline at end of file diff --git a/redhat/main/tdebase/pamd.kdm-trinity-np.el8 b/redhat/main/tdebase/pamd.kdm-trinity-np.el8 new file mode 120000 index 000000000..3415e7d55 --- /dev/null +++ b/redhat/main/tdebase/pamd.kdm-trinity-np.el8 @@ -0,0 +1 @@ +pamd.kdm-trinity-np.el7 \ No newline at end of file diff --git a/redhat/main/tdebase/pamd.kdm-trinity-np.fc31 b/redhat/main/tdebase/pamd.kdm-trinity-np.fc31 new file mode 100644 index 000000000..0616e66f6 --- /dev/null +++ b/redhat/main/tdebase/pamd.kdm-trinity-np.fc31 @@ -0,0 +1,16 @@ + #%PAM-1.0 +auth required pam_env.so +auth required pam_permit.so +auth include postlogin +account required pam_nologin.so +account include system-auth +password include system-auth +session required pam_selinux.so close +session required pam_loginuid.so +session optional pam_console.so +-session optional pam_ck_connector.so +session required pam_selinux.so open +session optional pam_keyinit.so force revoke +session required pam_namespace.so +session include system-auth +session include postlogin diff --git a/redhat/main/tdebase/pamd.kdm-trinity-np.pclos b/redhat/main/tdebase/pamd.kdm-trinity-np.pclos new file mode 120000 index 000000000..5cde6e2c5 --- /dev/null +++ b/redhat/main/tdebase/pamd.kdm-trinity-np.pclos @@ -0,0 +1 @@ +pamd.kdm-trinity-np.pclos2018 \ No newline at end of file diff --git a/redhat/main/tdebase/pamd.kdm-trinity.el8 b/redhat/main/tdebase/pamd.kdm-trinity.el8 new file mode 120000 index 000000000..f85413ec6 --- /dev/null +++ b/redhat/main/tdebase/pamd.kdm-trinity.el8 @@ -0,0 +1 @@ +pamd.kdm-trinity.el7 \ No newline at end of file diff --git a/redhat/main/tdebase/pamd.kdm-trinity.fc31 b/redhat/main/tdebase/pamd.kdm-trinity.fc31 new file mode 100644 index 000000000..4e760760f --- /dev/null +++ b/redhat/main/tdebase/pamd.kdm-trinity.fc31 @@ -0,0 +1,23 @@ +#%PAM-1.0 +auth [success=done ignore=ignore default=bad] pam_selinux_permit.so +auth required pam_env.so +auth substack system-auth +-auth optional pam_gnome_keyring.so +-auth optional pam_kwallet.so +-auth optional pam_kwallet5.so +auth include postlogin +account required pam_nologin.so +account include system-auth +password include system-auth +session required pam_selinux.so close +session required pam_loginuid.so +session optional pam_console.so +-session optional pam_ck_connector.so +session required pam_selinux.so open +session optional pam_keyinit.so force revoke +session required pam_namespace.so +session include system-auth +-session optional pam_gnome_keyring.so auto_start +-session optional pam_kwallet.so +-session optional pam_kwallet5.so +session include postlogin diff --git a/redhat/main/tdebase/pamd.kdm-trinity.pclos b/redhat/main/tdebase/pamd.kdm-trinity.pclos new file mode 120000 index 000000000..fcc6957f7 --- /dev/null +++ b/redhat/main/tdebase/pamd.kdm-trinity.pclos @@ -0,0 +1 @@ +pamd.kdm-trinity.pclos2018 \ No newline at end of file diff --git a/redhat/main/tdebase/pamd.kscreensaver-trinity.el8 b/redhat/main/tdebase/pamd.kscreensaver-trinity.el8 new file mode 120000 index 000000000..a5fab9e3e --- /dev/null +++ b/redhat/main/tdebase/pamd.kscreensaver-trinity.el8 @@ -0,0 +1 @@ +pamd.kscreensaver-trinity.el7 \ No newline at end of file diff --git a/redhat/main/tdebase/pamd.kscreensaver-trinity.fc31 b/redhat/main/tdebase/pamd.kscreensaver-trinity.fc31 new file mode 100644 index 000000000..0a37e6e13 --- /dev/null +++ b/redhat/main/tdebase/pamd.kscreensaver-trinity.fc31 @@ -0,0 +1,5 @@ +#%PAM-1.0 +auth include system-auth +account include system-auth +password include system-auth +session include system-auth diff --git a/redhat/main/tdebase/pamd.kscreensaver-trinity.pclos b/redhat/main/tdebase/pamd.kscreensaver-trinity.pclos new file mode 120000 index 000000000..31d43e302 --- /dev/null +++ b/redhat/main/tdebase/pamd.kscreensaver-trinity.pclos @@ -0,0 +1 @@ +pamd.kscreensaver-trinity.pclos2018 \ No newline at end of file diff --git a/redhat/main/tdebase/tdebase.spec b/redhat/main/tdebase/tdebase.spec index e8e3dbe50..a4c5fe6a0 100644 --- a/redhat/main/tdebase/tdebase.spec +++ b/redhat/main/tdebase/tdebase.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg tdebase %define tde_prefix /opt/trinity @@ -74,7 +74,7 @@ Source6: suse-displaymanagers-tdm %endif # Fedora 18: use SYSTEMD for TDM startup -%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7 +%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7 || 0%{?mgaversion} >= 6 Source7: tdm.service%{?dist} %endif @@ -229,7 +229,31 @@ Requires: fedora-logos # Fedora 28 Theme %if 0%{?fedora} == 28 Requires: f28-backgrounds-base -%define tde_bg /usr/share/backgrounds/f27/default/standard/f28.png +%define tde_bg /usr/share/backgrounds/f28/default/standard/f28.png +Requires: fedora-logos +%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png +%endif + +# Fedora 29 Theme +%if 0%{?fedora} == 29 +Requires: f29-backgrounds-base +%define tde_bg /usr/share/backgrounds/f29/default/standard/f29.png +Requires: fedora-logos +%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png +%endif + +# Fedora 30 Theme +%if 0%{?fedora} == 30 +Requires: f30-backgrounds-base +%define tde_bg /usr/share/backgrounds/f30/default/standard/f30.png +Requires: fedora-logos +%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png +%endif + +# Fedora 31 Theme +%if 0%{?fedora} == 31 +Requires: f28-backgrounds-base +%define tde_bg /usr/share/backgrounds/f31/default/standard/f31.png Requires: fedora-logos %define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png %endif @@ -263,6 +287,13 @@ Requires: redhat-logos %define tde_starticon /usr/share/icons/hicolor/96x96/apps/system-logo-icon.png %endif +# RHEL 8 Theme +%if 0%{?rhel} == 8 +Requires: redhat-logos +%define tde_bg /usr/share/backgrounds/day.jpg +%define tde_starticon /usr/share/icons/hicolor/96x96/apps/system-logo-icon.png +%endif + # Mageia 2 Theme %if 0%{?mgaversion} == 2 Requires: mageia-theme-Default @@ -298,6 +329,13 @@ Requires: mageia-theme-Default %define tde_starticon %{tde_datadir}/oxygen/scalable/mgabutton.svg %endif +# Mageia 7 Theme +%if 0%{?mgaversion} == 7 +Requires: mageia-theme-Default +%define tde_bg /usr/share/mga/backgrounds/default.jpg +%define tde_starticon %{tde_datadir}/oxygen/scalable/mgabutton.svg +%endif + # Mandriva 2011 Theme: "rosa" %if "%{distribution}" == "Mandriva Linux" && "%{?mdkversion}" == "201100" Requires: mandriva-theme @@ -381,6 +419,22 @@ Requires: hicolor-icon-theme-branding %define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg %endif +# OpenSuse 15.1 Theme +%if "%{?suse_version}" == "1510" +Requires: wallpaper-branding +%define tde_bg /usr/share/wallpapers/openSUSEdefault/contents/images/1600x1200.jpg +Requires: hicolor-icon-theme-branding +%define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg +%endif + +# OpenSuse TW Theme +%if "%{?suse_version}" == "1550" +Requires: wallpaper-branding +%define tde_bg /usr/share/wallpapers/openSUSEdefault/contents/images/1600x1200.jpg +Requires: hicolor-icon-theme-branding +%define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg +%endif + BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10 BuildRequires: trinity-tdelibs-devel >= %{tde_version} @@ -956,7 +1010,7 @@ Some random features: %{tde_tdeappdir}/kate.desktop %{tde_datadir}/apps/kate/ %{tde_datadir}/apps/tdeconf_update/kate-2.4.upd -%config(noreplace) %{_sysconfdir}/trinity/katerc +%config(noreplace) %{tde_confdir}/katerc %{tde_datadir}/icons/hicolor/*/apps/kate.png %{tde_datadir}/icons/hicolor/*/apps/kate2.svgz %{tde_datadir}/servicetypes/kateplugin.desktop @@ -1357,7 +1411,7 @@ TDE applications, particularly those in the TDE base module. %{tde_bindir}/kreadconfig %{tde_bindir}/kwriteconfig %{tde_bindir}/kstart -%config(noreplace) %{_sysconfdir}/trinity/kxkb_groups +%config(noreplace) %{tde_confdir}/kxkb_groups %{tde_bindir}/drkonqi %{tde_bindir}/crashtest %{tde_bindir}/kapplymousetheme @@ -1497,7 +1551,7 @@ needed for a basic TDE desktop installation. %files data %defattr(-,root,root,-) -%config(noreplace) %{_sysconfdir}/trinity/tdeshorturifilterrc +%config(noreplace) %{tde_confdir}/tdeshorturifilterrc %{tde_datadir}/applnk/.hidden/battery.desktop %{tde_datadir}/applnk/.hidden/bwarning.desktop %{tde_datadir}/applnk/.hidden/cwarning.desktop @@ -1755,7 +1809,6 @@ needed for a basic TDE desktop installation. # XDG directories information %dir %{_sysconfdir}/xdg/menus/applications-merged %config(noreplace) %{_sysconfdir}/xdg/menus/applications-merged/tde-essential.menu -%config(noreplace) %{_sysconfdir}/xdg/menus/tde-information.menu %config(noreplace) %{_sysconfdir}/xdg/menus/tde-screensavers.menu %config(noreplace) %{_sysconfdir}/xdg/menus/tde-settings.menu @@ -2087,8 +2140,8 @@ the TDE desktop. %files -n trinity-kdesktop %defattr(-,root,root,-) -%config(noreplace) %{_sysconfdir}/trinity/kdesktop_custom_menu1 -%config(noreplace) %{_sysconfdir}/trinity/kdesktop_custom_menu2 +%config(noreplace) %{tde_confdir}/kdesktop_custom_menu1 +%config(noreplace) %{tde_confdir}/kdesktop_custom_menu2 %{tde_bindir}/kcheckrunning %{tde_bindir}/kxdglauncher %{tde_bindir}/tdeeject @@ -2192,6 +2245,9 @@ already. Most users won't need this. %{tdm_datadir}/sessions/*.desktop %{tdm_datadir}/themes/ %{tde_confdir}/%{tdm} +%if 0%{?with_selinux_policy} +%exclude %{tde_confdir}/%{tdm}/tdm.pp +%endif %{tde_tdedocdir}/HTML/en/%{tdm}/ %if 0%{?suse_version} == 0 %config(noreplace) %{_sysconfdir}/pam.d/tdm-trinity @@ -2232,7 +2288,7 @@ already. Most users won't need this. # SELINUX policy %if 0%{?with_selinux_policy} -%{?_sysconfdir}/trinity/%{tdm}/tdm.pp +%{tde_confdir}/%{tdm}/tdm.pp %endif # Logrotate configuration @@ -2241,17 +2297,17 @@ already. Most users won't need this. %pre -n trinity-tdm # Make sure that TDM configuration files are now under '/etc/trinity/tdm' if [ -d "%{tde_datadir}/config/%{tdm}" ] && [ ! -L "%{tde_datadir}/config/%{tdm}" ]; then - if [ -d "%{_sysconfdir}/trinity/%{tdm}" ]; then + if [ -d "%{tde_confdir}/%{tdm}" ]; then # If there is already something under '/etc/trinity/tdm', simply delete old configuration echo "Deleting TDM configuration under '%{tde_datadir}/config/%{tdm}'" rm -rf "%{tde_datadir}/config/%{tdm}" else # Else, move '/opt/trinity/share/config/tdm' to '/etc/trinity/tdm' - if [ ! -d "%{_sysconfdir}/trinity" ]; then - mkdir -p "%{_sysconfdir}/trinity" + if [ ! -d "%{tde_confdir}" ]; then + mkdir -p "%{tde_confdir}" fi - echo "Migrating TDM configuration from '%{tde_datadir}/config/%{tdm}' to '%{_sysconfdir}/trinity/%{tdm}'" - mv -f "%{tde_datadir}/config/%{tdm}" "%{_sysconfdir}/trinity/%{tdm}.migr" + echo "Migrating TDM configuration from '%{tde_datadir}/config/%{tdm}' to '%{tde_confdir}/%{tdm}'" + mv -f "%{tde_datadir}/config/%{tdm}" "%{tde_confdir}/%{tdm}.migr" fi fi @@ -2269,7 +2325,7 @@ fi # SELINUX context for tdm %if 0%{?with_selinux_policy} -/usr/sbin/semodule -i "%{?_sysconfdir}/trinity/%{tdm}/tdm.pp" +/usr/sbin/semodule -i "%{tde_confdir}/%{tdm}/tdm.pp" %endif %if 0%{?fedora} == 21 || 0%{?rhel} >= 7 @@ -2288,7 +2344,7 @@ fi # Sets default language for TDM if [ "$1" = "1" ]; then if [ -n "${LANG}" ] && [ "${LANG}" != "C" ]; then - sed -i "%{_sysconfdir}/trinity/%{tdm}/%{tdm}rc" -e "s|^#*Language=.*|Language=${LANG}|" + sed -i "%{tde_confdir}/%{tdm}/%{tdm}rc" -e "s|^#*Language=.*|Language=${LANG}|" fi fi @@ -2304,9 +2360,9 @@ update-alternatives --install /usr/lib/X11/displaymanagers/default-displaymanage %posttrans -n trinity-tdm # Make sure that TDM configuration files are now under '/etc/trinity/tdm' -if [ -d "%{_sysconfdir}/trinity/%{tdm}.migr" ] && [ -d "%{_sysconfdir}/trinity/%{tdm}" ]; then - mv -f "%{_sysconfdir}/trinity/%{tdm}.migr/"* "%{_sysconfdir}/trinity/%{tdm}/" - rmdir "%{_sysconfdir}/trinity/%{tdm}.migr/" +if [ -d "%{tde_confdir}/%{tdm}.migr" ] && [ -d "%{tde_confdir}/%{tdm}" ]; then + mv -f "%{tde_confdir}/%{tdm}.migr/"* "%{tde_confdir}/%{tdm}/" + rmdir "%{tde_confdir}/%{tdm}.migr/" fi %postun -n trinity-tdm @@ -2549,7 +2605,7 @@ web browser if the clipboard contains a URL. %files -n trinity-klipper %defattr(-,root,root,-) %{tde_bindir}/klipper -%config(noreplace) %{_sysconfdir}/trinity/klipperrc +%config(noreplace) %{tde_confdir}/klipperrc %{tde_tdelibdir}/klipper.la %{tde_tdelibdir}/klipper.so %{tde_tdelibdir}/klipper_panelapplet.la @@ -2628,7 +2684,7 @@ ever launching another application. %files -n trinity-konqueror %defattr(-,root,root,-) -%config(noreplace) %{_sysconfdir}/trinity/konqsidebartng.rc +%config(noreplace) %{tde_confdir}/konqsidebartng.rc %{tde_bindir}/kbookmarkmerger %{tde_bindir}/keditbookmarks %{tde_bindir}/kfmclient @@ -3040,7 +3096,7 @@ to monitor it through the daemon running there. %files -n trinity-ksysguardd %defattr(-,root,root,-) %{tde_bindir}/ksysguardd -%config(noreplace) %{_sysconfdir}/trinity/ksysguarddrc +%config(noreplace) %{tde_confdir}/ksysguarddrc ########## @@ -3179,7 +3235,7 @@ These libraries allow you to use TDE dialogs in native TQt3 applications. %files libtqt3-integration %defattr(-,root,root,-) -%{tde_tdelibdir}/plugins/integration/ +%{_libdir}/tqt3/plugins/integration/ %{tde_tdelibdir}/kded_kdeintegration.la %{tde_tdelibdir}/kded_kdeintegration.so %{tde_datadir}/services/kded/kdeintegration.desktop @@ -3357,8 +3413,8 @@ fi -DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}" \ -DLIB_INSTALL_DIR="%{tde_libdir}" \ -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DCONFIG_INSTALL_DIR="%{_sysconfdir}/trinity" \ - -DSYSCONF_INSTALL_DIR="%{_sysconfdir}/trinity" \ + -DCONFIG_INSTALL_DIR="%{tde_confdir}" \ + -DSYSCONF_INSTALL_DIR="%{tde_confdir}" \ -DXDG_MENU_INSTALL_DIR="%{_sysconfdir}/xdg/menus" \ \ -DWITH_ALL_OPTIONS=ON \ @@ -3470,7 +3526,7 @@ EOF %endif # TDM configuration -%__sed -i "%{?buildroot}%{_sysconfdir}/trinity/%{tdm}/%{tdm}rc" \ +%__sed -i "%{?buildroot}%{tde_confdir}/%{tdm}/%{tdm}rc" \ %if 0%{?fedora} >= 16 || 0%{?suse_version} >= 1210 || 0%{?rhel} >= 7 || 0%{?mageia} >= 4 -e "s/^#*MinShowUID=.*/MinShowUID=1000/" %else @@ -3507,7 +3563,7 @@ fi # SELINUX policy for RHEL / Fedora %if 0%{?with_selinux_policy} -%__install -D -m 644 "%{SOURCE8}" "%{?buildroot}%{?_sysconfdir}/trinity/%{tdm}/tdm.pp" +%__install -D -m 644 "%{SOURCE8}" "%{?buildroot}%{tde_confdir}/%{tdm}/tdm.pp" %endif # Mageia icon for TDE menu diff --git a/redhat/main/tdebase/tdm.el8.pp b/redhat/main/tdebase/tdm.el8.pp new file mode 120000 index 000000000..3d25dc4f0 --- /dev/null +++ b/redhat/main/tdebase/tdm.el8.pp @@ -0,0 +1 @@ +tdm.el7.pp \ No newline at end of file diff --git a/redhat/main/tdebase/tdm.fc31.pp b/redhat/main/tdebase/tdm.fc31.pp new file mode 100644 index 000000000..d0c0d4be8 Binary files /dev/null and b/redhat/main/tdebase/tdm.fc31.pp differ diff --git a/redhat/main/tdebase/tdm.service.el8 b/redhat/main/tdebase/tdm.service.el8 new file mode 120000 index 000000000..87f56ea08 --- /dev/null +++ b/redhat/main/tdebase/tdm.service.el8 @@ -0,0 +1 @@ +tdm.service.el7 \ No newline at end of file diff --git a/redhat/main/tdebase/tdm.service.fc31 b/redhat/main/tdebase/tdm.service.fc31 new file mode 100644 index 000000000..4c6136d94 --- /dev/null +++ b/redhat/main/tdebase/tdm.service.fc31 @@ -0,0 +1,12 @@ +[Unit] +Description=The Trinity login manager +Conflicts=getty@tty1.service +After=systemd-user-sessions.service getty@tty1.service plymouth-quit.service + +[Service] +ExecStart=/opt/trinity/bin/kdm +Restart=always +IgnoreSIGPIPE=no + +[Install] +Alias=display-manager.service diff --git a/redhat/main/tdebase/tdm.service.mga6 b/redhat/main/tdebase/tdm.service.mga6 new file mode 100644 index 000000000..eda2906e2 --- /dev/null +++ b/redhat/main/tdebase/tdm.service.mga6 @@ -0,0 +1,12 @@ +[Unit] +Description=Trinity Display Manager +Documentation=man:tdm(1) +Conflicts=getty@tty1.service +After=systemd-user-sessions.service getty@tty1.service plymouth-quit.service systemd-logind.service + +[Service] +ExecStart=/opt/trinity/bin/tdm +Restart=always + +[Install] +Alias=display-manager.service diff --git a/redhat/main/tdebase/tdm.service.mga7 b/redhat/main/tdebase/tdm.service.mga7 new file mode 100644 index 000000000..eda2906e2 --- /dev/null +++ b/redhat/main/tdebase/tdm.service.mga7 @@ -0,0 +1,12 @@ +[Unit] +Description=Trinity Display Manager +Documentation=man:tdm(1) +Conflicts=getty@tty1.service +After=systemd-user-sessions.service getty@tty1.service plymouth-quit.service systemd-logind.service + +[Service] +ExecStart=/opt/trinity/bin/tdm +Restart=always + +[Install] +Alias=display-manager.service diff --git a/redhat/main/tdebindings/tdebindings-14.0.0.spec b/redhat/main/tdebindings/tdebindings-14.0.0.spec deleted file mode 100644 index 4b9de5a75..000000000 --- a/redhat/main/tdebindings/tdebindings-14.0.0.spec +++ /dev/null @@ -1,1164 +0,0 @@ -# -# spec file for package tdebindings (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 - -# BUILD WARNING: -# Remove qt-devel and qt3-devel and any kde*-devel on your system ! -# Having KDE libraries may cause FTBFS here ! - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.0.0 -%endif -%define tde_pkg tdebindings -%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 - -# Special note for RHEL4: -# You must create symlink 'libgcj.so' manually because it does not exist by default. -# E.g: -# ln -s /usr/lib/libgcj.so.5.0.0 /usr/lib/jvm/java/lib/libgcj.so -# or 64 bits: -# ln -s /usr/lib64/libgcj.so.5.0.0 /usr/lib/jvm/java/lib/libgcj.so - -Name: trinity-%{tde_pkg} -Summary: TDE bindings to non-C++ languages -Version: %{tde_version} -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Group: System/GUI/Other -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}-%{version}%{?preversion:~%{preversion}}.tar.gz -Source1: %{name}-rpmlintrc - -BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} - -BuildRequires: autoconf automake libtool m4 -BuildRequires: gcc-c++ -BuildRequires: desktop-file-utils - -# 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 - -# ZLIB support -BuildRequires: zlib-devel - -# PERL module support -BuildRequires: perl(ExtUtils::MakeMaker) - -# GTK2 support -%if 0%{?rhel} == 4 -BuildRequires: evolution28-gtk2-devel -Requires: evolution28-gtk2 -BuildRequires: evolution28-glib2-devel -Requires: evolution28-glib2 -BuildRequires: evolution28-cairo-devel -Requires: evolution28-cairo -BuildRequires: evolution28-pango-devel -Requires: evolution28-pango -BuildRequires: evolution28-atk-devel -Requires: evolution28-atk -%else -BuildRequires: gtk2-devel -%endif - -# XULRUNNER support -%if 0%{?fedora} || 0%{?rhel} >= 5 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} >= 1220 -#BuildRequires: xulrunner-devel -%endif -%if 0%{?suse_version} == 1140 -BuildRequires: mozilla-xulrunner20-devel -%endif - -# OPENSSL support -BuildRequires: openssl-devel - -# GTK1 support -%if 0%{?fedora} || 0%{?rhel} >= 5 -%define with_gtk1 1 -BuildRequires: glib-devel -BuildRequires: gtk+-devel -%endif -%if 0%{?rhel} == 5 || 0%{?rhel} == 6 -%if 0%{?with_gtk1} -%define with_gtk1 1 -BuildRequires: glib-devel -BuildRequires: gtk+-devel -%endif -%endif -%if 0%{?mdkversion} == 201100 -%define with_gtk1 1 -BuildRequires: %{_lib}glib1.2-devel -BuildRequires: %{_lib}gtk+-devel -%endif - -%if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?pclinuxos} -BuildRequires: libgdk_pixbuf2.0-devel -%else -BuildRequires: %{_lib}gdk_pixbuf2.0-devel -%endif -%endif -%if 0%{?fedora} -%if 0%{?fedora} >= 17 -BuildRequires: gdk-pixbuf2-devel -%else -BuildRequires: gdk-pixbuf-devel -%endif -%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 - - -## Python -BuildRequires: python-devel -%define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)") - -## ruby -BuildRequires: ruby-devel >= 1.8 -BuildRequires: ruby >= 1.8 -%if 0%{?fedora} >= 19 -BuildRequires: rubypick -%endif - -# Check for Ruby library directory -%if "%{?ruby_libarchdir}" != "" -%define ruby_arch %{?ruby_libarchdir} -%else -%if "%{?rb_archdir}" != "" -%define ruby_arch %{?rb_archdir} -%else -%if "%{%ruby_archdir}" != "" -%define ruby_arch %{?ruby_archdir} -%else -%{!?ruby_arch: %define ruby_arch %(ruby -rrbconfig -e 'puts Config::CONFIG["archdir"]' || ruby -rrbconfig -e 'puts RbConfig::CONFIG["archdir"]')} -%endif -%endif -%endif -%if 0%{?rhel} == 5 || 0%{?rhel} == 6 -%define ruby_arch %(ruby -rrbconfig -e 'puts Config::CONFIG["archdir"]') -%endif -%if 0%{?pclinuxos} -%define ruby_arch %(ruby -rrbconfig -e 'puts RbConfig::CONFIG["archdir"]') -%endif - -%if "%{?ruby_libdir}" != "" -%define ruby_rubylibdir %{?ruby_libdir} -%else -%if "%{?rb_libdir}" != "" -%define ruby_rubylibdir %{?rb_libdir} -%else -%{!?ruby_rubylibdir: %define ruby_rubylibdir %(ruby -rrbconfig -e 'puts Config::CONFIG["rubylibdir"]' || ruby -rrbconfig -e 'puts RbConfig::CONFIG["rubylibdir"]')} -%endif -%endif - -# Ruby 1.9 includes are located in strance directories ... (taken from ruby 1.9 spec file) -%global _normalized_cpu %(echo %{_target_cpu} | sed 's/^ppc/powerpc/;s/i.86/i386/;s/sparcv./sparc/;s/armv.*/arm/') - -## java -%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5 -BuildRequires: java-1.4.2-gcj-compat-devel -BuildRequires: libgcj-devel -BuildRequires: gcc-java -%endif - -%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} - -# PCLinuxOS use SUN's Java -%if 0%{?pclinuxos} -BuildRequires: java-devel -%else - -# Others use OpenJDK -BuildRequires: java-openjdk -BuildRequires: java-devel >= 1.4.2 -%if 0%{?suse_version} >= 1320 -BuildRequires: java-1_8_0-openjdk-devel -%endif -%if 0%{?fedora} >= 21 || 0%{?mgaversion} >= 5 -BuildRequires: java-1.8.0-openjdk-devel -%endif -%if 0%{?fedora} == 17 || 0%{?fedora} == 18 || 0%{?fedora} == 19 || 0%{?fedora} == 20 || 0%{?suse_version} == 1230 || 0%{?suse_version} == 1310 || 0%{?mgaversion} == 3 || 0%{?mgaversion} == 4 || 0%{?rhel} >= 7 -BuildRequires: java-1.7.0-openjdk-devel -%endif -%if 0%{?rhel} == 5 || 0%{?rhel} == 6 -BuildRequires: java-1.6.0-openjdk-devel -%endif - -%endif -%endif - -%if 0%{?suse_version} -%define java_home %{_usr}/%{_lib}/jvm/java -%else -%if 0%{?rhel} == 4 -%define java_home %{_usr}/lib/jvm/java-1.4.2-gcj-1.4.2.0 -%else -%define java_home %{_usr}/lib/jvm/java -%endif -%endif -%define _with_java --with-java=%{java_home} - -## Perl -# There is no 'perl-devel' package on RHEL5 -%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: perl-devel -%endif -%define perl_vendorarch %{expand:%%(eval `perl -V:installvendorarch`; echo $installvendorarch)} - -## QScintilla -BuildRequires: libtqscintilla-devel >= %{?tde_epoch:%{tde_epoch}:}1.7.1 -%define _enable_qscintilla --enable-qscintilla - -Obsoletes: trinity-kdebindings < %{version}-%{release} -Provides: trinity-kdebindings = %{version}-%{release} - -# Metapackage requires -Requires: trinity-tdebindings-java = %{version}-%{release} -Requires: trinity-libsmoketqt = %{version}-%{release} -Requires: trinity-libsmoketde = %{version}-%{release} -Requires: perl-dcop = %{version}-%{release} -Requires: python-dcop = %{version}-%{release} -Requires: trinity-libkjsembed1 = %{version}-%{release} -Requires: trinity-kjscmd = %{version}-%{release} -Requires: trinity-juic = %{version}-%{release} -Requires: trinity-libkorundum0-ruby = %{version}-%{release} -Requires: trinity-libqt0-ruby = %{version}-%{release} - - -%description -TDE/DCOP bindings to non-C++ languages - -%files -%defattr(-,root,root,-) - -########## - -%package java -Summary: TDE Java bindings metapackage [Trinity] -Group: System/Libraries -Requires: trinity-libdcop3-java = %{version}-%{release} -Requires: trinity-libdcop3-jni = %{version}-%{release} -Requires: trinity-libqt3-java = %{version}-%{release} -Requires: trinity-libtqt3-jni = %{version}-%{release} -Requires: trinity-libtrinity-java = %{version}-%{release} -Requires: trinity-libtrinity-jni = %{version}-%{release} - -%description java -A metapackage depending on all TDE, Qt and DCOP bindings libraries -related to the Java language. - -This package is part of the official TDE bindings module. - -%files java -%defattr(-,root,root,-) - -########## - -%package -n trinity-libdcop3-java -Summary: DCOP bindings for Java [Trinity] -Group: System/Libraries - -Requires: trinity-libdcop3-jni = %{version}-%{release} - -%description -n trinity-libdcop3-java -This package contains the Java classes necessary to run Java programs -using the Java DCOP bindings. DCOP is the TDE Desktop COmmunications -Protocol, used for communicating with running TDE applications. - -This package is part of the official TDE bindings module. - -%files -n trinity-libdcop3-java -%defattr(-,root,root,-) -%{tde_libdir}/java/org/ - -########## - -%package -n trinity-libdcop3-java-devel -Summary: DCOP bindings for Java (dcopidl2java program) [Trinity] -Group: Development/Languages/Java -Requires: trinity-libdcop3-java = %{version}-%{release} - -%description -n trinity-libdcop3-java-devel -This package contains the dcopidl2java program which generates Java -stubs from DCOP IDL files, necessary to do development with the DCOP Java -bindings. DCOP is the TDE Desktop COmmunications Protocol, used for -communicating with running TDE applications. - -This package is part of the official TDE bindings module. - -%files -n trinity-libdcop3-java-devel -%defattr(-,root,root,-) -%{tde_bindir}/dcopidl2java - -########## - -%package -n trinity-libdcop3-jni -Summary: DCOP bindings for Java ( Native libraries ) [Trinity] -Group: System/Libraries - -%description -n trinity-libdcop3-jni -This package contains the shared libraries and scripts necessary to -run programs using the Java DCOP bindings. DCOP is the TDE Desktop -COmmunications Protocol, used for communicating with running TDE -applications. - -This package is part of the official TDE bindings module. - -%files -n trinity-libdcop3-jni -%defattr(-,root,root,-) -%{tde_libdir}/libjavadcop.la -%{tde_libdir}/libjavadcop.so - -########## - -%package -n trinity-libqt3-java -Summary: Java bindings for Qt [Trinity] -Group: System/Libraries -Requires: trinity-libdcop3-jni = %{version}-%{release} -Requires: trinity-libtqt3-jni = %{version}-%{release} -Requires: trinity-juic = %{version}-%{release} - -%description -n trinity-libqt3-java -This package contains the Java classes necessary to run Java programs -using the Java Qt bindings. Qt is a very popular GUI toolkit, used by -the TDE desktop environment. - -It also includes many example programs that make use of these bindings, -plus many of the Qt Tutorial examples translated into Java. - -This package is part of the official TDE bindings module. - -%files -n trinity-libqt3-java -%defattr(-,root,root,-) -%{tde_libdir}/java/qtjava*.jar -%{tde_tdedocdir}/HTML/en/javalib/ - -########## - -%package -n trinity-libtqt3-jni -Summary: Java bindings for TQt ( Native libraries ) [Trinity] -Group: System/Libraries - -Obsoletes: trinity-libqt3-jni < %{version}-%{release} -Provides: trinity-libqt3-jni = %{version}-%{release} - -%description -n trinity-libtqt3-jni -This package contains the shared libraries necessary to run Java -programs using the Java Qt bindings. Qt is a very popular GUI -toolkit, used by the TDE desktop environment. - -This package is part of the official TDE bindings module. - -%files -n trinity-libtqt3-jni -%defattr(-,root,root,-) -%{tde_libdir}/lib*qtjavasupport.la -%{tde_libdir}/lib*qtjavasupport.so.* -%{tde_libdir}/jni/lib*qtjava.la -%{tde_libdir}/jni/lib*qtjava.so.* -%doc qtjava/ChangeLog - -########## - -%package -n trinity-libtqt3-jni-devel -Summary: Development files fo Java bindings for TQt ( Native libraries ) [Trinity] -Group: Development/Languages/Java -Requires: trinity-libtqt3-jni = %{version}-%{release} - -Obsoletes: trinity-libqt3-jni-devel < %{version}-%{release} -Provides: trinity-libqt3-jni-devel = %{version}-%{release} - -%description -n trinity-libtqt3-jni-devel -This package contains the development files for trinity-libtqt3-jni. - -This package is part of the official TDE bindings module. - -%files -n trinity-libtqt3-jni-devel -%defattr(-,root,root,-) -%{tde_libdir}/lib*qtjavasupport.so -%{tde_libdir}/jni/lib*qtjava.so - -########## - -%package -n trinity-libtrinity-java -Summary: Tdelibs bindings for Java [Trinity] -Group: System/Libraries - -Requires: trinity-libtrinity-jni = %{version}-%{release} - -%description -n trinity-libtrinity-java -This package contains the Java classes necessary to run Java programs -using the Java tdelibs bindings. TDE is the Trinity Desktop Environment, a -very popular UNIX Desktop Environment. - -It also includes some example applications that use these Java -classes, and multiple usage samples of the most common TDE classes. - -This package is part of the official TDE bindings module. - -%files -n trinity-libtrinity-java -%defattr(-,root,root,-) -%{tde_libdir}/java/koala*.jar - -########## - -%package -n trinity-libtrinity-jni -Summary: Tdelibs bindings for java ( Native libraries ) [Trinity] -Group: System/Libraries - -%description -n trinity-libtrinity-jni -This package contains the shared libraries necessary to run Java -programs using the Java tdelibs bindings. TDE is the Trinity Desktop -Environment, a very popular UNIX Desktop Environment. - -This package is part of the official TDE bindings module. - -%files -n trinity-libtrinity-jni -%defattr(-,root,root,-) -%{tde_libdir}/jni/libtdejava.la -%{tde_libdir}/jni/libtdejava.so.* -%doc tdejava/ChangeLog - -########## - -%package -n trinity-libtrinity-jni-devel -Summary: Development files for tdelibs bindings for java ( Native libraries ) [Trinity] -Group: Development/Languages/Java -Requires: trinity-libtrinity-jni = %{version}-%{release} - -%description -n trinity-libtrinity-jni-devel -This package contains the development files for trinity-libtrinity-jni. - -This package is part of the official TDE bindings module. - -%files -n trinity-libtrinity-jni-devel -%defattr(-,root,root,-) -%{tde_libdir}/jni/libtdejava.so - -########## - -%package -n trinity-libsmoketqt -Summary: SMOKE Binding Library to Qt -Group: System/Libraries - -Obsoletes: trinity-libsmokeqt1 < %{version}-%{release} -Provides: trinity-libsmokeqt1 = %{version}-%{release} - -%description -n trinity-libsmoketqt -The "Scripting Meta Object Kompiler Engine" library is used by -various TDE language bindings packages to provide interfaces to the -Qt library. - -This package is part of the official TDE bindings module. - -%files -n trinity-libsmoketqt -%defattr(-,root,root,-) -%{tde_libdir}/libsmoketqt.so.* - -########## - -%package -n trinity-libsmoketqt-devel -Summary: SMOKE Binding Library to TQt - Development Files -Group: Development/Languages/Other -Requires: trinity-libsmoketqt = %{version}-%{release} - -Obsoletes: trinity-libsmokeqt-devel < %{version}-%{release} -Provides: trinity-libsmokeqt-devel = %{version}-%{release} - -%description -n trinity-libsmoketqt-devel -The "Scripting Meta Object Kompiler Engine" library is used by -various TDE language bindings packages to provide interfaces to the -Qt library. This package contains the development files for the -library. - -If you are a normal user, you probably don't need this -package. - -This package is part of the official TDE bindings module. - -%files -n trinity-libsmoketqt-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/smoke.h -%{tde_libdir}/libsmoketqt.so -%{tde_libdir}/libsmoketqt.la - -########## - -%package -n trinity-libsmoketde -Summary: SMOKE Binding Library to TDE -Group: System/Libraries - -Obsoletes: trinity-libsmokekde1 < %{version}-%{release} -Provides: trinity-libsmokekde1 = %{version}-%{release} - -%description -n trinity-libsmoketde -The "Scripting Meta Object Kompiler Engine" library is used by -various TDE language bindings packages to provide interfaces to the -TDE libraries. - -This package is part of the official TDE bindings module. - -%files -n trinity-libsmoketde -%defattr(-,root,root,-) -%{tde_libdir}/libsmoketde.so.* - -########## - -%package -n trinity-libsmoketde-devel -Summary: SMOKE Binding Library to TDE - Development Files -Group: Development/Languages/Other -Requires: trinity-libsmoketde = %{version}-%{release} - -Obsoletes: trinity-libsmokekde-devel < %{version}-%{release} -Provides: trinity-libsmokekde-devel = %{version}-%{release} - -%description -n trinity-libsmoketde-devel -The "Scripting Meta Object Kompiler Engine" library is used by -various TDE language bindings packages to provide interfaces to the -Qt and TDE libraries. This package contains the development files for -the library. - -If you are a normal user, you probably don't need this -package. - -This package is part of the official TDE bindings module. - -%files -n trinity-libsmoketde-devel -%defattr(-,root,root,-) -%{tde_libdir}/libsmoketde.so -%{tde_libdir}/libsmoketde.la - -########## - -%package -n perl-dcop -Summary: DCOP Bindings for Perl -Group: System/Libraries -%if 0%{?suse_version} -Requires: perl-base -%else -Requires: perl -%endif - -Obsoletes: trinity-kdebindings-dcopperl < %{version}-%{release} -Provides: trinity-kdebindings-dcopperl = %{version}-%{release} - -Obsoletes: trinity-perl-dcop < %{version}-%{release} -Provides: trinity-perl-dcop = %{version}-%{release} - -%description -n perl-dcop -Perl bindings to the DCOP interprocess communication protocol used by TDE - -%files -n perl-dcop -%defattr(-,root,root,-) -%{perl_vendorarch}/auto/DCOP/ -%{perl_vendorarch}/DCOP.pm -%{perl_vendorarch}/DCOP/ -%doc dcopperl/AUTHORS dcopperl/Changes dcopperl/README dcopperl/TODO -%{tde_mandir}/man3/DCOP.3pm* - -########## - -%package -n python-dcop -Summary: DCOP bindings for Python -Group: System/Libraries -Requires: python - -Obsoletes: trinity-python-dcop < %{version}-%{release} -Provides: trinity-python-dcop = %{version}-%{release} - -%description -n python-dcop -This package contains the shared libraries necessary to run and -develop Python programs using the Python DCOP bindings -libraries. DCOP is the TDE Desktop COmmunications Protocol, used for -communicating with running TDE applications. - -This package is part of the official TDE bindings module. - -%files -n python-dcop -%defattr(-,root,root,-) -%{python_sitearch}/pcop.la -%{python_sitearch}/pcop.so -%{python_sitearch}/pydcop.py* - -########## - -%package -n trinity-libkjsembed1 -Summary: Embedded JavaScript library -Group: System/Libraries - -%description -n trinity-libkjsembed1 -This package contains the shared libraries necessary to run programs -linked with the KJSEmbed library. This library provides JavaScript -embedded scripting facilities to TDE applications. - -This package is part of the official TDE bindings module. - -%files -n trinity-libkjsembed1 -%defattr(-,root,root,-) -%{tde_libdir}/libkjsembed.so.* -%{tde_tdelibdir}/libimagefxplugin.la -%{tde_tdelibdir}/libimagefxplugin.so -%{tde_datadir}/services/imagefx_plugin.desktop -%{tde_tdelibdir}/libqprocessplugin.so -%{tde_tdelibdir}/libqprocessplugin.la -%{tde_datadir}/services/qprocess_plugin.desktop -%{tde_tdelibdir}/libfileitemplugin.la -%{tde_tdelibdir}/libfileitemplugin.so -%{tde_datadir}/services/tdefileitem_plugin.desktop -%{tde_datadir}/apps/kjsembed/ -%{tde_datadir}/servicetypes/binding_type.desktop -%{tde_bindir}/embedjs -%{tde_datadir}/apps/embedjs/ -%{tde_tdeappdir}/embedjs.desktop -%{tde_datadir}/icons/hicolor/16x16/apps/embedjs.png -%{tde_datadir}/icons/hicolor/32x32/apps/embedjs.png -%{tde_tdelibdir}/libjavascript.la -%{tde_tdelibdir}/libjavascript.so -%dir %{tde_datadir}/apps/kate -%dir %{tde_datadir}/apps/kate/scripts -%{tde_datadir}/apps/kate/scripts/swaptabs.js -%{tde_datadir}/apps/kate/scripts/swaptabs.ui -%{tde_datadir}/apps/kate/scripts/swaptabs.desktop -%{tde_datadir}/services/javascript.desktop -%doc kjsembed/docs/ChangeLog - -########## - -%package -n trinity-libkjsembed-devel -Summary: Embedded JavaScript library (Development files) -Group: Development/Libraries/Other -Requires: trinity-libkjsembed1 = %{version}-%{release} - -%description -n trinity-libkjsembed-devel -This package contains the header files and symbolic links necessary -to develop and compile programs using the KJSEmbed library. This -library provides JavaScript embedded scripting facilities to TDE -applications. - -It also includes lots of example programs that make use of these -bindings, plus comprehensive documentation of the bindings. - -This package is part of the official TDE bindings module. - -%files -n trinity-libkjsembed-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/kjsembed/ -%{tde_libdir}/libkjsembed.so -%{tde_libdir}/libkjsembed.la -%{tde_docdir}/trinity-libkjsembed-devel/ - -########## - -%package -n trinity-kjscmd -Summary: A script interpreter using the TDE JavaScript library -Group: System/Libraries -Provides: %{tde_bindir}/kjscmd - -%description -n trinity-kjscmd -This package contains the kjscmd program, which is a standalone -JavaScript interpreter using the KJSEmbed library. - -This package is part of the official TDE bindings module. - -%files -n trinity-kjscmd -%defattr(-,root,root,-) -%{tde_bindir}/kjscmd -%{tde_tdeappdir}/kjscmd.desktop -%{tde_mandir}/man1/kjscmd.* -%{tde_tdelibdir}/libjsconsoleplugin.la -%{tde_tdelibdir}/libjsconsoleplugin.so - -########## - -%package -n trinity-juic -Summary: The Qt Java UI Compiler -Group: Development/Languages/Java -Requires: trinity-libqt3-java = %{version}-%{release} - -%description -n trinity-juic -This package contains the juic program, which is used to convert -a UI description file generated by the Qt Designer, and converts -it into a Qt Java class. It is necessary for compiling and -developing programs using the Qt Java bindings together with Qt -Designer. - -This package is part of the official TDE bindings module. - -%files -n trinity-juic -%defattr(-,root,root,-) -%{tde_bindir}/juic -%{tde_datadir}/juic/ - -########## - -%package -n trinity-libkorundum0-ruby -Summary: TDE bindings for Ruby [Trinity] -Group: System/Libraries -Requires: trinity-libqt0-ruby = %{version}-%{release} - -%description -n trinity-libkorundum0-ruby -This package contains the files necessary for running and developing -Ruby code using the Korundum TDE Ruby bindings. - -It also includes some example programs and templates that make use of -these bindings. - -This package is part of the official TDE bindings module. - -%files -n trinity-libkorundum0-ruby -%defattr(-,root,root,-) -%{tde_bindir}/rbtdesh -%{tde_bindir}/rbtdeapi -%{tde_bindir}/krubyinit -%{tde_bindir}/rbtdeconfig_compiler -%{ruby_rubylibdir}/Korundum.rb -%dir %{ruby_rubylibdir}/TDE -%{ruby_rubylibdir}/TDE/korundum.rb -%{ruby_arch}/korundum.la -%{ruby_arch}/korundum.so* -%doc korundum/ChangeLog - -########## - -%package -n trinity-libqt0-ruby -Summary: Qt bindings for Ruby [Trinity] -Group: System/Libraries -Requires: ruby - -%description -n trinity-libqt0-ruby -This package contains the files necessary for running and developing -Ruby code using the Qt Ruby bindings. - -It also includes some example programs that make use of these bindings, -plus many of the Qt Tutorial examples translated into Ruby. - -This package is part of the official TDE bindings module. - -%files -n trinity-libqt0-ruby -%defattr(-,root,root,-) -%{tde_bindir}/rbqtsh -%{tde_bindir}/rbqtapi -%{tde_bindir}/rbuic -%{tde_bindir}/qtrubyinit -%dir %{ruby_rubylibdir}/Qt -%{ruby_rubylibdir}/Qt/qtruby.rb -%{ruby_rubylibdir}/Qt.rb -%{ruby_arch}/qtruby.so* -%{ruby_arch}/qtruby.la -%{ruby_arch}/tqui.so* -%{ruby_arch}/tqui.la -%doc qtruby/ChangeLog - -########## - -%if 0 -%package -n trinity-kmozilla -Summary: Kmozilla for TDE -Group: System/Libraries - -%description -n trinity-kmozilla -This package contains the kmozilla library fro TDE. - -%files -n trinity-kmozilla -%defattr(-,root,root,-) -%{tde_bindir}/kmozilla -%{tde_libdir}/libkmozillapart.so.* -%{tde_libdir}/libkmozillapart.so -%{tde_libdir}/libkmozillapart.la -%{tde_datadir}/services/kmozilla.desktop -%endif - -########## - -%package -n trinity-xpart-notepad -Summary: A small XPart editor -Group: Productivity/Scientific/Math - -%description -n trinity-xpart-notepad -xpart_notepad is a small XPart editor. Use it to understand how to use XPart. - -%files -n trinity-xpart-notepad -%defattr(-,root,root,-) -%{tde_bindir}/shell_xparthost -%{tde_bindir}/xp_notepad -%{tde_libdir}/libxp_notepadpart.la -%{tde_libdir}/libxp_notepadpart.so -%{tde_libdir}/libxp_notepadpart.so.* -%{tde_datadir}/services/xp_notepad.desktop -%doc xparts/xpart_notepad/README - -########## - -%if 0%{?with_gtk1} -%package -n trinity-libgtkxparts1 -Summary: Xparts library for GTK -Group: Development/Languages/Other - -%description -n trinity-libgtkxparts1 -This package contains the xparts library for GTK. - -%files -n trinity-libgtkxparts1 -%defattr(-,root,root,-) -%{tde_libdir}/libgtkxparts.so.* -%{tde_libdir}/libgtkxparts.la - -%endif - -########## - -%package -n trinity-libtdexparts -Summary: Xparts library for TDE -Group: Development/Languages/Other - -Obsoletes: trinity-libkdexparts1 < %{version}-%{release} -Provides: trinity-libkdexparts1 = %{version}-%{release} - -%description -n trinity-libtdexparts -This package contains the xparts library for TDE. - -%files -n trinity-libtdexparts -%defattr(-,root,root,-) -%{tde_libdir}/libtdexparts.so.* -%{tde_libdir}/libtdexparts.la - -########## - -%package -n trinity-libxparts-devel -Summary: Xparts development files -Group: Development/Languages/Other -%if 0%{?with_gtk1} -Requires: trinity-libgtkxparts1 = %{version}-%{release} -%endif -Requires: trinity-libtdexparts = %{version}-%{release} - -%description -n trinity-libxparts-devel -This package contains the development files for Xparts library. - -%files -n trinity-libxparts-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/xtdeparts/ -%if 0%{?with_gtk1} -%{tde_libdir}/libgtkxparts.so -%endif -%{tde_libdir}/libtdexparts.so - -########## - -%package xparts-extras -Summary: Extra xparts for TDE [Trinity] -Group: Development/Languages/Other - -# Metapckage requires -Requires: trinity-xpart-notepad = %{version}-%{release} -%if 0%{?with_gtk1} -Requires: trinity-libgtkxparts1 = %{version}-%{release} -%endif -Requires: trinity-libtdexparts = %{version}-%{release} -Requires: trinity-libdcop-c = %{version}-%{release} - -%description xparts-extras -This package contains extra xparts-based modules for Trinity -This includes the mozilla-konqueror plugin - -This package is part of the official TDE bindings module. - -%files xparts-extras -%defattr(-,root,root,-) - -########### - -%package -n trinity-libdcop-c -Summary: DCOP bindings for C [Trinity] -Group: System/Libraries - -%description -n trinity-libdcop-c -This package contains the DCOP bindings for C. - -%files -n trinity-libdcop-c -%defattr(-,root,root,-) -%{tde_libdir}/libdcopc.so.* - -########### - -%package -n trinity-libdcop-c-devel -Summary: DCOP bindings for C, development files [Trinity] -Group: Development/Languages/C and C++ -Requires: trinity-libdcop-c = %{version}-%{release} - -%description -n trinity-libdcop-c-devel -This package contains the development files for DCOP bindings for C. - -%files -n trinity-libdcop-c-devel -%defattr(-,root,root,-) -%{tde_libdir}/libdcopc.so -%{tde_libdir}/libdcopc.la -%{tde_tdeincludedir}/dcopc/ - -########## - -%package devel -Summary: Development files for %{name} -Group: Development/Languages/Other - -Requires: trinity-tdelibs-devel >= %{tde_version} -Requires: %{name} = %{version}-%{release} - -Obsoletes: trinity-kdebindings-devel < %{version}-%{release} -Provides: trinity-kdebindings-devel = %{version}-%{release} - -# Metapackage -Requires: trinity-libsmoketqt-devel = %{version}-%{release} -Requires: trinity-libdcop3-java-devel = %{version}-%{release} -Requires: trinity-libsmoketde-devel = %{version}-%{release} -Requires: trinity-libkjsembed-devel = %{version}-%{release} -Requires: trinity-libxparts-devel = %{version}-%{release} -Requires: trinity-libdcop-c-devel = %{version}-%{release} -Requires: trinity-libtqt3-jni-devel = %{version}-%{release} -Requires: trinity-libtrinity-jni-devel = %{version}-%{release} - -%description devel -This package contains the development files for the TDE bindings. - -%files devel -%defattr(-,root,root,-) - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} - -%if "%{?perl_vendorarch}" == "" -exit 1 -%endif - -%if "%{?ruby_rubylibdir}" == "" -exit 2 -%endif - -%if "%{?ruby_arch}" == "" -exit 3 -%endif - -# [tdebindings] Function 'rb_frame_this_func' does not exist in RHEL4/5 -%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5 -%__sed -i "qtruby/rubylib/qtruby/Qt.cpp" \ - -i "korundum/rubylib/korundum/Korundum.cpp" \ - -e "s|rb_frame_this_func|rb_frame_last_func|g" -%endif - -# Another strange FTBFS in RHEL 5 -%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5 -%__sed -i "xparts/xpart_notepad/shell_xparthost.cpp" \ - -i "xparts/xpart_notepad/xp_notepad.cpp" \ - -e "/TDEApplication/ s| );|, true, true, true);|" -%endif - -# Disable kmozilla, it does not build with recent xulrunner (missing 'libmozjs.so') -%__sed -i "xparts/Makefile.am" \ - -e "s|SUBDIRS = .*|SUBDIRS = src xpart_notepad|" - -# Fix Fedora >= 28 automatic invalid dependency to '/usr/bin/kjscmd' -%if 0%{?fedora} >= 28 || 0%{?mgaversion} >= 7 -%__sed -i "kjsembed/tdescript/swaptabs.js" \ - -i "kjsembed/stdlib/cmdline.js" \ - -e "s|/usr/bin/env kjscmd|%{tde_bindir}/kjscmd|" -%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}" -export TDEDIR=%{tde_prefix} - -unset JAVA_HOME ||: -%{?java_home:JAVA_HOME=%{java_home}; export JAVA_HOME} - -# sip/PyQt/PyKDE built separately, not here -export DO_NOT_COMPILE="$DO_NOT_COMPILE python" - -# Ruby headers, strange location ... -if [ -d "/usr/include/%{_normalized_cpu}-linux" ]; then - export EXTRA_INCLUDES="/usr/include/%{_normalized_cpu}-linux" -fi - -# 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 [ -d "/usr/evolution28" ]; then - export PATH="/usr/evolution28/bin:${PATH}" - export PKG_CONFIG_PATH="/usr/evolution28/%{_lib}/pkgconfig:${PKG_CONFIG_PATH}" -fi - -# Warning: openSUSE 13.1: /usr/include/ruby-2.0.0/ruby.h -%if 0%{?suse_version} == 1310 || 0%{?suse_version} == 1320 -EXTRA_INCLUDES="/usr/include/ruby-%{rb20_ver}:/usr/include/ruby-%{rb20_ver}/%{_target}" -%endif -%if 0%{?suse_version} >= 1330 -EXTRA_INCLUDES="/usr/include/ruby-%{rb_ver}:/usr/include/ruby-%{rb_ver}/%{_target}-gnu" -%endif - -# Warning: GCC visibility causes FTBFS [Bug #1285] -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --docdir=%{tde_docdir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --enable-final \ - --enable-closure \ - --enable-rpath \ - --disable-gcc-hidden-visibility \ - \ - --with-extra-includes=%{_includedir}/tqscintilla:${EXTRA_INCLUDES} \ - --with-extra-libs=%{tde_libdir} \ - --with-pythondir=%{_usr} \ - \ - %{?_with_java} %{!?_with_java:--without-java} \ - %{?_enable_qscintilla} %{!?_enable_qscintilla:--disable-qscintilla} - -# Build dcopperl with specific options -pushd dcopperl -CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor - -# [Bug #348] Ugly hack to modify the man pages directory -sed -i "Makefile" -e "s|/usr/share/man|%{tde_mandir}|g" - -%__make OPTIMIZE="$RPM_OPT_FLAGS" ||: -popd - -# smoke (not smp-safe) -%__make -C smoke - -# The rest is smp-safe -%__make %{?_smp_mflags} PYTHON=%{__python} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf $RPM_BUILD_ROOT - -%__make install DESTDIR=%{?buildroot} \ - PYTHON=%{__python} - -# Removes some perl files -find $RPM_BUILD_ROOT -type f -a \( -name perllocal.pod -o -name .packlist \ - -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';' - -# Installs juic -%__install -D -m 755 qtjava/designer/juic/bin/juic %{?buildroot}%{tde_bindir}/juic -%__install -d -m 755 %{?buildroot}%{tde_datadir}/juic/common -%__install -m 644 qtjava/designer/juic/common/*.xml %{?buildroot}%{tde_datadir}/juic/common -%__install -m 644 qtjava/designer/juic/common/*.xsl %{?buildroot}%{tde_datadir}/juic/common -%__install -d -m 755 %{?buildroot}%{tde_datadir}/juic/java -%__install -m 644 qtjava/designer/juic/java/*.xml %{?buildroot}%{tde_datadir}/juic/java -%__install -m 644 qtjava/designer/juic/java/*.xsl %{?buildroot}%{tde_datadir}/juic/java -%__install -m 644 qtjava/designer/juic/juic.xsl %{?buildroot}%{tde_datadir}/juic - -# kjsembed sample files -%__install -d -m 755 %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ -%__install -m 644 kjsembed/plugins/customobject_plugin.cpp %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ -%__install -m 644 kjsembed/plugins/customobject_plugin.h %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ -%__install -m 644 kjsembed/plugins/customobject_plugin.desktop %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ -%__install -m 644 kjsembed/plugins/customqobject_plugin.cpp %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ -%__install -m 644 kjsembed/plugins/customqobject_plugin.h %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ -%__install -m 644 kjsembed/plugins/customqobject_plugin.desktop %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ - -# Man installation location is wrong on RHEL4... -if [ -d "%{buildroot}%{_mandir}/man3" ]; then - mv -f %{buildroot}%{_mandir}/man3 %{buildroot}%{tde_mandir}/man3/ - rm -rf %{buildroot}%{_mandir} -fi - -# Move 'embedjs.desktop' to correct location -%__mv -f "%{?buildroot}%{tde_datadir}/applnk/Utilities/embedjs.desktop" "%{?buildroot}%{tde_tdeappdir}/embedjs.desktop" -%__rm -rf "%{?buildroot}%{tde_datadir}/applnk" - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file -u kjscmd Development -%suse_update_desktop_file -u embedjs Development -%endif - - -%clean -%__rm -rf $RPM_BUILD_ROOT - - -%changelog diff --git a/redhat/main/tdebindings/tdebindings.spec b/redhat/main/tdebindings/tdebindings.spec new file mode 100644 index 000000000..141c1d8aa --- /dev/null +++ b/redhat/main/tdebindings/tdebindings.spec @@ -0,0 +1,1193 @@ +# +# spec file for package tdebindings (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 + +# BUILD WARNING: +# Remove qt-devel and qt3-devel and any kde*-devel on your system ! +# Having KDE libraries may cause FTBFS here ! + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.0.7 +%endif +%define tde_pkg tdebindings +%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 + +# Special note for RHEL4: +# You must create symlink 'libgcj.so' manually because it does not exist by default. +# E.g: +# ln -s /usr/lib/libgcj.so.5.0.0 /usr/lib/jvm/java/lib/libgcj.so +# or 64 bits: +# ln -s /usr/lib64/libgcj.so.5.0.0 /usr/lib/jvm/java/lib/libgcj.so + +Name: trinity-%{tde_pkg} +Summary: TDE bindings to non-C++ languages +Version: %{tde_version} +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Group: System/GUI/Other +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}-%{version}%{?preversion:~%{preversion}}.tar.gz +Source1: %{name}-rpmlintrc + +BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10 +BuildRequires: trinity-tdelibs-devel >= %{tde_version} + +BuildRequires: autoconf automake libtool m4 +BuildRequires: gcc-c++ +BuildRequires: desktop-file-utils + +# 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 + +# ZLIB support +BuildRequires: zlib-devel + +# PERL module support +BuildRequires: perl(ExtUtils::MakeMaker) + +# GTK2 support +%if 0%{?rhel} == 4 +BuildRequires: evolution28-gtk2-devel +Requires: evolution28-gtk2 +BuildRequires: evolution28-glib2-devel +Requires: evolution28-glib2 +BuildRequires: evolution28-cairo-devel +Requires: evolution28-cairo +BuildRequires: evolution28-pango-devel +Requires: evolution28-pango +BuildRequires: evolution28-atk-devel +Requires: evolution28-atk +%else +BuildRequires: gtk2-devel +%endif + +# XULRUNNER support +%if 0%{?fedora} || 0%{?rhel} >= 5 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} >= 1220 +#BuildRequires: xulrunner-devel +%endif +%if 0%{?suse_version} == 1140 +BuildRequires: mozilla-xulrunner20-devel +%endif + +# OPENSSL support +BuildRequires: openssl-devel + +# GTK1 support +%if 0%{?fedora} || (0%{?rhel} >= 5 && 0%{?rhel} <= 7) +%define with_gtk1 1 +BuildRequires: glib-devel +BuildRequires: gtk+-devel +%endif +%if 0%{?rhel} == 5 || 0%{?rhel} == 6 +%if 0%{?with_gtk1} +%define with_gtk1 1 +BuildRequires: glib-devel +BuildRequires: gtk+-devel +%endif +%endif +%if 0%{?mdkversion} == 201100 +%define with_gtk1 1 +BuildRequires: %{_lib}glib1.2-devel +BuildRequires: %{_lib}gtk+-devel +%endif + +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?pclinuxos} +BuildRequires: libgdk_pixbuf2.0-devel +%else +BuildRequires: %{_lib}gdk_pixbuf2.0-devel +%endif +%endif +%if 0%{?fedora} +%if 0%{?fedora} >= 17 +BuildRequires: gdk-pixbuf2-devel +%else +BuildRequires: gdk-pixbuf-devel +%endif +%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 + + +## Python +%if 0%{?rhel} >= 8 || 0%{?fedora} >= 31 +%define python python2 +%define __python %__python2 +%else +%define python python +%endif +BuildRequires: %{python} +BuildRequires: %{python}-devel +%define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)") + +## ruby +BuildRequires: ruby-devel >= 1.8 +BuildRequires: ruby >= 1.8 +%if 0%{?fedora} >= 19 +BuildRequires: rubypick +%endif + +# Check for Ruby library directory +%if "%{?ruby_libarchdir}" != "" +%define ruby_arch %{?ruby_libarchdir} +%else +%if "%{?rb_archdir}" != "" +%define ruby_arch %{?rb_archdir} +%else +%if "%{%ruby_archdir}" != "" +%define ruby_arch %{?ruby_archdir} +%else +%{!?ruby_arch: %define ruby_arch %(ruby -rrbconfig -e 'puts Config::CONFIG["archdir"]' || ruby -rrbconfig -e 'puts RbConfig::CONFIG["archdir"]')} +%endif +%endif +%endif +%if 0%{?rhel} == 5 || 0%{?rhel} == 6 +%define ruby_arch %(ruby -rrbconfig -e 'puts Config::CONFIG["archdir"]') +%endif +%if 0%{?pclinuxos} +%define ruby_arch %(ruby -rrbconfig -e 'puts RbConfig::CONFIG["archdir"]') +%endif + +%if "%{?ruby_libdir}" != "" +%define ruby_rubylibdir %{?ruby_libdir} +%else +%if "%{?rb_libdir}" != "" +%define ruby_rubylibdir %{?rb_libdir} +%else +%{!?ruby_rubylibdir: %define ruby_rubylibdir %(ruby -rrbconfig -e 'puts Config::CONFIG["rubylibdir"]' || ruby -rrbconfig -e 'puts RbConfig::CONFIG["rubylibdir"]')} +%endif +%endif + +# Ruby 1.9 includes are located in strance directories ... (taken from ruby 1.9 spec file) +%global _normalized_cpu %(echo %{_target_cpu} | sed 's/^ppc/powerpc/;s/i.86/i386/;s/sparcv./sparc/;s/armv.*/arm/') + +## java +%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5 +BuildRequires: java-1.4.2-gcj-compat-devel +BuildRequires: libgcj-devel +BuildRequires: gcc-java +%endif + +%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} + +# PCLinuxOS use SUN's Java +%if 0%{?pclinuxos} +BuildRequires: java-devel +%else + +# Others use OpenJDK +BuildRequires: java-openjdk +BuildRequires: java-devel >= 1.4.2 +%if 0%{?suse_version} >= 1320 +BuildRequires: java-1_8_0-openjdk-devel +%endif +%if 0%{?fedora} >= 21 || 0%{?mgaversion} >= 5 || 0%{?rhel} >= 8 +BuildRequires: java-1.8.0-openjdk-devel +%endif +%if 0%{?fedora} == 17 || 0%{?fedora} == 18 || 0%{?fedora} == 19 || 0%{?fedora} == 20 || 0%{?suse_version} == 1230 || 0%{?suse_version} == 1310 || 0%{?mgaversion} == 3 || 0%{?mgaversion} == 4 || 0%{?rhel} == 7 +BuildRequires: java-1.7.0-openjdk-devel +%endif +%if 0%{?rhel} == 5 || 0%{?rhel} == 6 +BuildRequires: java-1.6.0-openjdk-devel +%endif + +%endif +%endif + +%if 0%{?suse_version} +%define java_home %{_usr}/%{_lib}/jvm/java +%else +%if 0%{?rhel} == 4 +%define java_home %{_usr}/lib/jvm/java-1.4.2-gcj-1.4.2.0 +%else +%define java_home %{_usr}/lib/jvm/java +%endif +%endif +%if 0%{?pclinuxos} == 0 +%define _with_java --with-java=%{java_home} +%endif + +## Perl +# There is no 'perl-devel' package on RHEL5 +%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: perl-devel +%endif +%define perl_vendorarch %{expand:%%(eval `perl -V:installvendorarch`; echo $installvendorarch)} + +## QScintilla +BuildRequires: libtqscintilla-devel >= %{?tde_epoch:%{tde_epoch}:}1.7.1 +%define _enable_qscintilla --enable-qscintilla + +Obsoletes: trinity-kdebindings < %{version}-%{release} +Provides: trinity-kdebindings = %{version}-%{release} + +# Metapackage requires +%if "%{?_with_java}" != "" +Requires: trinity-tdebindings-java = %{version}-%{release} +%endif +Requires: trinity-libsmoketqt = %{version}-%{release} +Requires: trinity-libsmoketde = %{version}-%{release} +Requires: perl-dcop = %{version}-%{release} +Requires: python-dcop = %{version}-%{release} +Requires: trinity-libkjsembed1 = %{version}-%{release} +Requires: trinity-kjscmd = %{version}-%{release} +%if "%{?_with_java}" != "" +Requires: trinity-juic = %{version}-%{release} +%endif +Requires: trinity-libkorundum0-ruby = %{version}-%{release} +Requires: trinity-libqt0-ruby = %{version}-%{release} + + +%description +TDE/DCOP bindings to non-C++ languages + +%files +%defattr(-,root,root,-) + +########## + +%package java +Summary: TDE Java bindings metapackage [Trinity] +Group: System/Libraries +Requires: trinity-libdcop3-java = %{version}-%{release} +Requires: trinity-libdcop3-jni = %{version}-%{release} +Requires: trinity-libqt3-java = %{version}-%{release} +Requires: trinity-libtqt3-jni = %{version}-%{release} +Requires: trinity-libtrinity-java = %{version}-%{release} +Requires: trinity-libtrinity-jni = %{version}-%{release} + +%description java +A metapackage depending on all TDE, Qt and DCOP bindings libraries +related to the Java language. + +This package is part of the official TDE bindings module. + +%files java +%defattr(-,root,root,-) + +########## + +%if "%{?_with_java}" != "" +%package -n trinity-libdcop3-java +Summary: DCOP bindings for Java [Trinity] +Group: System/Libraries + +Requires: trinity-libdcop3-jni = %{version}-%{release} + +%description -n trinity-libdcop3-java +This package contains the Java classes necessary to run Java programs +using the Java DCOP bindings. DCOP is the TDE Desktop COmmunications +Protocol, used for communicating with running TDE applications. + +This package is part of the official TDE bindings module. + +%files -n trinity-libdcop3-java +%defattr(-,root,root,-) +%{tde_libdir}/java/org/ +%endif + +########## + +%if "%{?_with_java}" != "" +%package -n trinity-libdcop3-java-devel +Summary: DCOP bindings for Java (dcopidl2java program) [Trinity] +Group: Development/Languages/Java +Requires: trinity-libdcop3-java = %{version}-%{release} + +%description -n trinity-libdcop3-java-devel +This package contains the dcopidl2java program which generates Java +stubs from DCOP IDL files, necessary to do development with the DCOP Java +bindings. DCOP is the TDE Desktop COmmunications Protocol, used for +communicating with running TDE applications. + +This package is part of the official TDE bindings module. + +%files -n trinity-libdcop3-java-devel +%defattr(-,root,root,-) +%{tde_bindir}/dcopidl2java +%endif + +########## + +%if "%{?_with_java}" != "" +%package -n trinity-libdcop3-jni +Summary: DCOP bindings for Java ( Native libraries ) [Trinity] +Group: System/Libraries + +%description -n trinity-libdcop3-jni +This package contains the shared libraries and scripts necessary to +run programs using the Java DCOP bindings. DCOP is the TDE Desktop +COmmunications Protocol, used for communicating with running TDE +applications. + +This package is part of the official TDE bindings module. + +%files -n trinity-libdcop3-jni +%defattr(-,root,root,-) +%{tde_libdir}/libjavadcop.la +%{tde_libdir}/libjavadcop.so +%endif + +########## + +%if "%{?_with_java}" != "" +%package -n trinity-libqt3-java +Summary: Java bindings for Qt [Trinity] +Group: System/Libraries +Requires: trinity-libdcop3-jni = %{version}-%{release} +Requires: trinity-libtqt3-jni = %{version}-%{release} +Requires: trinity-juic = %{version}-%{release} + +%description -n trinity-libqt3-java +This package contains the Java classes necessary to run Java programs +using the Java Qt bindings. Qt is a very popular GUI toolkit, used by +the TDE desktop environment. + +It also includes many example programs that make use of these bindings, +plus many of the Qt Tutorial examples translated into Java. + +This package is part of the official TDE bindings module. + +%files -n trinity-libqt3-java +%defattr(-,root,root,-) +%{tde_libdir}/java/qtjava*.jar +%{tde_tdedocdir}/HTML/en/javalib/ +%endif + +########## + +%if "%{?_with_java}" != "" +%package -n trinity-libtqt3-jni +Summary: Java bindings for TQt ( Native libraries ) [Trinity] +Group: System/Libraries + +Obsoletes: trinity-libqt3-jni < %{version}-%{release} +Provides: trinity-libqt3-jni = %{version}-%{release} + +%description -n trinity-libtqt3-jni +This package contains the shared libraries necessary to run Java +programs using the Java Qt bindings. Qt is a very popular GUI +toolkit, used by the TDE desktop environment. + +This package is part of the official TDE bindings module. + +%files -n trinity-libtqt3-jni +%defattr(-,root,root,-) +%{tde_libdir}/lib*qtjavasupport.la +%{tde_libdir}/lib*qtjavasupport.so.* +%{tde_libdir}/jni/lib*qtjava.la +%{tde_libdir}/jni/lib*qtjava.so.* +%doc qtjava/ChangeLog +%endif + +########## + +%if "%{?_with_java}" != "" +%package -n trinity-libtqt3-jni-devel +Summary: Development files fo Java bindings for TQt ( Native libraries ) [Trinity] +Group: Development/Languages/Java +Requires: trinity-libtqt3-jni = %{version}-%{release} + +Obsoletes: trinity-libqt3-jni-devel < %{version}-%{release} +Provides: trinity-libqt3-jni-devel = %{version}-%{release} + +%description -n trinity-libtqt3-jni-devel +This package contains the development files for trinity-libtqt3-jni. + +This package is part of the official TDE bindings module. + +%files -n trinity-libtqt3-jni-devel +%defattr(-,root,root,-) +%{tde_libdir}/lib*qtjavasupport.so +%{tde_libdir}/jni/lib*qtjava.so +%endif + +########## + +%if "%{?_with_java}" != "" +%package -n trinity-libtrinity-java +Summary: Tdelibs bindings for Java [Trinity] +Group: System/Libraries + +Requires: trinity-libtrinity-jni = %{version}-%{release} + +%description -n trinity-libtrinity-java +This package contains the Java classes necessary to run Java programs +using the Java tdelibs bindings. TDE is the Trinity Desktop Environment, a +very popular UNIX Desktop Environment. + +It also includes some example applications that use these Java +classes, and multiple usage samples of the most common TDE classes. + +This package is part of the official TDE bindings module. + +%files -n trinity-libtrinity-java +%defattr(-,root,root,-) +%{tde_libdir}/java/koala*.jar +%endif + +########## + +%if "%{?_with_java}" != "" +%package -n trinity-libtrinity-jni +Summary: Tdelibs bindings for java ( Native libraries ) [Trinity] +Group: System/Libraries + +%description -n trinity-libtrinity-jni +This package contains the shared libraries necessary to run Java +programs using the Java tdelibs bindings. TDE is the Trinity Desktop +Environment, a very popular UNIX Desktop Environment. + +This package is part of the official TDE bindings module. + +%files -n trinity-libtrinity-jni +%defattr(-,root,root,-) +%{tde_libdir}/jni/libtdejava.la +%{tde_libdir}/jni/libtdejava.so.* +%doc tdejava/ChangeLog +%endif + +########## + +%if "%{?_with_java}" != "" +%package -n trinity-libtrinity-jni-devel +Summary: Development files for tdelibs bindings for java ( Native libraries ) [Trinity] +Group: Development/Languages/Java +Requires: trinity-libtrinity-jni = %{version}-%{release} + +%description -n trinity-libtrinity-jni-devel +This package contains the development files for trinity-libtrinity-jni. + +This package is part of the official TDE bindings module. + +%files -n trinity-libtrinity-jni-devel +%defattr(-,root,root,-) +%{tde_libdir}/jni/libtdejava.so +%endif + +########## + +%package -n trinity-libsmoketqt +Summary: SMOKE Binding Library to Qt +Group: System/Libraries + +Obsoletes: trinity-libsmokeqt1 < %{version}-%{release} +Provides: trinity-libsmokeqt1 = %{version}-%{release} + +%description -n trinity-libsmoketqt +The "Scripting Meta Object Kompiler Engine" library is used by +various TDE language bindings packages to provide interfaces to the +Qt library. + +This package is part of the official TDE bindings module. + +%files -n trinity-libsmoketqt +%defattr(-,root,root,-) +%{tde_libdir}/libsmoketqt.so.* + +########## + +%package -n trinity-libsmoketqt-devel +Summary: SMOKE Binding Library to TQt - Development Files +Group: Development/Languages/Other +Requires: trinity-libsmoketqt = %{version}-%{release} + +Obsoletes: trinity-libsmokeqt-devel < %{version}-%{release} +Provides: trinity-libsmokeqt-devel = %{version}-%{release} + +%description -n trinity-libsmoketqt-devel +The "Scripting Meta Object Kompiler Engine" library is used by +various TDE language bindings packages to provide interfaces to the +Qt library. This package contains the development files for the +library. + +If you are a normal user, you probably don't need this +package. + +This package is part of the official TDE bindings module. + +%files -n trinity-libsmoketqt-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/smoke.h +%{tde_libdir}/libsmoketqt.so +%{tde_libdir}/libsmoketqt.la + +########## + +%package -n trinity-libsmoketde +Summary: SMOKE Binding Library to TDE +Group: System/Libraries + +Obsoletes: trinity-libsmokekde1 < %{version}-%{release} +Provides: trinity-libsmokekde1 = %{version}-%{release} + +%description -n trinity-libsmoketde +The "Scripting Meta Object Kompiler Engine" library is used by +various TDE language bindings packages to provide interfaces to the +TDE libraries. + +This package is part of the official TDE bindings module. + +%files -n trinity-libsmoketde +%defattr(-,root,root,-) +%{tde_libdir}/libsmoketde.so.* + +########## + +%package -n trinity-libsmoketde-devel +Summary: SMOKE Binding Library to TDE - Development Files +Group: Development/Languages/Other +Requires: trinity-libsmoketde = %{version}-%{release} + +Obsoletes: trinity-libsmokekde-devel < %{version}-%{release} +Provides: trinity-libsmokekde-devel = %{version}-%{release} + +%description -n trinity-libsmoketde-devel +The "Scripting Meta Object Kompiler Engine" library is used by +various TDE language bindings packages to provide interfaces to the +Qt and TDE libraries. This package contains the development files for +the library. + +If you are a normal user, you probably don't need this +package. + +This package is part of the official TDE bindings module. + +%files -n trinity-libsmoketde-devel +%defattr(-,root,root,-) +%{tde_libdir}/libsmoketde.so +%{tde_libdir}/libsmoketde.la + +########## + +%package -n perl-dcop +Summary: DCOP Bindings for Perl +Group: System/Libraries +%if 0%{?suse_version} +Requires: perl-base +%else +Requires: perl +%endif + +Obsoletes: trinity-kdebindings-dcopperl < %{version}-%{release} +Provides: trinity-kdebindings-dcopperl = %{version}-%{release} + +Obsoletes: trinity-perl-dcop < %{version}-%{release} +Provides: trinity-perl-dcop = %{version}-%{release} + +%description -n perl-dcop +Perl bindings to the DCOP interprocess communication protocol used by TDE + +%files -n perl-dcop +%defattr(-,root,root,-) +%{perl_vendorarch}/auto/DCOP/ +%{perl_vendorarch}/DCOP.pm +%{perl_vendorarch}/DCOP/ +%doc dcopperl/AUTHORS dcopperl/Changes dcopperl/README dcopperl/TODO +%{tde_mandir}/man3/DCOP.3pm* + +########## + +%package -n python-dcop +Summary: DCOP bindings for Python +Group: System/Libraries +Requires: %{python} + +Obsoletes: trinity-python-dcop < %{version}-%{release} +Provides: trinity-python-dcop = %{version}-%{release} + +%description -n python-dcop +This package contains the shared libraries necessary to run and +develop Python programs using the Python DCOP bindings +libraries. DCOP is the TDE Desktop COmmunications Protocol, used for +communicating with running TDE applications. + +This package is part of the official TDE bindings module. + +%files -n python-dcop +%defattr(-,root,root,-) +%{python_sitearch}/pcop.la +%{python_sitearch}/pcop.so +%{python_sitearch}/pydcop.py* + +########## + +%package -n trinity-libkjsembed1 +Summary: Embedded JavaScript library +Group: System/Libraries + +%description -n trinity-libkjsembed1 +This package contains the shared libraries necessary to run programs +linked with the KJSEmbed library. This library provides JavaScript +embedded scripting facilities to TDE applications. + +This package is part of the official TDE bindings module. + +%files -n trinity-libkjsembed1 +%defattr(-,root,root,-) +%{tde_libdir}/libkjsembed.so.* +%{tde_tdelibdir}/libimagefxplugin.la +%{tde_tdelibdir}/libimagefxplugin.so +%{tde_datadir}/services/imagefx_plugin.desktop +%{tde_tdelibdir}/libqprocessplugin.so +%{tde_tdelibdir}/libqprocessplugin.la +%{tde_datadir}/services/qprocess_plugin.desktop +%{tde_tdelibdir}/libfileitemplugin.la +%{tde_tdelibdir}/libfileitemplugin.so +%{tde_datadir}/services/tdefileitem_plugin.desktop +%{tde_datadir}/apps/kjsembed/ +%{tde_datadir}/servicetypes/binding_type.desktop +%{tde_bindir}/embedjs +%{tde_datadir}/apps/embedjs/ +%{tde_tdeappdir}/embedjs.desktop +%{tde_datadir}/icons/hicolor/16x16/apps/embedjs.png +%{tde_datadir}/icons/hicolor/32x32/apps/embedjs.png +%{tde_tdelibdir}/libjavascript.la +%{tde_tdelibdir}/libjavascript.so +%dir %{tde_datadir}/apps/kate +%dir %{tde_datadir}/apps/kate/scripts +%{tde_datadir}/apps/kate/scripts/swaptabs.js +%{tde_datadir}/apps/kate/scripts/swaptabs.ui +%{tde_datadir}/apps/kate/scripts/swaptabs.desktop +%{tde_datadir}/services/javascript.desktop +%doc kjsembed/docs/ChangeLog + +########## + +%package -n trinity-libkjsembed-devel +Summary: Embedded JavaScript library (Development files) +Group: Development/Libraries/Other +Requires: trinity-libkjsembed1 = %{version}-%{release} + +%description -n trinity-libkjsembed-devel +This package contains the header files and symbolic links necessary +to develop and compile programs using the KJSEmbed library. This +library provides JavaScript embedded scripting facilities to TDE +applications. + +It also includes lots of example programs that make use of these +bindings, plus comprehensive documentation of the bindings. + +This package is part of the official TDE bindings module. + +%files -n trinity-libkjsembed-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/kjsembed/ +%{tde_libdir}/libkjsembed.so +%{tde_libdir}/libkjsembed.la +%{tde_docdir}/trinity-libkjsembed-devel/ + +########## + +%package -n trinity-kjscmd +Summary: A script interpreter using the TDE JavaScript library +Group: System/Libraries +Provides: %{tde_bindir}/kjscmd + +%description -n trinity-kjscmd +This package contains the kjscmd program, which is a standalone +JavaScript interpreter using the KJSEmbed library. + +This package is part of the official TDE bindings module. + +%files -n trinity-kjscmd +%defattr(-,root,root,-) +%{tde_bindir}/kjscmd +%{tde_tdeappdir}/kjscmd.desktop +%{tde_mandir}/man1/kjscmd.* +%{tde_tdelibdir}/libjsconsoleplugin.la +%{tde_tdelibdir}/libjsconsoleplugin.so + +########## + +%if "%{?_with_java}" != "" +%package -n trinity-juic +Summary: The Qt Java UI Compiler +Group: Development/Languages/Java +Requires: trinity-libqt3-java = %{version}-%{release} + +%description -n trinity-juic +This package contains the juic program, which is used to convert +a UI description file generated by the Qt Designer, and converts +it into a Qt Java class. It is necessary for compiling and +developing programs using the Qt Java bindings together with Qt +Designer. + +This package is part of the official TDE bindings module. + +%files -n trinity-juic +%defattr(-,root,root,-) +%{tde_bindir}/juic +%{tde_datadir}/juic/ +%endif + +########## + +%package -n trinity-libkorundum0-ruby +Summary: TDE bindings for Ruby [Trinity] +Group: System/Libraries +Requires: trinity-libqt0-ruby = %{version}-%{release} + +%description -n trinity-libkorundum0-ruby +This package contains the files necessary for running and developing +Ruby code using the Korundum TDE Ruby bindings. + +It also includes some example programs and templates that make use of +these bindings. + +This package is part of the official TDE bindings module. + +%files -n trinity-libkorundum0-ruby +%defattr(-,root,root,-) +%{tde_bindir}/rbtdesh +%{tde_bindir}/rbtdeapi +%{tde_bindir}/krubyinit +%{tde_bindir}/rbtdeconfig_compiler +%{ruby_rubylibdir}/Korundum.rb +%dir %{ruby_rubylibdir}/TDE +%{ruby_rubylibdir}/TDE/korundum.rb +%{ruby_arch}/korundum.la +%{ruby_arch}/korundum.so* +%doc korundum/ChangeLog + +########## + +%package -n trinity-libqt0-ruby +Summary: Qt bindings for Ruby [Trinity] +Group: System/Libraries +Requires: ruby + +%description -n trinity-libqt0-ruby +This package contains the files necessary for running and developing +Ruby code using the Qt Ruby bindings. + +It also includes some example programs that make use of these bindings, +plus many of the Qt Tutorial examples translated into Ruby. + +This package is part of the official TDE bindings module. + +%files -n trinity-libqt0-ruby +%defattr(-,root,root,-) +%{tde_bindir}/rbqtsh +%{tde_bindir}/rbqtapi +%{tde_bindir}/rbuic +%{tde_bindir}/qtrubyinit +%dir %{ruby_rubylibdir}/Qt +%{ruby_rubylibdir}/Qt/qtruby.rb +%{ruby_rubylibdir}/Qt.rb +%{ruby_arch}/qtruby.so* +%{ruby_arch}/qtruby.la +%{ruby_arch}/tqui.so* +%{ruby_arch}/tqui.la +%doc qtruby/ChangeLog + +########## + +%if 0 +%package -n trinity-kmozilla +Summary: Kmozilla for TDE +Group: System/Libraries + +%description -n trinity-kmozilla +This package contains the kmozilla library fro TDE. + +%files -n trinity-kmozilla +%defattr(-,root,root,-) +%{tde_bindir}/kmozilla +%{tde_libdir}/libkmozillapart.so.* +%{tde_libdir}/libkmozillapart.so +%{tde_libdir}/libkmozillapart.la +%{tde_datadir}/services/kmozilla.desktop +%endif + +########## + +%package -n trinity-xpart-notepad +Summary: A small XPart editor +Group: Productivity/Scientific/Math + +%description -n trinity-xpart-notepad +xpart_notepad is a small XPart editor. Use it to understand how to use XPart. + +%files -n trinity-xpart-notepad +%defattr(-,root,root,-) +%{tde_bindir}/shell_xparthost +%{tde_bindir}/xp_notepad +%{tde_libdir}/libxp_notepadpart.la +%{tde_libdir}/libxp_notepadpart.so +%{tde_libdir}/libxp_notepadpart.so.* +%{tde_datadir}/services/xp_notepad.desktop +%doc xparts/xpart_notepad/README + +########## + +%if 0%{?with_gtk1} +%package -n trinity-libgtkxparts1 +Summary: Xparts library for GTK +Group: Development/Languages/Other + +%description -n trinity-libgtkxparts1 +This package contains the xparts library for GTK. + +%files -n trinity-libgtkxparts1 +%defattr(-,root,root,-) +%{tde_libdir}/libgtkxparts.so.* +%{tde_libdir}/libgtkxparts.la + +%endif + +########## + +%package -n trinity-libtdexparts +Summary: Xparts library for TDE +Group: Development/Languages/Other + +Obsoletes: trinity-libkdexparts1 < %{version}-%{release} +Provides: trinity-libkdexparts1 = %{version}-%{release} + +%description -n trinity-libtdexparts +This package contains the xparts library for TDE. + +%files -n trinity-libtdexparts +%defattr(-,root,root,-) +%{tde_libdir}/libtdexparts.so.* +%{tde_libdir}/libtdexparts.la + +########## + +%package -n trinity-libxparts-devel +Summary: Xparts development files +Group: Development/Languages/Other +%if 0%{?with_gtk1} +Requires: trinity-libgtkxparts1 = %{version}-%{release} +%endif +Requires: trinity-libtdexparts = %{version}-%{release} + +%description -n trinity-libxparts-devel +This package contains the development files for Xparts library. + +%files -n trinity-libxparts-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/xtdeparts/ +%if 0%{?with_gtk1} +%{tde_libdir}/libgtkxparts.so +%endif +%{tde_libdir}/libtdexparts.so + +########## + +%package xparts-extras +Summary: Extra xparts for TDE [Trinity] +Group: Development/Languages/Other + +# Metapckage requires +Requires: trinity-xpart-notepad = %{version}-%{release} +%if 0%{?with_gtk1} +Requires: trinity-libgtkxparts1 = %{version}-%{release} +%endif +Requires: trinity-libtdexparts = %{version}-%{release} +Requires: trinity-libdcop-c = %{version}-%{release} + +%description xparts-extras +This package contains extra xparts-based modules for Trinity +This includes the mozilla-konqueror plugin + +This package is part of the official TDE bindings module. + +%files xparts-extras +%defattr(-,root,root,-) + +########### + +%package -n trinity-libdcop-c +Summary: DCOP bindings for C [Trinity] +Group: System/Libraries + +%description -n trinity-libdcop-c +This package contains the DCOP bindings for C. + +%files -n trinity-libdcop-c +%defattr(-,root,root,-) +%{tde_libdir}/libdcopc.so.* + +########### + +%package -n trinity-libdcop-c-devel +Summary: DCOP bindings for C, development files [Trinity] +Group: Development/Languages/C and C++ +Requires: trinity-libdcop-c = %{version}-%{release} + +%description -n trinity-libdcop-c-devel +This package contains the development files for DCOP bindings for C. + +%files -n trinity-libdcop-c-devel +%defattr(-,root,root,-) +%{tde_libdir}/libdcopc.so +%{tde_libdir}/libdcopc.la +%{tde_tdeincludedir}/dcopc/ + +########## + +%package devel +Summary: Development files for %{name} +Group: Development/Languages/Other + +Requires: trinity-tdelibs-devel >= %{tde_version} +Requires: %{name} = %{version}-%{release} + +Obsoletes: trinity-kdebindings-devel < %{version}-%{release} +Provides: trinity-kdebindings-devel = %{version}-%{release} + +# Metapackage +Requires: trinity-libsmoketqt-devel = %{version}-%{release} +%if "%{?_with_java}" != "" +Requires: trinity-libdcop3-java-devel = %{version}-%{release} +%endif +Requires: trinity-libsmoketde-devel = %{version}-%{release} +Requires: trinity-libkjsembed-devel = %{version}-%{release} +Requires: trinity-libxparts-devel = %{version}-%{release} +Requires: trinity-libdcop-c-devel = %{version}-%{release} +%if "%{?_with_java}" != "" +Requires: trinity-libtqt3-jni-devel = %{version}-%{release} +Requires: trinity-libtrinity-jni-devel = %{version}-%{release} +%endif + +%description devel +This package contains the development files for the TDE bindings. + +%files devel +%defattr(-,root,root,-) + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} + +%if "%{?perl_vendorarch}" == "" +exit 1 +%endif + +%if "%{?ruby_rubylibdir}" == "" +exit 2 +%endif + +%if "%{?ruby_arch}" == "" +exit 3 +%endif + +# [tdebindings] Function 'rb_frame_this_func' does not exist in RHEL4/5 +%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5 +%__sed -i "qtruby/rubylib/qtruby/Qt.cpp" \ + -i "korundum/rubylib/korundum/Korundum.cpp" \ + -e "s|rb_frame_this_func|rb_frame_last_func|g" +%endif + +# Another strange FTBFS in RHEL 5 +%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5 +%__sed -i "xparts/xpart_notepad/shell_xparthost.cpp" \ + -i "xparts/xpart_notepad/xp_notepad.cpp" \ + -e "/TDEApplication/ s| );|, true, true, true);|" +%endif + +# Disable kmozilla, it does not build with recent xulrunner (missing 'libmozjs.so') +%__sed -i "xparts/Makefile.am" \ + -e "s|SUBDIRS = .*|SUBDIRS = src xpart_notepad|" + +# Fix Fedora >= 28 automatic invalid dependency to '/usr/bin/kjscmd' +%if 0%{?fedora} >= 28 || 0%{?mgaversion} >= 7 || 0%{?rhel} >= 8 +%__sed -i "kjsembed/tdescript/swaptabs.js" \ + -i "kjsembed/stdlib/cmdline.js" \ + -e "s|/usr/bin/env kjscmd|%{tde_bindir}/kjscmd|" +%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}" +export TDEDIR=%{tde_prefix} + +unset JAVA_HOME ||: +%{?java_home:JAVA_HOME=%{java_home}; export JAVA_HOME} + +# sip/PyQt/PyKDE built separately, not here +export DO_NOT_COMPILE="$DO_NOT_COMPILE python" + +# Ruby headers, strange location ... +if [ -d "/usr/include/%{_normalized_cpu}-linux" ]; then + export EXTRA_INCLUDES="/usr/include/%{_normalized_cpu}-linux" +fi + +# 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 [ -d "/usr/evolution28" ]; then + export PATH="/usr/evolution28/bin:${PATH}" + export PKG_CONFIG_PATH="/usr/evolution28/%{_lib}/pkgconfig:${PKG_CONFIG_PATH}" +fi + +# Warning: openSUSE 13.1: /usr/include/ruby-2.0.0/ruby.h +%if 0%{?suse_version} == 1310 || 0%{?suse_version} == 1320 +EXTRA_INCLUDES="/usr/include/ruby-%{rb20_ver}:/usr/include/ruby-%{rb20_ver}/%{_target}" +%endif +%if 0%{?suse_version} >= 1330 +EXTRA_INCLUDES="/usr/include/ruby-%{rb_ver}:/usr/include/ruby-%{rb_ver}/%{_target}-gnu" +%endif + +# Warning: GCC visibility causes FTBFS [Bug #1285] +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --docdir=%{tde_docdir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + \ + --disable-dependency-tracking \ + --disable-debug \ + --enable-new-ldflags \ + --enable-final \ + --enable-closure \ + --enable-rpath \ + --disable-gcc-hidden-visibility \ + \ + --with-extra-includes=%{_includedir}/tqscintilla:${EXTRA_INCLUDES} \ + --with-extra-libs=%{tde_libdir} \ + --with-pythondir=%{_usr} \ + \ + %{?_with_java} %{!?_with_java:--without-java} \ + %{?_enable_qscintilla} %{!?_enable_qscintilla:--disable-qscintilla} + +# Build dcopperl with specific options +pushd dcopperl +CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=%{tde_mandir}/man3 +%__make OPTIMIZE="$RPM_OPT_FLAGS" ||: +popd + +# smoke (not smp-safe) +%__make -C smoke + +# The rest is smp-safe +%__make %{?_smp_mflags} PYTHON=%{__python} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf $RPM_BUILD_ROOT + +%__make install DESTDIR=%{?buildroot} \ + PYTHON=%{__python} + +# Removes some perl files +find $RPM_BUILD_ROOT -type f -a \( -name perllocal.pod -o -name .packlist \ + -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';' + +%if "%{?_with_java}" != "" +# Installs juic +%__install -D -m 755 qtjava/designer/juic/bin/juic %{?buildroot}%{tde_bindir}/juic +%__install -d -m 755 %{?buildroot}%{tde_datadir}/juic/common +%__install -m 644 qtjava/designer/juic/common/*.xml %{?buildroot}%{tde_datadir}/juic/common +%__install -m 644 qtjava/designer/juic/common/*.xsl %{?buildroot}%{tde_datadir}/juic/common +%__install -d -m 755 %{?buildroot}%{tde_datadir}/juic/java +%__install -m 644 qtjava/designer/juic/java/*.xml %{?buildroot}%{tde_datadir}/juic/java +%__install -m 644 qtjava/designer/juic/java/*.xsl %{?buildroot}%{tde_datadir}/juic/java +%__install -m 644 qtjava/designer/juic/juic.xsl %{?buildroot}%{tde_datadir}/juic +%endif + +# kjsembed sample files +%__install -d -m 755 %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ +%__install -m 644 kjsembed/plugins/customobject_plugin.cpp %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ +%__install -m 644 kjsembed/plugins/customobject_plugin.h %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ +%__install -m 644 kjsembed/plugins/customobject_plugin.desktop %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ +%__install -m 644 kjsembed/plugins/customqobject_plugin.cpp %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ +%__install -m 644 kjsembed/plugins/customqobject_plugin.h %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ +%__install -m 644 kjsembed/plugins/customqobject_plugin.desktop %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ + +# Move 'embedjs.desktop' to correct location +%__mv -f "%{?buildroot}%{tde_datadir}/applnk/Utilities/embedjs.desktop" "%{?buildroot}%{tde_tdeappdir}/embedjs.desktop" +%__rm -rf "%{?buildroot}%{tde_datadir}/applnk" + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file -u kjscmd Development +%suse_update_desktop_file -u embedjs Development +%endif + + +%clean +%__rm -rf $RPM_BUILD_ROOT + + +%changelog diff --git a/redhat/main/tdeedu/tdeedu-14.0.0.spec b/redhat/main/tdeedu/tdeedu-14.0.0.spec deleted file mode 100644 index af7343097..000000000 --- a/redhat/main/tdeedu/tdeedu-14.0.0.spec +++ /dev/null @@ -1,1158 +0,0 @@ -# -# spec file for package tdeedu (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/ -# - -# BUILD WARNING: -# Remove qt-devel and qt3-devel and any kde*-devel on your system ! -# Having KDE libraries may cause FTBFS here ! - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.0.0 -%endif -%define tde_pkg tdeedu -%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} -Summary: Educational/Edutainment applications -Group: System/GUI/Other -Version: %{tde_version} -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -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}-%{version}%{?preversion:~%{preversion}}.tar.gz -Source1: %{name}-rpmlintrc - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} - -BuildRequires: autoconf automake libtool m4 -BuildRequires: desktop-file-utils - -# 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: gcc-c++ -BuildRequires: fdupes - -# PYTHON support -BuildRequires: python-devel -BuildRequires: python - -# BOOST support -BuildRequires: boost-devel - -# OCAML support -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 -BuildRequires: ocaml(compiler) -%else -BuildRequires: ocaml -%endif - -# KIG python scripting support -%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%if 0%{?suse_version} == 1330 || 0%{?suse_version} >= 1500 || 0%{?fedora} >= 29 -%define with_kig 0 -%else -%define with_kig 1 -%endif -%endif - -Obsoletes: trinity-kdeedu < %{version}-%{release} -Provides: trinity-kdeedu = %{version}-%{release} -Obsoletes: trinity-kdeedu-libs < %{version}-%{release} -Provides: trinity-kdeedu-libs = %{version}-%{release} - -# Meta-package -Requires: %{name}-data = %{version}-%{release} -Requires: trinity-blinken = %{version}-%{release} -Requires: trinity-kalzium = %{version}-%{release} -Requires: trinity-kalzium-data = %{version}-%{release} -Requires: trinity-kanagram = %{version}-%{release} -Requires: trinity-kbruch = %{version}-%{release} -Requires: trinity-keduca = %{version}-%{release} -Requires: trinity-kgeography = %{version}-%{release} -Requires: trinity-kgeography-data = %{version}-%{release} -Requires: trinity-khangman = %{version}-%{release} -Requires: trinity-kig = %{version}-%{release} -Requires: trinity-kiten = %{version}-%{release} -Requires: trinity-klatin = %{version}-%{release} -Requires: trinity-klettres = %{version}-%{release} -Requires: trinity-klettres-data = %{version}-%{release} -Requires: trinity-kmplot = %{version}-%{release} -Requires: trinity-kpercentage = %{version}-%{release} -Requires: trinity-kstars = %{version}-%{release} -Requires: trinity-kstars-data = %{version}-%{release} -Requires: trinity-ktouch = %{version}-%{release} -Requires: trinity-kturtle = %{version}-%{release} -Requires: trinity-kverbos = %{version}-%{release} -Requires: trinity-kvoctrain = %{version}-%{release} -Requires: trinity-kwordquiz = %{version}-%{release} -Requires: trinity-libtdeedu3 = %{version}-%{release} -Requires: trinity-libkiten1 = %{version}-%{release} -Requires: trinity-indi = %{version}-%{release} - - -%description -Educational/Edutainment applications, including: -* blinken: Simon Says Game -* kalzium: Periodic Table of Elements -* kanagram: Letter Order Game -* kbruch: Exercise Fractions -* keduca: Tests and Exams -* kgeography: Geography Trainer -* khangman: Hangman Game -* kig: Interactive Geometry -* kiten: Japanese Reference/Study Tool -* klatin: Latin Reviser -* klettres: French alphabet tutor -* kmplot: Mathematical Function Plotter -* kpercentage: Excersie Percentages -* kstars: Desktop Planetarium -* ktouch: Touch Typing Tutor -* kturtle: Logo Programming Environment -* kverbos: Study Spanish Verbforms -* kvoctrain: Vocabulary Trainer -* kwordquiz: Vocabulary Trainer - -%files -%defattr(-,root,root,-) -%doc COPYING README - -########## - -%package data -Summary: Shared data for Trinity educational applications -Group: System/GUI/Other - -%description data -This package contains shared data necessary for running the -educational applications provided with TDE (the Trinity Desktop -Environment). - -This package is part of Trinity, as a component of the TDE education module. - -%files data -%defattr(-,root,root,-) -%{tde_datadir}/applnk/Edutainment/Languages/.directory -%{tde_datadir}/applnk/Edutainment/Miscellaneous/.directory -%{tde_datadir}/applnk/Edutainment/Mathematics/.directory -%{tde_datadir}/applnk/Edutainment/Science/.directory -%{tde_datadir}/applnk/Edutainment/Tools/.directory - -########## - -%package -n trinity-blinken -Summary: Trinity version of the Simon Says electronic memory game -Group: System/GUI/Other -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-blinken -Blinken is based on an electronic game released in 1978, which -challenges players to remember sequences of increasing length. On -the face of the device, there are 4 different color buttons, each -with its own distinctive sound. These buttons light up randomly, -creating the sequence that the player must then recall. If the -player is successful in remembering the sequence of lights in the -correct order, they advance to the next stage, where an identical -sequence with one extra step is presented. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-blinken -%defattr(-,root,root,-) -%{tde_bindir}/blinken -%{tde_tdeappdir}/blinken.desktop -%{tde_datadir}/apps/blinken/ -%{tde_datadir}/config.kcfg/blinken.kcfg -%{tde_datadir}/icons/hicolor/*/apps/blinken.png -%{tde_datadir}/icons/hicolor/scalable/apps/blinken.svgz -%{tde_tdedocdir}/HTML/en/blinken/ - -########## - -%package -n trinity-kalzium -Summary: Chemistry teaching tool for Trinity -Group: System/GUI/Other -Requires: trinity-kalzium-data = %{version}-%{release} -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kalzium -Kalzium is a program which shows you the Periodic System of Elements -(PSE). You can use Kalzium to search for information about the -elements or to learn facts about the PSE. - -Kalzium provides you with all kinds of information about the PSE. -You can look up lots of information about the elements and also use -visualisations to show them. - -You can visualise the Periodic Table of the Elements by blocks, -groups, acidic behavior or different states of matter. You can also -plot data for a range of elements (weight, mean weight, density, IE1, -IE2, electronegativity), and you can go back in time to see what -elements were known at a given date. In addition, on platforms where -OCaml supports native code generation, Kalzium includes a chemical -equation solver. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-kalzium -%defattr(-,root,root,-) -%{tde_bindir}/kalzium -%{tde_tdeappdir}/kalzium.desktop -%{tde_datadir}/config.kcfg/kalzium.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kalzium.png -%{tde_datadir}/icons/hicolor/scalable/apps/kalzium.svgz -%{tde_tdedocdir}/HTML/en/kalzium/ - -########## - -%package -n trinity-kalzium-data -Summary: Data files for Kalzium -Group: System/GUI/Other - -%description -n trinity-kalzium-data -This package contains architecture-independent data files for -Kalzium, the TDE periodic table application. This includes pictures -of various chemical equipment and of samples of several elements, in -addition to the actual chemical data. - -See the kalzium package for further information. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-kalzium-data -%defattr(-,root,root,-) -%{tde_datadir}/apps/kalzium/ - -########## - -%package -n trinity-kanagram -Summary: Letter order game for Trinity -Group: System/GUI/Other -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kanagram -KAnagram is a game that is based on the word/letter puzzles that the -author played as a child. A word is picked at random and displayed -with its letters in a messed order, with difficulty dependent on the -chosen level. You have an unlimited number of attempts, and scores -are kept. - -It is a very simply constructed game, with 3 difficulty levels of -play. It is fully customizable, allowing you to write in your own -words and set your own 'look and feel' of the game. It is aimed for -children aged 10+ because of the difficulty, but of course everyone -is welcome to try. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-kanagram -%defattr(-,root,root,-) -%{tde_bindir}/kanagram -%{tde_tdeappdir}/kanagram.desktop -%{tde_datadir}/apps/kanagram/ -%{tde_datadir}/config.kcfg/kanagram.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kanagram.png -%{tde_datadir}/icons/hicolor/scalable/apps/kanagram.svgz -%{tde_tdedocdir}/HTML/en/kanagram/ - -########## - -%package -n trinity-kbruch -Summary: Fraction calculation teaching tool for Trinity -Group: System/GUI/Other -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kbruch -KBruch is a small program to practice calculating with fractions. -Different exercises are provided for this purpose. The program -checks the user's input and gives feedback. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-kbruch -%defattr(-,root,root,-) -%{tde_bindir}/kbruch -%{tde_datadir}/apps/kbruch/ -%{tde_tdeappdir}/kbruch.desktop -%{tde_datadir}/config.kcfg/kbruch.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kbruch.png -%{tde_datadir}/icons/hicolor/scalable/apps/kbruch.svgz -%{tde_datadir}/icons/crystalsvg/*/actions/kbruch_*.png -%{tde_tdedocdir}/HTML/en/kbruch/ - -########## - -%package -n trinity-keduca -Summary: Interactive form-based tests for Trinity -Group: System/GUI/Other -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-keduca -KEduca is a flash-card application which allows you to make -interactive form-based tests. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-keduca -%defattr(-,root,root,-) -%{tde_bindir}/keduca -%{tde_bindir}/keducabuilder -%{tde_tdelibdir}/libkeducapart.la -%{tde_tdelibdir}/libkeducapart.so -%{tde_tdeappdir}/keduca.desktop -%{tde_tdeappdir}/keducabuilder.desktop -%{tde_datadir}/apps/keduca/ -%{tde_datadir}/config.kcfg/keduca.kcfg -%{tde_datadir}/icons/hicolor/*/apps/keduca.png -%{tde_datadir}/mimelnk/application/x-edu.desktop -%{tde_datadir}/mimelnk/application/x-edugallery.desktop -%{tde_datadir}/services/keduca_part.desktop -%{tde_tdedocdir}/HTML/en/keduca/ - -########## - -%package -n trinity-kgeography -Summary: Geography learning tool for Trinity -Group: System/GUI/Other -Requires: trinity-kgeography-data = %{version}-%{release} -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kgeography -KGeography contains maps allowing you to learn various countries or -the political divisions of several countries. It has several modes, -including a map browser and games involving the names, capitals, or -flags of the map divisions. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-kgeography -%defattr(-,root,root,-) -%{tde_bindir}/kgeography -%{tde_tdeappdir}/kgeography.desktop -%{tde_datadir}/config.kcfg/kgeography.kcfg -%{tde_datadir}/icons/crystalsvg/*/apps/kgeography.png -%{tde_datadir}/icons/crystalsvg/scalable/apps/kgeography.svgz -%{tde_datadir}/icons/hicolor/*/apps/kgeography.png -%{tde_tdedocdir}/HTML/en/kgeography - -########## - -%package -n trinity-kgeography-data -Summary: Data files for KGeography -Group: System/GUI/Other - -%description -n trinity-kgeography-data -This package contains architecture-independent data files for -KGeography, the geography learning tool for TDE. This includes map -and flag images. - -See the kgeography package for further information. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-kgeography-data -%defattr(-,root,root,-) -%{tde_datadir}/apps/kgeography/ - -########## - -%package -n trinity-khangman -Summary: The classical hangman game for Trinity -Group: System/GUI/Other -#Requires: dustin-dustismo-sans-fonts -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-khangman -KHangMan is a game based on the well known hangman game. It is aimed -for children aged 6 and above. It has four levels of difficulty: -Animals (animals words), Easy, Medium and Hard. - -A word is picked at random and the letters are hidden. You must -guess the word by trying one letter after another. Each time you -guess a wrong letter, a picture of a hangman is drawn. You must -guess the word before getting hanged! You have 10 tries. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-khangman -%defattr(-,root,root,-) -%{tde_confdir}/khangmanrc -%{tde_bindir}/khangman -%{tde_tdeappdir}/khangman.desktop -%{tde_datadir}/apps/khangman/ -%{tde_datadir}/config.kcfg/khangman.kcfg -%{tde_datadir}/icons/hicolor/*/apps/khangman.png -%{tde_datadir}/icons/hicolor/scalable/apps/khangman.svgz -%{tde_tdedocdir}/HTML/en/khangman/ - -########## - -%package -n trinity-kig -Summary: Interactive geometry program for TDE -Group: System/GUI/Other -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kig -Kig is an application for interactive geometry. It is intended to -serve two purposes: - -- to allow students to interactively explore mathematical figures and - concepts using the computer; -- to serve as a WYSIWYG tool for drawing mathematical figures and - including them in other documents. - -With this program you can do geometry on a computer just like you -would on a blackboard in a classroom. However, the program allows -you to move and change parts of a geometrical drawing so that you can -see how the other parts change as a result. - -Kig supports loci and user-defined macros. It also supports imports -and exports to/from foreign file formats including Cabri, Dr. Geo, -KGeo, KSeg and XFig. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-kig -%defattr(-,root,root,-) -%{tde_confdir}/magic/cabri.magic -%{tde_confdir}/magic/drgeo.magic -%{tde_bindir}/kig -%{tde_bindir}/pykig.py* -%{tde_tdelibdir}/tdefile_drgeo.la -%{tde_tdelibdir}/tdefile_drgeo.so -%{tde_tdelibdir}/tdefile_kig.la -%{tde_tdelibdir}/tdefile_kig.so -%{tde_tdelibdir}/libkigpart.la -%{tde_tdelibdir}/libkigpart.so -%{tde_tdeappdir}/kig.desktop -%if 0%{?with_kig} -%{tde_datadir}/apps/katepart/syntax/python-kig.xml -%endif -%{tde_datadir}/apps/kig/ -%{tde_datadir}/icons/crystalsvg/*/mimetypes/kig_doc.png -%{tde_datadir}/icons/crystalsvg/scalable/mimetypes/kig_doc.svgz -%{tde_datadir}/icons/hicolor/*/apps/kig.png -%{tde_datadir}/icons/hicolor/scalable/apps/kig.svgz -%{tde_datadir}/mimelnk/application/x-cabri.desktop -%{tde_datadir}/mimelnk/application/x-drgeo.desktop -%{tde_datadir}/mimelnk/application/x-kig.desktop -%{tde_datadir}/mimelnk/application/x-kgeo.desktop -%{tde_datadir}/mimelnk/application/x-kseg.desktop -%{tde_datadir}/services/tdefile_drgeo.desktop -%{tde_datadir}/services/tdefile_kig.desktop -%{tde_datadir}/services/kig_part.desktop -%{tde_tdedocdir}/HTML/en/kig/ -%{tde_confdir}/magic/cabri.magic.mgc -%{tde_confdir}/magic/drgeo.magic.mgc - -########## - -%package -n trinity-kiten -Summary: Japanese reference/study tool for Trinity -Group: System/GUI/Other -Requires: trinity-tdeedu-data = %{version}-%{release} -#Requires: ttf-kochi-gothic | ttf-kochi-mincho - -%description -n trinity-kiten -Kiten is a Japanese reference and study tool for TDE. It is an -application with multiple functions. Firstly, it is a convenient -English to Japanese and Japanese to English dictionary. Secondly, it -is a Kanji dictionary, with multiple ways to look up specific -characters. Thirdly, it is a tool to help you learn Kanji. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-kiten -%defattr(-,root,root,-) -%{tde_bindir}/kiten -%{tde_bindir}/kitengen -%{tde_tdeappdir}/kiten.desktop -%{tde_tdedocdir}/HTML/en/kiten/ -%{tde_datadir}/icons/hicolor/*/apps/kiten.png -%{tde_datadir}/icons/hicolor/scalable/apps/kiten.svgz - -########## - -%package -n trinity-klatin -Summary: Application to help revise/teach Latin -Group: System/GUI/Other -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-klatin -KLatin is a program to help revise Latin. There are three "sections" -in which different aspects of the language can be revised. These are -the vocabulary, grammar and verb testing sections. In addition there -is a set of revision notes that can be used for self-guided revision. - -In the vocabulary section an XML file is loaded containing various -words and their local language translations. KLatin asks you what -each of these words translate into. The questions take place in a -multiple-choice environment. - -In the grammar and verb sections KLatin asks for a particular part of -a noun or a verb, such as the "ablative singular", or the "1st person -indicative passive plural", and is not multiple choice. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-klatin -%defattr(-,root,root,-) -%{tde_bindir}/klatin -%{tde_tdeappdir}/klatin.desktop -%{tde_datadir}/apps/klatin/ -%{tde_datadir}/config.kcfg/klatin.kcfg -%{tde_datadir}/icons/hicolor/*/apps/klatin.png -%{tde_datadir}/icons/hicolor/scalable/apps/klatin.svgz -%{tde_tdedocdir}/HTML/en/klatin/ - -########## - -%package -n trinity-klettres -Summary: Foreign alphabet tutor for Trinity -Group: System/GUI/Other -Requires: trinity-klettres-data = %{version}-%{release} -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-klettres -KLettres is an application specially designed to help the user to -learn the alphabet in a new language and then to learn to read simple -syllables. The user can be a young child aged from two and a half or -an adult that wants to learn the basics of a foreign language. - -Seven languages are currently available: Czech, Danish, Dutch, -English, French, Italian and Slovak. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-klettres -%defattr(-,root,root,-) -%{tde_confdir}/klettresrc -%{tde_bindir}/klettres -%{tde_tdeappdir}/klettres.desktop -%{tde_datadir}/config.kcfg/klettres.kcfg -%{tde_datadir}/icons/hicolor/*/apps/klettres.png -%{tde_datadir}/icons/hicolor/scalable/apps/klettres.svgz -%{tde_tdedocdir}/HTML/en/klettres/ - -########## - -%package -n trinity-klettres-data -Summary: Data files for KLettres foreign alphabet tutor -Group: System/GUI/Other - -%description -n trinity-klettres-data -This package contains architecture-independent data files for -KLettres, the foreign alphabet tutor for TDE. This includes sound -files and graphics. - -See the klettres package for further information. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-klettres-data -%defattr(-,root,root,-) -%{tde_datadir}/apps/klettres/ - -########## - -%package -n trinity-kmplot -Summary: Mathematical function plotter for Trinity -Group: System/GUI/Other -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kmplot -KmPlot is a mathematical function plotter for TDE. It has a powerful -built-in parser. You can plot different functions simultaneously and -combine them to build new functions. - -KmPlot supports parametric functions and functions in polar -coordinates. Several grid modes are supported. Plots may be printed -with high precision in the correct scale. - -KmPlot also provides some numerical and visual features, like filling -and calculating the area between the plot and the first axis, finding -maximum and minimum values, changing function parameters dynamically -and plotting derivatives and integral functions. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-kmplot -%defattr(-,root,root,-) -%{tde_bindir}/kmplot -%{tde_tdelibdir}/libkmplotpart.la -%{tde_tdelibdir}/libkmplotpart.so -%{tde_tdeappdir}/kmplot.desktop -%{tde_datadir}/apps/kmplot/ -%{tde_datadir}/config.kcfg/kmplot.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kmplot.png -%{tde_datadir}/icons/hicolor/scalable/apps/kmplot.svgz -%{tde_datadir}/mimelnk/application/x-kmplot.desktop -%{tde_datadir}/services/kmplot_part.desktop -%{tde_tdedocdir}/HTML/en/kmplot/ - -########## - -%package -n trinity-kpercentage -Summary: Percentage calculation teaching tool for Trinity -Group: System/GUI/Other -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kpercentage -KPercentage is a small math application that will help pupils to -improve their skills in calculating percentages. - -There is a special training section for the three basic tasks. -Finally the pupil can select a random mode, in which all three tasks -are mixed randomly. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-kpercentage -%defattr(-,root,root,-) -%{tde_bindir}/kpercentage -%{tde_tdeappdir}/kpercentage.desktop -%{tde_datadir}/apps/kpercentage/ -%{tde_datadir}/icons/hicolor/*/apps/kpercentage.png -%{tde_datadir}/icons/hicolor/scalable/apps/kpercentage.svgz -%{tde_tdedocdir}/HTML/en/kpercentage/ - -########## - -%package -n trinity-kstars -Summary: Desktop planetarium for Trinity -Group: System/GUI/Other -Requires: trinity-tdeedu-data = %{version}-%{release} -Requires: trinity-kstars-data = %{version}-%{release} -Requires: trinity-indi = %{version}-%{release} - -%description -n trinity-kstars -KStars is a graphical desktop planetarium for TDE. It depicts an -accurate simulation of the night sky, including stars, -constellations, star clusters, nebulae, galaxies, all planets, the -Sun, the Moon, comets and asteroids. You can see the sky as it -appears from any location on Earth, on any date. - -The user interface is highly intuitive and flexible. The display can -be panned and zoomed with the mouse, and you can easily identify -objects and track their motion across the sky. KStars includes many -powerful features, yet the interface is clean and simple and fun to -use. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-kstars -%defattr(-,root,root,-) -%{tde_confdir}/kstarsrc -%{tde_bindir}/kstars -%{tde_tdeappdir}/kstars.desktop -%{tde_datadir}/config.kcfg/kstars.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kstars.png -%{tde_datadir}/icons/hicolor/scalable/apps/kstars.svgz -%{tde_tdedocdir}/HTML/en/kstars/ - -########## - -%package -n trinity-kstars-data -Summary: Data files for KStars desktop planetarium -Group: System/GUI/Other - -%description -n trinity-kstars-data -This package contains architecture-independent data files for KStars, -the graphical desktop planetarium for TDE. This includes star -catalogues and astronomical images. - -See the kstars package for further information. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-kstars-data -%defattr(-,root,root,-) -%{tde_datadir}/apps/kstars/ - -########## - -%package -n trinity-ktouch -Summary: Touch typing tutor for Trinity -Group: System/GUI/Other -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-ktouch -KTouch is a program for learning touch typing - it helps you learn to -type on a keyboard quickly and correctly. Every finger has its place -on the keyboard with associated keys to press. - -KTouch helps you learn to touch type by providing you with text to -train on, and adjusts to different levels depending on how good you -are. It can display which key to press next, and the correct finger -to use. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-ktouch -%defattr(-,root,root,-) -%{tde_bindir}/ktouch -%{tde_tdeappdir}/ktouch.desktop -%{tde_datadir}/apps/ktouch/ -%{tde_datadir}/config.kcfg/ktouch.kcfg -%{tde_datadir}/icons/hicolor/*/apps/ktouch.png -%{tde_datadir}/icons/hicolor/scalable/apps/ktouch.svgz -%{tde_tdedocdir}/HTML/en/ktouch/ - -########## - -%package -n trinity-kturtle -Summary: Educational Logo programming environment -Group: System/GUI/Other -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kturtle -KTurtle is an educational programming environment using the Logo -programming language. It tries to make programming as easy and -accessible as possible. This makes KTurtle suitable for teaching -kids the basics of mathematics, geometry and programming. - -The commands used to program are in the style of the Logo programming -language. The unique feature of Logo is that the commands are often -translated into the speaking language of the programmer. - -KTurtle is named after "the turtle" that plays a central role in the -programming environment. The user programs the turtle, using the -Logo commands, to draw a picture on the canvas. - -Note that this version of Logo is only focused on the educational -qualities of the programming language and will not try to suit -professional programmers' needs. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-kturtle -%defattr(-,root,root,-) -%{tde_bindir}/kturtle -%{tde_tdeappdir}/kturtle.desktop -%{tde_datadir}/apps/katepart/syntax/logohighlightstyle* -%{tde_datadir}/apps/kturtle/ -%{tde_datadir}/config.kcfg/kturtle.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kturtle.png -%{tde_tdedocdir}/HTML/en/kturtle/ - -########## - -%package -n trinity-kverbos -Summary: Spanish verb form study application for Trinity -Group: System/GUI/Other -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kverbos -Kverbos allows the user to learn the forms of Spanish verbs. The -program suggests a verb and a time and the user enters the different -verb forms. The program corrects the user input and gives feedback. - -The user can edit the list of the verbs that can be studied. The -program can build regular verb forms by itself. Irregular verb forms -have to be entered by the user. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-kverbos -%defattr(-,root,root,-) -%{tde_bindir}/kverbos -%{tde_tdeappdir}/kverbos.desktop -%{tde_datadir}/apps/kverbos/ -%{tde_datadir}/config.kcfg/kverbos.kcfg -%{tde_datadir}/icons/crystalsvg/16x16/actions/kverbosuser.png -%{tde_datadir}/icons/hicolor/*/apps/kverbos.png -%{tde_datadir}/icons/hicolor/scalable/apps/kverbos.svgz -%{tde_tdedocdir}/HTML/en/kverbos/ - -########## - -%package -n trinity-kvoctrain -Summary: Vocabulary trainer for Trinity -Group: System/GUI/Other -Requires: perl -Requires: perl-libwww-perl -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kvoctrain -KVocTrain is a little utility to help you train your vocabulary when -you are trying to learn a foreign language. You can create your own -database with the words you need. It is intended as a replacement -for index (flash) cards. - -You probably remember flashcards from school. The teacher would -write the original expression on the front side of the card and the -translation on the back. Then look at the cards one after another. -If you knew the translation, you could put it away. If you failed, -you put it back to try again. - -KVocTrain is not intended to teach you grammar or other sophisticated -things. This is and probably will stay beyond the scope of this -application. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-kvoctrain -%defattr(-,root,root,-) -%{tde_confdir}/kvoctrainrc -%{tde_bindir}/kvoctrain -%{tde_bindir}/spotlight2kvtml -%{tde_libdir}/libkvoctraincore.so.* -%{tde_tdeappdir}/kvoctrain.desktop -%{tde_datadir}/apps/kvoctrain/ -%{tde_datadir}/mimelnk/text/x-kvtml.desktop -%{tde_datadir}/config.kcfg/kvoctrain.kcfg -%{tde_datadir}/config.kcfg/languagesettings.kcfg -%{tde_datadir}/config.kcfg/presettings.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kvoctrain.png -%{tde_tdedocdir}/HTML/en/kvoctrain/ - -########## - -%package -n trinity-kwordquiz -Summary: Flashcard and vocabulary learning program for Trinity -Group: System/GUI/Other -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kwordquiz -KWordQuiz is a flashcard-based tool that helps you to master new -vocabularies. It may be a language or any other kind of terminology. - -KWordQuiz can open several types of vocabulary data. Supported are -kvtml files used by other TDE programs such as KVocTrain, wql files -used by WordQuiz for Windows, csv files with comma-separated text, -and xml.gz files created by Pauker (http://pauker.sourceforge.net). - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-kwordquiz -%defattr(-,root,root,-) -%{tde_confdir}/kwordquizrc -%{tde_bindir}/kwordquiz -%{tde_tdeappdir}/kwordquiz.desktop -%{tde_datadir}/apps/kwordquiz/ -%{tde_datadir}/config.kcfg/kwordquiz.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kwordquiz.png -%{tde_datadir}/icons/hicolor/scalable/apps/kwordquiz.svg -%{tde_datadir}/icons/crystalsvg/*/mimetypes/kwordquiz_doc.png -%{tde_datadir}/icons/crystalsvg/scalable/mimetypes/kwordquiz_doc.svg -%{tde_datadir}/mimelnk/application/x-kwordquiz.desktop -%{tde_tdedocdir}/HTML/en/kwordquiz/ - -########## - -%package -n trinity-libtdeedu3 -Summary: Library for use with Trinity educational apps -Group: System/GUI/Other - -%description -n trinity-libtdeedu3 -The TDE-based library libtdeedu is used with educational -applications. It currently provides support for data plotting and -vocabulary items (including a parser for kvtml vocabulary files). - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-libtdeedu3 -%defattr(-,root,root,-) -%{tde_libdir}/libextdate.so.* -%{tde_libdir}/libtdeeducore.so.* -%{tde_libdir}/libtdeeduplot.so.* -%{tde_libdir}/libtdeeduui.so.* - -########## - -%package -n trinity-libtdeedu-devel -Summary: Development files for Trinity educational library -Group: Development/Libraries/Other -Requires: trinity-libtdeedu3 = %{version}-%{release} - -%description -n trinity-libtdeedu-devel -The TDE-based library libtdeedu is used with educational -applications. It currently provides support for data plotting and -vocabulary items (including a parser for kvtml vocabulary files). - -Development files for libtdeedu are included in this package. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-libtdeedu-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/libtdeedu/ -%{tde_libdir}/libextdate.la -%{tde_libdir}/libextdate.so -%{tde_libdir}/libtdeeducore.la -%{tde_libdir}/libtdeeducore.so -%{tde_libdir}/libtdeeduui.la -%{tde_libdir}/libtdeeduui.so -%{tde_libdir}/libtdeeduplot.la -%{tde_libdir}/libtdeeduplot.so - -########## - -%package -n trinity-libkiten1 -Summary: Library for Kiten Japanese reference/study tool -Group: System/GUI/Other -#Requires: kanjidic - -%description -n trinity-libkiten1 -Kiten is a Japanese reference/study tool for TDE. The library -libkiten contains portions of Kiten that may be useful for other -applications. These portions include dictionary, character lookup -and widget classes. - -This package contains the libkiten library along with supporting -data, such as Japanese language data files and GUI resource files. -For further information, see the kiten package. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-libkiten1 -%defattr(-,root,root,-) -%{tde_libdir}/libkiten.so.* -%{tde_datadir}/apps/kiten/ -%{tde_datadir}/config.kcfg/kiten.kcfg -%{tde_datadir}/icons/crystalsvg/16x16/actions/kanjidic.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/edit_add.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/edit_remove.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/kanjidic.png -%{tde_datadir}/icons/locolor/16x16/actions/edit_add.png -%{tde_datadir}/icons/locolor/16x16/actions/edit_remove.png - -########## - -%package -n trinity-libkiten-devel -Summary: Development files for Kiten library -Group: Development/Libraries/Other -Requires: trinity-libkiten1 = %{version}-%{release} -Requires: trinity-tdelibs-devel >= %{version} - -%description -n trinity-libkiten-devel -Kiten is a Japanese reference/study tool for TDE. The library -libkiten contains portions of Kiten that may be useful for other -applications. These portions include dictionary, character lookup -and widget classes. - -Development files for libkiten are included in this package. For -further information, see the kiten package. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-libkiten-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/libkiten/ -%{tde_libdir}/libkiten.la -%{tde_libdir}/libkiten.so - -########## - -%package -n trinity-indi -Summary: Instrument Neutral Distributed Interface for astronomical devices -Group: System/GUI/Other - -%description -n trinity-indi -INDI is an Instrument Neutral Distributed Interface control protocol for -astronomical devices, which provides a framework that decouples low level -hardware drivers from high level front end clients. Clients that use the -device drivers are completely unaware of the device capabilities and -communicate with the device drivers and build a completely dynamic GUI -based on the services provided by the device. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-indi -%defattr(-,root,root,-) -%{tde_bindir}/apmount -%{tde_bindir}/apogee_ppi -%{tde_bindir}/celestrongps -%{tde_bindir}/fliccd -%{tde_bindir}/fliwheel -%{tde_bindir}/indiserver -%{tde_bindir}/lx200_16 -%{tde_bindir}/lx200autostar -%{tde_bindir}/lx200basic -%{tde_bindir}/lx200classic -%{tde_bindir}/lx200generic -%{tde_bindir}/lx200gps -%{tde_bindir}/meade_lpi -%{tde_bindir}/sbigccd -%{tde_bindir}/skycommander -%{tde_bindir}/temma -%{tde_bindir}/v4ldriver -%{tde_bindir}/v4lphilips - -########## - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries/Other -Requires: %{name} = %{version}-%{release} -Requires: trinity-libtdeedu-devel = %{version}-%{release} -Requires: trinity-libkiten-devel = %{version}-%{release} - -Obsoletes: trinity-kdeedu-devel < %{version}-%{release} -Provides: trinity-kdeedu-devel = %{version}-%{release} - -%description devel -This package contains the development files for tdeedu. - -%files devel -%defattr(-,root,root,-) -%doc libtdeedu/AUTHORS libtdeedu/README -# kstars -%{tde_tdeincludedir}/kstarsinterface.h -%{tde_tdeincludedir}/simclockinterface.h -# kvoctrain -%{tde_libdir}/libkvoctraincore.la -%{tde_libdir}/libkvoctraincore.so - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} - -%if 0%{?fedora} >= 30 -# Fix shebangs -sed -i "kig/pykig/pykig.py" \ - -e "s|env python|env python3|" -%endif - -# RHEL5 strange FTBFS on V4L stuff -%if 0%{?rhel} == 5 -%__sed -i "admin/acinclude.m4.in" -e "s|-ansi||" -%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}" -export kde_confdir="%{tde_confdir}" - -# Specific path for RHEL4 -if [ -d "/usr/X11R6" ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" - export CFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -# Warning: GCC visibility causes FTBFS [Bug #1285] -%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 \ - \ -%if 0%{?with_kig} - --enable-kig-python-scripting \ -%else - --disable-kig-python-scripting \ -%endif - --enable-ocamlsolver - -%__make %{_smp_mflags} \ - OCAMLLIB=$(ocamlc -where) \ - FACILELIB=$(ocamlc -where) - - -%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 khangman Education Languages Game KidsGame -%suse_update_desktop_file kiten Education Languages -%suse_update_desktop_file klatin Education Languages -%suse_update_desktop_file klettres Education Languages -%suse_update_desktop_file kverbos Education Languages -%suse_update_desktop_file kvoctrain Education Languages -%suse_update_desktop_file kwordquiz Education Languages -%suse_update_desktop_file kbruch Education Math -%suse_update_desktop_file kig Education Math -%suse_update_desktop_file kmplot Education Math -%suse_update_desktop_file kturtle Education Math -%suse_update_desktop_file kpercentage Education Math -%suse_update_desktop_file kalzium Education Chemistry -%suse_update_desktop_file kstars Education Astronomy -%suse_update_desktop_file keduca Education Teaching -%suse_update_desktop_file keducabuilder Education Teaching -%suse_update_desktop_file ktouch Education Teaching -%suse_update_desktop_file -r blinken Education Teaching Game KidsGame -%suse_update_desktop_file kgeography Education Teaching -%suse_update_desktop_file -r kanagram Education Languages Game KidsGame -%endif - -# Links duplicate files -%fdupes "%{?buildroot}%{tde_datadir}" - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/main/tdeedu/tdeedu.spec b/redhat/main/tdeedu/tdeedu.spec new file mode 100644 index 000000000..aaf41572f --- /dev/null +++ b/redhat/main/tdeedu/tdeedu.spec @@ -0,0 +1,1175 @@ +# +# spec file for package tdeedu (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/ +# + +# BUILD WARNING: +# Remove qt-devel and qt3-devel and any kde*-devel on your system ! +# Having KDE libraries may cause FTBFS here ! + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.0.7 +%endif +%define tde_pkg tdeedu +%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} +Summary: Educational/Edutainment applications +Group: System/GUI/Other +Version: %{tde_version} +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +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}-%{version}%{?preversion:~%{preversion}}.tar.gz +Source1: %{name}-rpmlintrc + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} + +BuildRequires: cmake >= 2.8 +BuildRequires: desktop-file-utils + +# 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: gcc-c++ +BuildRequires: fdupes + +# PYTHON support +%if 0%{?rhel} >= 8 || 0%{?fedora} >= 30 || 0%{?suse_version} >= 1500 +%define python python3 +%define __python %__python2 +%else +%define python python +%endif +BuildRequires: %{python} +BuildRequires: %{python}-devel + +# BOOST support +BuildRequires: boost-devel + +# OCAML support +%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 +BuildRequires: ocaml(compiler) +#BuildRequires: ocaml-facile-devel +%else +BuildRequires: ocaml +#BuildRequires: ocaml-facile-devel +%endif + +# KIG python scripting support +%define with_kig 1 + +Obsoletes: trinity-kdeedu < %{version}-%{release} +Provides: trinity-kdeedu = %{version}-%{release} +Obsoletes: trinity-kdeedu-libs < %{version}-%{release} +Provides: trinity-kdeedu-libs = %{version}-%{release} + +# Meta-package +Requires: %{name}-data = %{version}-%{release} +Requires: trinity-blinken = %{version}-%{release} +Requires: trinity-kalzium = %{version}-%{release} +Requires: trinity-kalzium-data = %{version}-%{release} +Requires: trinity-kanagram = %{version}-%{release} +Requires: trinity-kbruch = %{version}-%{release} +Requires: trinity-keduca = %{version}-%{release} +Requires: trinity-kgeography = %{version}-%{release} +Requires: trinity-kgeography-data = %{version}-%{release} +Requires: trinity-khangman = %{version}-%{release} +Requires: trinity-kig = %{version}-%{release} +Requires: trinity-kiten = %{version}-%{release} +Requires: trinity-klatin = %{version}-%{release} +Requires: trinity-klettres = %{version}-%{release} +Requires: trinity-klettres-data = %{version}-%{release} +Requires: trinity-kmplot = %{version}-%{release} +Requires: trinity-kpercentage = %{version}-%{release} +Requires: trinity-kstars = %{version}-%{release} +Requires: trinity-kstars-data = %{version}-%{release} +Requires: trinity-ktouch = %{version}-%{release} +Requires: trinity-kturtle = %{version}-%{release} +Requires: trinity-kverbos = %{version}-%{release} +Requires: trinity-kvoctrain = %{version}-%{release} +Requires: trinity-kwordquiz = %{version}-%{release} +Requires: trinity-libtdeedu3 = %{version}-%{release} +Requires: trinity-libkiten1 = %{version}-%{release} +Requires: trinity-indi = %{version}-%{release} + + +%description +Educational/Edutainment applications, including: +* blinken: Simon Says Game +* kalzium: Periodic Table of Elements +* kanagram: Letter Order Game +* kbruch: Exercise Fractions +* keduca: Tests and Exams +* kgeography: Geography Trainer +* khangman: Hangman Game +* kig: Interactive Geometry +* kiten: Japanese Reference/Study Tool +* klatin: Latin Reviser +* klettres: French alphabet tutor +* kmplot: Mathematical Function Plotter +* kpercentage: Excersie Percentages +* kstars: Desktop Planetarium +* ktouch: Touch Typing Tutor +* kturtle: Logo Programming Environment +* kverbos: Study Spanish Verbforms +* kvoctrain: Vocabulary Trainer +* kwordquiz: Vocabulary Trainer + +%files +%defattr(-,root,root,-) +%doc COPYING README + +########## + +%package data +Summary: Shared data for Trinity educational applications +Group: System/GUI/Other + +%description data +This package contains shared data necessary for running the +educational applications provided with TDE (the Trinity Desktop +Environment). + +This package is part of Trinity, as a component of the TDE education module. + +%files data +%defattr(-,root,root,-) +%{tde_datadir}/applnk/Edutainment/Languages/.directory +%{tde_datadir}/applnk/Edutainment/Miscellaneous/.directory +%{tde_datadir}/applnk/Edutainment/Mathematics/.directory +%{tde_datadir}/applnk/Edutainment/Science/.directory +%{tde_datadir}/applnk/Edutainment/Tools/.directory + +########## + +%package -n trinity-blinken +Summary: Trinity version of the Simon Says electronic memory game +Group: System/GUI/Other +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-blinken +Blinken is based on an electronic game released in 1978, which +challenges players to remember sequences of increasing length. On +the face of the device, there are 4 different color buttons, each +with its own distinctive sound. These buttons light up randomly, +creating the sequence that the player must then recall. If the +player is successful in remembering the sequence of lights in the +correct order, they advance to the next stage, where an identical +sequence with one extra step is presented. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-blinken +%defattr(-,root,root,-) +%{tde_bindir}/blinken +%{tde_tdeappdir}/blinken.desktop +%{tde_datadir}/apps/blinken/ +%{tde_datadir}/config.kcfg/blinken.kcfg +%{tde_datadir}/icons/hicolor/*/apps/blinken.png +%{tde_datadir}/icons/hicolor/scalable/apps/blinken.svgz +%{tde_tdedocdir}/HTML/en/blinken/ +%{tde_mandir}/man1/blinken* + +########## + +%package -n trinity-kalzium +Summary: Chemistry teaching tool for Trinity +Group: System/GUI/Other +Requires: trinity-kalzium-data = %{version}-%{release} +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kalzium +Kalzium is a program which shows you the Periodic System of Elements +(PSE). You can use Kalzium to search for information about the +elements or to learn facts about the PSE. + +Kalzium provides you with all kinds of information about the PSE. +You can look up lots of information about the elements and also use +visualisations to show them. + +You can visualise the Periodic Table of the Elements by blocks, +groups, acidic behavior or different states of matter. You can also +plot data for a range of elements (weight, mean weight, density, IE1, +IE2, electronegativity), and you can go back in time to see what +elements were known at a given date. In addition, on platforms where +OCaml supports native code generation, Kalzium includes a chemical +equation solver. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-kalzium +%defattr(-,root,root,-) +%{tde_bindir}/kalzium +%{tde_tdeappdir}/kalzium.desktop +%{tde_datadir}/config.kcfg/kalzium.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kalzium.png +%{tde_datadir}/icons/hicolor/scalable/apps/kalzium.svgz +%{tde_tdedocdir}/HTML/en/kalzium/ +%{tde_mandir}/man1/kalzium* + +########## + +%package -n trinity-kalzium-data +Summary: Data files for Kalzium +Group: System/GUI/Other + +%description -n trinity-kalzium-data +This package contains architecture-independent data files for +Kalzium, the TDE periodic table application. This includes pictures +of various chemical equipment and of samples of several elements, in +addition to the actual chemical data. + +See the kalzium package for further information. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-kalzium-data +%defattr(-,root,root,-) +%{tde_datadir}/apps/kalzium/ + +########## + +%package -n trinity-kanagram +Summary: Letter order game for Trinity +Group: System/GUI/Other +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kanagram +KAnagram is a game that is based on the word/letter puzzles that the +author played as a child. A word is picked at random and displayed +with its letters in a messed order, with difficulty dependent on the +chosen level. You have an unlimited number of attempts, and scores +are kept. + +It is a very simply constructed game, with 3 difficulty levels of +play. It is fully customizable, allowing you to write in your own +words and set your own 'look and feel' of the game. It is aimed for +children aged 10+ because of the difficulty, but of course everyone +is welcome to try. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-kanagram +%defattr(-,root,root,-) +%{tde_bindir}/kanagram +%{tde_tdeappdir}/kanagram.desktop +%{tde_datadir}/apps/kanagram/ +%{tde_datadir}/config.kcfg/kanagram.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kanagram.png +%{tde_datadir}/icons/hicolor/scalable/apps/kanagram.svgz +%{tde_tdedocdir}/HTML/en/kanagram/ +%{tde_mandir}/man1/kanagram* + +########## + +%package -n trinity-kbruch +Summary: Fraction calculation teaching tool for Trinity +Group: System/GUI/Other +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kbruch +KBruch is a small program to practice calculating with fractions. +Different exercises are provided for this purpose. The program +checks the user's input and gives feedback. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-kbruch +%defattr(-,root,root,-) +%{tde_bindir}/kbruch +%{tde_datadir}/apps/kbruch/ +%{tde_tdeappdir}/kbruch.desktop +%{tde_datadir}/config.kcfg/kbruch.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kbruch.png +%{tde_datadir}/icons/hicolor/scalable/apps/kbruch.svgz +%{tde_datadir}/icons/crystalsvg/*/actions/kbruch_*.png +%{tde_tdedocdir}/HTML/en/kbruch/ +%{tde_mandir}/man1/kbruch* + +########## + +%package -n trinity-keduca +Summary: Interactive form-based tests for Trinity +Group: System/GUI/Other +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-keduca +KEduca is a flash-card application which allows you to make +interactive form-based tests. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-keduca +%defattr(-,root,root,-) +%{tde_bindir}/keduca +%{tde_bindir}/keducabuilder +%{tde_bindir}/keduca-shrinker +%{tde_tdelibdir}/libkeducapart.la +%{tde_tdelibdir}/libkeducapart.so +%{tde_tdeappdir}/keduca.desktop +%{tde_tdeappdir}/keducabuilder.desktop +%{tde_datadir}/apps/keduca/ +%{tde_datadir}/config.kcfg/keduca.kcfg +%{tde_datadir}/icons/hicolor/*/apps/keduca.png +%{tde_datadir}/mimelnk/application/x-edu.desktop +%{tde_datadir}/mimelnk/application/x-edugallery.desktop +%{tde_datadir}/services/keduca_part.desktop +%{tde_tdedocdir}/HTML/en/keduca/ +%{tde_mandir}/man1/keduca* + +########## + +%package -n trinity-kgeography +Summary: Geography learning tool for Trinity +Group: System/GUI/Other +Requires: trinity-kgeography-data = %{version}-%{release} +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kgeography +KGeography contains maps allowing you to learn various countries or +the political divisions of several countries. It has several modes, +including a map browser and games involving the names, capitals, or +flags of the map divisions. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-kgeography +%defattr(-,root,root,-) +%{tde_bindir}/kgeography +%{tde_bindir}/kgeography_gen_map.pl +%{tde_tdeappdir}/kgeography.desktop +%{tde_datadir}/config.kcfg/kgeography.kcfg +%{tde_datadir}/icons/crystalsvg/*/apps/kgeography.png +%{tde_datadir}/icons/crystalsvg/scalable/apps/kgeography.svgz +%{tde_datadir}/icons/hicolor/*/apps/kgeography.png +%{tde_tdedocdir}/HTML/en/kgeography +%{tde_mandir}/man1/kgeography* + +########## + +%package -n trinity-kgeography-data +Summary: Data files for KGeography +Group: System/GUI/Other + +%description -n trinity-kgeography-data +This package contains architecture-independent data files for +KGeography, the geography learning tool for TDE. This includes map +and flag images. + +See the kgeography package for further information. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-kgeography-data +%defattr(-,root,root,-) +%{tde_datadir}/apps/kgeography/ + +########## + +%package -n trinity-khangman +Summary: The classical hangman game for Trinity +Group: System/GUI/Other +#Requires: dustin-dustismo-sans-fonts +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-khangman +KHangMan is a game based on the well known hangman game. It is aimed +for children aged 6 and above. It has four levels of difficulty: +Animals (animals words), Easy, Medium and Hard. + +A word is picked at random and the letters are hidden. You must +guess the word by trying one letter after another. Each time you +guess a wrong letter, a picture of a hangman is drawn. You must +guess the word before getting hanged! You have 10 tries. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-khangman +%defattr(-,root,root,-) +%{tde_confdir}/khangmanrc +%{tde_bindir}/khangman +%{tde_tdeappdir}/khangman.desktop +%{tde_datadir}/apps/khangman/ +%{tde_datadir}/config.kcfg/khangman.kcfg +%{tde_datadir}/icons/hicolor/*/apps/khangman.png +%{tde_datadir}/icons/hicolor/scalable/apps/khangman.svgz +%{tde_tdedocdir}/HTML/en/khangman/ +%{tde_mandir}/man1/khangman* + +########## + +%package -n trinity-kig +Summary: Interactive geometry program for TDE +Group: System/GUI/Other +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kig +Kig is an application for interactive geometry. It is intended to +serve two purposes: + +- to allow students to interactively explore mathematical figures and + concepts using the computer; +- to serve as a WYSIWYG tool for drawing mathematical figures and + including them in other documents. + +With this program you can do geometry on a computer just like you +would on a blackboard in a classroom. However, the program allows +you to move and change parts of a geometrical drawing so that you can +see how the other parts change as a result. + +Kig supports loci and user-defined macros. It also supports imports +and exports to/from foreign file formats including Cabri, Dr. Geo, +KGeo, KSeg and XFig. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-kig +%defattr(-,root,root,-) +%{tde_confdir}/magic/cabri.magic +%{tde_confdir}/magic/drgeo.magic +%{tde_bindir}/kig +%{tde_bindir}/pykig.py* +%{tde_tdelibdir}/tdefile_drgeo.la +%{tde_tdelibdir}/tdefile_drgeo.so +%{tde_tdelibdir}/tdefile_kig.la +%{tde_tdelibdir}/tdefile_kig.so +%{tde_tdelibdir}/libkigpart.la +%{tde_tdelibdir}/libkigpart.so +%{tde_tdeappdir}/kig.desktop +%if 0%{?with_kig} +%{tde_datadir}/apps/katepart/syntax/python-kig.xml +%endif +%{tde_datadir}/apps/kig/ +%{tde_datadir}/icons/crystalsvg/*/mimetypes/kig_doc.png +%{tde_datadir}/icons/crystalsvg/scalable/mimetypes/kig_doc.svgz +%{tde_datadir}/icons/hicolor/*/apps/kig.png +%{tde_datadir}/icons/hicolor/scalable/apps/kig.svgz +%{tde_datadir}/mimelnk/application/x-cabri.desktop +%{tde_datadir}/mimelnk/application/x-drgeo.desktop +%{tde_datadir}/mimelnk/application/x-kig.desktop +%{tde_datadir}/mimelnk/application/x-kgeo.desktop +%{tde_datadir}/mimelnk/application/x-kseg.desktop +%{tde_datadir}/services/tdefile_drgeo.desktop +%{tde_datadir}/services/tdefile_kig.desktop +%{tde_datadir}/services/kig_part.desktop +%{tde_tdedocdir}/HTML/en/kig/ +%{tde_confdir}/magic/cabri.magic.mgc +%{tde_confdir}/magic/drgeo.magic.mgc +%{tde_mandir}/man1/kig* + +########## + +%package -n trinity-kiten +Summary: Japanese reference/study tool for Trinity +Group: System/GUI/Other +Requires: trinity-tdeedu-data = %{version}-%{release} +#Requires: ttf-kochi-gothic | ttf-kochi-mincho + +%description -n trinity-kiten +Kiten is a Japanese reference and study tool for TDE. It is an +application with multiple functions. Firstly, it is a convenient +English to Japanese and Japanese to English dictionary. Secondly, it +is a Kanji dictionary, with multiple ways to look up specific +characters. Thirdly, it is a tool to help you learn Kanji. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-kiten +%defattr(-,root,root,-) +%{tde_bindir}/kiten +%{tde_bindir}/kitengen +%{tde_tdeappdir}/kiten.desktop +%{tde_tdedocdir}/HTML/en/kiten/ +%{tde_datadir}/icons/hicolor/*/apps/kiten.png +%{tde_datadir}/icons/hicolor/scalable/apps/kiten.svgz +%{tde_mandir}/man1/kiten* + +########## + +%package -n trinity-klatin +Summary: Application to help revise/teach Latin +Group: System/GUI/Other +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-klatin +KLatin is a program to help revise Latin. There are three "sections" +in which different aspects of the language can be revised. These are +the vocabulary, grammar and verb testing sections. In addition there +is a set of revision notes that can be used for self-guided revision. + +In the vocabulary section an XML file is loaded containing various +words and their local language translations. KLatin asks you what +each of these words translate into. The questions take place in a +multiple-choice environment. + +In the grammar and verb sections KLatin asks for a particular part of +a noun or a verb, such as the "ablative singular", or the "1st person +indicative passive plural", and is not multiple choice. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-klatin +%defattr(-,root,root,-) +%{tde_bindir}/klatin +%{tde_tdeappdir}/klatin.desktop +%{tde_datadir}/apps/klatin/ +%{tde_datadir}/config.kcfg/klatin.kcfg +%{tde_datadir}/icons/hicolor/*/apps/klatin.png +%{tde_datadir}/icons/hicolor/scalable/apps/klatin.svgz +%{tde_tdedocdir}/HTML/en/klatin/ +%{tde_mandir}/man1/klatin* + +########## + +%package -n trinity-klettres +Summary: Foreign alphabet tutor for Trinity +Group: System/GUI/Other +Requires: trinity-klettres-data = %{version}-%{release} +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-klettres +KLettres is an application specially designed to help the user to +learn the alphabet in a new language and then to learn to read simple +syllables. The user can be a young child aged from two and a half or +an adult that wants to learn the basics of a foreign language. + +Seven languages are currently available: Czech, Danish, Dutch, +English, French, Italian and Slovak. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-klettres +%defattr(-,root,root,-) +%{tde_confdir}/klettresrc +%{tde_bindir}/klettres +%{tde_tdeappdir}/klettres.desktop +%{tde_datadir}/config.kcfg/klettres.kcfg +%{tde_datadir}/icons/hicolor/*/apps/klettres.png +%{tde_datadir}/icons/hicolor/scalable/apps/klettres.svgz +%{tde_tdedocdir}/HTML/en/klettres/ +%{tde_mandir}/man1/klettres* + +########## + +%package -n trinity-klettres-data +Summary: Data files for KLettres foreign alphabet tutor +Group: System/GUI/Other + +%description -n trinity-klettres-data +This package contains architecture-independent data files for +KLettres, the foreign alphabet tutor for TDE. This includes sound +files and graphics. + +See the klettres package for further information. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-klettres-data +%defattr(-,root,root,-) +%{tde_datadir}/apps/klettres/ + +########## + +%package -n trinity-kmplot +Summary: Mathematical function plotter for Trinity +Group: System/GUI/Other +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kmplot +KmPlot is a mathematical function plotter for TDE. It has a powerful +built-in parser. You can plot different functions simultaneously and +combine them to build new functions. + +KmPlot supports parametric functions and functions in polar +coordinates. Several grid modes are supported. Plots may be printed +with high precision in the correct scale. + +KmPlot also provides some numerical and visual features, like filling +and calculating the area between the plot and the first axis, finding +maximum and minimum values, changing function parameters dynamically +and plotting derivatives and integral functions. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-kmplot +%defattr(-,root,root,-) +%{tde_bindir}/kmplot +%{tde_tdelibdir}/libkmplotpart.la +%{tde_tdelibdir}/libkmplotpart.so +%{tde_tdeappdir}/kmplot.desktop +%{tde_datadir}/apps/kmplot/ +%{tde_datadir}/config.kcfg/kmplot.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kmplot.png +%{tde_datadir}/icons/hicolor/scalable/apps/kmplot.svgz +%{tde_datadir}/mimelnk/application/x-kmplot.desktop +%{tde_datadir}/services/kmplot_part.desktop +%{tde_tdedocdir}/HTML/en/kmplot/ +%{tde_mandir}/man1/kmplot* + +########## + +%package -n trinity-kpercentage +Summary: Percentage calculation teaching tool for Trinity +Group: System/GUI/Other +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kpercentage +KPercentage is a small math application that will help pupils to +improve their skills in calculating percentages. + +There is a special training section for the three basic tasks. +Finally the pupil can select a random mode, in which all three tasks +are mixed randomly. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-kpercentage +%defattr(-,root,root,-) +%{tde_bindir}/kpercentage +%{tde_tdeappdir}/kpercentage.desktop +%{tde_datadir}/apps/kpercentage/ +%{tde_datadir}/icons/hicolor/*/apps/kpercentage.png +%{tde_datadir}/icons/hicolor/scalable/apps/kpercentage.svgz +%{tde_tdedocdir}/HTML/en/kpercentage/ +%{tde_mandir}/man1/kpercentage* + +########## + +%package -n trinity-kstars +Summary: Desktop planetarium for Trinity +Group: System/GUI/Other +Requires: trinity-tdeedu-data = %{version}-%{release} +Requires: trinity-kstars-data = %{version}-%{release} +Requires: trinity-indi = %{version}-%{release} + +%description -n trinity-kstars +KStars is a graphical desktop planetarium for TDE. It depicts an +accurate simulation of the night sky, including stars, +constellations, star clusters, nebulae, galaxies, all planets, the +Sun, the Moon, comets and asteroids. You can see the sky as it +appears from any location on Earth, on any date. + +The user interface is highly intuitive and flexible. The display can +be panned and zoomed with the mouse, and you can easily identify +objects and track their motion across the sky. KStars includes many +powerful features, yet the interface is clean and simple and fun to +use. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-kstars +%defattr(-,root,root,-) +%{tde_confdir}/kstarsrc +%{tde_bindir}/kstars +%{tde_tdeappdir}/kstars.desktop +%{tde_datadir}/config.kcfg/kstars.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kstars.png +%{tde_datadir}/icons/hicolor/scalable/apps/kstars.svgz +%{tde_tdedocdir}/HTML/en/kstars/ +%{tde_mandir}/man1/kstars* + +########## + +%package -n trinity-kstars-data +Summary: Data files for KStars desktop planetarium +Group: System/GUI/Other + +%description -n trinity-kstars-data +This package contains architecture-independent data files for KStars, +the graphical desktop planetarium for TDE. This includes star +catalogues and astronomical images. + +See the kstars package for further information. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-kstars-data +%defattr(-,root,root,-) +%{tde_datadir}/apps/kstars/ + +########## + +%package -n trinity-ktouch +Summary: Touch typing tutor for Trinity +Group: System/GUI/Other +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-ktouch +KTouch is a program for learning touch typing - it helps you learn to +type on a keyboard quickly and correctly. Every finger has its place +on the keyboard with associated keys to press. + +KTouch helps you learn to touch type by providing you with text to +train on, and adjusts to different levels depending on how good you +are. It can display which key to press next, and the correct finger +to use. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-ktouch +%defattr(-,root,root,-) +%{tde_bindir}/ktouch +%{tde_tdeappdir}/ktouch.desktop +%{tde_datadir}/apps/ktouch/ +%{tde_datadir}/config.kcfg/ktouch.kcfg +%{tde_datadir}/icons/hicolor/*/apps/ktouch.png +%{tde_datadir}/icons/hicolor/scalable/apps/ktouch.svgz +%{tde_tdedocdir}/HTML/en/ktouch/ +%{tde_mandir}/man1/ktouch* + +########## + +%package -n trinity-kturtle +Summary: Educational Logo programming environment +Group: System/GUI/Other +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kturtle +KTurtle is an educational programming environment using the Logo +programming language. It tries to make programming as easy and +accessible as possible. This makes KTurtle suitable for teaching +kids the basics of mathematics, geometry and programming. + +The commands used to program are in the style of the Logo programming +language. The unique feature of Logo is that the commands are often +translated into the speaking language of the programmer. + +KTurtle is named after "the turtle" that plays a central role in the +programming environment. The user programs the turtle, using the +Logo commands, to draw a picture on the canvas. + +Note that this version of Logo is only focused on the educational +qualities of the programming language and will not try to suit +professional programmers' needs. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-kturtle +%defattr(-,root,root,-) +%{tde_bindir}/kturtle +%{tde_tdeappdir}/kturtle.desktop +%{tde_datadir}/apps/katepart/syntax/logohighlightstyle* +%{tde_datadir}/apps/kturtle/ +%{tde_datadir}/config.kcfg/kturtle.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kturtle.png +%{tde_tdedocdir}/HTML/en/kturtle/ +%{tde_mandir}/man1/kturtle* + +########## + +%package -n trinity-kverbos +Summary: Spanish verb form study application for Trinity +Group: System/GUI/Other +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kverbos +Kverbos allows the user to learn the forms of Spanish verbs. The +program suggests a verb and a time and the user enters the different +verb forms. The program corrects the user input and gives feedback. + +The user can edit the list of the verbs that can be studied. The +program can build regular verb forms by itself. Irregular verb forms +have to be entered by the user. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-kverbos +%defattr(-,root,root,-) +%{tde_bindir}/kverbos +%{tde_tdeappdir}/kverbos.desktop +%{tde_datadir}/apps/kverbos/ +%{tde_datadir}/config.kcfg/kverbos.kcfg +%{tde_datadir}/icons/crystalsvg/16x16/actions/kverbosuser.png +%{tde_datadir}/icons/hicolor/*/apps/kverbos.png +%{tde_datadir}/icons/hicolor/scalable/apps/kverbos.svgz +%{tde_tdedocdir}/HTML/en/kverbos/ +%{tde_mandir}/man1/kverbos* + +########## + +%package -n trinity-kvoctrain +Summary: Vocabulary trainer for Trinity +Group: System/GUI/Other +Requires: perl +Requires: perl-libwww-perl +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kvoctrain +KVocTrain is a little utility to help you train your vocabulary when +you are trying to learn a foreign language. You can create your own +database with the words you need. It is intended as a replacement +for index (flash) cards. + +You probably remember flashcards from school. The teacher would +write the original expression on the front side of the card and the +translation on the back. Then look at the cards one after another. +If you knew the translation, you could put it away. If you failed, +you put it back to try again. + +KVocTrain is not intended to teach you grammar or other sophisticated +things. This is and probably will stay beyond the scope of this +application. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-kvoctrain +%defattr(-,root,root,-) +%{tde_confdir}/kvoctrainrc +%{tde_bindir}/kvoctrain +%{tde_bindir}/spotlight2kvtml +%{tde_libdir}/libkvoctraincore.so.* +%{tde_tdeappdir}/kvoctrain.desktop +%{tde_datadir}/apps/kvoctrain/ +%{tde_datadir}/mimelnk/text/x-kvtml.desktop +%{tde_datadir}/config.kcfg/kvoctrain.kcfg +%{tde_datadir}/config.kcfg/languagesettings.kcfg +%{tde_datadir}/config.kcfg/presettings.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kvoctrain.png +%{tde_tdedocdir}/HTML/en/kvoctrain/ +%{tde_mandir}/man1/kvoctrain* +%{tde_mandir}/man1/spotlight2kvtml* + +########## + +%package -n trinity-kwordquiz +Summary: Flashcard and vocabulary learning program for Trinity +Group: System/GUI/Other +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kwordquiz +KWordQuiz is a flashcard-based tool that helps you to master new +vocabularies. It may be a language or any other kind of terminology. + +KWordQuiz can open several types of vocabulary data. Supported are +kvtml files used by other TDE programs such as KVocTrain, wql files +used by WordQuiz for Windows, csv files with comma-separated text, +and xml.gz files created by Pauker (http://pauker.sourceforge.net). + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-kwordquiz +%defattr(-,root,root,-) +%{tde_confdir}/kwordquizrc +%{tde_bindir}/kwordquiz +%{tde_tdeappdir}/kwordquiz.desktop +%{tde_datadir}/apps/kwordquiz/ +%{tde_datadir}/config.kcfg/kwordquiz.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kwordquiz.png +%{tde_datadir}/icons/hicolor/scalable/apps/kwordquiz.svg +%{tde_datadir}/icons/crystalsvg/*/mimetypes/kwordquiz_doc.png +%{tde_datadir}/icons/crystalsvg/scalable/mimetypes/kwordquiz_doc.svg +%{tde_datadir}/mimelnk/application/x-kwordquiz.desktop +%{tde_tdedocdir}/HTML/en/kwordquiz/ +%{tde_mandir}/man1/kwordquiz* +%{tde_mandir}/man1/langen* + +########## + +%package -n trinity-libtdeedu3 +Summary: Library for use with Trinity educational apps +Group: System/GUI/Other + +%description -n trinity-libtdeedu3 +The TDE-based library libtdeedu is used with educational +applications. It currently provides support for data plotting and +vocabulary items (including a parser for kvtml vocabulary files). + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-libtdeedu3 +%defattr(-,root,root,-) +%{tde_libdir}/libextdate.so.* +%{tde_libdir}/libtdeeducore.so.* +%{tde_libdir}/libtdeeduplot.so.* +%{tde_libdir}/libtdeeduui.so.* + +########## + +%package -n trinity-libtdeedu-devel +Summary: Development files for Trinity educational library +Group: Development/Libraries/Other +Requires: trinity-libtdeedu3 = %{version}-%{release} + +%description -n trinity-libtdeedu-devel +The TDE-based library libtdeedu is used with educational +applications. It currently provides support for data plotting and +vocabulary items (including a parser for kvtml vocabulary files). + +Development files for libtdeedu are included in this package. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-libtdeedu-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/libtdeedu/ +%{tde_libdir}/libextdate.la +%{tde_libdir}/libextdate.so +%{tde_libdir}/libtdeeducore.la +%{tde_libdir}/libtdeeducore.so +%{tde_libdir}/libtdeeduui.la +%{tde_libdir}/libtdeeduui.so +%{tde_libdir}/libtdeeduplot.la +%{tde_libdir}/libtdeeduplot.so + +########## + +%package -n trinity-libkiten1 +Summary: Library for Kiten Japanese reference/study tool +Group: System/GUI/Other +#Requires: kanjidic + +%description -n trinity-libkiten1 +Kiten is a Japanese reference/study tool for TDE. The library +libkiten contains portions of Kiten that may be useful for other +applications. These portions include dictionary, character lookup +and widget classes. + +This package contains the libkiten library along with supporting +data, such as Japanese language data files and GUI resource files. +For further information, see the kiten package. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-libkiten1 +%defattr(-,root,root,-) +%{tde_libdir}/libkiten.so.* +%{tde_datadir}/apps/kiten/ +%{tde_datadir}/config.kcfg/kiten.kcfg +%{tde_datadir}/icons/crystalsvg/16x16/actions/kanjidic.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/edit_add.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/edit_remove.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/kanjidic.png +%{tde_datadir}/icons/locolor/16x16/actions/edit_add.png +%{tde_datadir}/icons/locolor/16x16/actions/edit_remove.png + +########## + +%package -n trinity-libkiten-devel +Summary: Development files for Kiten library +Group: Development/Libraries/Other +Requires: trinity-libkiten1 = %{version}-%{release} +Requires: trinity-tdelibs-devel >= %{version} + +%description -n trinity-libkiten-devel +Kiten is a Japanese reference/study tool for TDE. The library +libkiten contains portions of Kiten that may be useful for other +applications. These portions include dictionary, character lookup +and widget classes. + +Development files for libkiten are included in this package. For +further information, see the kiten package. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-libkiten-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/libkiten/ +%{tde_libdir}/libkiten.la +%{tde_libdir}/libkiten.so + +########## + +%package -n trinity-indi +Summary: Instrument Neutral Distributed Interface for astronomical devices +Group: System/GUI/Other + +%description -n trinity-indi +INDI is an Instrument Neutral Distributed Interface control protocol for +astronomical devices, which provides a framework that decouples low level +hardware drivers from high level front end clients. Clients that use the +device drivers are completely unaware of the device capabilities and +communicate with the device drivers and build a completely dynamic GUI +based on the services provided by the device. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-indi +%defattr(-,root,root,-) +%{tde_bindir}/apmount +%{tde_bindir}/apogee_ppi +%{tde_bindir}/celestrongps +%{tde_bindir}/fliccd +%{tde_bindir}/fliwheel +%{tde_bindir}/indiserver +%{tde_bindir}/lx200_16 +%{tde_bindir}/lx200autostar +%{tde_bindir}/lx200basic +%{tde_bindir}/lx200classic +%{tde_bindir}/lx200generic +%{tde_bindir}/lx200gps +%{tde_bindir}/meade_lpi +%{tde_bindir}/sbigccd +%{tde_bindir}/skycommander +%{tde_bindir}/temma +%{tde_bindir}/v4ldriver +%{tde_bindir}/v4lphilips +%{tde_mandir}/man1/celestrongps* +%{tde_mandir}/man1/fliccd* +%{tde_mandir}/man1/indi* +%{tde_mandir}/man1/lx200* +%{tde_mandir}/man1/temma* +%{tde_mandir}/man1/v4l* + +########## + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries/Other +Requires: %{name} = %{version}-%{release} +Requires: trinity-libtdeedu-devel = %{version}-%{release} +Requires: trinity-libkiten-devel = %{version}-%{release} + +Obsoletes: trinity-kdeedu-devel < %{version}-%{release} +Provides: trinity-kdeedu-devel = %{version}-%{release} + +%description devel +This package contains the development files for tdeedu. + +%files devel +%defattr(-,root,root,-) +%doc libtdeedu/AUTHORS libtdeedu/README +# kstars +%{tde_tdeincludedir}/kstarsinterface.h +%{tde_tdeincludedir}/simclockinterface.h +# kvoctrain +%{tde_libdir}/libkvoctraincore.la +%{tde_libdir}/libkvoctraincore.so + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} + +%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8 +# Fix shebangs +sed -i "kig/pykig/pykig.py" \ + -e "s|env python|env %{python}|" +%endif + + +%build +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} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -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}" \ + -DCONFIG_INSTALL_DIR="%{tde_confdir}" \ + -DSYSCONF_INSTALL_DIR="%{tde_confdir}" \ + -DXDG_MENU_INSTALL_DIR="%{_sysconfdir}/xdg/menus" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_OCAML_SOLVER=OFF \ + .. + +%__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 khangman Education Languages Game KidsGame +%suse_update_desktop_file kiten Education Languages +%suse_update_desktop_file klatin Education Languages +%suse_update_desktop_file klettres Education Languages +%suse_update_desktop_file kverbos Education Languages +%suse_update_desktop_file kvoctrain Education Languages +%suse_update_desktop_file kwordquiz Education Languages +%suse_update_desktop_file kbruch Education Math +%suse_update_desktop_file kig Education Math +%suse_update_desktop_file kmplot Education Math +%suse_update_desktop_file kturtle Education Math +%suse_update_desktop_file kpercentage Education Math +%suse_update_desktop_file kalzium Education Chemistry +%suse_update_desktop_file kstars Education Astronomy +%suse_update_desktop_file keduca Education Teaching +%suse_update_desktop_file keducabuilder Education Teaching +%suse_update_desktop_file ktouch Education Teaching +%suse_update_desktop_file -r blinken Education Teaching Game KidsGame +%suse_update_desktop_file kgeography Education Teaching +%suse_update_desktop_file -r kanagram Education Languages Game KidsGame +%endif + +# Links duplicate files +%fdupes "%{?buildroot}%{tde_datadir}" + + +%clean +%__rm -rf %{buildroot} + + +%changelog diff --git a/redhat/main/tdegames/tdegames-14.0.0.spec b/redhat/main/tdegames/tdegames-14.0.0.spec deleted file mode 100644 index 993f41a18..000000000 --- a/redhat/main/tdegames/tdegames-14.0.0.spec +++ /dev/null @@ -1,1195 +0,0 @@ -# -# spec file for package tdegames (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/ -# - -# BUILD WARNING: -# Remove qt-devel and qt3-devel and any kde*-devel on your system ! -# Having KDE libraries may cause FTBFS here ! - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.0.0 -%endif -%define tde_pkg tdegames -%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_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: Trinity Desktop Environment - Games -Version: %{tde_version} -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Group: System/GUI/Other -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Project -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz -Source1: %{name}-rpmlintrc - -BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: trinity-tdemultimedia-devel >= %{tde_version} - -BuildRequires: cmake >= 2.8 -BuildRequires: gcc-c++ -BuildRequires: desktop-file-utils -BuildRequires: fdupes -BuildRequires: libtool - -# IDN support -BuildRequires: libidn-devel - -# GAMIN support -# Not on openSUSE. -%if 0%{?rhel} || 0%{?fedora} || 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 - -# GLIB2 support -BuildRequires: glib2-devel - -Obsoletes: trinity-kdegames < %{version}-%{release} -Provides: trinity-kdegames = %{version}-%{release} -Obsoletes: trinity-kdegames-libs < %{version}-%{release} -Provides: trinity-kdegames-libs = %{version}-%{release} - -Requires: trinity-libtdegames1 = %{version}-%{release} -Requires: trinity-tdegames-card-data = %{version}-%{release} -Requires: trinity-atlantik = %{version}-%{release} -Requires: trinity-kasteroids = %{version}-%{release} -Requires: trinity-katomic = %{version}-%{release} -Requires: trinity-kbackgammon = %{version}-%{release} -Requires: trinity-kbattleship = %{version}-%{release} -Requires: trinity-kblackbox = %{version}-%{release} -Requires: trinity-kbounce = %{version}-%{release} -Requires: trinity-kenolaba = %{version}-%{release} -Requires: trinity-kfouleggs = %{version}-%{release} -Requires: trinity-kgoldrunner = %{version}-%{release} -Requires: trinity-kjumpingcube = %{version}-%{release} -Requires: trinity-klickety = %{version}-%{release} -Requires: trinity-klines = %{version}-%{release} -Requires: trinity-kmahjongg = %{version}-%{release} -Requires: trinity-kmines = %{version}-%{release} -Requires: trinity-knetwalk = %{version}-%{release} -Requires: trinity-kolf = %{version}-%{release} -Requires: trinity-konquest = %{version}-%{release} -Requires: trinity-kpat = %{version}-%{release} -Requires: trinity-kpoker = %{version}-%{release} -Requires: trinity-kreversi = %{version}-%{release} -Requires: trinity-ksame = %{version}-%{release} -Requires: trinity-kshisen = %{version}-%{release} -Requires: trinity-ksirtet = %{version}-%{release} -Requires: trinity-ksmiletris = %{version}-%{release} -Requires: trinity-ksnake = %{version}-%{release} -Requires: trinity-ksokoban = %{version}-%{release} -Requires: trinity-kspaceduel = %{version}-%{release} -Requires: trinity-ktron = %{version}-%{release} -Requires: trinity-ktuberling = %{version}-%{release} -Requires: trinity-twin4 = %{version}-%{release} -Requires: trinity-lskat = %{version}-%{release} - - -%description -Games and gaming libraries for the Trinity Desktop Environment. -Included with this package are: kenolaba, kasteroids, kblackbox, kmahjongg, -kmines, konquest, kpat, kpoker, kreversi, ksame, kshisen, ksmiletris, -ksnake, ksirtet, katomic, kjumpingcube, ktuberling. - -%files - -########## - -%package devel -Summary: Development files for %{name} -Group: Amusements/Games/Other - -Requires: %{name} = %{version}-%{release} -Requires: trinity-tdelibs-devel >= %{tde_version} -Requires: trinity-libtdegames-devel = %{version}-%{release} -Requires: trinity-atlantik-devel = %{version}-%{release} -Requires: trinity-kolf-devel = %{version}-%{release} - -Obsoletes: trinity-kdegames-devel < %{version}-%{release} -Provides: trinity-kdegames-devel = %{version}-%{release} - -%description devel -Install %{name}-devel if you wish to develop or compile games for the -TDE desktop. - -%files devel -%defattr(-,root,root,-) -%{tde_datadir}/cmake/libtdegames.cmake - -########## - -%package -n trinity-libtdegames1 -Summary: Trinity games library and common files -Group: Amusements/Games/Other - -%description -n trinity-libtdegames1 -This library provides a common infrastructure for several of the -games in the TDE distribution. Features include standardized menu -items, high score handling, card display, and network connections -including chat capabilities. - -This package is part of TDE, and a component of the TDE games module. - -%files -n trinity-libtdegames1 -%defattr(-,root,root,-) -%{tde_libdir}/libtdegames.so.* -%dir %{tde_datadir}/apps/tdegames -%dir %{tde_datadir}/apps/tdegames/pics -%{tde_datadir}/apps/tdegames/pics/star.png -%{tde_datadir}/icons/crystalsvg/*/actions/roll.png -%{tde_datadir}/icons/crystalsvg/*/actions/highscore.png - -########## - -%package -n trinity-libtdegames-devel -Summary: Trinity games library headers -Group: Development/Libraries/Other -Requires: trinity-libtdegames1 = %{version}-%{release} - -%description -n trinity-libtdegames-devel -This package is necessary if you want to develop your own games using -the TDE games library. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-libtdegames-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/*.h -%{tde_tdeincludedir}/kgame -%{tde_libdir}/libtdegames.so -%{tde_libdir}/libtdegames.la - -########## - -%package card-data -Summary: Card decks for Trinity games -Group: Amusements/Games/Other - -%description card-data -Several different collections of card images for use by TDE games. - -This package is part of Trinity, and a component of the TDE games module. - -%files card-data -%defattr(-,root,root,-) -%{tde_datadir}/apps/carddecks/ - -########## - -%package -n trinity-atlantik -Summary: TDE client for Monopoly-like network games -Group: Amusements/Games/Board/Other - -%description -n trinity-atlantik -This is a TDE client for playing Monopoly-like boardgames on the -monopd network. It can play any board supported by the network -server, including the classic Monopoly game, as well as the Atlantik -game in which the property includes several major cities in North -America and Europe. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-atlantik -%defattr(-,root,root,-) -%{tde_bindir}/atlantik -%{tde_libdir}/libatlantic.so.* -%{tde_libdir}/libatlantikclient.so.* -%{tde_libdir}/libatlantikui.so.* -%{tde_tdelibdir}/tdeio_atlantik.la -%{tde_tdelibdir}/tdeio_atlantik.so -%{tde_datadir}/services/atlantik.protocol -%{tde_tdeappdir}/atlantik.desktop -%{tde_datadir}/icons/hicolor/*/apps/atlantik.png -%{tde_datadir}/apps/atlantik/ -%{tde_tdedocdir}/HTML/en/atlantik/ - -########## - -%package -n trinity-atlantik-devel -Summary: Development files for Atlantik -Group: Development/Libraries/Other -Requires: trinity-atlantik = %{version}-%{release} - -%description -n trinity-atlantik-devel -This package contains header files for compiling programs against the -libraries which come with Atlantik. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-atlantik-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/atlantik -%{tde_tdeincludedir}/atlantic -%{tde_libdir}/libatlantic.so -%{tde_libdir}/libatlantic.la -%{tde_libdir}/libatlantikclient.so -%{tde_libdir}/libatlantikclient.la -%{tde_libdir}/libatlantikui.so -%{tde_libdir}/libatlantikui.la - -########## - -%package -n trinity-kasteroids -Summary: Asteroids for Trinity -Group: Amusements/Games/Action/Arcade - -%description -n trinity-kasteroids -You know this game. It is based on Warwick Allison's QwSpriteField -widget. - -The objective of kasteroids is to destroy all the asteroids on the -screen to advance to the next level. Your ship is destroyed if it -makes contact with an asteroid. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kasteroids -%defattr(-,root,root,-) -%{tde_bindir}/kasteroids -%{tde_datadir}/icons/hicolor/*/apps/kasteroids.png -%{tde_tdeappdir}/kasteroids.desktop -%{tde_datadir}/apps/kasteroids/ -%{tde_datadir}/config.kcfg/kasteroids.kcfg -%{tde_tdedocdir}/HTML/en/kasteroids/ - -########## - -%package -n trinity-katomic -Summary: Atomic Entertainment game for Trinity -Group: Amusements/Games/Strategy/Other - -%description -n trinity-katomic -This is a puzzle game, in which the object is to assemble a molecule -from its atoms on a Sokoban-like board. On each move, an atom goes -as far as it can in a specified direction before being stopped by a -wall or another atom. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-katomic -%defattr(-,root,root,-) -%{tde_datadir}/apps/katomic/ -%{tde_datadir}/icons/hicolor/*/apps/katomic.png -%{tde_tdeappdir}/katomic.desktop -%{tde_bindir}/katomic -%{tde_tdedocdir}/HTML/en/katomic/ - -########## - -%package -n trinity-kbackgammon -Summary: A Backgammon game for Trinity -Group: Amusements/Games/Board/Other - -%description -n trinity-kbackgammon -KBackgammon is a backgammon program for Trinity. It is based on the -code, ideas and concepts of KFibs (which is a FIBS client for -TDE1). For a short time, KBackgammon was called bacKgammon (if you -know somebody who is still using bacKgammon, please force them to -upgrade :-)). - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kbackgammon -%defattr(-,root,root,-) -%{tde_bindir}/kbackgammon -%{tde_tdeappdir}/kbackgammon.desktop -%{tde_datadir}/apps/kbackgammon/ -%{tde_datadir}/icons/hicolor/*/apps/kbackgammon.png -%{tde_datadir}/icons/hicolor/*/apps/kbackgammon_engine.png -%{tde_tdedocdir}/HTML/en/kbackgammon/ - -########## - -%package -n trinity-kbattleship -Summary: Battleship game for Trinity -Group: Amusements/Games/Board/Other - -%description -n trinity-kbattleship -This is an implementation of the Battleship game. Each player tries -to be the first to sink all the opponent's ships by firing "blindly" -at them. The game has options to play over a network connection or -against the computer. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kbattleship -%defattr(-,root,root,-) -%{tde_datadir}/apps/kbattleship/ -%{tde_datadir}/apps/zeroconf/_kbattleship._tcp -%{tde_datadir}/icons/hicolor/*/apps/kbattleship.png -%{tde_tdeappdir}/kbattleship.desktop -%{tde_bindir}/kbattleship -%{tde_tdedocdir}/HTML/en/kbattleship/ - -########## - -%package -n trinity-kblackbox -Summary: A simple logical game for the Trinity project -Group: Amusements/Games/Board/Other - -%description -n trinity-kblackbox -KBlackBox is a game of hide and seek played on an grid of boxes. Your -opponent (Random number generator, in this case) has hidden several -balls within this box. By shooting rays into the box and observing -where they emerge it is possible to deduce the positions of the -hidden balls. The fewer rays you use to find the balls, the lower -your score. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kblackbox -%defattr(-,root,root,-) -%{tde_datadir}/apps/kblackbox/ -%{tde_datadir}/icons/hicolor/*/apps/kblackbox.png -%{tde_tdeappdir}/kblackbox.desktop -%{tde_bindir}/kblackbox -%{tde_tdedocdir}/HTML/en/kblackbox/ - -########## - -%package -n trinity-kbounce -Summary: Jezzball clone for the K Desktop Environment -Group: Amusements/Games/Action/Arcade - -%description -n trinity-kbounce -This is a clone of the popular Jezzball game originally created by -Microsoft. Jezzball is one of the rare and simple games requiring -skill, timing, and patience in order to be successful. A ball begins -to bounce off of an area enclosed by four borders (like a -square). You must move your pointer to certain areas within the -square. Upon clicking, a new border is constructed at a relatively -quick pace. You can change the direction of the borders by 90 degrees -as well. Ultimately, you must force the ball to bounce around in a -smaller, and smaller area as time goes by without the ball ever -touching the borders as they are being constructed. If a ball touches -a certain part of the border as it is being built, the game is over. -After 75% of the original space has been blocked off from the moving -ball, you advance one level, and one more ball is added to the mix in -the following level. - -This game was previously known as kjezz. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kbounce -%defattr(-,root,root,-) -%{tde_datadir}/apps/kbounce/ -%{tde_tdeappdir}/kbounce.desktop -%{tde_datadir}/icons/hicolor/*/apps/kbounce.png -%{tde_bindir}/kbounce -%{tde_tdedocdir}/HTML/en/kbounce/ - -########## - -%package -n trinity-kenolaba -Summary: Enolaba board game for Trinity -Group: Amusements/Games/Board/Other - -%description -n trinity-kenolaba -kenolaba is a simple board strategy game that is played by two -players. There are red and yellow pieces for each player. Beginning -from a start position where each player has 14 pieces, moves are -drawn until one player has pushed 6 pieces of his opponent out of the -board. - -This game was previously known as kabalone, and was inspired by the -board game Abalone by Abalone SA, France. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kenolaba -%defattr(-,root,root,-) -%{tde_datadir}/apps/kenolaba/ -%{tde_datadir}/icons/hicolor/*/apps/kenolaba.png -%{tde_tdeappdir}/kenolaba.desktop -%{tde_bindir}/kenolaba -%{tde_tdedocdir}/HTML/en/kenolaba/ - -########## - -%package -n trinity-kfouleggs -Summary: A TDE clone of the Japanese PuyoPuyo game -Group: Amusements/Games/Action/Arcade - -%description -n trinity-kfouleggs -KFouleggs is a clone of the Japanese PuyoPuyo game, with advanced -features such as multiplayer games against human or AI, and network -play. If you have played Tetris or one of its many clones, you will -find KFouleggs easy to learn. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kfouleggs -%defattr(-,root,root,-) -%{tde_tdeappdir}/kfouleggs.desktop -%{tde_datadir}/apps/kfouleggs/ -%{tde_datadir}/config.kcfg/kfouleggs.kcfg -%{tde_bindir}/kfouleggs -%{tde_datadir}/icons/hicolor/*/apps/kfouleggs.png -%{tde_tdedocdir}/HTML/en/kfouleggs/ - -########## - -%package -n trinity-kgoldrunner -Summary: A Trinity clone of the Loderunner arcade game -Group: Amusements/Games/Action/Arcade - -%description -n trinity-kgoldrunner -KGoldrunner, a game of action and puzzle solving. Run through the -maze, dodge your enemies, collect all the gold and climb up to the -next level. - -You must guide the hero with the mouse or keyboard and collect all -the gold nuggets, then you can climb up into the next level. Your -enemies are also after the gold and they will kill you if they catch -you! - -The problem is you have no weapon to kill them. All you can do is -run away, dig holes in the floor to trap them or lure them into some -area where they cannot hurt you. After a short time a trapped enemy -climbs out of his hole, but if it closes before that, he will die and -reappear somewhere else. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kgoldrunner -%defattr(-,root,root,-) -%{tde_datadir}/apps/kgoldrunner/ -%{tde_datadir}/icons/hicolor/*/apps/kgoldrunner.png -%{tde_tdeappdir}/KGoldrunner.desktop -%{tde_bindir}/kgoldrunner -%{tde_tdedocdir}/HTML/en/kgoldrunner/ - -########## - -%package -n trinity-kjumpingcube -Summary: Tactical one or two player game -Group: Amusements/Games/Strategy/Other - -%description -n trinity-kjumpingcube -KJumpingCube is a simple tactical game. You can play it against the -computer or against a friend. The playing field consists of squares -that contains points. By clicking on the squares you can increase -the points and if the points reach a maximum the points will jump to -the squares neighbours and take them over. Winner is the one, who -owns all squares. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kjumpingcube -%defattr(-,root,root,-) -%{tde_bindir}/kjumpingcube -%{tde_datadir}/icons/hicolor/*/apps/kjumpingcube.png -%{tde_datadir}/apps/kjumpingcube/ -%{tde_tdeappdir}/kjumpingcube.desktop -%{tde_datadir}/config.kcfg/kjumpingcube.kcfg -%{tde_tdedocdir}/HTML/en/kjumpingcube/ - -########## - -%package -n trinity-klickety -Summary: A Clickomania-like game for Trinity -Group: Amusements/Games/Board/Other - -%description -n trinity-klickety -Klickety is an adaptation of the (perhaps) well-known Clickomania -game; it is very similar to the "same" game. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-klickety -%defattr(-,root,root,-) -%{tde_bindir}/klickety -%{tde_tdeappdir}/klickety.desktop -%{tde_datadir}/icons/hicolor/*/apps/klickety.png -%{tde_datadir}/icons/crystalsvg/*/actions/endturn.png -%{tde_datadir}/apps/klickety/ -%{tde_tdedocdir}/HTML/en/klickety/ - -########## - -%package -n trinity-klines -Summary: Color lines for Trinity -Group: Amusements/Games/Strategy/Other - -%description -n trinity-klines -KLines is a simple game. It is played by one player, so there is only -one winner :-). You play for fun and against the high score. It was -inspired by a well known game - "Color lines", written for DOS by -Olga Demina, Igor Demina, Igor Ivkin and Gennady Denisov back in -1992. - -The main rules of the game are as simple as possible: you move (using -the mouse) marbles from cell to cell and build lines (horizontal, -vertical or diagonal). When a line contains 5 or more marbles, they -are removed and your score grows. After each turn the computer drops -three more marbles. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-klines -%defattr(-,root,root,-) -%{tde_datadir}/apps/klines/ -%{tde_tdeappdir}/klines.desktop -%{tde_bindir}/klines -%{tde_datadir}/config.kcfg/klines.kcfg -%{tde_datadir}/icons/hicolor/*/apps/klines.png -%{tde_tdedocdir}/HTML/en/klines/ - -########## - -%package -n trinity-kmahjongg -Summary: The classic mahjongg game for Trinity project -Group: Amusements/Games/Board/Other - -%description -n trinity-kmahjongg -Your mission in this game is to remove all tiles from the game board. A -matching pair of tiles can be removed, if they are 'free', which means that -no other tiles block them on the left or right side. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kmahjongg -%defattr(-,root,root,-) -%{tde_datadir}/apps/kmahjongg/ -%{tde_datadir}/icons/hicolor/*/apps/kmahjongg.png -%{tde_tdeappdir}/kmahjongg.desktop -%{tde_bindir}/kmahjongg -%{tde_datadir}/config.kcfg/kmahjongg.kcfg -%{tde_tdedocdir}/HTML/en/kmahjongg/ - -########## - -%package -n trinity-kmines -Summary: Minesweeper for Trinity -Group: Amusements/Games/Board/Other - -%description -n trinity-kmines -KMines is the classic Minesweeper game. You must uncover all the -empty cases without blowing on a mine. - -When you uncover a case, a number appears : it indicates how many -mines surround this case. If there is no number the neighbour cases -are automatically uncovered. In your process of uncovering secure -cases, it is very useful to put a flag on the cases which contain a -mine. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kmines -%defattr(-,root,root,-) -%{tde_datadir}/icons/hicolor/*/apps/kmines.png -%{tde_tdeappdir}/kmines.desktop -%{tde_datadir}/apps/kmines/ -%{tde_bindir}/kmines -%{tde_tdedocdir}/HTML/en/kmines/ - -########## - -%package -n trinity-knetwalk -Summary: A game for system administrators -Group: Amusements/Games/Board/Other - -%description -n trinity-knetwalk -This game presents the player with a rectangular field consisting of -a server, several clients, and pieces of wire. The object is to -rotate these elements until every client is connected to the server, -and no wires are left unconnected. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-knetwalk -%defattr(-,root,root,-) -%{tde_bindir}/knetwalk -%{tde_datadir}/apps/knetwalk -%{tde_datadir}/icons/hicolor/*/apps/knetwalk.png -%{tde_tdeappdir}/knetwalk.desktop -%{tde_tdedocdir}/HTML/en/knetwalk/ - -########## - -%package -n trinity-kolf -Summary: Minigolf game for TDE -Group: Amusements/Games/Action/Arcade - -%description -n trinity-kolf -This is a minigolf game for TDE that allows you to go through different -golf courses and waste an exorbitant amount of time. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kolf -%defattr(-,root,root,-) -%{tde_confdir}/magic/kolf.magic -%{tde_datadir}/apps/kolf/ -%{tde_bindir}/kolf -%{tde_tdeappdir}/kolf.desktop -%{tde_datadir}/icons/hicolor/*/apps/kolf.png -%{tde_datadir}/mimelnk/application/x-kolf.desktop -%{tde_datadir}/mimelnk/application/x-kourse.desktop -%{tde_libdir}/libtdeinit_kolf.so -%{tde_libdir}/libtdeinit_kolf.la -%{tde_tdelibdir}/kolf.la -%{tde_tdelibdir}/kolf.so -%{tde_libdir}/libkolf.so.1 -%{tde_libdir}/libkolf.so.1.2.0 -%{tde_tdedocdir}/HTML/en/kolf/ -%{tde_confdir}/magic/kolf.magic.mgc - -########## - -%package -n trinity-kolf-devel -Summary: Development files for Kolf -Group: Development/Libraries/Other -Requires: trinity-kolf = %{version}-%{release} - -%description -n trinity-kolf-devel -This package contains headers and development libraries for compiling -Kolf plugins. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kolf-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/kolf -%{tde_libdir}/libkolf.la -%{tde_libdir}/libkolf.so - -########## - -%package -n trinity-konquest -Summary: TDE based GNU-Lactic Konquest game -Group: Amusements/Games/Strategy/Other - -%description -n trinity-konquest -This the TDE version of Gnu-Lactic Konquest, a multi-player strategy -game. The goal of the game is to expand your interstellar empire -across the galaxy and, of course, crush your rivals in the process. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-konquest -%defattr(-,root,root,-) -%{tde_datadir}/apps/konquest/ -%{tde_datadir}/icons/hicolor/*/apps/konquest.png -%{tde_tdeappdir}/konquest.desktop -%{tde_bindir}/konquest -%{tde_tdedocdir}/HTML/en/konquest/ - -########## - -%package -n trinity-kpat -Summary: Trinity solitaire patience game -Group: Amusements/Games/Board/Card - -%description -n trinity-kpat -KPatience is a collection of 14 card games. All the games are single -player games. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kpat -%defattr(-,root,root,-) -%{tde_datadir}/icons/hicolor/*/apps/kpat.png -%{tde_datadir}/apps/kpat/ -%{tde_tdeappdir}/kpat.desktop -%{tde_bindir}/kpat -%{tde_tdedocdir}/HTML/en/kpat/ - -########## - -%package -n trinity-kpoker -Summary: Trinity based Poker clone -Group: Amusements/Games/Board/Card - -%description -n trinity-kpoker -KPoker is a TDE compliant clone of those highly addictive pocket -video poker games which are sometimes called "Videopoker" as well. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kpoker -%defattr(-,root,root,-) -%{tde_datadir}/apps/kpoker/ -%{tde_datadir}/icons/hicolor/*/apps/kpoker.png -%{tde_tdeappdir}/kpoker.desktop -%{tde_bindir}/kpoker -%{tde_tdedocdir}/HTML/en/kpoker/ - -########## - -%package -n trinity-kreversi -Summary: Reversi for Trinity -Group: Amusements/Games/Board/Other - -%description -n trinity-kreversi -Reversi is a simple strategy game that is played by two -players. There is only one type of piece - one side of it is black, -the other white. If a player captures a piece on the board, that -piece is turned and belongs to that player. The winner is the person -that has more pieces of his own color on the board and if there are -no more moves possible. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kreversi -%defattr(-,root,root,-) -%{tde_bindir}/kreversi -%{tde_tdeappdir}/kreversi.desktop -%{tde_datadir}/apps/kreversi/ -%{tde_datadir}/config.kcfg/kreversi.kcfg -%{tde_datadir}/icons/crystalsvg/*/actions/lastmoves.png -%{tde_datadir}/icons/crystalsvg/*/actions/legalmoves.png -%{tde_datadir}/icons/crystalsvg/scalable/actions/lastmoves.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/legalmoves.svgz -%{tde_datadir}/icons/hicolor/*/apps/kreversi.png -%{tde_tdedocdir}/HTML/en/kreversi/ - -########## - -%package -n trinity-ksame -Summary: SameGame for Trinity -Group: Amusements/Games/Strategy/Other - -%description -n trinity-ksame -KSame is a simple game. It's played by one player, so there is only -one winner :-) You play for fun and against the high score. It has -been inspired by SameGame, that is only famous on the Macintosh -platform. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-ksame -%defattr(-,root,root,-) -%{tde_bindir}/ksame -%{tde_datadir}/icons/hicolor/*/apps/ksame.png -%{tde_datadir}/apps/ksame/ -%{tde_tdeappdir}/ksame.desktop -%{tde_tdedocdir}/HTML/en/ksame/ - -########## - -%package -n trinity-kshisen -Summary: Shisen-Sho for Trinity -Group: Amusements/Games/Board/Other - -%description -n trinity-kshisen -KShisen-Sho is a single-player-game similar to Mahjongg and uses the -same set of tiles as Mahjongg. - -The object of the game is to remove all tiles from the field. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kshisen -%defattr(-,root,root,-) -%{tde_datadir}/apps/kshisen/ -%{tde_datadir}/config.kcfg/kshisen.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kshisen.png -%{tde_tdeappdir}/kshisen.desktop -%{tde_bindir}/kshisen -%{tde_tdedocdir}/HTML/en/kshisen/ - -########## - -%package -n trinity-ksirtet -Summary: Tetris and Puyo-Puyo games for Trinity -Group: Amusements/Games/Board/Other - -%description -n trinity-ksirtet -This program is a clone of the well known game Tetris. You must fit -the falling pieces to form full lines. You can rotate and translate -the falling piece. The game ends when no more piece can fall ie when -your incomplete lines reach the top of the board. - -Every time you have destroyed 10 lines, you gain a level and the -pieces fall quicker (exactly the piece falls from a line each -1/(1+level) second). - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-ksirtet -%defattr(-,root,root,-) -%{tde_tdeappdir}/ksirtet.desktop -%{tde_datadir}/icons/hicolor/*/apps/ksirtet.png -%{tde_datadir}/apps/ksirtet/ -%{tde_bindir}/ksirtet -%{tde_datadir}/config.kcfg/ksirtet.kcfg -%{tde_tdedocdir}/HTML/en/ksirtet/ - -########## - -%package -n trinity-ksmiletris -Summary: Tetris like game for Trinity -Group: Amusements/Games/Action/Arcade - -%description -n trinity-ksmiletris -This is a game with falling blocks composed of different types of -smilies. The object of the game is to "crack a smile" by guiding -blocks so there are two or more of the same symbol vertically. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-ksmiletris -%defattr(-,root,root,-) -%{tde_datadir}/apps/ksmiletris/ -%{tde_datadir}/icons/hicolor/*/apps/ksmiletris.png -%{tde_tdeappdir}/ksmiletris.desktop -%{tde_bindir}/ksmiletris -%{tde_tdedocdir}/HTML/en/ksmiletris/ - -########## - -%package -n trinity-ksnake -Summary: Snake Race for Trinity -Group: Amusements/Games/Action/Arcade - -%description -n trinity-ksnake -Snake Race is a game of speed and agility. You are a hungry snake and -are trying to eat all the apples in the room before getting out! - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-ksnake -%defattr(-,root,root,-) -%{tde_datadir}/apps/ksnake/ -%{tde_datadir}/config.kcfg/ksnake.kcfg -%{tde_datadir}/icons/hicolor/*/apps/ksnake.png -%{tde_tdeappdir}/ksnake.desktop -%{tde_bindir}/ksnake -%{tde_tdedocdir}/HTML/en/ksnake/ - -########## - -%package -n trinity-ksokoban -Summary: Sokoban game for Trinity -Group: Amusements/Games/Strategy/Other - -%description -n trinity-ksokoban -The first sokoban game was created in 1982 by Hiroyuki Imabayashi at -the Japanese company Thinking Rabbit, Inc. "Sokoban" is japanese for -"warehouse keeper". The idea is that you are a warehouse keeper -trying to push crates to their proper locations in a warehouse. - -The problem is that you cannot pull the crates or step over them. If -you are not careful, some of the crates can get stuck in wrong places -and/or block your way. - -It can be rather difficult just to solve a level. But if you want to -make it even harder, you can try to minimise the number of moves -and/or pushes you use to solve the level. - -To make the game more fun for small kids (below 10 years or so), some -collections with easier levels are also included in KSokoban. These -are marked (easy) in the level collection menu. Of course, these -levels can be fun for adults too, for example if you don't want to -expose yourself to too much mental strain. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-ksokoban -%defattr(-,root,root,-) -%{tde_tdeappdir}/ksokoban.desktop -%{tde_datadir}/icons/hicolor/*/apps/ksokoban.png -%{tde_bindir}/ksokoban -%{tde_tdedocdir}/HTML/en/ksokoban/ - -########## - -%package -n trinity-kspaceduel -Summary: Arcade two-player space game for Trinity -Group: Amusements/Games/Action/Arcade - -%description -n trinity-kspaceduel -KSpaceduel is an space arcade game for two players. - -Each player controls a ship that flies around the sun and tries to -shoot at the other ship. You can play KSpaceduel with another person, -against the computer, or you can have the computer control both ships -and play each other. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kspaceduel -%defattr(-,root,root,-) -%{tde_datadir}/apps/kspaceduel/ -%{tde_datadir}/icons/hicolor/*/apps/kspaceduel.png -%{tde_tdeappdir}/kspaceduel.desktop -%{tde_bindir}/kspaceduel -%{tde_datadir}/config.kcfg/kspaceduel.kcfg -%{tde_tdedocdir}/HTML/en/kspaceduel/ - -########## - -%package -n trinity-ktron -Summary: Tron clone for the K Desktop Environment -Group: Amusements/Games/Action/Arcade - -%description -n trinity-ktron -The object of the game is to avoid running into walls, your own tail, -and that of your opponent. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-ktron -%defattr(-,root,root,-) -%{tde_bindir}/ktron -%{tde_datadir}/icons/hicolor/*/apps/ktron.png -%{tde_tdeappdir}/ktron.desktop -%{tde_datadir}/apps/ktron/ -%{tde_datadir}/config.kcfg/ktron.kcfg -%{tde_tdedocdir}/HTML/en/ktron/ - -########## - -%package -n trinity-ktuberling -Summary: Potato Guy for Trinity -Group: Amusements/Games/Action/Arcade - -%description -n trinity-ktuberling -KTuberling is a game intended for small children. Of course, it may -be suitable for adults who have remained young at heart. - -It is a potato editor. That means that you can drag and drop eyes, -mouths, moustache, and other parts of face and goodies onto a -potato-like guy. Similarly, you have a penguin on which you can drop -other stuff. - -There is no winner for the game. The only purpose is to make the -funniest faces you can. - -There is a museum (like a "Madame Tusseau" gallery) where you can -find many funny examples of decorated potatoes. Of course, you can -send your own creations to the programmer, Eric Bischoff, who will -include them in the museum if he gets some spare time. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-ktuberling -%defattr(-,root,root,-) -%{tde_bindir}/ktuberling -%{tde_datadir}/icons/hicolor/*/apps/ktuberling.png -%{tde_tdeappdir}/ktuberling.desktop -%{tde_datadir}/apps/ktuberling/ -%{tde_datadir}/mimelnk/application/x-tuberling.desktop -%{tde_tdedocdir}/HTML/en/ktuberling/ - -########## - -%package -n trinity-twin4 -Summary: Connect Four clone for Trinity -Group: Amusements/Games/Board/Other - -%description -n trinity-twin4 -Four wins is a game for two players. Each player is represented by a -colour (yellow and red). The goal of the game is to get four -connected pieces of your colour into a row, column or any -diagonal. This is done by placing one of your pieces into any of the -seven columns. A piece will begin to fill a column from the bottom, -i.e. it will fall down until it reaches the ground level or another -stone. After a move is done it is the turn of the other player. This -is repeated until the game is over, i.e. one of the players has four -pieces in a row, column or diagonal or no more moves are possible -because the board is filled. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-twin4 -%defattr(-,root,root,-) -%{tde_bindir}/twin4 -%{tde_bindir}/twin4proc -%{tde_datadir}/apps/twin4/ -%{tde_datadir}/config.kcfg/twin4.kcfg -%{tde_datadir}/icons/hicolor/*/apps/twin4.png -%{tde_tdeappdir}/twin4.desktop -%{tde_tdedocdir}/HTML/en/twin4/ - -########## - -%package -n trinity-lskat -Summary: Lieutnant Skat card game for Trinity -Group: Amusements/Games/Board/Card - -%description -n trinity-lskat -Lieutnant Skat (from German Offiziersskat) is a card game for two -players. It is roughly played according to the rules of Skat but with -only two players and simplified rules. - -Every player has a set of cards in front of him/her, half of them -covered and half of them open. Both players try to win more than 60 -of the 120 possible points. After 16 moves all cards are played and -the game ends. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-lskat -%defattr(-,root,root,-) -%{tde_bindir}/lskat -%{tde_bindir}/lskatproc -%{tde_datadir}/apps/lskat/ -%{tde_datadir}/icons/hicolor/*/apps/lskat.png -%{tde_tdeappdir}/lskat.desktop -%{tde_tdedocdir}/HTML/en/lskat/ - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{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} -DNDEBUG" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -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" \ - -DWITH_ALL_OPTIONS="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 kasteroids Game ArcadeGame -%suse_update_desktop_file -r KGoldrunner Game ArcadeGame -%suse_update_desktop_file -r ksnake Game ArcadeGame -%suse_update_desktop_file -r kspaceduel Game ArcadeGame -%suse_update_desktop_file -r ktron Game ArcadeGame -%suse_update_desktop_file -r kfouleggs Game BlocksGame -%suse_update_desktop_file -r ksirtet Game BlocksGame -%suse_update_desktop_file -r klickety Game BoardGame -%suse_update_desktop_file -r ksmiletris Game BlocksGame -%suse_update_desktop_file -r ktuberling Game KidsGame -%suse_update_desktop_file -r atlantik Game BoardGame -%suse_update_desktop_file -r kbackgammon Game BoardGame -%suse_update_desktop_file -r kbattleship Game BoardGame -%suse_update_desktop_file -r kblackbox Game BoardGame -%suse_update_desktop_file -r kenolaba Game BoardGame -%suse_update_desktop_file -r kmahjongg Game BoardGame -%suse_update_desktop_file -r kreversi Game BoardGame -%suse_update_desktop_file -r kshisen Game BoardGame -%suse_update_desktop_file -r twin4 Game BoardGame -%suse_update_desktop_file -r kpat Game CardGame -%suse_update_desktop_file -r kpoker Game CardGame -%suse_update_desktop_file -r lskat Game CardGame -%suse_update_desktop_file -r katomic Game LogicGame -%suse_update_desktop_file -r kjumpingcube Game LogicGame -%suse_update_desktop_file -r klines Game LogicGame -%suse_update_desktop_file -r -G "Tactical Game" knetwalk Game LogicGame -%suse_update_desktop_file -r kmines Game LogicGame -%suse_update_desktop_file -r konquest Game LogicGame -%suse_update_desktop_file -r ksame Game LogicGame -%suse_update_desktop_file -r ksokoban Game LogicGame -%suse_update_desktop_file -r kbounce Game LogicGame -%suse_update_desktop_file -r kolf Game SportsGame -%endif - -# Links duplicate files -%fdupes "%{?buildroot}" - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/main/tdegames/tdegames.spec b/redhat/main/tdegames/tdegames.spec new file mode 100644 index 000000000..f1d8a06ee --- /dev/null +++ b/redhat/main/tdegames/tdegames.spec @@ -0,0 +1,1195 @@ +# +# spec file for package tdegames (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/ +# + +# BUILD WARNING: +# Remove qt-devel and qt3-devel and any kde*-devel on your system ! +# Having KDE libraries may cause FTBFS here ! + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.0.7 +%endif +%define tde_pkg tdegames +%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_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: Trinity Desktop Environment - Games +Version: %{tde_version} +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Group: System/GUI/Other +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Project +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz +Source1: %{name}-rpmlintrc + +BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10 +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: trinity-tdemultimedia-devel >= %{tde_version} + +BuildRequires: cmake >= 2.8 +BuildRequires: gcc-c++ +BuildRequires: desktop-file-utils +BuildRequires: fdupes +BuildRequires: libtool + +# IDN support +BuildRequires: libidn-devel + +# GAMIN support +# Not on openSUSE. +%if 0%{?rhel} || 0%{?fedora} || 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 + +# GLIB2 support +BuildRequires: glib2-devel + +Obsoletes: trinity-kdegames < %{version}-%{release} +Provides: trinity-kdegames = %{version}-%{release} +Obsoletes: trinity-kdegames-libs < %{version}-%{release} +Provides: trinity-kdegames-libs = %{version}-%{release} + +Requires: trinity-libtdegames1 = %{version}-%{release} +Requires: trinity-tdegames-card-data = %{version}-%{release} +Requires: trinity-atlantik = %{version}-%{release} +Requires: trinity-kasteroids = %{version}-%{release} +Requires: trinity-katomic = %{version}-%{release} +Requires: trinity-kbackgammon = %{version}-%{release} +Requires: trinity-kbattleship = %{version}-%{release} +Requires: trinity-kblackbox = %{version}-%{release} +Requires: trinity-kbounce = %{version}-%{release} +Requires: trinity-kenolaba = %{version}-%{release} +Requires: trinity-kfouleggs = %{version}-%{release} +Requires: trinity-kgoldrunner = %{version}-%{release} +Requires: trinity-kjumpingcube = %{version}-%{release} +Requires: trinity-klickety = %{version}-%{release} +Requires: trinity-klines = %{version}-%{release} +Requires: trinity-kmahjongg = %{version}-%{release} +Requires: trinity-kmines = %{version}-%{release} +Requires: trinity-knetwalk = %{version}-%{release} +Requires: trinity-kolf = %{version}-%{release} +Requires: trinity-konquest = %{version}-%{release} +Requires: trinity-kpat = %{version}-%{release} +Requires: trinity-kpoker = %{version}-%{release} +Requires: trinity-kreversi = %{version}-%{release} +Requires: trinity-ksame = %{version}-%{release} +Requires: trinity-kshisen = %{version}-%{release} +Requires: trinity-ksirtet = %{version}-%{release} +Requires: trinity-ksmiletris = %{version}-%{release} +Requires: trinity-ksnake = %{version}-%{release} +Requires: trinity-ksokoban = %{version}-%{release} +Requires: trinity-kspaceduel = %{version}-%{release} +Requires: trinity-ktron = %{version}-%{release} +Requires: trinity-ktuberling = %{version}-%{release} +Requires: trinity-twin4 = %{version}-%{release} +Requires: trinity-lskat = %{version}-%{release} + + +%description +Games and gaming libraries for the Trinity Desktop Environment. +Included with this package are: kenolaba, kasteroids, kblackbox, kmahjongg, +kmines, konquest, kpat, kpoker, kreversi, ksame, kshisen, ksmiletris, +ksnake, ksirtet, katomic, kjumpingcube, ktuberling. + +%files + +########## + +%package devel +Summary: Development files for %{name} +Group: Amusements/Games/Other + +Requires: %{name} = %{version}-%{release} +Requires: trinity-tdelibs-devel >= %{tde_version} +Requires: trinity-libtdegames-devel = %{version}-%{release} +Requires: trinity-atlantik-devel = %{version}-%{release} +Requires: trinity-kolf-devel = %{version}-%{release} + +Obsoletes: trinity-kdegames-devel < %{version}-%{release} +Provides: trinity-kdegames-devel = %{version}-%{release} + +%description devel +Install %{name}-devel if you wish to develop or compile games for the +TDE desktop. + +%files devel +%defattr(-,root,root,-) +%{tde_datadir}/cmake/libtdegames.cmake + +########## + +%package -n trinity-libtdegames1 +Summary: Trinity games library and common files +Group: Amusements/Games/Other + +%description -n trinity-libtdegames1 +This library provides a common infrastructure for several of the +games in the TDE distribution. Features include standardized menu +items, high score handling, card display, and network connections +including chat capabilities. + +This package is part of TDE, and a component of the TDE games module. + +%files -n trinity-libtdegames1 +%defattr(-,root,root,-) +%{tde_libdir}/libtdegames.so.* +%dir %{tde_datadir}/apps/tdegames +%dir %{tde_datadir}/apps/tdegames/pics +%{tde_datadir}/apps/tdegames/pics/star.png +%{tde_datadir}/icons/crystalsvg/*/actions/roll.png +%{tde_datadir}/icons/crystalsvg/*/actions/highscore.png + +########## + +%package -n trinity-libtdegames-devel +Summary: Trinity games library headers +Group: Development/Libraries/Other +Requires: trinity-libtdegames1 = %{version}-%{release} + +%description -n trinity-libtdegames-devel +This package is necessary if you want to develop your own games using +the TDE games library. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-libtdegames-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/*.h +%{tde_tdeincludedir}/kgame +%{tde_libdir}/libtdegames.so +%{tde_libdir}/libtdegames.la + +########## + +%package card-data +Summary: Card decks for Trinity games +Group: Amusements/Games/Other + +%description card-data +Several different collections of card images for use by TDE games. + +This package is part of Trinity, and a component of the TDE games module. + +%files card-data +%defattr(-,root,root,-) +%{tde_datadir}/apps/carddecks/ + +########## + +%package -n trinity-atlantik +Summary: TDE client for Monopoly-like network games +Group: Amusements/Games/Board/Other + +%description -n trinity-atlantik +This is a TDE client for playing Monopoly-like boardgames on the +monopd network. It can play any board supported by the network +server, including the classic Monopoly game, as well as the Atlantik +game in which the property includes several major cities in North +America and Europe. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-atlantik +%defattr(-,root,root,-) +%{tde_bindir}/atlantik +%{tde_libdir}/libatlantic.so.* +%{tde_libdir}/libatlantikclient.so.* +%{tde_libdir}/libatlantikui.so.* +%{tde_tdelibdir}/tdeio_atlantik.la +%{tde_tdelibdir}/tdeio_atlantik.so +%{tde_datadir}/services/atlantik.protocol +%{tde_tdeappdir}/atlantik.desktop +%{tde_datadir}/icons/hicolor/*/apps/atlantik.png +%{tde_datadir}/apps/atlantik/ +%{tde_tdedocdir}/HTML/en/atlantik/ + +########## + +%package -n trinity-atlantik-devel +Summary: Development files for Atlantik +Group: Development/Libraries/Other +Requires: trinity-atlantik = %{version}-%{release} + +%description -n trinity-atlantik-devel +This package contains header files for compiling programs against the +libraries which come with Atlantik. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-atlantik-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/atlantik +%{tde_tdeincludedir}/atlantic +%{tde_libdir}/libatlantic.so +%{tde_libdir}/libatlantic.la +%{tde_libdir}/libatlantikclient.so +%{tde_libdir}/libatlantikclient.la +%{tde_libdir}/libatlantikui.so +%{tde_libdir}/libatlantikui.la + +########## + +%package -n trinity-kasteroids +Summary: Asteroids for Trinity +Group: Amusements/Games/Action/Arcade + +%description -n trinity-kasteroids +You know this game. It is based on Warwick Allison's QwSpriteField +widget. + +The objective of kasteroids is to destroy all the asteroids on the +screen to advance to the next level. Your ship is destroyed if it +makes contact with an asteroid. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kasteroids +%defattr(-,root,root,-) +%{tde_bindir}/kasteroids +%{tde_datadir}/icons/hicolor/*/apps/kasteroids.png +%{tde_tdeappdir}/kasteroids.desktop +%{tde_datadir}/apps/kasteroids/ +%{tde_datadir}/config.kcfg/kasteroids.kcfg +%{tde_tdedocdir}/HTML/en/kasteroids/ + +########## + +%package -n trinity-katomic +Summary: Atomic Entertainment game for Trinity +Group: Amusements/Games/Strategy/Other + +%description -n trinity-katomic +This is a puzzle game, in which the object is to assemble a molecule +from its atoms on a Sokoban-like board. On each move, an atom goes +as far as it can in a specified direction before being stopped by a +wall or another atom. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-katomic +%defattr(-,root,root,-) +%{tde_datadir}/apps/katomic/ +%{tde_datadir}/icons/hicolor/*/apps/katomic.png +%{tde_tdeappdir}/katomic.desktop +%{tde_bindir}/katomic +%{tde_tdedocdir}/HTML/en/katomic/ + +########## + +%package -n trinity-kbackgammon +Summary: A Backgammon game for Trinity +Group: Amusements/Games/Board/Other + +%description -n trinity-kbackgammon +KBackgammon is a backgammon program for Trinity. It is based on the +code, ideas and concepts of KFibs (which is a FIBS client for +TDE1). For a short time, KBackgammon was called bacKgammon (if you +know somebody who is still using bacKgammon, please force them to +upgrade :-)). + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kbackgammon +%defattr(-,root,root,-) +%{tde_bindir}/kbackgammon +%{tde_tdeappdir}/kbackgammon.desktop +%{tde_datadir}/apps/kbackgammon/ +%{tde_datadir}/icons/hicolor/*/apps/kbackgammon.png +%{tde_datadir}/icons/hicolor/*/apps/kbackgammon_engine.png +%{tde_tdedocdir}/HTML/en/kbackgammon/ + +########## + +%package -n trinity-kbattleship +Summary: Battleship game for Trinity +Group: Amusements/Games/Board/Other + +%description -n trinity-kbattleship +This is an implementation of the Battleship game. Each player tries +to be the first to sink all the opponent's ships by firing "blindly" +at them. The game has options to play over a network connection or +against the computer. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kbattleship +%defattr(-,root,root,-) +%{tde_datadir}/apps/kbattleship/ +%{tde_datadir}/apps/zeroconf/_kbattleship._tcp +%{tde_datadir}/icons/hicolor/*/apps/kbattleship.png +%{tde_tdeappdir}/kbattleship.desktop +%{tde_bindir}/kbattleship +%{tde_tdedocdir}/HTML/en/kbattleship/ + +########## + +%package -n trinity-kblackbox +Summary: A simple logical game for the Trinity project +Group: Amusements/Games/Board/Other + +%description -n trinity-kblackbox +KBlackBox is a game of hide and seek played on an grid of boxes. Your +opponent (Random number generator, in this case) has hidden several +balls within this box. By shooting rays into the box and observing +where they emerge it is possible to deduce the positions of the +hidden balls. The fewer rays you use to find the balls, the lower +your score. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kblackbox +%defattr(-,root,root,-) +%{tde_datadir}/apps/kblackbox/ +%{tde_datadir}/icons/hicolor/*/apps/kblackbox.png +%{tde_tdeappdir}/kblackbox.desktop +%{tde_bindir}/kblackbox +%{tde_tdedocdir}/HTML/en/kblackbox/ + +########## + +%package -n trinity-kbounce +Summary: Jezzball clone for the K Desktop Environment +Group: Amusements/Games/Action/Arcade + +%description -n trinity-kbounce +This is a clone of the popular Jezzball game originally created by +Microsoft. Jezzball is one of the rare and simple games requiring +skill, timing, and patience in order to be successful. A ball begins +to bounce off of an area enclosed by four borders (like a +square). You must move your pointer to certain areas within the +square. Upon clicking, a new border is constructed at a relatively +quick pace. You can change the direction of the borders by 90 degrees +as well. Ultimately, you must force the ball to bounce around in a +smaller, and smaller area as time goes by without the ball ever +touching the borders as they are being constructed. If a ball touches +a certain part of the border as it is being built, the game is over. +After 75% of the original space has been blocked off from the moving +ball, you advance one level, and one more ball is added to the mix in +the following level. + +This game was previously known as kjezz. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kbounce +%defattr(-,root,root,-) +%{tde_datadir}/apps/kbounce/ +%{tde_tdeappdir}/kbounce.desktop +%{tde_datadir}/icons/hicolor/*/apps/kbounce.png +%{tde_bindir}/kbounce +%{tde_tdedocdir}/HTML/en/kbounce/ + +########## + +%package -n trinity-kenolaba +Summary: Enolaba board game for Trinity +Group: Amusements/Games/Board/Other + +%description -n trinity-kenolaba +kenolaba is a simple board strategy game that is played by two +players. There are red and yellow pieces for each player. Beginning +from a start position where each player has 14 pieces, moves are +drawn until one player has pushed 6 pieces of his opponent out of the +board. + +This game was previously known as kabalone, and was inspired by the +board game Abalone by Abalone SA, France. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kenolaba +%defattr(-,root,root,-) +%{tde_datadir}/apps/kenolaba/ +%{tde_datadir}/icons/hicolor/*/apps/kenolaba.png +%{tde_tdeappdir}/kenolaba.desktop +%{tde_bindir}/kenolaba +%{tde_tdedocdir}/HTML/en/kenolaba/ + +########## + +%package -n trinity-kfouleggs +Summary: A TDE clone of the Japanese PuyoPuyo game +Group: Amusements/Games/Action/Arcade + +%description -n trinity-kfouleggs +KFouleggs is a clone of the Japanese PuyoPuyo game, with advanced +features such as multiplayer games against human or AI, and network +play. If you have played Tetris or one of its many clones, you will +find KFouleggs easy to learn. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kfouleggs +%defattr(-,root,root,-) +%{tde_tdeappdir}/kfouleggs.desktop +%{tde_datadir}/apps/kfouleggs/ +%{tde_datadir}/config.kcfg/kfouleggs.kcfg +%{tde_bindir}/kfouleggs +%{tde_datadir}/icons/hicolor/*/apps/kfouleggs.png +%{tde_tdedocdir}/HTML/en/kfouleggs/ + +########## + +%package -n trinity-kgoldrunner +Summary: A Trinity clone of the Loderunner arcade game +Group: Amusements/Games/Action/Arcade + +%description -n trinity-kgoldrunner +KGoldrunner, a game of action and puzzle solving. Run through the +maze, dodge your enemies, collect all the gold and climb up to the +next level. + +You must guide the hero with the mouse or keyboard and collect all +the gold nuggets, then you can climb up into the next level. Your +enemies are also after the gold and they will kill you if they catch +you! + +The problem is you have no weapon to kill them. All you can do is +run away, dig holes in the floor to trap them or lure them into some +area where they cannot hurt you. After a short time a trapped enemy +climbs out of his hole, but if it closes before that, he will die and +reappear somewhere else. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kgoldrunner +%defattr(-,root,root,-) +%{tde_datadir}/apps/kgoldrunner/ +%{tde_datadir}/icons/hicolor/*/apps/kgoldrunner.png +%{tde_tdeappdir}/KGoldrunner.desktop +%{tde_bindir}/kgoldrunner +%{tde_tdedocdir}/HTML/en/kgoldrunner/ + +########## + +%package -n trinity-kjumpingcube +Summary: Tactical one or two player game +Group: Amusements/Games/Strategy/Other + +%description -n trinity-kjumpingcube +KJumpingCube is a simple tactical game. You can play it against the +computer or against a friend. The playing field consists of squares +that contains points. By clicking on the squares you can increase +the points and if the points reach a maximum the points will jump to +the squares neighbours and take them over. Winner is the one, who +owns all squares. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kjumpingcube +%defattr(-,root,root,-) +%{tde_bindir}/kjumpingcube +%{tde_datadir}/icons/hicolor/*/apps/kjumpingcube.png +%{tde_datadir}/apps/kjumpingcube/ +%{tde_tdeappdir}/kjumpingcube.desktop +%{tde_datadir}/config.kcfg/kjumpingcube.kcfg +%{tde_tdedocdir}/HTML/en/kjumpingcube/ + +########## + +%package -n trinity-klickety +Summary: A Clickomania-like game for Trinity +Group: Amusements/Games/Board/Other + +%description -n trinity-klickety +Klickety is an adaptation of the (perhaps) well-known Clickomania +game; it is very similar to the "same" game. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-klickety +%defattr(-,root,root,-) +%{tde_bindir}/klickety +%{tde_tdeappdir}/klickety.desktop +%{tde_datadir}/icons/hicolor/*/apps/klickety.png +%{tde_datadir}/icons/crystalsvg/*/actions/endturn.png +%{tde_datadir}/apps/klickety/ +%{tde_tdedocdir}/HTML/en/klickety/ + +########## + +%package -n trinity-klines +Summary: Color lines for Trinity +Group: Amusements/Games/Strategy/Other + +%description -n trinity-klines +KLines is a simple game. It is played by one player, so there is only +one winner :-). You play for fun and against the high score. It was +inspired by a well known game - "Color lines", written for DOS by +Olga Demina, Igor Demina, Igor Ivkin and Gennady Denisov back in +1992. + +The main rules of the game are as simple as possible: you move (using +the mouse) marbles from cell to cell and build lines (horizontal, +vertical or diagonal). When a line contains 5 or more marbles, they +are removed and your score grows. After each turn the computer drops +three more marbles. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-klines +%defattr(-,root,root,-) +%{tde_datadir}/apps/klines/ +%{tde_tdeappdir}/klines.desktop +%{tde_bindir}/klines +%{tde_datadir}/config.kcfg/klines.kcfg +%{tde_datadir}/icons/hicolor/*/apps/klines.png +%{tde_tdedocdir}/HTML/en/klines/ + +########## + +%package -n trinity-kmahjongg +Summary: The classic mahjongg game for Trinity project +Group: Amusements/Games/Board/Other + +%description -n trinity-kmahjongg +Your mission in this game is to remove all tiles from the game board. A +matching pair of tiles can be removed, if they are 'free', which means that +no other tiles block them on the left or right side. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kmahjongg +%defattr(-,root,root,-) +%{tde_datadir}/apps/kmahjongg/ +%{tde_datadir}/icons/hicolor/*/apps/kmahjongg.png +%{tde_tdeappdir}/kmahjongg.desktop +%{tde_bindir}/kmahjongg +%{tde_datadir}/config.kcfg/kmahjongg.kcfg +%{tde_tdedocdir}/HTML/en/kmahjongg/ + +########## + +%package -n trinity-kmines +Summary: Minesweeper for Trinity +Group: Amusements/Games/Board/Other + +%description -n trinity-kmines +KMines is the classic Minesweeper game. You must uncover all the +empty cases without blowing on a mine. + +When you uncover a case, a number appears : it indicates how many +mines surround this case. If there is no number the neighbour cases +are automatically uncovered. In your process of uncovering secure +cases, it is very useful to put a flag on the cases which contain a +mine. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kmines +%defattr(-,root,root,-) +%{tde_datadir}/icons/hicolor/*/apps/kmines.png +%{tde_tdeappdir}/kmines.desktop +%{tde_datadir}/apps/kmines/ +%{tde_bindir}/kmines +%{tde_tdedocdir}/HTML/en/kmines/ + +########## + +%package -n trinity-knetwalk +Summary: A game for system administrators +Group: Amusements/Games/Board/Other + +%description -n trinity-knetwalk +This game presents the player with a rectangular field consisting of +a server, several clients, and pieces of wire. The object is to +rotate these elements until every client is connected to the server, +and no wires are left unconnected. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-knetwalk +%defattr(-,root,root,-) +%{tde_bindir}/knetwalk +%{tde_datadir}/apps/knetwalk +%{tde_datadir}/icons/hicolor/*/apps/knetwalk.png +%{tde_tdeappdir}/knetwalk.desktop +%{tde_tdedocdir}/HTML/en/knetwalk/ + +########## + +%package -n trinity-kolf +Summary: Minigolf game for TDE +Group: Amusements/Games/Action/Arcade + +%description -n trinity-kolf +This is a minigolf game for TDE that allows you to go through different +golf courses and waste an exorbitant amount of time. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kolf +%defattr(-,root,root,-) +%{tde_confdir}/magic/kolf.magic +%{tde_datadir}/apps/kolf/ +%{tde_bindir}/kolf +%{tde_tdeappdir}/kolf.desktop +%{tde_datadir}/icons/hicolor/*/apps/kolf.png +%{tde_datadir}/mimelnk/application/x-kolf.desktop +%{tde_datadir}/mimelnk/application/x-kourse.desktop +%{tde_libdir}/libtdeinit_kolf.so +%{tde_libdir}/libtdeinit_kolf.la +%{tde_tdelibdir}/kolf.la +%{tde_tdelibdir}/kolf.so +%{tde_libdir}/libkolf.so.1 +%{tde_libdir}/libkolf.so.1.2.0 +%{tde_tdedocdir}/HTML/en/kolf/ +%{tde_confdir}/magic/kolf.magic.mgc + +########## + +%package -n trinity-kolf-devel +Summary: Development files for Kolf +Group: Development/Libraries/Other +Requires: trinity-kolf = %{version}-%{release} + +%description -n trinity-kolf-devel +This package contains headers and development libraries for compiling +Kolf plugins. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kolf-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/kolf +%{tde_libdir}/libkolf.la +%{tde_libdir}/libkolf.so + +########## + +%package -n trinity-konquest +Summary: TDE based GNU-Lactic Konquest game +Group: Amusements/Games/Strategy/Other + +%description -n trinity-konquest +This the TDE version of Gnu-Lactic Konquest, a multi-player strategy +game. The goal of the game is to expand your interstellar empire +across the galaxy and, of course, crush your rivals in the process. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-konquest +%defattr(-,root,root,-) +%{tde_datadir}/apps/konquest/ +%{tde_datadir}/icons/hicolor/*/apps/konquest.png +%{tde_tdeappdir}/konquest.desktop +%{tde_bindir}/konquest +%{tde_tdedocdir}/HTML/en/konquest/ + +########## + +%package -n trinity-kpat +Summary: Trinity solitaire patience game +Group: Amusements/Games/Board/Card + +%description -n trinity-kpat +KPatience is a collection of 14 card games. All the games are single +player games. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kpat +%defattr(-,root,root,-) +%{tde_datadir}/icons/hicolor/*/apps/kpat.png +%{tde_datadir}/apps/kpat/ +%{tde_tdeappdir}/kpat.desktop +%{tde_bindir}/kpat +%{tde_tdedocdir}/HTML/en/kpat/ + +########## + +%package -n trinity-kpoker +Summary: Trinity based Poker clone +Group: Amusements/Games/Board/Card + +%description -n trinity-kpoker +KPoker is a TDE compliant clone of those highly addictive pocket +video poker games which are sometimes called "Videopoker" as well. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kpoker +%defattr(-,root,root,-) +%{tde_datadir}/apps/kpoker/ +%{tde_datadir}/icons/hicolor/*/apps/kpoker.png +%{tde_tdeappdir}/kpoker.desktop +%{tde_bindir}/kpoker +%{tde_tdedocdir}/HTML/en/kpoker/ + +########## + +%package -n trinity-kreversi +Summary: Reversi for Trinity +Group: Amusements/Games/Board/Other + +%description -n trinity-kreversi +Reversi is a simple strategy game that is played by two +players. There is only one type of piece - one side of it is black, +the other white. If a player captures a piece on the board, that +piece is turned and belongs to that player. The winner is the person +that has more pieces of his own color on the board and if there are +no more moves possible. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kreversi +%defattr(-,root,root,-) +%{tde_bindir}/kreversi +%{tde_tdeappdir}/kreversi.desktop +%{tde_datadir}/apps/kreversi/ +%{tde_datadir}/config.kcfg/kreversi.kcfg +%{tde_datadir}/icons/crystalsvg/*/actions/lastmoves.png +%{tde_datadir}/icons/crystalsvg/*/actions/legalmoves.png +%{tde_datadir}/icons/crystalsvg/scalable/actions/lastmoves.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/legalmoves.svgz +%{tde_datadir}/icons/hicolor/*/apps/kreversi.png +%{tde_tdedocdir}/HTML/en/kreversi/ + +########## + +%package -n trinity-ksame +Summary: SameGame for Trinity +Group: Amusements/Games/Strategy/Other + +%description -n trinity-ksame +KSame is a simple game. It's played by one player, so there is only +one winner :-) You play for fun and against the high score. It has +been inspired by SameGame, that is only famous on the Macintosh +platform. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-ksame +%defattr(-,root,root,-) +%{tde_bindir}/ksame +%{tde_datadir}/icons/hicolor/*/apps/ksame.png +%{tde_datadir}/apps/ksame/ +%{tde_tdeappdir}/ksame.desktop +%{tde_tdedocdir}/HTML/en/ksame/ + +########## + +%package -n trinity-kshisen +Summary: Shisen-Sho for Trinity +Group: Amusements/Games/Board/Other + +%description -n trinity-kshisen +KShisen-Sho is a single-player-game similar to Mahjongg and uses the +same set of tiles as Mahjongg. + +The object of the game is to remove all tiles from the field. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kshisen +%defattr(-,root,root,-) +%{tde_datadir}/apps/kshisen/ +%{tde_datadir}/config.kcfg/kshisen.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kshisen.png +%{tde_tdeappdir}/kshisen.desktop +%{tde_bindir}/kshisen +%{tde_tdedocdir}/HTML/en/kshisen/ + +########## + +%package -n trinity-ksirtet +Summary: Tetris and Puyo-Puyo games for Trinity +Group: Amusements/Games/Board/Other + +%description -n trinity-ksirtet +This program is a clone of the well known game Tetris. You must fit +the falling pieces to form full lines. You can rotate and translate +the falling piece. The game ends when no more piece can fall ie when +your incomplete lines reach the top of the board. + +Every time you have destroyed 10 lines, you gain a level and the +pieces fall quicker (exactly the piece falls from a line each +1/(1+level) second). + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-ksirtet +%defattr(-,root,root,-) +%{tde_tdeappdir}/ksirtet.desktop +%{tde_datadir}/icons/hicolor/*/apps/ksirtet.png +%{tde_datadir}/apps/ksirtet/ +%{tde_bindir}/ksirtet +%{tde_datadir}/config.kcfg/ksirtet.kcfg +%{tde_tdedocdir}/HTML/en/ksirtet/ + +########## + +%package -n trinity-ksmiletris +Summary: Tetris like game for Trinity +Group: Amusements/Games/Action/Arcade + +%description -n trinity-ksmiletris +This is a game with falling blocks composed of different types of +smilies. The object of the game is to "crack a smile" by guiding +blocks so there are two or more of the same symbol vertically. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-ksmiletris +%defattr(-,root,root,-) +%{tde_datadir}/apps/ksmiletris/ +%{tde_datadir}/icons/hicolor/*/apps/ksmiletris.png +%{tde_tdeappdir}/ksmiletris.desktop +%{tde_bindir}/ksmiletris +%{tde_tdedocdir}/HTML/en/ksmiletris/ + +########## + +%package -n trinity-ksnake +Summary: Snake Race for Trinity +Group: Amusements/Games/Action/Arcade + +%description -n trinity-ksnake +Snake Race is a game of speed and agility. You are a hungry snake and +are trying to eat all the apples in the room before getting out! + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-ksnake +%defattr(-,root,root,-) +%{tde_datadir}/apps/ksnake/ +%{tde_datadir}/config.kcfg/ksnake.kcfg +%{tde_datadir}/icons/hicolor/*/apps/ksnake.png +%{tde_tdeappdir}/ksnake.desktop +%{tde_bindir}/ksnake +%{tde_tdedocdir}/HTML/en/ksnake/ + +########## + +%package -n trinity-ksokoban +Summary: Sokoban game for Trinity +Group: Amusements/Games/Strategy/Other + +%description -n trinity-ksokoban +The first sokoban game was created in 1982 by Hiroyuki Imabayashi at +the Japanese company Thinking Rabbit, Inc. "Sokoban" is japanese for +"warehouse keeper". The idea is that you are a warehouse keeper +trying to push crates to their proper locations in a warehouse. + +The problem is that you cannot pull the crates or step over them. If +you are not careful, some of the crates can get stuck in wrong places +and/or block your way. + +It can be rather difficult just to solve a level. But if you want to +make it even harder, you can try to minimise the number of moves +and/or pushes you use to solve the level. + +To make the game more fun for small kids (below 10 years or so), some +collections with easier levels are also included in KSokoban. These +are marked (easy) in the level collection menu. Of course, these +levels can be fun for adults too, for example if you don't want to +expose yourself to too much mental strain. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-ksokoban +%defattr(-,root,root,-) +%{tde_tdeappdir}/ksokoban.desktop +%{tde_datadir}/icons/hicolor/*/apps/ksokoban.png +%{tde_bindir}/ksokoban +%{tde_tdedocdir}/HTML/en/ksokoban/ + +########## + +%package -n trinity-kspaceduel +Summary: Arcade two-player space game for Trinity +Group: Amusements/Games/Action/Arcade + +%description -n trinity-kspaceduel +KSpaceduel is an space arcade game for two players. + +Each player controls a ship that flies around the sun and tries to +shoot at the other ship. You can play KSpaceduel with another person, +against the computer, or you can have the computer control both ships +and play each other. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kspaceduel +%defattr(-,root,root,-) +%{tde_datadir}/apps/kspaceduel/ +%{tde_datadir}/icons/hicolor/*/apps/kspaceduel.png +%{tde_tdeappdir}/kspaceduel.desktop +%{tde_bindir}/kspaceduel +%{tde_datadir}/config.kcfg/kspaceduel.kcfg +%{tde_tdedocdir}/HTML/en/kspaceduel/ + +########## + +%package -n trinity-ktron +Summary: Tron clone for the K Desktop Environment +Group: Amusements/Games/Action/Arcade + +%description -n trinity-ktron +The object of the game is to avoid running into walls, your own tail, +and that of your opponent. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-ktron +%defattr(-,root,root,-) +%{tde_bindir}/ktron +%{tde_datadir}/icons/hicolor/*/apps/ktron.png +%{tde_tdeappdir}/ktron.desktop +%{tde_datadir}/apps/ktron/ +%{tde_datadir}/config.kcfg/ktron.kcfg +%{tde_tdedocdir}/HTML/en/ktron/ + +########## + +%package -n trinity-ktuberling +Summary: Potato Guy for Trinity +Group: Amusements/Games/Action/Arcade + +%description -n trinity-ktuberling +KTuberling is a game intended for small children. Of course, it may +be suitable for adults who have remained young at heart. + +It is a potato editor. That means that you can drag and drop eyes, +mouths, moustache, and other parts of face and goodies onto a +potato-like guy. Similarly, you have a penguin on which you can drop +other stuff. + +There is no winner for the game. The only purpose is to make the +funniest faces you can. + +There is a museum (like a "Madame Tusseau" gallery) where you can +find many funny examples of decorated potatoes. Of course, you can +send your own creations to the programmer, Eric Bischoff, who will +include them in the museum if he gets some spare time. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-ktuberling +%defattr(-,root,root,-) +%{tde_bindir}/ktuberling +%{tde_datadir}/icons/hicolor/*/apps/ktuberling.png +%{tde_tdeappdir}/ktuberling.desktop +%{tde_datadir}/apps/ktuberling/ +%{tde_datadir}/mimelnk/application/x-tuberling.desktop +%{tde_tdedocdir}/HTML/en/ktuberling/ + +########## + +%package -n trinity-twin4 +Summary: Connect Four clone for Trinity +Group: Amusements/Games/Board/Other + +%description -n trinity-twin4 +Four wins is a game for two players. Each player is represented by a +colour (yellow and red). The goal of the game is to get four +connected pieces of your colour into a row, column or any +diagonal. This is done by placing one of your pieces into any of the +seven columns. A piece will begin to fill a column from the bottom, +i.e. it will fall down until it reaches the ground level or another +stone. After a move is done it is the turn of the other player. This +is repeated until the game is over, i.e. one of the players has four +pieces in a row, column or diagonal or no more moves are possible +because the board is filled. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-twin4 +%defattr(-,root,root,-) +%{tde_bindir}/twin4 +%{tde_bindir}/twin4proc +%{tde_datadir}/apps/twin4/ +%{tde_datadir}/config.kcfg/twin4.kcfg +%{tde_datadir}/icons/hicolor/*/apps/twin4.png +%{tde_tdeappdir}/twin4.desktop +%{tde_tdedocdir}/HTML/en/twin4/ + +########## + +%package -n trinity-lskat +Summary: Lieutnant Skat card game for Trinity +Group: Amusements/Games/Board/Card + +%description -n trinity-lskat +Lieutnant Skat (from German Offiziersskat) is a card game for two +players. It is roughly played according to the rules of Skat but with +only two players and simplified rules. + +Every player has a set of cards in front of him/her, half of them +covered and half of them open. Both players try to win more than 60 +of the 120 possible points. After 16 moves all cards are played and +the game ends. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-lskat +%defattr(-,root,root,-) +%{tde_bindir}/lskat +%{tde_bindir}/lskatproc +%{tde_datadir}/apps/lskat/ +%{tde_datadir}/icons/hicolor/*/apps/lskat.png +%{tde_tdeappdir}/lskat.desktop +%{tde_tdedocdir}/HTML/en/lskat/ + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{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} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -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" \ + -DWITH_ALL_OPTIONS="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 kasteroids Game ArcadeGame +%suse_update_desktop_file -r KGoldrunner Game ArcadeGame +%suse_update_desktop_file -r ksnake Game ArcadeGame +%suse_update_desktop_file -r kspaceduel Game ArcadeGame +%suse_update_desktop_file -r ktron Game ArcadeGame +%suse_update_desktop_file -r kfouleggs Game BlocksGame +%suse_update_desktop_file -r ksirtet Game BlocksGame +%suse_update_desktop_file -r klickety Game BoardGame +%suse_update_desktop_file -r ksmiletris Game BlocksGame +%suse_update_desktop_file -r ktuberling Game KidsGame +%suse_update_desktop_file -r atlantik Game BoardGame +%suse_update_desktop_file -r kbackgammon Game BoardGame +%suse_update_desktop_file -r kbattleship Game BoardGame +%suse_update_desktop_file -r kblackbox Game BoardGame +%suse_update_desktop_file -r kenolaba Game BoardGame +%suse_update_desktop_file -r kmahjongg Game BoardGame +%suse_update_desktop_file -r kreversi Game BoardGame +%suse_update_desktop_file -r kshisen Game BoardGame +%suse_update_desktop_file -r twin4 Game BoardGame +%suse_update_desktop_file -r kpat Game CardGame +%suse_update_desktop_file -r kpoker Game CardGame +%suse_update_desktop_file -r lskat Game CardGame +%suse_update_desktop_file -r katomic Game LogicGame +%suse_update_desktop_file -r kjumpingcube Game LogicGame +%suse_update_desktop_file -r klines Game LogicGame +%suse_update_desktop_file -r -G "Tactical Game" knetwalk Game LogicGame +%suse_update_desktop_file -r kmines Game LogicGame +%suse_update_desktop_file -r konquest Game LogicGame +%suse_update_desktop_file -r ksame Game LogicGame +%suse_update_desktop_file -r ksokoban Game LogicGame +%suse_update_desktop_file -r kbounce Game LogicGame +%suse_update_desktop_file -r kolf Game SportsGame +%endif + +# Links duplicate files +%fdupes "%{?buildroot}" + + +%clean +%__rm -rf %{buildroot} + + +%changelog diff --git a/redhat/main/tdegraphics/tdegraphics-14.0.0.spec b/redhat/main/tdegraphics/tdegraphics-14.0.0.spec deleted file mode 100644 index 5206a11b8..000000000 --- a/redhat/main/tdegraphics/tdegraphics-14.0.0.spec +++ /dev/null @@ -1,1120 +0,0 @@ -# -# spec file for package tdegraphics (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.0.0 -%endif -%define tde_pkg tdegraphics -%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_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: %{tde_version} -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Summary: Trinity Desktop Environment - Graphics Applications -Group: Productivity/Graphics/Viewers -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}-%{version}%{?preversion:~%{preversion}}.tar.gz -Source1: %{name}-rpmlintrc - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} - -BuildRequires: cmake >= 2.8 -BuildRequires: gcc-c++ -BuildRequires: gettext -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 - -# IDN support -BuildRequires: libidn-devel - -# GAMIN support -# Not on openSUSE. -%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} >= 1310 -%define with_gamin 1 -BuildRequires: gamin-devel -%endif - -# LIBUSB support -BuildRequires: libusb-devel - -# MNG support -BuildRequires: libmng-devel - -# TIFF support -BuildRequires: libtiff-devel - -# PCRE support -BuildRequires: pcre-devel - -# ACL support -BuildRequires: libacl-devel - -# GIF support -%if 0%{?suse_version} || 0%{?fedora} >= 28 -BuildRequires: giflib-devel -%else -BuildRequires: libungif-devel -%endif - -# GPHOTO2 support -%if 0%{?suse_version} -BuildRequires: libgphoto2-devel -%else -BuildRequires: gphoto2-devel -%endif - -# PAPER support -%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_paper 1 -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}paper-devel -%endif -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: libpaper-devel -%endif -%endif - -# T1LIB support -%if 0%{?suse_version} && 0%{?suse_version} <= 1230 -%define with_t1lib 1 -BuildRequires: t1lib-devel -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} -%define with_t1lib 1 -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}t1lib-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} -BuildRequires: t1lib-devel -%endif -%endif - -# SANE support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}sane1-devel -%else -BuildRequires: sane-backends-devel -%endif - -# 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 - -# 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 - -# 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 - -# DRM support -%if 0%{?rhel} == 4 -BuildRequires: xorg-x11-devel -%else -BuildRequires: libdrm-devel -%endif - -# OPENEXR support -BuildRequires: OpenEXR-devel - -# POPPLER support -%define with_pdf 1 -%if 0%{?with_pdf} -%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 -%endif - -# LCMS support -%if 0%{?suse_version} || 0%{?rhel} >= 7 -BuildRequires: liblcms-devel -%else -BuildRequires: lcms-devel -%endif - -# FRIBIDI support -BuildRequires: fribidi-devel - -# OPENSSL support -BuildRequires: openssl-devel - -# kamera -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} -%define build_kamera 1 -%endif - -# kmrml (deprecated) -#define build_kmrml 1 -%if 0%{?build_kmrml} -#Requires: gift -%else -Obsoletes: trinity-kmrml -%endif - -Obsoletes: trinity-kdegraphics < %{version}-%{release} -Provides: trinity-kdegraphics = %{version}-%{release} -Obsoletes: trinity-kdegraphics-libs < %{version}-%{release} -Provides: trinity-kdegraphics-libs = %{version}-%{release} -Obsoletes: trinity-kdegraphics-extras < %{version}-%{release} -Provides: trinity-kdegraphics-extras = %{version}-%{release} - - -%{?build_kamera:Requires: trinity-kamera = %{version}-%{release}} -Requires: trinity-kcoloredit = %{version}-%{release} -Requires: %{name}-kfile-plugins = %{version}-%{release} -Requires: trinity-kdvi = %{version}-%{release} -Requires: trinity-kfax = %{version}-%{release} -Requires: trinity-kfaxview = %{version}-%{release} -Requires: trinity-kgamma = %{version}-%{release} -Requires: trinity-kghostview = %{version}-%{release} -Requires: trinity-kiconedit = %{version}-%{release} -%{?build_kmrml:Requires: trinity-kmrml = %{version}-%{release}} -Requires: trinity-kolourpaint = %{version}-%{release} -Requires: trinity-kooka = %{version}-%{release} -Requires: trinity-kpdf = %{version}-%{release} -Requires: trinity-kpovmodeler = %{version}-%{release} -Requires: trinity-kruler = %{version}-%{release} -Requires: trinity-ksnapshot = %{version}-%{release} -Requires: trinity-ksvg = %{version}-%{release} -Requires: trinity-kview = %{version}-%{release} -Requires: trinity-kviewshell = %{version}-%{release} -Requires: trinity-libkscan = %{version}-%{release} -%if 0%{?with_pdf} -Requires: trinity-libpoppler-tqt = %{version}-%{release} -%endif - -%description -Graphics applications for the Trinity Desktop Environment, including -%if 0%{?build_kamera} -* kamera (digital camera support) -%endif -* kcoloredit (palette editor and color chooser) -* kdvi (displays TeX .dvi files) -* kfax -* kfaxview -* kghostview (displays postscript files) -* kiconedit (icon editor) -* kooka (scanner application) -* kpdf (displays PDF files) -* kpovmodler -* kruler (screen ruler and color measurement tool) -* ksnapshot (screen capture utility) -* kview (image viewer for GIF, JPEG, TIFF, etc.) - -%files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog README - -########## - -%if 0%{?build_kamera} - -%package -n trinity-kamera -Summary: Digital camera io_slave for Konqueror -Group: Hardware/Camera - -%description -n trinity-kamera -This is a digital camera io_slave for TDE which uses gphoto2 and libgpio -to allow access to your camera's pictures with the URL camera:/ - -%files -n trinity-kamera -%defattr(-,root,root,-) -%{tde_tdelibdir}/kcm_kamera.la -%{tde_tdelibdir}/kcm_kamera.so -%{tde_tdelibdir}/tdeio_kamera.la -%{tde_tdelibdir}/tdeio_kamera.so -%{tde_tdeappdir}/kamera.desktop -%{tde_datadir}/icons/crystalsvg/*/actions/camera_test.png -%{tde_datadir}/icons/crystalsvg/*/apps/camera-photo.png -%{tde_datadir}/icons/crystalsvg/*/devices/camera-photo.png -%{tde_datadir}/icons/crystalsvg/*/places/camera-photo.png -%{tde_datadir}/services/camera.protocol -%{tde_tdedocdir}/HTML/en/kamera/ -%{tde_tdedocdir}/HTML/en/tdeioslave/camera/ - -%endif - -########## - -%package -n trinity-kcoloredit -Summary: A color palette editor and color picker for TDE -Group: Productivity/Graphics/Viewers - -%description -n trinity-kcoloredit -This package contains two programs, a color palette editor and also a color -picker. - -%files -n trinity-kcoloredit -%defattr(-,root,root,-) -%{tde_bindir}/kcolorchooser -%{tde_bindir}/kcoloredit -%{tde_tdeappdir}/kcolorchooser.desktop -%{tde_tdeappdir}/kcoloredit.desktop -%{tde_datadir}/apps/kcoloredit/ -%{tde_datadir}/icons/hicolor/*/apps/kcolorchooser.png -%{tde_datadir}/icons/hicolor/*/apps/kcoloredit.png -%{tde_tdedocdir}/HTML/en/kcoloredit/ - -########## - -%package kfile-plugins -Summary: TDE metainfo plugins for graphic files -Group: System/GUI/Other - -%description kfile-plugins -This packages provides meta information for graphic files (file sizes, -tags, etc. all from within the file manager). - -%files kfile-plugins -%defattr(-,root,root,-) -%{tde_tdelibdir}/gsthumbnail.la -%{tde_tdelibdir}/gsthumbnail.so -%{tde_tdelibdir}/tdefile_bmp.la -%{tde_tdelibdir}/tdefile_bmp.so -%{tde_tdelibdir}/tdefile_dds.la -%{tde_tdelibdir}/tdefile_dds.so -%{tde_tdelibdir}/tdefile_dvi.la -%{tde_tdelibdir}/tdefile_dvi.so -%{tde_tdelibdir}/tdefile_exr.la -%{tde_tdelibdir}/tdefile_exr.so -%{tde_tdelibdir}/tdefile_gif.la -%{tde_tdelibdir}/tdefile_gif.so -%{tde_tdelibdir}/tdefile_ico.la -%{tde_tdelibdir}/tdefile_ico.so -%{tde_tdelibdir}/tdefile_jpeg.la -%{tde_tdelibdir}/tdefile_jpeg.so -%{tde_tdelibdir}/tdefile_pcx.la -%{tde_tdelibdir}/tdefile_pcx.so -%if 0%{?with_pdf} -%{tde_tdelibdir}/tdefile_pdf.la -%{tde_tdelibdir}/tdefile_pdf.so -%endif -%{tde_tdelibdir}/tdefile_png.la -%{tde_tdelibdir}/tdefile_png.so -%{tde_tdelibdir}/tdefile_pnm.la -%{tde_tdelibdir}/tdefile_pnm.so -%{tde_tdelibdir}/tdefile_ps.la -%{tde_tdelibdir}/tdefile_ps.so -%{tde_tdelibdir}/tdefile_raw.la -%{tde_tdelibdir}/tdefile_raw.so -%{tde_tdelibdir}/tdefile_rgb.la -%{tde_tdelibdir}/tdefile_rgb.so -%{tde_tdelibdir}/tdefile_tga.la -%{tde_tdelibdir}/tdefile_tga.so -%{tde_tdelibdir}/tdefile_tiff.la -%{tde_tdelibdir}/tdefile_tiff.so -%{tde_tdelibdir}/tdefile_xbm.la -%{tde_tdelibdir}/tdefile_xbm.so -%{tde_tdelibdir}/tdefile_xpm.la -%{tde_tdelibdir}/tdefile_xpm.so -%{tde_datadir}/services/gsthumbnail.desktop -%{tde_datadir}/services/tdefile_bmp.desktop -%{tde_datadir}/services/tdefile_dds.desktop -%{tde_datadir}/services/tdefile_dvi.desktop -%{tde_datadir}/services/tdefile_exr.desktop -%{tde_datadir}/services/tdefile_gif.desktop -%{tde_datadir}/services/tdefile_ico.desktop -%{tde_datadir}/services/tdefile_jpeg.desktop -%{tde_datadir}/services/tdefile_pcx.desktop -%if 0%{?with_pdf} -%{tde_datadir}/services/tdefile_pdf.desktop -%endif -%{tde_datadir}/services/tdefile_png.desktop -%{tde_datadir}/services/tdefile_pnm.desktop -%{tde_datadir}/services/tdefile_ps.desktop -%{tde_datadir}/services/tdefile_raw.desktop -%{tde_datadir}/services/tdefile_rgb.desktop -%{tde_datadir}/services/tdefile_tga.desktop -%{tde_datadir}/services/tdefile_tiff.desktop -%{tde_datadir}/services/tdefile_xbm.desktop -%{tde_datadir}/services/tdefile_xpm.desktop - -########## - -%package -n trinity-kdvi -Summary: Dvi viewer for TDE -Group: Productivity/Graphics/Viewers - -%description -n trinity-kdvi -This program and KPart allow the user to display *.DVI files from TeX. - -%files -n trinity-kdvi -%defattr(-,root,root,-) -%{tde_bindir}/kdvi -%{tde_tdelibdir}/kdvipart.la -%{tde_tdelibdir}/kdvipart.so -%{tde_tdeappdir}/kdvi.desktop -%{tde_datadir}/apps/kdvi/ -%{tde_datadir}/config.kcfg/kdvi.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kdvi.png -%{tde_datadir}/icons/hicolor/scalable/apps/kdvi.svgz -%{tde_datadir}/services/kdvimultipage.desktop -%{tde_tdedocdir}/HTML/en/kdvi/ - -########## - -%package -n trinity-kfax -Summary: G3/G4 fax viewer for Trinity -Group: Productivity/Graphics/Viewers - -%description -n trinity-kfax -A fax viewer for Trinity, supporting the display of raw and tiffed fax images -(g3, g3-2d, g4). - -%files -n trinity-kfax -%defattr(-,root,root,-) -%{tde_bindir}/kfax -%{tde_tdeappdir}/kfax.desktop -%{tde_datadir}/apps/kfax/ -%{tde_datadir}/icons/hicolor/??x??/apps/kfax.png -%{tde_datadir}/icons/hicolor/scalable/apps/kfax.svgz -%{tde_tdedocdir}/HTML/en/kfax/ - -########## - -%package -n trinity-kfaxview -Summary: G3/G4 fax viewer for Trinity using kviewshell -Group: Productivity/Publishing/TeX/Frontends - -%description -n trinity-kfaxview -A fax viewer for Trinity, supporting the display of raw and tiffed fax images -(g3, g3-2d, g4). - -This faxviewer uses kviewshell and is intended to replace the standalone -kfax application once it reproduces all of kfax's features. - -%files -n trinity-kfaxview -%defattr(-,root,root,-) -%{tde_bindir}/kfaxview -%{tde_libdir}/libkfaximage.so.* -%{tde_tdelibdir}/kfaxviewpart.* -%{tde_tdeappdir}/kfaxview.desktop -%{tde_datadir}/apps/kfaxview/ -%{tde_datadir}/icons/hicolor/??x??/apps/kfaxview.png -%{tde_datadir}/icons/hicolor/scalable/apps/kfaxview.svgz -%{tde_datadir}/services/kfaxmultipage.desktop -%{tde_datadir}/services/kfaxmultipage_tiff.desktop -%{tde_tdedocdir}/HTML/en/kfaxview/ - -########## - -%package -n trinity-kgamma -Summary: Gamma correction module for the Trinity Control Center -Group: Productivity/Graphics/Viewers - -%description -n trinity-kgamma -KGamma is a Trinity Control Center module for gamma calibration/correction -of XFree86. With proper gamma settings, your display (websites, images, -etc.) will look the same on your monitor as on other monitors. - -Homepage: http://kgamma.berlios.de/index2.php - -%files -n trinity-kgamma -%defattr(-,root,root,-) -%{tde_bindir}/xf86gammacfg -%{tde_tdelibdir}/kcm_kgamma.la -%{tde_tdelibdir}/kcm_kgamma.so -%{tde_datadir}/applnk/.hidden/kgamma.desktop -%{tde_datadir}/apps/kgamma/ -%{tde_datadir}/icons/hicolor/*/apps/kgamma.png -%{tde_tdedocdir}/HTML/en/kgamma/ - -########## - -%package -n trinity-kghostview -Summary: PostScript viewer for Trinity -Group: Productivity/Graphics/Viewers -Requires: ghostscript - -%description -n trinity-kghostview -KGhostview is Trinity's PostScript viewer. It is a port of Tim Theisen's -Ghostview program which is used to view documents prepared in Adobe's -PostScript page description language. PostScript is the major page -description language for printing on UNIX systems, and this application is -useful to preview material intended for printing, or for reading documents -online. - -%files -n trinity-kghostview -%defattr(-,root,root,-) -%{tde_bindir}/kghostview -%{tde_tdelibdir}/libkghostviewpart.la -%{tde_tdelibdir}/libkghostviewpart.so -%{tde_libdir}/libkghostviewlib.so.* -%{tde_tdeappdir}/kghostview.desktop -%{tde_datadir}/apps/tdeconf_update/kghostview.upd -%{tde_datadir}/apps/tdeconf_update/update-to-xt-names.pl -%{tde_datadir}/apps/kghostview/ -%{tde_datadir}/config.kcfg/kghostview.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kghostview.png -%{tde_datadir}/services/kghostview_part.desktop -%{tde_tdedocdir}/HTML/en/kghostview/ - -########## - -%package -n trinity-tdeiconedit -Summary: An icon editor for Trinity -Group: Productivity/Graphics/Viewers - -Obsoletes: trinity-kiconedit < %{version}-%{release} -Provides: trinity-kiconedit = %{version}-%{release} - -%description -n trinity-tdeiconedit -TDEIconedit allows you easily to create and edit icons. - -%files -n trinity-tdeiconedit -%defattr(-,root,root,-) -%{tde_bindir}/tdeiconedit -%{tde_tdeappdir}/tdeiconedit.desktop -%{tde_datadir}/apps/tdeiconedit/ -%{tde_datadir}/icons/hicolor/*/apps/tdeiconedit.png -%{tde_tdedocdir}/HTML/en/tdeiconedit/ - -########## - -%if 0%{?build_kmrml} - -%package -n trinity-kmrml -Summary: A Konqueror plugin for searching pictures -Group: Productivity/Graphics/Viewers - -%description -n trinity-kmrml -MRML is short for Multimedia Retrieval Markup Language, which defines a -protocol for querying a server for images based on their content. See -http://www.mrml.net about MRML and the GNU Image Finding Tool (GIFT), an -MRML server. - -%files -n trinity-kmrml -%defattr(-,root,root,-) -%{tde_bindir}/mrmlsearch -%{tde_tdelibdir}/kcm_kmrml.la -%{tde_tdelibdir}/kcm_kmrml.so -%{tde_tdelibdir}/kded_daemonwatcher.la -%{tde_tdelibdir}/kded_daemonwatcher.so -%{tde_tdelibdir}/tdeio_mrml.la -%{tde_tdelibdir}/tdeio_mrml.so -%{tde_tdelibdir}/libkmrmlpart.la -%{tde_tdelibdir}/libkmrmlpart.so -%{tde_tdelibdir}/mrmlsearch.la -%{tde_tdelibdir}/mrmlsearch.so -%{tde_libdir}/libtdeinit_mrmlsearch.so -%{tde_tdeappdir}/kcmkmrml.desktop -%{tde_datadir}/apps/konqueror/servicemenus/mrml-servicemenu.desktop -%{tde_datadir}/mimelnk/text/mrml.desktop -%{tde_datadir}/services/kded/daemonwatcher.desktop -%{tde_datadir}/services/mrml.protocol -%{tde_datadir}/services/mrml_part.desktop - -%endif - -########## - -%package -n trinity-kolourpaint -Summary: A simple paint program for Trinity -Group: Productivity/Graphics/Viewers - -%description -n trinity-kolourpaint -KolourPaint is a very simple paint program for Trinity. It aims to be -conceptually simple to understand; providing a level of functionality -targeted towards the average user. It's designed for daily tasks like: - -* Painting - drawing diagrams and "finger painting" -* Image Manipulation - editing screenshots and photos; applying effects -* Icon Editing - drawing clipart and logos with transparency - -It's not an unusable and monolithic program where simple tasks like -drawing lines become near impossible. Nor is it so simple that it lacks -essential features like Undo/Redo. - -Homepage: http://kolourpaint.sourceforge.net - -%files -n trinity-kolourpaint -%defattr(-,root,root,-) -%{tde_bindir}/kolourpaint -%{tde_tdeappdir}/kolourpaint.desktop -%{tde_datadir}/apps/kolourpaint/ -%{tde_datadir}/icons/hicolor/*/apps/kolourpaint.png -%{tde_datadir}/icons/hicolor/scalable/apps/kolourpaint.svgz -%{tde_tdedocdir}/HTML/en/kolourpaint/ - -########## - -%package -n trinity-kooka -Summary: Scanner program for Trinity -Group: Hardware/Scanner - -%description -n trinity-kooka -Kooka is an open source GNU/Linux scan program based on SANE and -KScan library. - -Kooka helps you to handle the most important scan parameters, find the -correct image file format to save and manage your scanned images. It -offers support for different OCR modules. Libkscan, a autonomous part -of Kooka, provides a scan service for easy and consistent use to all -KDE applications. - -Install ocrad or gocr if you wish to enable optical character recognition -in kooka. - -Homepage: http://kooka.kde.org/ - -%files -n trinity-kooka -%defattr(-,root,root,-) -%{tde_bindir}/kooka -%{tde_tdeappdir}/kooka.desktop -%{tde_datadir}/apps/kooka/ -%{tde_confdir}/kookarc -%{tde_datadir}/icons/hicolor/*/apps/kooka.png -%{tde_tdedocdir}/HTML/en/kooka/ - -########## - -%package -n trinity-kpdf -Summary: PDF viewer for Trinity -Group: Productivity/Graphics/Viewers - -%description -n trinity-kpdf -KPDF allows you to view PDF (Portable Document Format) files. This package -includes kpdfpart so you can embed in konqueror or run as a standalone -application. - -%files -n trinity-kpdf -%defattr(-,root,root,-) -%{tde_bindir}/kpdf -%{tde_tdelibdir}/libkpdfpart.la -%{tde_tdelibdir}/libkpdfpart.so -%{tde_tdeappdir}/kpdf.desktop -%{tde_datadir}/apps/kpdf/ -%{tde_datadir}/apps/kpdfpart/ -%{tde_datadir}/config.kcfg/kpdf.kcfg -%{tde_tdedocdir}/HTML/en/kpdf/ -%{tde_datadir}/icons/hicolor/*/apps/kpdf.png -%{tde_datadir}/icons/hicolor/scalable/apps/kpdf.svgz -%{tde_datadir}/services/kpdf_part.desktop - -########## - -%package -n trinity-kpovmodeler -Summary: A graphical editor for povray scenes -Group: Productivity/Graphics/Viewers -#Requires: povray - -%description -n trinity-kpovmodeler -KPovmodeler is KDE's graphical editor for povray scenes. KPovModeler is a -modeling and composition program for creating POV-Ray scenes in KDE. - -For most modelers, POV-Ray is nothing but a rendering engine. This greatly -limits the innate possibilities of the POV-Ray scripted language. This -is not the case for KPovModeler, which allows you to use all the features -of POV-Ray through the translation of POV-Ray language into a graphical -tree. - -kpovmodeler uses the povray package, currently available only in Debian's -non-free, unsupported repository. - -Homepage: http://www.kpovmodeler.org - -%files -n trinity-kpovmodeler -%defattr(-,root,root,-) -%{tde_bindir}/kpovmodeler -%{tde_libdir}/libkpovmodeler.so.* -%{tde_tdelibdir}/libkpovmodelerpart.* -%{tde_tdeappdir}/kpovmodeler.desktop -%{tde_datadir}/apps/kpovmodeler/ -%{tde_datadir}/icons/crystalsvg/*/mimetypes/kpovmodeler_doc.* -%{tde_datadir}/icons/hicolor/*/apps/kpovmodeler.* -%doc %{tde_tdedocdir}/HTML/en/kpovmodeler/ - -########## - -%package -n trinity-kruler -Summary: A screen ruler and color measurement tool for Trinity -Group: Productivity/Graphics/Viewers - -%description -n trinity-kruler -Kruler is a screen ruler (using pixels) and color measurement tool for KDE. - -%files -n trinity-kruler -%defattr(-,root,root,-) -%{tde_bindir}/kruler -%{tde_tdeappdir}/kruler.desktop -%{tde_datadir}/applnk/Graphics/kruler.desktop -%{tde_datadir}/apps/kruler/ -%{tde_datadir}/icons/hicolor/*/apps/kruler.png -%{tde_tdedocdir}/HTML/en/kruler/ - -########## - -%package -n trinity-ksnapshot -Summary: Screenshot utility for Trinity -Group: Productivity/Graphics/Viewers - -%description -n trinity-ksnapshot -KSnapshot is a simple applet for taking screenshots. It is capable of -capturing images of either the whole desktop or just a single window. -The images can then be saved in a variety of formats. - -%files -n trinity-ksnapshot -%defattr(-,root,root,-) -%{tde_bindir}/ksnapshot -%{tde_tdeappdir}/ksnapshot.desktop -%{tde_datadir}/icons/hicolor/*/apps/ksnapshot.png -%{tde_datadir}/icons/hicolor/scalable/apps/ksnapshot.svgz -%{tde_tdedocdir}/HTML/en/ksnapshot/ - -########## - -%package -n trinity-ksvg -Summary: SVG viewer for Trinity -Group: Productivity/Graphics/Viewers - -%description -n trinity-ksvg -KSVG allows you view SVG (scalable vector graphics) files. This package -includes kpart so you can embed it in konqueror and a standalone -application. - -%files -n trinity-ksvg -%defattr(-,root,root,-) -%{tde_bindir}/printnodetest -%{tde_bindir}/svgdisplay -%{tde_tdelibdir}/libksvgplugin.la -%{tde_tdelibdir}/libksvgplugin.so -%{tde_tdelibdir}/libksvgrendererlibart.la -%{tde_tdelibdir}/libksvgrendererlibart.so -%{tde_tdelibdir}/svgthumbnail.la -%{tde_tdelibdir}/svgthumbnail.so -%{tde_libdir}/libksvg.so.0 -%{tde_libdir}/libksvg.so.0.0.1 -%{tde_libdir}/libtext2path.so.0 -%{tde_libdir}/libtext2path.so.0.0.0 -%{tde_datadir}/apps/ksvg/ -%{tde_datadir}/services/ksvglibartcanvas.desktop -%{tde_datadir}/services/ksvgplugin.desktop -%{tde_datadir}/services/svgthumbnail.desktop -%{tde_datadir}/servicetypes/ksvgrenderer.desktop - -########## - -%package -n trinity-kview -Summary: Simple image viewer/converter for Trinity -Group: Productivity/Graphics/Viewers - -%description -n trinity-kview -KView is a simple image viewer and converter application. It supports -a number of plugins, which add an array of basic editing capabilities -as well. - -%files -n trinity-kview -%defattr(-,root,root,-) -%{tde_bindir}/kview -%{tde_tdelibdir}/kcm_kviewcanvasconfig.la -%{tde_tdelibdir}/kcm_kviewcanvasconfig.so -%{tde_tdelibdir}/kcm_kviewgeneralconfig.la -%{tde_tdelibdir}/kcm_kviewgeneralconfig.so -%{tde_tdelibdir}/kcm_kviewpluginsconfig.la -%{tde_tdelibdir}/kcm_kviewpluginsconfig.so -%{tde_tdelibdir}/kcm_kviewpresenterconfig.la -%{tde_tdelibdir}/kcm_kviewpresenterconfig.so -%{tde_tdelibdir}/kcm_kviewviewerpluginsconfig.la -%{tde_tdelibdir}/kcm_kviewviewerpluginsconfig.so -%{tde_tdelibdir}/kview.la -%{tde_tdelibdir}/kview.so -%{tde_tdelibdir}/kview_browserplugin.la -%{tde_tdelibdir}/kview_browserplugin.so -%{tde_tdelibdir}/kview_effectsplugin.la -%{tde_tdelibdir}/kview_effectsplugin.so -%{tde_tdelibdir}/kview_presenterplugin.la -%{tde_tdelibdir}/kview_presenterplugin.so -%{tde_tdelibdir}/kview_scannerplugin.la -%{tde_tdelibdir}/kview_scannerplugin.so -%{tde_tdelibdir}/libkviewcanvas.la -%{tde_tdelibdir}/libkviewcanvas.so -%{tde_tdelibdir}/libkviewviewer.la -%{tde_tdelibdir}/libkviewviewer.so -%{tde_libdir}/libtdeinit_kview.so -%{tde_libdir}/libkimageviewer.so.* -%{tde_tdelibdir}/libphotobook.la -%{tde_tdelibdir}/libphotobook.so -%{tde_tdeappdir}/kview.desktop -%{tde_datadir}/apps/kview/ -%{tde_datadir}/apps/kviewviewer/ -%{tde_datadir}/apps/photobook/ -%{tde_datadir}/icons/crystalsvg/*/apps/photobook.png -%{tde_datadir}/icons/hicolor/*/apps/kview.png -%{tde_datadir}/services/tdeconfiguredialog/ -%{tde_datadir}/services/kviewcanvas.desktop -%{tde_datadir}/services/kviewviewer.desktop -%{tde_datadir}/services/photobook.desktop -%{tde_datadir}/servicetypes/kimageviewer.desktop -%{tde_datadir}/servicetypes/kimageviewercanvas.desktop -%{tde_tdedocdir}/HTML/en/kview/ - -########## - -%package -n trinity-kviewshell -Summary: Generic framework for viewer applications in Trinity -Group: Productivity/Graphics/Viewers - -%description -n trinity-kviewshell -KViewShell is a generic viewing framework that allows the graphical -applications, such as the kview image viewer, to be embedded in other -KDE applications, such as Konqueror. - -KViewShell comes with a djvuviewpart plugin included, for viewing -DjVu images. - -%files -n trinity-kviewshell -%defattr(-,root,root,-) -%{tde_bindir}/kviewshell -%{tde_libdir}/libdjvu.la -%{tde_libdir}/libdjvu.so -%{tde_tdelibdir}/djvuviewpart.so -%{tde_tdelibdir}/djvuviewpart.la -%{tde_tdelibdir}/emptymultipagepart.la -%{tde_tdelibdir}/emptymultipagepart.so -%{tde_tdelibdir}/kviewerpart.la -%{tde_tdelibdir}/kviewerpart.so -%{tde_libdir}/libtdemultipage.so.* -%{tde_datadir}/apps/djvumultipage.rc -%{tde_datadir}/apps/kviewerpart/ -%{tde_datadir}/apps/kviewshell/ -%{tde_datadir}/config.kcfg/djvumultipage.kcfg -%{tde_datadir}/config.kcfg/kviewshell.kcfg -%{tde_datadir}/icons/crystalsvg/*/apps/kviewshell.png -%{tde_datadir}/services/emptymultipage.desktop -%{tde_datadir}/services/djvumultipage.desktop -%{tde_datadir}/servicetypes/tdemultipage.desktop - -########## - -%package -n trinity-libkscan -Summary: Scanner library for Trinity -Group: Hardware/Scanner - -%description -n trinity-libkscan -KScan is TDE's scanner library. It's used by kooka and by koffice currently. -It provides an easy-to-use library, which allows you to access your scanner -(as long as it's sane compatible). - -%files -n trinity-libkscan -%defattr(-,root,root,-) -%{tde_libdir}/libkscan.so.* -%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_color.png -%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_gray.png -%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_halftone.png -%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_lineart.png -%{tde_datadir}/services/scanservice.desktop - -########## - -%package -n trinity-libkscan-devel -Summary: Development files for the Trinity scanner library -Group: Development/Libraries/Other -Requires: trinity-libkscan = %{version}-%{release} - -%description -n trinity-libkscan-devel -This package contains development files for Trinity's scanner library. - -%files -n trinity-libkscan-devel -%defattr(-,root,root,-) -%{tde_libdir}/libkscan.la -%{tde_libdir}/libkscan.so - -########## - -%if 0%{?with_pdf} -%package -n trinity-libpoppler-tqt -Summary: TQt support for Poppler -Group: Productivity/Graphics/Viewers -Obsoletes: poppler-tqt < %{version}-%{release} -Provides: poppler-tqt = %{version}-%{release} -Obsoletes: %{name}-libpoppler-tqt < %{version}-%{release} -Provides: %{name}-libpoppler-tqt = %{version}-%{release} - -%description -n trinity-libpoppler-tqt -TQt support library for Poppler. -This library is used by the Trinity graphics file plugins for PDF support. - -%files -n trinity-libpoppler-tqt -%defattr(-,root,root,-) -%{tde_libdir}/libpoppler-tqt.so.* -%endif - -########## - -%if 0%{?with_pdf} -%package -n trinity-libpoppler-tqt-devel -Summary: Development files for TQt support for Poppler -Group: Development/Libraries/Other -Requires: trinity-libpoppler-tqt = %{version}-%{release} -Obsoletes: poppler-tqt-devel < %{version}-%{release} -Provides: poppler-tqt-devel = %{version}-%{release} -Obsoletes: %{name}-libpoppler-tqt-devel < %{version}-%{release} -Provides: %{name}-libpoppler-tqt-devel = %{version}-%{release} - -%description -n trinity-libpoppler-tqt-devel -Development files of TQt support library for Poppler. -This package contains the development files needed to compile applications against poppler-tqt. - -%files -n trinity-libpoppler-tqt-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/poppler-link-qt3.h -%{tde_tdeincludedir}/poppler-page-transition.h -%{tde_tdeincludedir}/poppler-qt.h -%{tde_libdir}/libpoppler-tqt.la -%{tde_libdir}/libpoppler-tqt.so -%{tde_libdir}/pkgconfig/poppler-tqt.pc -%endif - -########## - -%package devel -Summary: Development files for tdegraphics -Group: Development/Libraries/Other - -Obsoletes: trinity-kdegraphics-devel < %{version}-%{release} -Provides: trinity-kdegraphics-devel = %{version}-%{release} - -Requires: %{name} = %{version}-%{release} -Requires: trinity-libkscan-devel = %{version}-%{release} -%if 0%{?with_pdf} -Requires: trinity-libpoppler-tqt-devel = %{version}-%{release} -%endif - -%description devel -This package contains the development files needed to compile -applications against tdegraphics libraries. - -%files devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/dom/ -%{tde_tdeincludedir}/kfaximage.h -%{tde_tdeincludedir}/tdemultipageInterface.h -%{tde_tdeincludedir}/ksvg/ -%{tde_tdeincludedir}/kviewshell/ -%{tde_tdeincludedir}/libtext2path-0.1/ -%{tde_libdir}/libtdeinit_kview.la -%if 0%{?build_kmrml} -%{tde_libdir}/libtdeinit_mrmlsearch.la -%endif -%{tde_libdir}/libkghostviewlib.la -%{tde_libdir}/libkghostviewlib.so -%{tde_libdir}/libkimageviewer.la -%{tde_libdir}/libkimageviewer.so -%{tde_libdir}/libtdemultipage.la -%{tde_libdir}/libtdemultipage.so -%{tde_libdir}/libkpovmodeler.la -%{tde_libdir}/libkpovmodeler.so -%{tde_libdir}/libksvg.la -%{tde_libdir}/libksvg.so -%{tde_libdir}/libtext2path.la -%{tde_libdir}/libtext2path.so -# kfaxview -%{tde_libdir}/libkfaximage.so -%{tde_libdir}/libkfaximage.la -# cmake -%{tde_datadir}/cmake/* - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} - -%if 0%{?build_kamera} == 0 -%__rm -rf doc/kamera/ -%endif - -# Fix applications icons -%__sed -i "kooka/kooka.desktop" -e "s|^Icon=.*|Icon=kooka|" - -# Fix FTBFS in RHEL 5 -%if 0%{?rhel} && 0%{?rhel} <= 5 -%__sed -i "kpdf/xpdf/aconf.h" \ - -e "s|#define HAVE_MKSTEMPS 1|#define HAVE_MKSTEMPS 0|" -%__sed -i "tdefile-plugins/dependencies/poppler-tqt/CMakeLists.txt" \ - -e "/link_directories/ s|$|\n \${POPPLER_LIBRARY_DIRS}|" \ - -e "/{POPPLER_INCLUDE_DIRS/ s|$|\n \${POPPLER_INCLUDE_DIRS}/..|" -%endif - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -# 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} -DNDEBUG" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_NO_BUILTIN_CHRPATH=ON \ - -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} \ - -DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \ - \ - %{?with_t1lib:-DWITH_T1LIB=ON} \ - %{?with_paper:-DWITH_LIBPAPER=ON} \ - -DWITH_TIFF=ON \ - -DWITH_OPENEXR=ON \ - -DWITH_PDF=%{?with_pdf:ON}%{?!with_pdf:OFF} \ - -DBUILD_ALL=ON \ - -DBUILD_KUICKSHOW=OFF \ - %{!?build_kmrml:-DBUILD_KMRML=OFF} \ - %{!?build_kamera:-DBUILD_KAMERA=OFF} \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -# Adds missing icons in 'hicolor' theme -%__mkdir_p "%{?buildroot}%{tde_datadir}/icons/hicolor/"{16x16,32x32,48x48,64x64}"/apps/" -pushd "%{?buildroot}%{tde_datadir}/icons" -for i in {16,32,48,64}; do %__cp $BUILD_ROOT%{tde_datadir}/icons/crystalsvg/"$i"x"$i"/devices/scanner.png %{buildroot}%{tde_datadir}/icons/hicolor/"$i"x"$i"/apps/kooka.png; done -popd - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kpovmodeler.desktop Graphics 3DGraphics -%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kolourpaint.desktop Graphics RasterGraphics -%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/tdeiconedit.desktop Graphics RasterGraphics -%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kview.desktop Graphics Viewer -%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kooka.desktop Graphics Scanning -%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/kruler.desktop Utility DesktopUtility -%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/ksnapshot.desktop Utility DesktopUtility -%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/kcolorchooser.desktop Utility DesktopUtility -%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/kcoloredit.desktop Utility DesktopUtility -%suse_update_desktop_file -u %{?buildroot}%{tde_tdeappdir}/kfax.desktop Office Viewer -%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kghostview.desktop Office Viewer -%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kdvi.desktop Office Viewer -%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kpdf.desktop Office Viewer -%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kfaxview.desktop Office Viewer -%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kamera.desktop -%endif - -# Links duplicate files -%fdupes "%{?buildroot}" - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/main/tdegraphics/tdegraphics.spec b/redhat/main/tdegraphics/tdegraphics.spec new file mode 100644 index 000000000..2905481b3 --- /dev/null +++ b/redhat/main/tdegraphics/tdegraphics.spec @@ -0,0 +1,1120 @@ +# +# spec file for package tdegraphics (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.0.7 +%endif +%define tde_pkg tdegraphics +%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_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: %{tde_version} +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Summary: Trinity Desktop Environment - Graphics Applications +Group: Productivity/Graphics/Viewers +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}-%{version}%{?preversion:~%{preversion}}.tar.gz +Source1: %{name}-rpmlintrc + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} + +BuildRequires: cmake >= 2.8 +BuildRequires: gcc-c++ +BuildRequires: gettext +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 + +# IDN support +BuildRequires: libidn-devel + +# GAMIN support +# Not on openSUSE. +%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} >= 1310 +%define with_gamin 1 +BuildRequires: gamin-devel +%endif + +# LIBUSB support +BuildRequires: libusb-devel + +# MNG support +BuildRequires: libmng-devel + +# TIFF support +BuildRequires: libtiff-devel + +# PCRE support +BuildRequires: pcre-devel + +# ACL support +BuildRequires: libacl-devel + +# GIF support +%if 0%{?suse_version} || 0%{?fedora} >= 28 || 0%{?rhel} >= 8 +BuildRequires: giflib-devel +%else +BuildRequires: libungif-devel +%endif + +# GPHOTO2 support +%if 0%{?suse_version} +BuildRequires: libgphoto2-devel +%else +BuildRequires: gphoto2-devel +%endif + +# PAPER support +%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_paper 1 +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}paper-devel +%endif +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: libpaper-devel +%endif +%endif + +# T1LIB support +%if 0%{?suse_version} && 0%{?suse_version} <= 1230 +%define with_t1lib 1 +BuildRequires: t1lib-devel +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} || (0%{?rhel} >= 5 && 0%{?rhel} <= 7) || 0%{?fedora} +%define with_t1lib 1 +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}t1lib-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} +BuildRequires: t1lib-devel +%endif +%endif + +# SANE support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}sane1-devel +%else +BuildRequires: sane-backends-devel +%endif + +# 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 + +# 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 + +# 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 + +# DRM support +%if 0%{?rhel} == 4 +BuildRequires: xorg-x11-devel +%else +BuildRequires: libdrm-devel +%endif + +# OPENEXR support +BuildRequires: OpenEXR-devel + +# POPPLER support +%define with_pdf 1 +%if 0%{?with_pdf} +%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 +%endif + +# LCMS support +%if 0%{?suse_version} || 0%{?rhel} >= 7 +BuildRequires: liblcms-devel +%else +BuildRequires: lcms-devel +%endif + +# FRIBIDI support +BuildRequires: fribidi-devel + +# OPENSSL support +BuildRequires: openssl-devel + +# kamera +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} +%define build_kamera 1 +%endif + +# kmrml (deprecated) +#define build_kmrml 1 +%if 0%{?build_kmrml} +#Requires: gift +%else +Obsoletes: trinity-kmrml +%endif + +Obsoletes: trinity-kdegraphics < %{version}-%{release} +Provides: trinity-kdegraphics = %{version}-%{release} +Obsoletes: trinity-kdegraphics-libs < %{version}-%{release} +Provides: trinity-kdegraphics-libs = %{version}-%{release} +Obsoletes: trinity-kdegraphics-extras < %{version}-%{release} +Provides: trinity-kdegraphics-extras = %{version}-%{release} + + +%{?build_kamera:Requires: trinity-kamera = %{version}-%{release}} +Requires: trinity-kcoloredit = %{version}-%{release} +Requires: %{name}-kfile-plugins = %{version}-%{release} +Requires: trinity-kdvi = %{version}-%{release} +Requires: trinity-kfax = %{version}-%{release} +Requires: trinity-kfaxview = %{version}-%{release} +Requires: trinity-kgamma = %{version}-%{release} +Requires: trinity-kghostview = %{version}-%{release} +Requires: trinity-kiconedit = %{version}-%{release} +%{?build_kmrml:Requires: trinity-kmrml = %{version}-%{release}} +Requires: trinity-kolourpaint = %{version}-%{release} +Requires: trinity-kooka = %{version}-%{release} +Requires: trinity-kpdf = %{version}-%{release} +Requires: trinity-kpovmodeler = %{version}-%{release} +Requires: trinity-kruler = %{version}-%{release} +Requires: trinity-ksnapshot = %{version}-%{release} +Requires: trinity-ksvg = %{version}-%{release} +Requires: trinity-kview = %{version}-%{release} +Requires: trinity-kviewshell = %{version}-%{release} +Requires: trinity-libkscan = %{version}-%{release} +%if 0%{?with_pdf} +Requires: trinity-libpoppler-tqt = %{version}-%{release} +%endif + +%description +Graphics applications for the Trinity Desktop Environment, including +%if 0%{?build_kamera} +* kamera (digital camera support) +%endif +* kcoloredit (palette editor and color chooser) +* kdvi (displays TeX .dvi files) +* kfax +* kfaxview +* kghostview (displays postscript files) +* kiconedit (icon editor) +* kooka (scanner application) +* kpdf (displays PDF files) +* kpovmodler +* kruler (screen ruler and color measurement tool) +* ksnapshot (screen capture utility) +* kview (image viewer for GIF, JPEG, TIFF, etc.) + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog README + +########## + +%if 0%{?build_kamera} + +%package -n trinity-kamera +Summary: Digital camera io_slave for Konqueror +Group: Hardware/Camera + +%description -n trinity-kamera +This is a digital camera io_slave for TDE which uses gphoto2 and libgpio +to allow access to your camera's pictures with the URL camera:/ + +%files -n trinity-kamera +%defattr(-,root,root,-) +%{tde_tdelibdir}/kcm_kamera.la +%{tde_tdelibdir}/kcm_kamera.so +%{tde_tdelibdir}/tdeio_kamera.la +%{tde_tdelibdir}/tdeio_kamera.so +%{tde_tdeappdir}/kamera.desktop +%{tde_datadir}/icons/crystalsvg/*/actions/camera_test.png +%{tde_datadir}/icons/crystalsvg/*/apps/camera-photo.png +%{tde_datadir}/icons/crystalsvg/*/devices/camera-photo.png +%{tde_datadir}/icons/crystalsvg/*/places/camera-photo.png +%{tde_datadir}/services/camera.protocol +%{tde_tdedocdir}/HTML/en/kamera/ +%{tde_tdedocdir}/HTML/en/tdeioslave/camera/ + +%endif + +########## + +%package -n trinity-kcoloredit +Summary: A color palette editor and color picker for TDE +Group: Productivity/Graphics/Viewers + +%description -n trinity-kcoloredit +This package contains two programs, a color palette editor and also a color +picker. + +%files -n trinity-kcoloredit +%defattr(-,root,root,-) +%{tde_bindir}/kcolorchooser +%{tde_bindir}/kcoloredit +%{tde_tdeappdir}/kcolorchooser.desktop +%{tde_tdeappdir}/kcoloredit.desktop +%{tde_datadir}/apps/kcoloredit/ +%{tde_datadir}/icons/hicolor/*/apps/kcolorchooser.png +%{tde_datadir}/icons/hicolor/*/apps/kcoloredit.png +%{tde_tdedocdir}/HTML/en/kcoloredit/ + +########## + +%package kfile-plugins +Summary: TDE metainfo plugins for graphic files +Group: System/GUI/Other + +%description kfile-plugins +This packages provides meta information for graphic files (file sizes, +tags, etc. all from within the file manager). + +%files kfile-plugins +%defattr(-,root,root,-) +%{tde_tdelibdir}/gsthumbnail.la +%{tde_tdelibdir}/gsthumbnail.so +%{tde_tdelibdir}/tdefile_bmp.la +%{tde_tdelibdir}/tdefile_bmp.so +%{tde_tdelibdir}/tdefile_dds.la +%{tde_tdelibdir}/tdefile_dds.so +%{tde_tdelibdir}/tdefile_dvi.la +%{tde_tdelibdir}/tdefile_dvi.so +%{tde_tdelibdir}/tdefile_exr.la +%{tde_tdelibdir}/tdefile_exr.so +%{tde_tdelibdir}/tdefile_gif.la +%{tde_tdelibdir}/tdefile_gif.so +%{tde_tdelibdir}/tdefile_ico.la +%{tde_tdelibdir}/tdefile_ico.so +%{tde_tdelibdir}/tdefile_jpeg.la +%{tde_tdelibdir}/tdefile_jpeg.so +%{tde_tdelibdir}/tdefile_pcx.la +%{tde_tdelibdir}/tdefile_pcx.so +%if 0%{?with_pdf} +%{tde_tdelibdir}/tdefile_pdf.la +%{tde_tdelibdir}/tdefile_pdf.so +%endif +%{tde_tdelibdir}/tdefile_png.la +%{tde_tdelibdir}/tdefile_png.so +%{tde_tdelibdir}/tdefile_pnm.la +%{tde_tdelibdir}/tdefile_pnm.so +%{tde_tdelibdir}/tdefile_ps.la +%{tde_tdelibdir}/tdefile_ps.so +%{tde_tdelibdir}/tdefile_raw.la +%{tde_tdelibdir}/tdefile_raw.so +%{tde_tdelibdir}/tdefile_rgb.la +%{tde_tdelibdir}/tdefile_rgb.so +%{tde_tdelibdir}/tdefile_tga.la +%{tde_tdelibdir}/tdefile_tga.so +%{tde_tdelibdir}/tdefile_tiff.la +%{tde_tdelibdir}/tdefile_tiff.so +%{tde_tdelibdir}/tdefile_xbm.la +%{tde_tdelibdir}/tdefile_xbm.so +%{tde_tdelibdir}/tdefile_xpm.la +%{tde_tdelibdir}/tdefile_xpm.so +%{tde_datadir}/services/gsthumbnail.desktop +%{tde_datadir}/services/tdefile_bmp.desktop +%{tde_datadir}/services/tdefile_dds.desktop +%{tde_datadir}/services/tdefile_dvi.desktop +%{tde_datadir}/services/tdefile_exr.desktop +%{tde_datadir}/services/tdefile_gif.desktop +%{tde_datadir}/services/tdefile_ico.desktop +%{tde_datadir}/services/tdefile_jpeg.desktop +%{tde_datadir}/services/tdefile_pcx.desktop +%if 0%{?with_pdf} +%{tde_datadir}/services/tdefile_pdf.desktop +%endif +%{tde_datadir}/services/tdefile_png.desktop +%{tde_datadir}/services/tdefile_pnm.desktop +%{tde_datadir}/services/tdefile_ps.desktop +%{tde_datadir}/services/tdefile_raw.desktop +%{tde_datadir}/services/tdefile_rgb.desktop +%{tde_datadir}/services/tdefile_tga.desktop +%{tde_datadir}/services/tdefile_tiff.desktop +%{tde_datadir}/services/tdefile_xbm.desktop +%{tde_datadir}/services/tdefile_xpm.desktop + +########## + +%package -n trinity-kdvi +Summary: Dvi viewer for TDE +Group: Productivity/Graphics/Viewers + +%description -n trinity-kdvi +This program and KPart allow the user to display *.DVI files from TeX. + +%files -n trinity-kdvi +%defattr(-,root,root,-) +%{tde_bindir}/kdvi +%{tde_tdelibdir}/kdvipart.la +%{tde_tdelibdir}/kdvipart.so +%{tde_tdeappdir}/kdvi.desktop +%{tde_datadir}/apps/kdvi/ +%{tde_datadir}/config.kcfg/kdvi.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kdvi.png +%{tde_datadir}/icons/hicolor/scalable/apps/kdvi.svgz +%{tde_datadir}/services/kdvimultipage.desktop +%{tde_tdedocdir}/HTML/en/kdvi/ + +########## + +%package -n trinity-kfax +Summary: G3/G4 fax viewer for Trinity +Group: Productivity/Graphics/Viewers + +%description -n trinity-kfax +A fax viewer for Trinity, supporting the display of raw and tiffed fax images +(g3, g3-2d, g4). + +%files -n trinity-kfax +%defattr(-,root,root,-) +%{tde_bindir}/kfax +%{tde_tdeappdir}/kfax.desktop +%{tde_datadir}/apps/kfax/ +%{tde_datadir}/icons/hicolor/??x??/apps/kfax.png +%{tde_datadir}/icons/hicolor/scalable/apps/kfax.svgz +%{tde_tdedocdir}/HTML/en/kfax/ + +########## + +%package -n trinity-kfaxview +Summary: G3/G4 fax viewer for Trinity using kviewshell +Group: Productivity/Publishing/TeX/Frontends + +%description -n trinity-kfaxview +A fax viewer for Trinity, supporting the display of raw and tiffed fax images +(g3, g3-2d, g4). + +This faxviewer uses kviewshell and is intended to replace the standalone +kfax application once it reproduces all of kfax's features. + +%files -n trinity-kfaxview +%defattr(-,root,root,-) +%{tde_bindir}/kfaxview +%{tde_libdir}/libkfaximage.so.* +%{tde_tdelibdir}/kfaxviewpart.* +%{tde_tdeappdir}/kfaxview.desktop +%{tde_datadir}/apps/kfaxview/ +%{tde_datadir}/icons/hicolor/??x??/apps/kfaxview.png +%{tde_datadir}/icons/hicolor/scalable/apps/kfaxview.svgz +%{tde_datadir}/services/kfaxmultipage.desktop +%{tde_datadir}/services/kfaxmultipage_tiff.desktop +%{tde_tdedocdir}/HTML/en/kfaxview/ + +########## + +%package -n trinity-kgamma +Summary: Gamma correction module for the Trinity Control Center +Group: Productivity/Graphics/Viewers + +%description -n trinity-kgamma +KGamma is a Trinity Control Center module for gamma calibration/correction +of XFree86. With proper gamma settings, your display (websites, images, +etc.) will look the same on your monitor as on other monitors. + +Homepage: http://kgamma.berlios.de/index2.php + +%files -n trinity-kgamma +%defattr(-,root,root,-) +%{tde_bindir}/xf86gammacfg +%{tde_tdelibdir}/kcm_kgamma.la +%{tde_tdelibdir}/kcm_kgamma.so +%{tde_datadir}/applnk/.hidden/kgamma.desktop +%{tde_datadir}/apps/kgamma/ +%{tde_datadir}/icons/hicolor/*/apps/kgamma.png +%{tde_tdedocdir}/HTML/en/kgamma/ + +########## + +%package -n trinity-kghostview +Summary: PostScript viewer for Trinity +Group: Productivity/Graphics/Viewers +Requires: ghostscript + +%description -n trinity-kghostview +KGhostview is Trinity's PostScript viewer. It is a port of Tim Theisen's +Ghostview program which is used to view documents prepared in Adobe's +PostScript page description language. PostScript is the major page +description language for printing on UNIX systems, and this application is +useful to preview material intended for printing, or for reading documents +online. + +%files -n trinity-kghostview +%defattr(-,root,root,-) +%{tde_bindir}/kghostview +%{tde_tdelibdir}/libkghostviewpart.la +%{tde_tdelibdir}/libkghostviewpart.so +%{tde_libdir}/libkghostviewlib.so.* +%{tde_tdeappdir}/kghostview.desktop +%{tde_datadir}/apps/tdeconf_update/kghostview.upd +%{tde_datadir}/apps/tdeconf_update/update-to-xt-names.pl +%{tde_datadir}/apps/kghostview/ +%{tde_datadir}/config.kcfg/kghostview.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kghostview.png +%{tde_datadir}/services/kghostview_part.desktop +%{tde_tdedocdir}/HTML/en/kghostview/ + +########## + +%package -n trinity-tdeiconedit +Summary: An icon editor for Trinity +Group: Productivity/Graphics/Viewers + +Obsoletes: trinity-kiconedit < %{version}-%{release} +Provides: trinity-kiconedit = %{version}-%{release} + +%description -n trinity-tdeiconedit +TDEIconedit allows you easily to create and edit icons. + +%files -n trinity-tdeiconedit +%defattr(-,root,root,-) +%{tde_bindir}/tdeiconedit +%{tde_tdeappdir}/tdeiconedit.desktop +%{tde_datadir}/apps/tdeiconedit/ +%{tde_datadir}/icons/hicolor/*/apps/tdeiconedit.png +%{tde_tdedocdir}/HTML/en/tdeiconedit/ + +########## + +%if 0%{?build_kmrml} + +%package -n trinity-kmrml +Summary: A Konqueror plugin for searching pictures +Group: Productivity/Graphics/Viewers + +%description -n trinity-kmrml +MRML is short for Multimedia Retrieval Markup Language, which defines a +protocol for querying a server for images based on their content. See +http://www.mrml.net about MRML and the GNU Image Finding Tool (GIFT), an +MRML server. + +%files -n trinity-kmrml +%defattr(-,root,root,-) +%{tde_bindir}/mrmlsearch +%{tde_tdelibdir}/kcm_kmrml.la +%{tde_tdelibdir}/kcm_kmrml.so +%{tde_tdelibdir}/kded_daemonwatcher.la +%{tde_tdelibdir}/kded_daemonwatcher.so +%{tde_tdelibdir}/tdeio_mrml.la +%{tde_tdelibdir}/tdeio_mrml.so +%{tde_tdelibdir}/libkmrmlpart.la +%{tde_tdelibdir}/libkmrmlpart.so +%{tde_tdelibdir}/mrmlsearch.la +%{tde_tdelibdir}/mrmlsearch.so +%{tde_libdir}/libtdeinit_mrmlsearch.so +%{tde_tdeappdir}/kcmkmrml.desktop +%{tde_datadir}/apps/konqueror/servicemenus/mrml-servicemenu.desktop +%{tde_datadir}/mimelnk/text/mrml.desktop +%{tde_datadir}/services/kded/daemonwatcher.desktop +%{tde_datadir}/services/mrml.protocol +%{tde_datadir}/services/mrml_part.desktop + +%endif + +########## + +%package -n trinity-kolourpaint +Summary: A simple paint program for Trinity +Group: Productivity/Graphics/Viewers + +%description -n trinity-kolourpaint +KolourPaint is a very simple paint program for Trinity. It aims to be +conceptually simple to understand; providing a level of functionality +targeted towards the average user. It's designed for daily tasks like: + +* Painting - drawing diagrams and "finger painting" +* Image Manipulation - editing screenshots and photos; applying effects +* Icon Editing - drawing clipart and logos with transparency + +It's not an unusable and monolithic program where simple tasks like +drawing lines become near impossible. Nor is it so simple that it lacks +essential features like Undo/Redo. + +Homepage: http://kolourpaint.sourceforge.net + +%files -n trinity-kolourpaint +%defattr(-,root,root,-) +%{tde_bindir}/kolourpaint +%{tde_tdeappdir}/kolourpaint.desktop +%{tde_datadir}/apps/kolourpaint/ +%{tde_datadir}/icons/hicolor/*/apps/kolourpaint.png +%{tde_datadir}/icons/hicolor/scalable/apps/kolourpaint.svgz +%{tde_tdedocdir}/HTML/en/kolourpaint/ + +########## + +%package -n trinity-kooka +Summary: Scanner program for Trinity +Group: Hardware/Scanner + +%description -n trinity-kooka +Kooka is an open source GNU/Linux scan program based on SANE and +KScan library. + +Kooka helps you to handle the most important scan parameters, find the +correct image file format to save and manage your scanned images. It +offers support for different OCR modules. Libkscan, a autonomous part +of Kooka, provides a scan service for easy and consistent use to all +KDE applications. + +Install ocrad or gocr if you wish to enable optical character recognition +in kooka. + +Homepage: http://kooka.kde.org/ + +%files -n trinity-kooka +%defattr(-,root,root,-) +%{tde_bindir}/kooka +%{tde_tdeappdir}/kooka.desktop +%{tde_datadir}/apps/kooka/ +%{tde_confdir}/kookarc +%{tde_datadir}/icons/hicolor/*/apps/kooka.png +%{tde_tdedocdir}/HTML/en/kooka/ + +########## + +%package -n trinity-kpdf +Summary: PDF viewer for Trinity +Group: Productivity/Graphics/Viewers + +%description -n trinity-kpdf +KPDF allows you to view PDF (Portable Document Format) files. This package +includes kpdfpart so you can embed in konqueror or run as a standalone +application. + +%files -n trinity-kpdf +%defattr(-,root,root,-) +%{tde_bindir}/kpdf +%{tde_tdelibdir}/libkpdfpart.la +%{tde_tdelibdir}/libkpdfpart.so +%{tde_tdeappdir}/kpdf.desktop +%{tde_datadir}/apps/kpdf/ +%{tde_datadir}/apps/kpdfpart/ +%{tde_datadir}/config.kcfg/kpdf.kcfg +%{tde_tdedocdir}/HTML/en/kpdf/ +%{tde_datadir}/icons/hicolor/*/apps/kpdf.png +%{tde_datadir}/icons/hicolor/scalable/apps/kpdf.svgz +%{tde_datadir}/services/kpdf_part.desktop + +########## + +%package -n trinity-kpovmodeler +Summary: A graphical editor for povray scenes +Group: Productivity/Graphics/Viewers +#Requires: povray + +%description -n trinity-kpovmodeler +KPovmodeler is KDE's graphical editor for povray scenes. KPovModeler is a +modeling and composition program for creating POV-Ray scenes in KDE. + +For most modelers, POV-Ray is nothing but a rendering engine. This greatly +limits the innate possibilities of the POV-Ray scripted language. This +is not the case for KPovModeler, which allows you to use all the features +of POV-Ray through the translation of POV-Ray language into a graphical +tree. + +kpovmodeler uses the povray package, currently available only in Debian's +non-free, unsupported repository. + +Homepage: http://www.kpovmodeler.org + +%files -n trinity-kpovmodeler +%defattr(-,root,root,-) +%{tde_bindir}/kpovmodeler +%{tde_libdir}/libkpovmodeler.so.* +%{tde_tdelibdir}/libkpovmodelerpart.* +%{tde_tdeappdir}/kpovmodeler.desktop +%{tde_datadir}/apps/kpovmodeler/ +%{tde_datadir}/icons/crystalsvg/*/mimetypes/kpovmodeler_doc.* +%{tde_datadir}/icons/hicolor/*/apps/kpovmodeler.* +%doc %{tde_tdedocdir}/HTML/en/kpovmodeler/ + +########## + +%package -n trinity-kruler +Summary: A screen ruler and color measurement tool for Trinity +Group: Productivity/Graphics/Viewers + +%description -n trinity-kruler +Kruler is a screen ruler (using pixels) and color measurement tool for KDE. + +%files -n trinity-kruler +%defattr(-,root,root,-) +%{tde_bindir}/kruler +%{tde_tdeappdir}/kruler.desktop +%{tde_datadir}/applnk/Graphics/kruler.desktop +%{tde_datadir}/apps/kruler/ +%{tde_datadir}/icons/hicolor/*/apps/kruler.png +%{tde_tdedocdir}/HTML/en/kruler/ + +########## + +%package -n trinity-ksnapshot +Summary: Screenshot utility for Trinity +Group: Productivity/Graphics/Viewers + +%description -n trinity-ksnapshot +KSnapshot is a simple applet for taking screenshots. It is capable of +capturing images of either the whole desktop or just a single window. +The images can then be saved in a variety of formats. + +%files -n trinity-ksnapshot +%defattr(-,root,root,-) +%{tde_bindir}/ksnapshot +%{tde_tdeappdir}/ksnapshot.desktop +%{tde_datadir}/icons/hicolor/*/apps/ksnapshot.png +%{tde_datadir}/icons/hicolor/scalable/apps/ksnapshot.svgz +%{tde_tdedocdir}/HTML/en/ksnapshot/ + +########## + +%package -n trinity-ksvg +Summary: SVG viewer for Trinity +Group: Productivity/Graphics/Viewers + +%description -n trinity-ksvg +KSVG allows you view SVG (scalable vector graphics) files. This package +includes kpart so you can embed it in konqueror and a standalone +application. + +%files -n trinity-ksvg +%defattr(-,root,root,-) +%{tde_bindir}/printnodetest +%{tde_bindir}/svgdisplay +%{tde_tdelibdir}/libksvgplugin.la +%{tde_tdelibdir}/libksvgplugin.so +%{tde_tdelibdir}/libksvgrendererlibart.la +%{tde_tdelibdir}/libksvgrendererlibart.so +%{tde_tdelibdir}/svgthumbnail.la +%{tde_tdelibdir}/svgthumbnail.so +%{tde_libdir}/libksvg.so.0 +%{tde_libdir}/libksvg.so.0.0.1 +%{tde_libdir}/libtext2path.so.0 +%{tde_libdir}/libtext2path.so.0.0.0 +%{tde_datadir}/apps/ksvg/ +%{tde_datadir}/services/ksvglibartcanvas.desktop +%{tde_datadir}/services/ksvgplugin.desktop +%{tde_datadir}/services/svgthumbnail.desktop +%{tde_datadir}/servicetypes/ksvgrenderer.desktop + +########## + +%package -n trinity-kview +Summary: Simple image viewer/converter for Trinity +Group: Productivity/Graphics/Viewers + +%description -n trinity-kview +KView is a simple image viewer and converter application. It supports +a number of plugins, which add an array of basic editing capabilities +as well. + +%files -n trinity-kview +%defattr(-,root,root,-) +%{tde_bindir}/kview +%{tde_tdelibdir}/kcm_kviewcanvasconfig.la +%{tde_tdelibdir}/kcm_kviewcanvasconfig.so +%{tde_tdelibdir}/kcm_kviewgeneralconfig.la +%{tde_tdelibdir}/kcm_kviewgeneralconfig.so +%{tde_tdelibdir}/kcm_kviewpluginsconfig.la +%{tde_tdelibdir}/kcm_kviewpluginsconfig.so +%{tde_tdelibdir}/kcm_kviewpresenterconfig.la +%{tde_tdelibdir}/kcm_kviewpresenterconfig.so +%{tde_tdelibdir}/kcm_kviewviewerpluginsconfig.la +%{tde_tdelibdir}/kcm_kviewviewerpluginsconfig.so +%{tde_tdelibdir}/kview.la +%{tde_tdelibdir}/kview.so +%{tde_tdelibdir}/kview_browserplugin.la +%{tde_tdelibdir}/kview_browserplugin.so +%{tde_tdelibdir}/kview_effectsplugin.la +%{tde_tdelibdir}/kview_effectsplugin.so +%{tde_tdelibdir}/kview_presenterplugin.la +%{tde_tdelibdir}/kview_presenterplugin.so +%{tde_tdelibdir}/kview_scannerplugin.la +%{tde_tdelibdir}/kview_scannerplugin.so +%{tde_tdelibdir}/libkviewcanvas.la +%{tde_tdelibdir}/libkviewcanvas.so +%{tde_tdelibdir}/libkviewviewer.la +%{tde_tdelibdir}/libkviewviewer.so +%{tde_libdir}/libtdeinit_kview.so +%{tde_libdir}/libkimageviewer.so.* +%{tde_tdelibdir}/libphotobook.la +%{tde_tdelibdir}/libphotobook.so +%{tde_tdeappdir}/kview.desktop +%{tde_datadir}/apps/kview/ +%{tde_datadir}/apps/kviewviewer/ +%{tde_datadir}/apps/photobook/ +%{tde_datadir}/icons/crystalsvg/*/apps/photobook.png +%{tde_datadir}/icons/hicolor/*/apps/kview.png +%{tde_datadir}/services/tdeconfiguredialog/ +%{tde_datadir}/services/kviewcanvas.desktop +%{tde_datadir}/services/kviewviewer.desktop +%{tde_datadir}/services/photobook.desktop +%{tde_datadir}/servicetypes/kimageviewer.desktop +%{tde_datadir}/servicetypes/kimageviewercanvas.desktop +%{tde_tdedocdir}/HTML/en/kview/ + +########## + +%package -n trinity-kviewshell +Summary: Generic framework for viewer applications in Trinity +Group: Productivity/Graphics/Viewers + +%description -n trinity-kviewshell +KViewShell is a generic viewing framework that allows the graphical +applications, such as the kview image viewer, to be embedded in other +KDE applications, such as Konqueror. + +KViewShell comes with a djvuviewpart plugin included, for viewing +DjVu images. + +%files -n trinity-kviewshell +%defattr(-,root,root,-) +%{tde_bindir}/kviewshell +%{tde_libdir}/libdjvu.la +%{tde_libdir}/libdjvu.so +%{tde_tdelibdir}/djvuviewpart.so +%{tde_tdelibdir}/djvuviewpart.la +%{tde_tdelibdir}/emptymultipagepart.la +%{tde_tdelibdir}/emptymultipagepart.so +%{tde_tdelibdir}/kviewerpart.la +%{tde_tdelibdir}/kviewerpart.so +%{tde_libdir}/libtdemultipage.so.* +%{tde_datadir}/apps/djvumultipage.rc +%{tde_datadir}/apps/kviewerpart/ +%{tde_datadir}/apps/kviewshell/ +%{tde_datadir}/config.kcfg/djvumultipage.kcfg +%{tde_datadir}/config.kcfg/kviewshell.kcfg +%{tde_datadir}/icons/crystalsvg/*/apps/kviewshell.png +%{tde_datadir}/services/emptymultipage.desktop +%{tde_datadir}/services/djvumultipage.desktop +%{tde_datadir}/servicetypes/tdemultipage.desktop + +########## + +%package -n trinity-libkscan +Summary: Scanner library for Trinity +Group: Hardware/Scanner + +%description -n trinity-libkscan +KScan is TDE's scanner library. It's used by kooka and by koffice currently. +It provides an easy-to-use library, which allows you to access your scanner +(as long as it's sane compatible). + +%files -n trinity-libkscan +%defattr(-,root,root,-) +%{tde_libdir}/libkscan.so.* +%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_color.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_gray.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_halftone.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_lineart.png +%{tde_datadir}/services/scanservice.desktop + +########## + +%package -n trinity-libkscan-devel +Summary: Development files for the Trinity scanner library +Group: Development/Libraries/Other +Requires: trinity-libkscan = %{version}-%{release} + +%description -n trinity-libkscan-devel +This package contains development files for Trinity's scanner library. + +%files -n trinity-libkscan-devel +%defattr(-,root,root,-) +%{tde_libdir}/libkscan.la +%{tde_libdir}/libkscan.so + +########## + +%if 0%{?with_pdf} +%package -n trinity-libpoppler-tqt +Summary: TQt support for Poppler +Group: Productivity/Graphics/Viewers +Obsoletes: poppler-tqt < %{version}-%{release} +Provides: poppler-tqt = %{version}-%{release} +Obsoletes: %{name}-libpoppler-tqt < %{version}-%{release} +Provides: %{name}-libpoppler-tqt = %{version}-%{release} + +%description -n trinity-libpoppler-tqt +TQt support library for Poppler. +This library is used by the Trinity graphics file plugins for PDF support. + +%files -n trinity-libpoppler-tqt +%defattr(-,root,root,-) +%{tde_libdir}/libpoppler-tqt.so.* +%endif + +########## + +%if 0%{?with_pdf} +%package -n trinity-libpoppler-tqt-devel +Summary: Development files for TQt support for Poppler +Group: Development/Libraries/Other +Requires: trinity-libpoppler-tqt = %{version}-%{release} +Obsoletes: poppler-tqt-devel < %{version}-%{release} +Provides: poppler-tqt-devel = %{version}-%{release} +Obsoletes: %{name}-libpoppler-tqt-devel < %{version}-%{release} +Provides: %{name}-libpoppler-tqt-devel = %{version}-%{release} + +%description -n trinity-libpoppler-tqt-devel +Development files of TQt support library for Poppler. +This package contains the development files needed to compile applications against poppler-tqt. + +%files -n trinity-libpoppler-tqt-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/poppler-link-qt3.h +%{tde_tdeincludedir}/poppler-page-transition.h +%{tde_tdeincludedir}/poppler-qt.h +%{tde_libdir}/libpoppler-tqt.la +%{tde_libdir}/libpoppler-tqt.so +%{tde_libdir}/pkgconfig/poppler-tqt.pc +%endif + +########## + +%package devel +Summary: Development files for tdegraphics +Group: Development/Libraries/Other + +Obsoletes: trinity-kdegraphics-devel < %{version}-%{release} +Provides: trinity-kdegraphics-devel = %{version}-%{release} + +Requires: %{name} = %{version}-%{release} +Requires: trinity-libkscan-devel = %{version}-%{release} +%if 0%{?with_pdf} +Requires: trinity-libpoppler-tqt-devel = %{version}-%{release} +%endif + +%description devel +This package contains the development files needed to compile +applications against tdegraphics libraries. + +%files devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/dom/ +%{tde_tdeincludedir}/kfaximage.h +%{tde_tdeincludedir}/tdemultipageInterface.h +%{tde_tdeincludedir}/ksvg/ +%{tde_tdeincludedir}/kviewshell/ +%{tde_tdeincludedir}/libtext2path-0.1/ +%{tde_libdir}/libtdeinit_kview.la +%if 0%{?build_kmrml} +%{tde_libdir}/libtdeinit_mrmlsearch.la +%endif +%{tde_libdir}/libkghostviewlib.la +%{tde_libdir}/libkghostviewlib.so +%{tde_libdir}/libkimageviewer.la +%{tde_libdir}/libkimageviewer.so +%{tde_libdir}/libtdemultipage.la +%{tde_libdir}/libtdemultipage.so +%{tde_libdir}/libkpovmodeler.la +%{tde_libdir}/libkpovmodeler.so +%{tde_libdir}/libksvg.la +%{tde_libdir}/libksvg.so +%{tde_libdir}/libtext2path.la +%{tde_libdir}/libtext2path.so +# kfaxview +%{tde_libdir}/libkfaximage.so +%{tde_libdir}/libkfaximage.la +# cmake +%{tde_datadir}/cmake/* + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} + +%if 0%{?build_kamera} == 0 +%__rm -rf doc/kamera/ +%endif + +# Fix applications icons +%__sed -i "kooka/kooka.desktop" -e "s|^Icon=.*|Icon=kooka|" + +# Fix FTBFS in RHEL 5 +%if 0%{?rhel} && 0%{?rhel} <= 5 +%__sed -i "kpdf/xpdf/aconf.h" \ + -e "s|#define HAVE_MKSTEMPS 1|#define HAVE_MKSTEMPS 0|" +%__sed -i "tdefile-plugins/dependencies/poppler-tqt/CMakeLists.txt" \ + -e "/link_directories/ s|$|\n \${POPPLER_LIBRARY_DIRS}|" \ + -e "/{POPPLER_INCLUDE_DIRS/ s|$|\n \${POPPLER_INCLUDE_DIRS}/..|" +%endif + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +# 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} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_NO_BUILTIN_CHRPATH=ON \ + -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} \ + -DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \ + \ + %{?with_t1lib:-DWITH_T1LIB=ON} \ + %{?with_paper:-DWITH_LIBPAPER=ON} \ + -DWITH_TIFF=ON \ + -DWITH_OPENEXR=ON \ + -DWITH_PDF=%{?with_pdf:ON}%{?!with_pdf:OFF} \ + -DBUILD_ALL=ON \ + -DBUILD_KUICKSHOW=OFF \ + %{!?build_kmrml:-DBUILD_KMRML=OFF} \ + %{!?build_kamera:-DBUILD_KAMERA=OFF} \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +# Adds missing icons in 'hicolor' theme +%__mkdir_p "%{?buildroot}%{tde_datadir}/icons/hicolor/"{16x16,32x32,48x48,64x64}"/apps/" +pushd "%{?buildroot}%{tde_datadir}/icons" +for i in {16,32,48,64}; do %__cp $BUILD_ROOT%{tde_datadir}/icons/crystalsvg/"$i"x"$i"/devices/scanner.png %{buildroot}%{tde_datadir}/icons/hicolor/"$i"x"$i"/apps/kooka.png; done +popd + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kpovmodeler.desktop Graphics 3DGraphics +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kolourpaint.desktop Graphics RasterGraphics +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/tdeiconedit.desktop Graphics RasterGraphics +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kview.desktop Graphics Viewer +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kooka.desktop Graphics Scanning +%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/kruler.desktop Utility DesktopUtility +%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/ksnapshot.desktop Utility DesktopUtility +%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/kcolorchooser.desktop Utility DesktopUtility +%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/kcoloredit.desktop Utility DesktopUtility +%suse_update_desktop_file -u %{?buildroot}%{tde_tdeappdir}/kfax.desktop Office Viewer +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kghostview.desktop Office Viewer +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kdvi.desktop Office Viewer +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kpdf.desktop Office Viewer +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kfaxview.desktop Office Viewer +%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kamera.desktop +%endif + +# Links duplicate files +%fdupes "%{?buildroot}" + + +%clean +%__rm -rf %{buildroot} + + +%changelog diff --git a/redhat/main/tdelibs/tdelibs-14.0.1.patch b/redhat/main/tdelibs/tdelibs-14.0.1.patch deleted file mode 100644 index ab309f841..000000000 --- a/redhat/main/tdelibs/tdelibs-14.0.1.patch +++ /dev/null @@ -1,31 +0,0 @@ -diff --git a/tdecore/tdeglobal.h b/tdecore/tdeglobal.h -index b5fddb8..1269c36 100644 ---- a/tdecore/tdeglobal.h -+++ b/tdecore/tdeglobal.h -@@ -25,8 +25,10 @@ class KCharsets; - class TDEConfig; - class TDESharedConfig; - class TDEIconLoader; -+#ifdef __TDE_HAVE_TDEHWLIB - class TDEHardwareDevices; - class TDEGlobalNetworkManager; -+#endif - class TDELocale; - class TDEStandardDirs; - class KStaticDeleterBase; -@@ -79,6 +81,7 @@ public: - */ - static TDEIconLoader *iconLoader(); - -+#ifdef __TDE_HAVE_TDEHWLIB - /** - * Returns a TDEHardwareDevices object. - * @return the global hardware devices object -@@ -90,6 +93,7 @@ public: - * @return the global network manager object - */ - static TDEGlobalNetworkManager *networkManager(); -+#endif - - /** - * Returns the global locale object. diff --git a/redhat/main/tdelibs/tdelibs-14.1.0.patch b/redhat/main/tdelibs/tdelibs-14.1.0.patch deleted file mode 100644 index c4812b447..000000000 --- a/redhat/main/tdelibs/tdelibs-14.1.0.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/tdecore/CMakeLists.txt b/tdecore/CMakeLists.txt -index 4d9c4a4..fed951b 100644 ---- a/tdecore/CMakeLists.txt -+++ b/tdecore/CMakeLists.txt -@@ -137,7 +137,7 @@ tde_add_library( ${target} SHARED AUTOMOC - EMBED tdecorenetwork-static ${TDEHW_LIB} - LINK ltdlc-static ${KDESVGICONS} DCOP-shared tdefx-shared ${ZLIB_LIBRARIES} - ${LIBIDN_LIBRARIES} ${XCOMPOSITE_LIBRARIES} ICE SM ${GAMIN_LIBRARIES} -- ${LIBBFD_LIBRARIES} ${LIB_UTIL} -+ ${LIBBFD_LIBRARIES} ${LIB_UTIL} ${SSL_LIBRARIES} - DEPENDENCIES dcopidl dcopidl2cpp - DESTINATION ${LIB_INSTALL_DIR} - ) diff --git a/redhat/main/tdelibs/tdelibs.spec b/redhat/main/tdelibs/tdelibs.spec index 0afe618fe..f38c171de 100644 --- a/redhat/main/tdelibs/tdelibs.spec +++ b/redhat/main/tdelibs/tdelibs.spec @@ -22,7 +22,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg tdelibs %define tde_prefix /opt/trinity @@ -60,9 +60,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz Source1: %{name}-rpmlintrc -Patch0: tdelibs-14.0.1.patch -Patch1: tdelibs-14.1.0.patch - Obsoletes: tdelibs < %{version}-%{release} Provides: tdelibs = %{version}-%{release} Obsoletes: trinity-kdelibs < %{version}-%{release} @@ -622,8 +619,6 @@ applications for TDE. %prep %setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} -%patch0 -p1 -b .ftbfs -%patch1 -p1 -b .ftbfs # RHEL 5: remove tdehwlib stuff from include files, to avoid FTBFS in tdebindings %if 0%{?rhel} == 5 diff --git a/redhat/main/tdemultimedia/tdemultimedia-14.0.0-autotools.spec b/redhat/main/tdemultimedia/tdemultimedia-14.0.0-autotools.spec deleted file mode 100644 index 44fd60fab..000000000 --- a/redhat/main/tdemultimedia/tdemultimedia-14.0.0-autotools.spec +++ /dev/null @@ -1,1145 +0,0 @@ -# -# spec file for package tdemultimedia (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/ -# - -# BUILD WARNING: -# Remove qt-devel and qt3-devel and any kde*-devel on your system ! -# Having KDE libraries may cause FTBFS here ! - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.0.0 -%endif -%define tde_pkg tdemultimedia -%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_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: Multimedia applications for the Trinity Desktop Environment -Version: %{tde_version} -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Group: Productivity/Multimedia/Sound/Utilities -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Project -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz - -Obsoletes: trinity-kdemultimedia < %{version}-%{release} -Provides: trinity-kdemultimedia = %{version}-%{release} -Obsoletes: trinity-kdemultimedia-libs < %{version}-%{release} -Provides: trinity-kdemultimedia-libs = %{version}-%{release} -Obsoletes: trinity-kdemultimedia-extras < %{version}-%{release} -Provides: trinity-kdemultimedia-extras = %{version}-%{release} -Obsoletes: trinity-kdemultimedia-extras-libs < %{version}-%{release} -Provides: trinity-kdemultimedia-extras-libs = %{version}-%{release} - -BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} - -BuildRequires: autoconf automake libtool m4 -BuildRequires: gcc-c++ -BuildRequires: fdupes -BuildRequires: desktop-file-utils - -# 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 -%define with_taglib 1 -BuildRequires: taglib-devel - -# AKODE support -%define with_akode 1 -BuildRequires: trinity-akode-devel - -# MAD support -%ifarch %{ix86} x86_64 -%define with_libmad 1 -%{?with_libmad:BuildRequires: libakode_mpeg_decoder} -%endif - -# ZLIB support -BuildRequires: zlib-devel - -# MUSICBRAINZ support -## not currently compatible with libtunepimp-0.5 (only libtunepimp-0.4) -#define with_musicbrainz 1 -#BuildRequires: libmusicbrainz-devel libtunepimp-devel - -# Audio libraries -BuildRequires: libvorbis-devel -BuildRequires: audiofile-devel -BuildRequires: libtheora-devel -BuildRequires: alsa-lib-devel -BuildRequires: cdparanoia -#BuildRequires: libmpg123-devel - -# CDDA support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: libcdda-devel -%endif -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -BuildRequires: cdparanoia-devel -%endif - -# FLAC support -%if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?pclinuxos} -BuildRequires: libflac-devel -%else -BuildRequires: %{_lib}flac-devel -%endif -%endif -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -BuildRequires: flac-devel -%endif - -# GSTREAMER support -%if 0%{?mgaversion} || 0%{?mdkversion} -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 - -# X11 Libraries -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}xxf86dga-devel -BuildRequires: %{_lib}xxf86vm-devel -%if 0%{?mgaversion} >= 4 -BuildRequires: %{_lib}xtst-devel -%else -BuildRequires: %{_lib}xtst%{?mgaversion:6}-devel -%endif -%endif -%if 0%{?rhel} == 4 -BuildRequires: xorg-x11-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 -BuildRequires: libXxf86dga-devel -BuildRequires: libXxf86vm-devel -%endif - -# XINE support -%if 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?rhel} >= 5 -%define with_xine 1 -%if 0%{?mgaversion} || 0%{?mdkversion} -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 -%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 - - -Requires: trinity-artsbuilder = %{version}-%{release} -Requires: trinity-juk = %{version}-%{release} -Requires: trinity-kaboodle = %{version}-%{release} -Requires: trinity-kaudiocreator = %{version}-%{release} -Requires: %{name}-kfile-plugins = %{version}-%{release} -Requires: %{name}-kappfinder-data = %{version}-%{release} -Requires: %{name}-tdeio-plugins = %{version}-%{release} -Requires: trinity-tdemid = %{version}-%{release} -Requires: trinity-kmix = %{version}-%{release} -Requires: trinity-krec = %{version}-%{release} -Requires: trinity-kscd = %{version}-%{release} -%{?with_akode:Requires: trinity-libarts-akode = %{version}-%{release}} -Requires: trinity-libarts-audiofile = %{version}-%{release} -%{?with_mpeg:Requires: trinity-libarts-mpeglib = %{version}-%{release}} -%{?with_xine:Requires: trinity-libarts-xine = %{version}-%{release}} -Requires: trinity-libkcddb = %{version}-%{release} -%{?with_mpeg:Requires: trinity-mpeglib = %{version}-%{release}} -Requires: trinity-noatun = %{version}-%{release} - - -%description -The Trinity Desktop Environment (TDE) is a GUI desktop for the X Window -System. The tdemultimedia package contains multimedia applications for -TDE, including: - artsbuilder, Synthesizer designer for aRts - juk, a media player - tdemid, a midi player - kmix, an audio mixer - arts, additional functionality for the aRts sound system - krec, a recording tool - kscd, an Audio-CD player - kaudiocreator, a graphical frontend for audio file creation - kaboodle, a media player - noatun, a media player - -%files - -########## - -%package -n trinity-artsbuilder -Summary: Synthesizer designer for aRts -Group: Productivity/Multimedia/Sound/Mixers -Requires: trinity-kicker >= %{tde_version} - -%description -n trinity-artsbuilder -This is the analog Realtime synthesizer's graphical design tool. - -%files -n trinity-artsbuilder -%defattr(-,root,root,-) -%{tde_bindir}/artsbuilder -%{tde_bindir}/artscontrol -%{tde_bindir}/midisend -%{tde_libdir}/libartsbuilder.la -%{tde_libdir}/libartsbuilder.so.* -%{tde_libdir}/libartscontrolapplet.la -%{tde_libdir}/libartscontrolapplet.so.* -%{tde_libdir}/libartscontrolsupport.la -%{tde_libdir}/libartscontrolsupport.so.* -%{tde_libdir}/libartsgui_idl.la -%{tde_libdir}/libartsgui_idl.so.* -%{tde_libdir}/libartsgui_kde.la -%{tde_libdir}/libartsgui_kde.so.* -%{tde_libdir}/libartsgui.la -%{tde_libdir}/libartsgui.so.* -%{tde_libdir}/libartsmidi_idl.la -%{tde_libdir}/libartsmidi_idl.so.* -%{tde_libdir}/libartsmidi.la -%{tde_libdir}/libartsmidi.so.* -%{tde_libdir}/libartsmodulescommon.la -%{tde_libdir}/libartsmodulescommon.so.* -%{tde_libdir}/libartsmoduleseffects.la -%{tde_libdir}/libartsmoduleseffects.so.* -%{tde_libdir}/libartsmodulesmixers.la -%{tde_libdir}/libartsmodulesmixers.so.* -%{tde_libdir}/libartsmodules.la -%{tde_libdir}/libartsmodules.so.* -%{tde_libdir}/libartsmodulessynth.la -%{tde_libdir}/libartsmodulessynth.so.* -%{tde_libdir}/mcop/Arts/ArtsBuilderLoader.mcopclass -%{tde_libdir}/mcop/artsbuilder.mcopclass -%{tde_libdir}/mcop/artsbuilder.mcoptype -%{tde_libdir}/mcop/Arts/Button.mcopclass -%{tde_libdir}/mcop/Arts/EffectRackGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/Effect_WAVECAPTURE.mcopclass -%{tde_libdir}/mcop/Arts/Environment/Container.mcopclass -%{tde_libdir}/mcop/Arts/Environment/EffectRackItem.mcopclass -%{tde_libdir}/mcop/Arts/Environment/InstrumentItemGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/Environment/InstrumentItem.mcopclass -%{tde_libdir}/mcop/Arts/Environment/MixerItem.mcopclass -%{tde_libdir}/mcop/Arts/Fader.mcopclass -%{tde_libdir}/mcop/Arts/FiveBandMonoComplexEQGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/FiveBandMonoComplexEQ.mcopclass -%{tde_libdir}/mcop/Arts/FreeverbGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/GenericGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/GraphLine.mcopclass -%{tde_libdir}/mcop/artsgui.mcopclass -%{tde_libdir}/mcop/artsgui.mcoptype -%{tde_libdir}/mcop/Arts/HBox.mcopclass -%{tde_libdir}/mcop/Arts/Label.mcopclass -%{tde_libdir}/mcop/Arts/LayoutBox.mcopclass -%{tde_libdir}/mcop/Arts/LevelMeter.mcopclass -%{tde_libdir}/mcop/Arts/LineEdit.mcopclass -%{tde_libdir}/mcop/Arts/LittleStereoMixerChannelGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/LittleStereoMixerChannel.mcopclass -%{tde_libdir}/mcop/Arts/LocalFactory.mcopclass -%{tde_libdir}/mcop/Arts/MidiManager.mcopclass -%{tde_libdir}/mcop/artsmidi.mcopclass -%{tde_libdir}/mcop/artsmidi.mcoptype -%{tde_libdir}/mcop/Arts/MixerGuiFactory.mcopclass -%{tde_libdir}/mcop/artsmodulescommon.mcopclass -%{tde_libdir}/mcop/artsmodulescommon.mcoptype -%{tde_libdir}/mcop/artsmoduleseffects.mcopclass -%{tde_libdir}/mcop/artsmoduleseffects.mcoptype -%{tde_libdir}/mcop/artsmodules.mcopclass -%{tde_libdir}/mcop/artsmodules.mcoptype -%{tde_libdir}/mcop/artsmodulesmixers.mcopclass -%{tde_libdir}/mcop/artsmodulesmixers.mcoptype -%{tde_libdir}/mcop/artsmodulessynth.mcopclass -%{tde_libdir}/mcop/artsmodulessynth.mcoptype -%{tde_libdir}/mcop/Arts/MonoSimpleMixerChannelGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/MonoSimpleMixerChannel.mcopclass -%{tde_libdir}/mcop/Arts/MonoToStereo.mcopclass -%{tde_libdir}/mcop/Arts/PopupBox.mcopclass -%{tde_libdir}/mcop/Arts/Poti.mcopclass -%{tde_libdir}/mcop/Arts/SimpleMixerChannelGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/SimpleMixerChannel.mcopclass -%{tde_libdir}/mcop/Arts/SpinBox.mcopclass -%{tde_libdir}/mcop/Arts/StereoBalanceGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/StereoBalance.mcopclass -%{tde_libdir}/mcop/Arts/StereoCompressorGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/StereoFirEqualizerGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/StereoToMono.mcopclass -%{tde_libdir}/mcop/Arts/StereoVolumeControlGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/StereoVolumeControlGui.mcopclass -%{tde_libdir}/mcop/Arts/StructureBuilder.mcopclass -%{tde_libdir}/mcop/Arts/StructureDesc.mcopclass -%{tde_libdir}/mcop/Arts/Synth_ATAN_SATURATE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_AUTOPANNER.mcopclass -%{tde_libdir}/mcop/Arts/Synth_BRICKWALL_LIMITER.mcopclass -%{tde_libdir}/mcop/Arts/Synth_CAPTURE_WAV.mcopclass -%{tde_libdir}/mcop/Arts/Synth_CDELAY.mcopclass -%{tde_libdir}/mcop/Arts/Synth_COMPRESSOR.mcopclass -%{tde_libdir}/mcop/Arts/Synth_DATA.mcopclass -%{tde_libdir}/mcop/Arts/Synth_DEBUG.mcopclass -%{tde_libdir}/mcop/Arts/Synth_DELAY.mcopclass -%{tde_libdir}/mcop/Arts/Synth_DIV.mcopclass -%{tde_libdir}/mcop/Arts/Synth_ENVELOPE_ADSR.mcopclass -%{tde_libdir}/mcop/Arts/Synth_FM_SOURCE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_FREEVERB.mcopclass -%{tde_libdir}/mcop/Arts/Synth_FX_CFLANGER.mcopclass -%{tde_libdir}/mcop/Arts/Synth_MIDI_DEBUG.mcopclass -%{tde_libdir}/mcop/Arts/Synth_MIDI_TEST.mcopclass -%{tde_libdir}/mcop/Arts/Synth_MOOG_VCF.mcopclass -%{tde_libdir}/mcop/Arts/Synth_NIL.mcopclass -%{tde_libdir}/mcop/Arts/Synth_NOISE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_OSC.mcopclass -%{tde_libdir}/mcop/Arts/Synth_PITCH_SHIFT_FFT.mcopclass -%{tde_libdir}/mcop/Arts/Synth_PITCH_SHIFT.mcopclass -%{tde_libdir}/mcop/Arts/Synth_PLAY_PAT.mcopclass -%{tde_libdir}/mcop/Arts/Synth_PSCALE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_RC.mcopclass -%{tde_libdir}/mcop/Arts/Synth_SEQUENCE_FREQ.mcopclass -%{tde_libdir}/mcop/Arts/Synth_SEQUENCE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_SHELVE_CUTOFF.mcopclass -%{tde_libdir}/mcop/Arts/Synth_STD_EQUALIZER.mcopclass -%{tde_libdir}/mcop/Arts/Synth_STEREO_COMPRESSOR.mcopclass -%{tde_libdir}/mcop/Arts/Synth_STEREO_FIR_EQUALIZER.mcopclass -%{tde_libdir}/mcop/Arts/Synth_STEREO_PITCH_SHIFT_FFT.mcopclass -%{tde_libdir}/mcop/Arts/Synth_STEREO_PITCH_SHIFT.mcopclass -%{tde_libdir}/mcop/Arts/Synth_TREMOLO.mcopclass -%{tde_libdir}/mcop/Arts/Synth_VOICE_REMOVAL.mcopclass -%{tde_libdir}/mcop/Arts/Synth_WAVE_PULSE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_WAVE_SOFTSAW.mcopclass -%{tde_libdir}/mcop/Arts/Synth_WAVE_SQUARE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_WAVE_TRI.mcopclass -%{tde_libdir}/mcop/Arts/Synth_XFADE.mcopclass -%{tde_libdir}/mcop/Arts/VBox.mcopclass -%{tde_libdir}/mcop/Arts/VoiceRemovalGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/Widget.mcopclass -%{tde_tdeappdir}/artsbuilder.desktop -%{tde_tdeappdir}/artscontrol.desktop -%{tde_datadir}/apps/artsbuilder/ -%{tde_datadir}/apps/artscontrol/ -%{tde_datadir}/apps/kicker/applets/artscontrolapplet.desktop -%{tde_datadir}/icons/crystalsvg/*/actions/artsaudiomanager.png -%{tde_datadir}/icons/crystalsvg/*/actions/artsbuilderexecute.png -%{tde_datadir}/icons/crystalsvg/*/actions/artsenvironment.png -%{tde_datadir}/icons/crystalsvg/*/actions/artsfftscope.png -%{tde_datadir}/icons/crystalsvg/*/actions/artsmediatypes.png -%{tde_datadir}/icons/crystalsvg/*/actions/artsmidimanager.png -%{tde_datadir}/icons/crystalsvg/scalable/actions/artsaudiomanager.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/artsenvironment.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/artsfftscope.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/artsmediatypes.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/artsmidimanager.svgz -%{tde_datadir}/icons/hicolor/*/apps/artsbuilder.png -%{tde_datadir}/icons/hicolor/*/apps/artscontrol.png -%{tde_datadir}/icons/hicolor/scalable/apps/artsbuilder.svgz -%{tde_datadir}/icons/hicolor/scalable/apps/artscontrol.svgz -%{tde_datadir}/mimelnk/application/x-artsbuilder.desktop -%{tde_tdedocdir}/HTML/en/artsbuilder/ - -########## - -%package -n trinity-juk -Summary: Music organizer and player for Trinity -Group: Productivity/Multimedia/Sound/Players - -%description -n trinity-juk -JuK (pronounced "jook") is a jukebox and music manager for the TDE -desktop similar to jukebox software on other platforms such as -iTunes or RealOne. - -Some of JuK's features include: -* Support for Ogg Vorbis and MP3 formats -* Tag editing support for both formats, including ID3v2 for MP3 files. - Multitagging or editing a selection of multiple files at once is also - supported -* Output to either the aRts, default KDE sound system, or GStreamer -* Management of your "collection" and multiple playlists -* Import and export to m3u playlists -* Binary caching of audio meta-data and playlist information for faster - load times (starting with the second time you run JuK) -* Integration into TDE that allows drag-and-drop and clipboard usage - with other TDE and X apps - -%files -n trinity-juk -%defattr(-,root,root,-) -%{tde_bindir}/juk -%{tde_tdeappdir}/juk.desktop -%{tde_datadir}/apps/juk/ -%{tde_datadir}/apps/konqueror/servicemenus/jukservicemenu.desktop -%{tde_datadir}/icons/crystalsvg/*/actions/juk_dock.png -%{tde_datadir}/icons/hicolor/*/apps/juk.png -%{tde_tdedocdir}/HTML/en/juk/ - -########## - -%package -n trinity-kaboodle -Summary: Light, embedded media player for Trinity -Group: System/GUI/Other - -%if 0%{?with_xine} -Requires: trinity-libarts-xine = %{version}-%{release} -%endif - -%description -n trinity-kaboodle -Kaboodle is a light, embedded media player, supporting both video and audio, -for TDE. It uses the aRts framework for playing media files. - -%files -n trinity-kaboodle -%defattr(-,root,root,-) -%{tde_bindir}/kaboodle -%{tde_tdelibdir}/libkaboodlepart.la -%{tde_tdelibdir}/libkaboodlepart.so -%{tde_tdeappdir}/kaboodle.desktop -%{tde_datadir}/apps/kaboodle/ -%{tde_datadir}/icons/hicolor/*/apps/kaboodle.png -%{tde_datadir}/services/kaboodle_component.desktop -%{tde_datadir}/services/kaboodleengine.desktop -%{tde_tdedocdir}/HTML/en/kaboodle/ - -########## - -%package -n trinity-kaudiocreator -Summary: CD ripper and audio encoder frontend for Trinity -Group: Productivity/Multimedia/CD/Grabbers - -Requires: %{name}-tdeio-plugins = %{version}-%{release} -Requires: vorbis-tools -Requires: flac - -%description -n trinity-kaudiocreator -KAudioCreator is a tool for audio extraction (ripping) and encoding. It can -keep your WAV files, or convert them to Ogg/Vorbis, MP3, or FLAC. It also -searches CDDB to retrieve the information of the disk. - -%files -n trinity-kaudiocreator -%defattr(-,root,root,-) -%{tde_bindir}/kaudiocreator -%{tde_tdeappdir}/kaudiocreator.desktop -%{tde_datadir}/apps/kaudiocreator/ -%{tde_datadir}/apps/tdeconf_update/kaudiocreator-libkcddb.upd -%{tde_datadir}/apps/tdeconf_update/kaudiocreator-meta.upd -%{tde_datadir}/apps/tdeconf_update/upgrade-kaudiocreator-metadata.sh -%{tde_datadir}/apps/konqueror/servicemenus/audiocd_extract.desktop -%{tde_datadir}/config.kcfg/kaudiocreator.kcfg -%{tde_datadir}/config.kcfg/kaudiocreator_encoders.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kaudiocreator.png -%{tde_datadir}/icons/locolor/*/apps/kaudiocreator.png -%{tde_tdedocdir}/HTML/en/kaudiocreator/ - -########## - -%package kfile-plugins -Summary: An au/avi/m3u/mp3/ogg/wav plugins for kfile -Group: Productivity/Multimedia/Sound/Utilities - -%description kfile-plugins -au/avi/m3u/mp3/ogg/wav file metainformation plugins for Trinity. - -%files kfile-plugins -%defattr(-,root,root,-) -%{tde_tdelibdir}/tdefile_au.la -%{tde_tdelibdir}/tdefile_au.so -%{tde_tdelibdir}/tdefile_avi.la -%{tde_tdelibdir}/tdefile_avi.so -%{tde_tdelibdir}/tdefile_flac.la -%{tde_tdelibdir}/tdefile_flac.so -%{tde_tdelibdir}/tdefile_m3u.la -%{tde_tdelibdir}/tdefile_m3u.so -%{tde_tdelibdir}/tdefile_mp3.la -%{tde_tdelibdir}/tdefile_mp3.so -%{tde_tdelibdir}/tdefile_mpc.la -%{tde_tdelibdir}/tdefile_mpc.so -%{tde_tdelibdir}/tdefile_mpeg.la -%{tde_tdelibdir}/tdefile_mpeg.so -%{tde_tdelibdir}/tdefile_ogg.la -%{tde_tdelibdir}/tdefile_ogg.so -%{tde_tdelibdir}/tdefile_sid.la -%{tde_tdelibdir}/tdefile_sid.so -%{tde_tdelibdir}/tdefile_theora.la -%{tde_tdelibdir}/tdefile_theora.so -%{tde_tdelibdir}/tdefile_wav.la -%{tde_tdelibdir}/tdefile_wav.so -%{tde_datadir}/services/tdefile_au.desktop -%{tde_datadir}/services/tdefile_avi.desktop -%{tde_datadir}/services/tdefile_flac.desktop -%{tde_datadir}/services/tdefile_m3u.desktop -%{tde_datadir}/services/tdefile_mp3.desktop -%{tde_datadir}/services/tdefile_mpc.desktop -%{tde_datadir}/services/tdefile_mpeg.desktop -%{tde_datadir}/services/tdefile_ogg.desktop -%{tde_datadir}/services/tdefile_sid.desktop -%{tde_datadir}/services/tdefile_theora.desktop -%{tde_datadir}/services/tdefile_wav.desktop - -########## - -%package kappfinder-data -Summary: Multimedia data for kappfinder -Group: Productivity/Multimedia/Sound/Utilities - -Requires: trinity-kappfinder >= %{tde_version} -Requires: trinity-tdebase-runtime-data-common >= %{tde_version} - -%description kappfinder-data -This package provides data on multimedia applications for kappfinder. - -%files kappfinder-data -%defattr(-,root,root,-) -%{tde_datadir}/apps/kappfinder/ -%{tde_datadir}/desktop-directories/tde-multimedia-music.directory -%config %{_sysconfdir}/xdg/menus/applications-merged/tde-multimedia-music.menu - -########## - -%package tdeio-plugins -Summary: Enables the browsing of audio CDs under Konqueror -Group: Productivity/Multimedia/Sound/Utilities -Requires: trinity-tdebase-tdeio-plugins >= %{tde_version} - -Obsoletes: trinity-tdemultimedia-kio-plugins < %{version}-%{release} -Provides: trinity-tdemultimedia-kio-plugins = %{version}-%{release} - -%description tdeio-plugins -This package allow audio CDs to be browsed like a file system using -Konqueror and the audiocd:/ URL. - -%files tdeio-plugins -%defattr(-,root,root,-) -%{tde_tdelibdir}/kcm_audiocd.la -%{tde_tdelibdir}/kcm_audiocd.so -%{tde_tdelibdir}/tdeio_audiocd.la -%{tde_tdelibdir}/tdeio_audiocd.so -%{tde_tdelibdir}/libaudiocd_encoder_flac.la -%{tde_tdelibdir}/libaudiocd_encoder_flac.so -%{tde_tdelibdir}/libaudiocd_encoder_lame.la -%{tde_tdelibdir}/libaudiocd_encoder_lame.so -%{tde_tdelibdir}/libaudiocd_encoder_vorbis.la -%{tde_tdelibdir}/libaudiocd_encoder_vorbis.so -%{tde_tdelibdir}/libaudiocd_encoder_wav.la -%{tde_tdelibdir}/libaudiocd_encoder_wav.so -%{tde_libdir}/libaudiocdplugins.so.* -%{tde_tdeappdir}/audiocd.desktop -%{tde_datadir}/apps/tdeconf_update/audiocd.upd -%{tde_datadir}/apps/tdeconf_update/upgrade-metadata.sh -%{tde_datadir}/config.kcfg/audiocd_lame_encoder.kcfg -%{tde_datadir}/config.kcfg/audiocd_vorbis_encoder.kcfg -%{tde_datadir}/services/audiocd.protocol -%{tde_tdedocdir}/HTML/en/tdeioslave/audiocd/ -%{tde_tdedocdir}/HTML/en/kcontrol/audiocd/ -%{tde_datadir}/icons/hicolor/*/apps/kcmaudiocd.png - -########## - -%package -n trinity-tdemid -Summary: MIDI/karaoke player for Trinity -Group: Productivity/Multimedia/Sound/Midi - -Obsoletes: trinity-kmid < %{version}-%{release} -Provides: trinity-kmid = %{version}-%{release} - -%description -n trinity-tdemid -This package provides a MIDI and karaoke player for TDE. - -%files -n trinity-tdemid -%defattr(-,root,root,-) -%{tde_bindir}/tdemid -%{tde_tdelibdir}/libtdemidpart.la -%{tde_tdelibdir}/libtdemidpart.so -%{tde_libdir}/libtdemidlib.so.* -%{tde_tdeappdir}/tdemid.desktop -%{tde_datadir}/apps/tdemid/ -%{tde_datadir}/icons/hicolor/*/apps/tdemid.png -%{tde_datadir}/mimelnk/audio/x-karaoke.desktop -%{tde_datadir}/servicetypes/audiomidi.desktop -%{tde_tdedocdir}/HTML/en/tdemid/ - -########## - -%package -n trinity-kmix -Summary: Sound mixer applet for Trinity -Group: Productivity/Multimedia/Sound/Mixers -Requires: trinity-kicker >= %{tde_version} - -%description -n trinity-kmix -This package includes TDE's dockable sound mixer applet. - -%files -n trinity-kmix -%defattr(-,root,root,-) -%{tde_bindir}/kmix -%{tde_bindir}/kmixctrl -%{tde_tdelibdir}/kmix.la -%{tde_tdelibdir}/kmix.so -%{tde_tdelibdir}/kmix_panelapplet.la -%{tde_tdelibdir}/kmix_panelapplet.so -%{tde_tdelibdir}/kmixctrl.la -%{tde_tdelibdir}/kmixctrl.so -%{tde_libdir}/libtdeinit_kmix.so -%{tde_libdir}/libtdeinit_kmixctrl.so -%{tde_tdeappdir}/kmix.desktop -%{tde_datadir}/apps/kicker/applets/kmixapplet.desktop -%{tde_datadir}/apps/kmix/ -%{tde_datadir}/autostart/kmix.desktop -%{tde_datadir}/autostart/restore_kmix_volumes.desktop -%{tde_datadir}/icons/hicolor/*/apps/kmix.png -%{tde_datadir}/services/kmixctrl_restore.desktop -%{tde_tdedocdir}/HTML/en/kmix/ - -########## - -%package -n trinity-krec -Summary: Sound recorder utility for Trinity -Group: Productivity/Multimedia/CD/Record - -%description -n trinity-krec -This is a sound recording utility for Trinity. - -%files -n trinity-krec -%defattr(-,root,root,-) -%{tde_bindir}/krec -%{tde_tdelibdir}/kcm_krec.la -%{tde_tdelibdir}/kcm_krec.so -%{tde_tdelibdir}/kcm_krec_files.la -%{tde_tdelibdir}/kcm_krec_files.so -%{tde_tdelibdir}/krec.la -%{tde_tdelibdir}/krec.so -%if 0%{?with_lame} -%{tde_tdelibdir}/libkrecexport_mp3.la -%{tde_tdelibdir}/libkrecexport_mp3.so -%{tde_datadir}/services/krec_exportmp3.desktop -%endif -%{tde_tdelibdir}/libkrecexport_ogg.la -%{tde_tdelibdir}/libkrecexport_ogg.so -%{tde_tdelibdir}/libkrecexport_wave.la -%{tde_tdelibdir}/libkrecexport_wave.so -%{tde_libdir}/libtdeinit_krec.so -%{tde_tdeappdir}/krec.desktop -%{tde_datadir}/apps/krec/ -%{tde_datadir}/icons/hicolor/*/apps/krec.png -%{tde_datadir}/services/kcm_krec.desktop -%{tde_datadir}/services/kcm_krec_files.desktop -%{tde_datadir}/services/krec_exportogg.desktop -%{tde_datadir}/services/krec_exportwave.desktop -%{tde_datadir}/servicetypes/krec_exportitem.desktop -%{tde_tdedocdir}/HTML/en/krec/ - -########## - -%package -n trinity-kscd -Summary: Audio CD player for Trinity -Group: Productivity/Multimedia/CD/Players - -%description -n trinity-kscd -This is Trinity's audio CD player. - -%files -n trinity-kscd -%defattr(-,root,root,-) -%{tde_bindir}/kscd -%{tde_bindir}/workman2cddb.pl -%{tde_tdeappdir}/kscd.desktop -%{tde_datadir}/apps/konqueror/servicemenus/audiocd_play.desktop -%{tde_datadir}/apps/kscd/ -%{tde_datadir}/apps/profiles/kscd.profile.xml -%{tde_datadir}/config.kcfg/kscd.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kscd.png -%{tde_datadir}/mimelnk/text/xmcd.desktop -%{tde_tdedocdir}/HTML/en/kscd/ - -########## - -%if 0%{?with_akode} -%package -n trinity-libarts-akode -Summary: Akode plugin for aRts -Group: Productivity/Multimedia/Other - -%description -n trinity-libarts-akode -This package contains akode plugins for aRts. - -%files -n trinity-libarts-akode -%defattr(-,root,root,-) -%{tde_libdir}/libarts_akode.so.* -%{tde_libdir}/libarts_akode.la -%{tde_libdir}/mcop/akodearts.mcoptype -%{tde_libdir}/mcop/akodearts.mcopclass -%{tde_libdir}/mcop/akodeMPCPlayObject.mcopclass -%{tde_libdir}/mcop/akodePlayObject.mcopclass -%{tde_libdir}/mcop/akodeSpeexStreamPlayObject.mcopclass -%{tde_libdir}/mcop/akodeVorbisStreamPlayObject.mcopclass -%{tde_libdir}/mcop/akodeXiphPlayObject.mcopclass - -# Requires MAD support -%{?with_libmad:%{tde_libdir}/mcop/akodeMPEGPlayObject.mcopclass} - -%endif - -########## - -%package -n trinity-libarts-audiofile -Summary: Audiofile plugin for aRts -Group: Productivity/Multimedia/Other - -%description -n trinity-libarts-audiofile -This package contains audiofile plugins for aRts. - -%files -n trinity-libarts-audiofile -%defattr(-,root,root,-) -%{tde_libdir}/libarts_audiofile.so.* -%{tde_libdir}/libarts_audiofile.la -%{tde_libdir}/mcop/Arts/audiofilePlayObject.mcopclass -%{tde_libdir}/mcop/audiofilearts.mcopclass -%{tde_libdir}/mcop/audiofilearts.mcoptype - -########## - -%if 0%{?with_mpeg} -%package -n trinity-libarts-mpeglib -Summary: Mpeglib plugin for aRts, supporting mp3 and mpeg audio/video -Group: Productivity/Multimedia/Other - -%description -n trinity-libarts-mpeglib -This package contains the mpeglib aRts plugin, supporting mp3 and mpeg -audio and video. - -This is the arts (TDE Sound daemon) plugin. - -%files -n trinity-libarts-mpeglib -%defattr(-,root,root,-) -%{tde_bindir}/mpeglibartsplay -%{tde_libdir}/libarts_mpeglib-0.3.0.so.* -%{tde_libdir}/libarts_mpeglib.la -%{tde_libdir}/libarts_splay.so.* -%{tde_libdir}/libarts_splay.la -%{tde_libdir}/mcop/CDDAPlayObject.mcopclass -%{tde_libdir}/mcop/MP3PlayObject.mcopclass -%{tde_libdir}/mcop/NULLPlayObject.mcopclass -%{tde_libdir}/mcop/OGGPlayObject.mcopclass -%{tde_libdir}/mcop/SplayPlayObject.mcopclass -%{tde_libdir}/mcop/WAVPlayObject.mcopclass - -%endif - -########## - -%if 0%{?with_xine} -%package -n trinity-libarts-xine -Summary: ARTS plugin enabling xine support -Group: Productivity/Multimedia/Other - -%description -n trinity-libarts-xine -This package contains aRts' xine plugin, allowing the use of the xine -multimedia engine though aRts. - -%files -n trinity-libarts-xine -%defattr(-,root,root,-) -%{tde_tdelibdir}/videothumbnail.la -%{tde_tdelibdir}/videothumbnail.so -%{tde_libdir}/libarts_xine.so.* -%{tde_libdir}/libarts_xine.la -%{tde_libdir}/mcop/xineAudioPlayObject.mcopclass -%{tde_libdir}/mcop/xineVideoPlayObject.mcopclass -%{tde_datadir}/apps/videothumbnail/sprocket-large.png -%{tde_datadir}/apps/videothumbnail/sprocket-medium.png -%{tde_datadir}/apps/videothumbnail/sprocket-small.png -%{tde_datadir}/services/videothumbnail.desktop - -%endif - -########## - -%package -n trinity-libkcddb -Summary: CDDB library for Trinity -Group: Productivity/Multimedia/Other -Requires: trinity-kcontrol >= %{tde_version} - -%description -n trinity-libkcddb -The Trinity native CDDB (CD Data Base) library, providing easy access to Audio -CD meta-information (track titles, artist information, etc.) from on-line -databases, for TDE applications. - -%files -n trinity-libkcddb -%defattr(-,root,root,-) -%{tde_tdelibdir}/kcm_cddb.la -%{tde_tdelibdir}/kcm_cddb.so -%{tde_libdir}/libkcddb.so.* -%{tde_tdeappdir}/libkcddb.desktop -%{tde_datadir}/apps/tdeconf_update/kcmcddb-emailsettings.upd -%{tde_datadir}/config.kcfg/libkcddb.kcfg -%{tde_tdedocdir}/HTML/en/kcontrol/cddb/ - -########## - -%if 0%{?with_mpeg} - -%package -n trinity-mpeglib -Summary: MP3 and MPEG-1 audio and video library -Group: Productivity/Multimedia/Other -%if 0%{?with_mpeg} -Requires: trinity-libarts-mpeglib = %{version}-%{release} -%endif - -%description -n trinity-mpeglib -mpeglib is a MPEG-1 and MP3 audio and video library. It supports -MPEG-1 audio (layers 1, 2, 3), MPEG-1 video, MPEG-1 system layer, -and WAV playback - -%files -n trinity-mpeglib -%defattr(-,root,root,-) -%{tde_bindir}/yaf-cdda -%{tde_bindir}/yaf-mpgplay -%{tde_bindir}/yaf-splay -%{tde_bindir}/yaf-tplay -%{tde_bindir}/yaf-vorbis -%{tde_bindir}/yaf-yuv -%{tde_libdir}/libmpeg-0.3.0.so -%{tde_libdir}/libyafcore.so -%{tde_libdir}/libyafxplayer.so - -%endif - -########## - -%package -n trinity-noatun -Summary: Media player for Trinity -Group: Productivity/Multimedia/Video/Players -Requires: trinity-tdebase-bin >= %{tde_version} - -# 20120802: Hack to avoid dependency issue on MGA2 and MDV2011 -%if 0%{?mgaversion} || 0%{?mdkversion} -Provides: devel(libnoatunarts) -Provides: devel(libnoatunarts(64bit)) -%endif - -%description -n trinity-noatun -Noatun is an aRts-based audio and video player for Trinity. It supports all -formats supported by your installation of aRts (including aRts plugins). - -%files -n trinity-noatun -%defattr(-,root,root,-) -%{tde_bindir}/noatun -%{tde_libdir}/tdeconf_update_bin/noatun20update -%{tde_tdelibdir}/noatun.la -%{tde_tdelibdir}/noatun.so -%{tde_tdelibdir}/noatun_dcopiface.la -%{tde_tdelibdir}/noatun_dcopiface.so -%{tde_tdelibdir}/noatun_excellent.la -%{tde_tdelibdir}/noatun_excellent.so -%{tde_tdelibdir}/noatun_htmlexport.la -%{tde_tdelibdir}/noatun_htmlexport.so -%{tde_tdelibdir}/noatun_infrared.la -%{tde_tdelibdir}/noatun_infrared.so -%{tde_tdelibdir}/noatun_kaiman.la -%{tde_tdelibdir}/noatun_kaiman.so -%{tde_tdelibdir}/noatun_keyz.la -%{tde_tdelibdir}/noatun_keyz.so -%{tde_tdelibdir}/noatun_kjofol.la -%{tde_tdelibdir}/noatun_kjofol.so -%{tde_tdelibdir}/noatun_marquis.la -%{tde_tdelibdir}/noatun_marquis.so -%{tde_tdelibdir}/noatun_metatag.la -%{tde_tdelibdir}/noatun_metatag.so -%{tde_tdelibdir}/noatun_monoscope.la -%{tde_tdelibdir}/noatun_monoscope.so -%{tde_tdelibdir}/noatun_net.la -%{tde_tdelibdir}/noatun_net.so -%{tde_tdelibdir}/noatun_splitplaylist.la -%{tde_tdelibdir}/noatun_splitplaylist.so -%{tde_tdelibdir}/noatun_systray.la -%{tde_tdelibdir}/noatun_systray.so -%{tde_tdelibdir}/noatun_ui.la -%{tde_tdelibdir}/noatun_ui.so -%{tde_tdelibdir}/noatun_voiceprint.la -%{tde_tdelibdir}/noatun_voiceprint.so -%{tde_tdelibdir}/noatun_winskin.la -%{tde_tdelibdir}/noatun_winskin.so -%{tde_tdelibdir}/noatunsimple.la -%{tde_tdelibdir}/noatunsimple.so -%{tde_libdir}/libartseffects.la -%{tde_libdir}/libartseffects.so -%{tde_libdir}/libtdeinit_noatun.so -%{tde_libdir}/libnoatun.so.* -%{tde_libdir}/libnoatunarts.la -%{tde_libdir}/libnoatunarts.so -%{tde_libdir}/libnoatuncontrols.so.* -%{tde_libdir}/libnoatuntags.so.* -%{tde_libdir}/libwinskinvis.la -%{tde_libdir}/libwinskinvis.so -%{tde_libdir}/mcop/ExtraStereo.mcopclass -%{tde_libdir}/mcop/ExtraStereoGuiFactory.mcopclass -%{tde_libdir}/mcop/Noatun/ -%{tde_libdir}/mcop/RawWriter.mcopclass -%{tde_libdir}/mcop/VoiceRemoval.mcopclass -%{tde_libdir}/mcop/artseffects.mcopclass -%{tde_libdir}/mcop/artseffects.mcoptype -%{tde_libdir}/mcop/noatunarts.mcopclass -%{tde_libdir}/mcop/noatunarts.mcoptype -%{tde_libdir}/mcop/winskinvis.mcopclass -%{tde_libdir}/mcop/winskinvis.mcoptype -%{tde_tdeappdir}/noatun.desktop -%{tde_datadir}/apps/tdeconf_update/noatun.upd -%{tde_datadir}/apps/noatun/ -%{tde_datadir}/icons/hicolor/*/apps/noatun.png -%{tde_datadir}/mimelnk/interface/x-winamp-skin.desktop -%{tde_tdedocdir}/HTML/en/noatun/ - -########## - -%package devel -Summary: Development files for %{name}, aRts and noatun plugins -Group: Development/Libraries/Other -Requires: %{name} = %{version}-%{release} -Requires: trinity-tdelibs-devel >= %{tde_version} - -Obsoletes: trinity-kdemultimedia-devel < %{version}-%{release} -Provides: trinity-kdemultimedia-devel = %{version}-%{release} - -%description devel -{summary}. - -Install %{name}-devel if you wish to develop or compile any -applications using aRtsbuilder, aRtsmidi, aRtskde, aRts modules or -noatun plugins. - -%files devel -%defattr(-,root,root,-) -%{tde_includedir}/* -%if 0%{?with_akode} -%{tde_libdir}/libarts_akode.so -%endif -%{tde_libdir}/libarts_audiofile.so -%if 0%{?with_mpeg} -%{tde_libdir}/libarts_mpeglib.so -%{tde_libdir}/libarts_splay.so -%endif -%if 0%{?with_xine} -%{tde_libdir}/libarts_xine.so -%endif -%{tde_libdir}/libartsbuilder.so -%{tde_libdir}/libartscontrolapplet.so -%{tde_libdir}/libartscontrolsupport.so -%{tde_libdir}/libartsgui.so -%{tde_libdir}/libartsgui_idl.so -%{tde_libdir}/libartsgui_kde.so -%{tde_libdir}/libartsmidi.so -%{tde_libdir}/libartsmidi_idl.so -%{tde_libdir}/libartsmodules.so -%{tde_libdir}/libartsmodulescommon.so -%{tde_libdir}/libartsmoduleseffects.so -%{tde_libdir}/libartsmodulesmixers.so -%{tde_libdir}/libartsmodulessynth.so -%{tde_libdir}/libaudiocdplugins.la -%{tde_libdir}/libaudiocdplugins.so -%{tde_libdir}/libkcddb.la -%{tde_libdir}/libkcddb.so -%{tde_libdir}/libtdeinit_kmix.la -%{tde_libdir}/libtdeinit_kmixctrl.la -%{tde_libdir}/libtdeinit_krec.la -%{tde_libdir}/libtdeinit_noatun.la -%{tde_libdir}/libtdemidlib.la -%{tde_libdir}/libtdemidlib.so -%if 0%{?with_mpeg} -%{tde_libdir}/libmpeg.la -%{tde_libdir}/libmpeg.so -%endif -%{tde_libdir}/libnoatun.la -%{tde_libdir}/libnoatun.so -%{tde_libdir}/libnoatuncontrols.la -%{tde_libdir}/libnoatuncontrols.so -%{tde_libdir}/libnoatuntags.la -%{tde_libdir}/libnoatuntags.so -%if 0%{?with_mpeg} -%{tde_libdir}/libyafcore.la -%{tde_libdir}/libyafxplayer.la -%endif - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - -# Update icons for some control center modules -%__sed -i "tdeioslave/audiocd/kcmaudiocd/audiocd.desktop" -e "s|^Icon=.*|Icon=kcmaudio|" - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -# Warning: GCC visibility causes FTBFS [Bug #1285] -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --includedir=%{tde_tdeincludedir} \ - --datadir=%{tde_datadir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --enable-final \ - --enable-closure \ - --enable-rpath \ - --disable-gcc-hidden-visibility \ - \ - --with-extra-includes="%{_includedir}/cdda:%{_includedir}/cddb:%{tde_tdeincludedir}/arts:%{tde_includedir}/artsc" \ - \ - --with-vorbis \ - --without-ossaudio \ - --with-alsa \ - --with-cdparanoia \ - %{?with_lame:--with-lame} %{!?with_lame:--without-lame} \ - %{?with_taglib:--with-taglib} %{!?with_taglib:--without-taglib} \ - %{?with_akode:--with-akode} %{!?with_akode:--without-akode} \ - --with-audiofile \ - %{?with_musicbrainz:--with-musicbrainz} %{!?with_musicbrainz:--without-musicbrainz} \ - --with-gstreamer \ - --with-kscd-cdda \ - --with-theora \ - --with-flac \ - %{?with_xine:--with-xine} %{!?with_xine:--without-xine} - -# Fix unexplained "undefined reference to `__stack_chk_fail'" -%if 0%{?mgaversion} >= 4 || 0%{?pclinuxos} -%__sed -i "noatun/app/Makefile" -e "/^libtdeinit_noatun_la_LDFLAGS/ s/$/ -Wl,-lc/" -%endif - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{?buildroot} -%__make install DESTDIR=%{buildroot} - -# Disable MPEG support entirely -%if 0%{?with_mpeg} == 0 -%__rm %{?buildroot}%{tde_bindir}/mpeglibartsplay -%__rm %{?buildroot}%{tde_bindir}/yaf-* -%__rm %{?buildroot}%{tde_libdir}/libarts_mpeglib* -%__rm %{?buildroot}%{tde_libdir}/libarts_splay.* -%__rm %{?buildroot}%{tde_libdir}/libmpeg* -%__rm %{?buildroot}%{tde_libdir}/libyaf* -%__rm %{?buildroot}%{tde_libdir}/mcop/MP3PlayObject.mcopclass -%__rm %{?buildroot}%{tde_libdir}/mcop/CDDAPlayObject.mcopclass -%__rm %{?buildroot}%{tde_libdir}/mcop/NULLPlayObject.mcopclass -%__rm %{?buildroot}%{tde_libdir}/mcop/OGGPlayObject.mcopclass -%__rm %{?buildroot}%{tde_libdir}/mcop/SplayPlayObject.mcopclass -%__rm %{?buildroot}%{tde_libdir}/mcop/WAVPlayObject.mcopclass -%endif - -# Copy missing icons from 'crystalsvg' theme (tdelibs) -%__mkdir_p "%{?buildroot}%{tde_datadir}/icons/hicolor/"{16x16,22x22,32x32,48x48,64x64}"/apps/" -pushd $RPM_BUILD_ROOT%{tde_datadir}/icons/ -for i in {16,22,32,48,64}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/devices/media-optical-cdaudio.png hicolor/"$i"x"$i"/apps/kcmaudiocd.png; done -popd - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file krec AudioVideo Recorder -%suse_update_desktop_file tdemid AudioVideo Midi -%suse_update_desktop_file artsbuilder AudioVideo AudioVideoEditing -%suse_update_desktop_file artscontrol AudioVideo AudioVideoEditing -%suse_update_desktop_file kmix AudioVideo Mixer -%suse_update_desktop_file kaboodle AudioVideo Player -%suse_update_desktop_file kaudiocreator AudioVideo CD -%suse_update_desktop_file kscd AudioVideo Player CD -%suse_update_desktop_file noatun AudioVideo Player Video -%suse_update_desktop_file juk AudioVideo Player Jukebox -%suse_update_desktop_file audiocd -%endif - -# Links duplicate files -%fdupes "%{?buildroot}%{tde_datadir}" - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/main/tdemultimedia/tdemultimedia-14.0.0-cmake.spec b/redhat/main/tdemultimedia/tdemultimedia-14.0.0-cmake.spec deleted file mode 100644 index 086f7ec9f..000000000 --- a/redhat/main/tdemultimedia/tdemultimedia-14.0.0-cmake.spec +++ /dev/null @@ -1,1158 +0,0 @@ -# -# spec file for package tdemultimedia (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/ -# - -# BUILD WARNING: -# Remove qt-devel and qt3-devel and any kde*-devel on your system ! -# Having KDE libraries may cause FTBFS here ! - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.0.0 -%endif -%define tde_pkg tdemultimedia -%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_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: Multimedia applications for the Trinity Desktop Environment -Version: %{tde_version} -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Group: Productivity/Multimedia/Sound/Utilities -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Project -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz -Source1: %{name}-rpmlintrc - -Obsoletes: trinity-kdemultimedia < %{version}-%{release} -Provides: trinity-kdemultimedia = %{version}-%{release} -Obsoletes: trinity-kdemultimedia-libs < %{version}-%{release} -Provides: trinity-kdemultimedia-libs = %{version}-%{release} -Obsoletes: trinity-kdemultimedia-extras < %{version}-%{release} -Provides: trinity-kdemultimedia-extras = %{version}-%{release} -Obsoletes: trinity-kdemultimedia-extras-libs < %{version}-%{release} -Provides: trinity-kdemultimedia-extras-libs = %{version}-%{release} - -BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} - -BuildRequires: cmake -BuildRequires: gcc-c++ -BuildRequires: fdupes -BuildRequires: desktop-file-utils - -# 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 -%define with_taglib 1 -BuildRequires: taglib-devel - -# AKODE support -%define with_akode 1 -BuildRequires: trinity-akode-devel - -# MAD support -%ifarch %{ix86} x86_64 -%define with_libmad 1 -%{?with_libmad:BuildRequires: libakode_mpeg_decoder} -%endif - -# ZLIB support -BuildRequires: zlib-devel - -# MUSICBRAINZ support -## not currently compatible with libtunepimp-0.5 (only libtunepimp-0.4) -#define with_musicbrainz 1 -#BuildRequires: libmusicbrainz-devel libtunepimp-devel - -# Audio libraries -BuildRequires: libvorbis-devel -BuildRequires: audiofile-devel -BuildRequires: libtheora-devel -BuildRequires: alsa-lib-devel -BuildRequires: cdparanoia -#BuildRequires: libmpg123-devel - -# CDDA support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: libcdda-devel -%endif -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -BuildRequires: cdparanoia-devel -%endif - -# FLAC support -%if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?pclinuxos} -BuildRequires: libflac-devel -%else -BuildRequires: %{_lib}flac-devel -%endif -%endif -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -BuildRequires: flac-devel -%endif - -# GSTREAMER support -%if 0%{?mgaversion} || 0%{?mdkversion} -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 - -# X11 Libraries -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}xxf86dga-devel -BuildRequires: %{_lib}xxf86vm-devel -%if 0%{?mgaversion} >= 4 -BuildRequires: %{_lib}xtst-devel -%else -BuildRequires: %{_lib}xtst%{?mgaversion:6}-devel -%endif -%endif -%if 0%{?rhel} == 4 -BuildRequires: xorg-x11-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 -BuildRequires: libXxf86dga-devel -BuildRequires: libXxf86vm-devel -%endif - -# XINE support -%if 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?rhel} >= 5 -%define with_xine 1 -%if 0%{?mgaversion} || 0%{?mdkversion} -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 -%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 -%endif - -# IDN support -BuildRequires: libidn-devel - -# OPENSSL support -BuildRequires: openssl-devel - -# ACL support -BuildRequires: libacl-devel - -# ATTR support -BuildRequires: libattr-devel - -%if 0%{?fedora} || 0%{?rhel} -BuildRequires: lame-devel -%endif - - -Requires: trinity-artsbuilder = %{version}-%{release} -Requires: trinity-juk = %{version}-%{release} -Requires: trinity-kaboodle = %{version}-%{release} -Requires: trinity-kaudiocreator = %{version}-%{release} -Requires: %{name}-kfile-plugins = %{version}-%{release} -Requires: %{name}-kappfinder-data = %{version}-%{release} -Requires: %{name}-tdeio-plugins = %{version}-%{release} -Requires: trinity-tdemid = %{version}-%{release} -Requires: trinity-kmix = %{version}-%{release} -Requires: trinity-krec = %{version}-%{release} -Requires: trinity-kscd = %{version}-%{release} -%{?with_akode:Requires: trinity-libarts-akode = %{version}-%{release}} -Requires: trinity-libarts-audiofile = %{version}-%{release} -%{?with_mpeg:Requires: trinity-libarts-mpeglib = %{version}-%{release}} -%{?with_xine:Requires: trinity-libarts-xine = %{version}-%{release}} -Requires: trinity-libkcddb = %{version}-%{release} -%{?with_mpeg:Requires: trinity-mpeglib = %{version}-%{release}} -Requires: trinity-noatun = %{version}-%{release} - - -%description -The Trinity Desktop Environment (TDE) is a GUI desktop for the X Window -System. The tdemultimedia package contains multimedia applications for -TDE, including: - artsbuilder, Synthesizer designer for aRts - juk, a media player - tdemid, a midi player - kmix, an audio mixer - arts, additional functionality for the aRts sound system - krec, a recording tool - kscd, an Audio-CD player - kaudiocreator, a graphical frontend for audio file creation - kaboodle, a media player - noatun, a media player - -%files - -########## - -%package -n trinity-artsbuilder -Summary: Synthesizer designer for aRts -Group: Productivity/Multimedia/Sound/Mixers -Requires: trinity-kicker >= %{tde_version} - -%description -n trinity-artsbuilder -This is the analog Realtime synthesizer's graphical design tool. - -%files -n trinity-artsbuilder -%defattr(-,root,root,-) -%{tde_bindir}/artsbuilder -%{tde_bindir}/artscontrol -%{tde_bindir}/midisend -%{tde_libdir}/libartsbuilder.la -%{tde_libdir}/libartsbuilder.so.* -%{tde_libdir}/libartscontrolapplet.la -%{tde_libdir}/libartscontrolapplet.so.* -%{tde_libdir}/libartscontrolsupport.la -%{tde_libdir}/libartscontrolsupport.so.* -%{tde_libdir}/libartsgui_idl.la -%{tde_libdir}/libartsgui_idl.so.* -%{tde_libdir}/libartsgui_kde.la -%{tde_libdir}/libartsgui_kde.so.* -%{tde_libdir}/libartsgui.la -%{tde_libdir}/libartsgui.so.* -%{tde_libdir}/libartsmidi_idl.la -%{tde_libdir}/libartsmidi_idl.so.* -%{tde_libdir}/libartsmidi.la -%{tde_libdir}/libartsmidi.so.* -%{tde_libdir}/libartsmodulescommon.la -%{tde_libdir}/libartsmodulescommon.so.* -%{tde_libdir}/libartsmoduleseffects.la -%{tde_libdir}/libartsmoduleseffects.so.* -%{tde_libdir}/libartsmodulesmixers.la -%{tde_libdir}/libartsmodulesmixers.so.* -%{tde_libdir}/libartsmodules.la -%{tde_libdir}/libartsmodules.so.* -%{tde_libdir}/libartsmodulessynth.la -%{tde_libdir}/libartsmodulessynth.so.* -%{tde_libdir}/mcop/Arts/ArtsBuilderLoader.mcopclass -%{tde_libdir}/mcop/artsbuilder.mcopclass -%{tde_libdir}/mcop/artsbuilder.mcoptype -%{tde_libdir}/mcop/Arts/Button.mcopclass -%{tde_libdir}/mcop/Arts/EffectRackGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/Effect_WAVECAPTURE.mcopclass -%{tde_libdir}/mcop/Arts/Environment/Container.mcopclass -%{tde_libdir}/mcop/Arts/Environment/EffectRackItem.mcopclass -%{tde_libdir}/mcop/Arts/Environment/InstrumentItemGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/Environment/InstrumentItem.mcopclass -%{tde_libdir}/mcop/Arts/Environment/MixerItem.mcopclass -%{tde_libdir}/mcop/Arts/Fader.mcopclass -%{tde_libdir}/mcop/Arts/FiveBandMonoComplexEQGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/FiveBandMonoComplexEQ.mcopclass -%{tde_libdir}/mcop/Arts/FreeverbGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/GenericGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/GraphLine.mcopclass -%{tde_libdir}/mcop/artsgui.mcopclass -%{tde_libdir}/mcop/artsgui.mcoptype -%{tde_libdir}/mcop/Arts/HBox.mcopclass -%{tde_libdir}/mcop/Arts/Label.mcopclass -%{tde_libdir}/mcop/Arts/LayoutBox.mcopclass -%{tde_libdir}/mcop/Arts/LevelMeter.mcopclass -%{tde_libdir}/mcop/Arts/LineEdit.mcopclass -%{tde_libdir}/mcop/Arts/LittleStereoMixerChannelGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/LittleStereoMixerChannel.mcopclass -%{tde_libdir}/mcop/Arts/LocalFactory.mcopclass -%{tde_libdir}/mcop/Arts/MidiManager.mcopclass -%{tde_libdir}/mcop/artsmidi.mcopclass -%{tde_libdir}/mcop/artsmidi.mcoptype -%{tde_libdir}/mcop/Arts/MixerGuiFactory.mcopclass -%{tde_libdir}/mcop/artsmodulescommon.mcopclass -%{tde_libdir}/mcop/artsmodulescommon.mcoptype -%{tde_libdir}/mcop/artsmoduleseffects.mcopclass -%{tde_libdir}/mcop/artsmoduleseffects.mcoptype -%{tde_libdir}/mcop/artsmodules.mcopclass -%{tde_libdir}/mcop/artsmodules.mcoptype -%{tde_libdir}/mcop/artsmodulesmixers.mcopclass -%{tde_libdir}/mcop/artsmodulesmixers.mcoptype -%{tde_libdir}/mcop/artsmodulessynth.mcopclass -%{tde_libdir}/mcop/artsmodulessynth.mcoptype -%{tde_libdir}/mcop/Arts/MonoSimpleMixerChannelGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/MonoSimpleMixerChannel.mcopclass -%{tde_libdir}/mcop/Arts/MonoToStereo.mcopclass -%{tde_libdir}/mcop/Arts/PopupBox.mcopclass -%{tde_libdir}/mcop/Arts/Poti.mcopclass -%{tde_libdir}/mcop/Arts/SimpleMixerChannelGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/SimpleMixerChannel.mcopclass -%{tde_libdir}/mcop/Arts/SpinBox.mcopclass -%{tde_libdir}/mcop/Arts/StereoBalanceGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/StereoBalance.mcopclass -%{tde_libdir}/mcop/Arts/StereoCompressorGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/StereoFirEqualizerGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/StereoToMono.mcopclass -%{tde_libdir}/mcop/Arts/StereoVolumeControlGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/StereoVolumeControlGui.mcopclass -%{tde_libdir}/mcop/Arts/StructureBuilder.mcopclass -%{tde_libdir}/mcop/Arts/StructureDesc.mcopclass -%{tde_libdir}/mcop/Arts/Synth_ATAN_SATURATE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_AUTOPANNER.mcopclass -%{tde_libdir}/mcop/Arts/Synth_BRICKWALL_LIMITER.mcopclass -%{tde_libdir}/mcop/Arts/Synth_CAPTURE_WAV.mcopclass -%{tde_libdir}/mcop/Arts/Synth_CDELAY.mcopclass -%{tde_libdir}/mcop/Arts/Synth_COMPRESSOR.mcopclass -%{tde_libdir}/mcop/Arts/Synth_DATA.mcopclass -%{tde_libdir}/mcop/Arts/Synth_DEBUG.mcopclass -%{tde_libdir}/mcop/Arts/Synth_DELAY.mcopclass -%{tde_libdir}/mcop/Arts/Synth_DIV.mcopclass -%{tde_libdir}/mcop/Arts/Synth_ENVELOPE_ADSR.mcopclass -%{tde_libdir}/mcop/Arts/Synth_FM_SOURCE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_FREEVERB.mcopclass -%{tde_libdir}/mcop/Arts/Synth_FX_CFLANGER.mcopclass -%{tde_libdir}/mcop/Arts/Synth_MIDI_DEBUG.mcopclass -%{tde_libdir}/mcop/Arts/Synth_MIDI_TEST.mcopclass -%{tde_libdir}/mcop/Arts/Synth_MOOG_VCF.mcopclass -%{tde_libdir}/mcop/Arts/Synth_NIL.mcopclass -%{tde_libdir}/mcop/Arts/Synth_NOISE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_OSC.mcopclass -%{tde_libdir}/mcop/Arts/Synth_PITCH_SHIFT_FFT.mcopclass -%{tde_libdir}/mcop/Arts/Synth_PITCH_SHIFT.mcopclass -%{tde_libdir}/mcop/Arts/Synth_PLAY_PAT.mcopclass -%{tde_libdir}/mcop/Arts/Synth_PSCALE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_RC.mcopclass -%{tde_libdir}/mcop/Arts/Synth_SEQUENCE_FREQ.mcopclass -%{tde_libdir}/mcop/Arts/Synth_SEQUENCE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_SHELVE_CUTOFF.mcopclass -%{tde_libdir}/mcop/Arts/Synth_STD_EQUALIZER.mcopclass -%{tde_libdir}/mcop/Arts/Synth_STEREO_COMPRESSOR.mcopclass -%{tde_libdir}/mcop/Arts/Synth_STEREO_FIR_EQUALIZER.mcopclass -%{tde_libdir}/mcop/Arts/Synth_STEREO_PITCH_SHIFT_FFT.mcopclass -%{tde_libdir}/mcop/Arts/Synth_STEREO_PITCH_SHIFT.mcopclass -%{tde_libdir}/mcop/Arts/Synth_TREMOLO.mcopclass -%{tde_libdir}/mcop/Arts/Synth_VOICE_REMOVAL.mcopclass -%{tde_libdir}/mcop/Arts/Synth_WAVE_PULSE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_WAVE_SOFTSAW.mcopclass -%{tde_libdir}/mcop/Arts/Synth_WAVE_SQUARE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_WAVE_TRI.mcopclass -%{tde_libdir}/mcop/Arts/Synth_XFADE.mcopclass -%{tde_libdir}/mcop/Arts/VBox.mcopclass -%{tde_libdir}/mcop/Arts/VoiceRemovalGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/Widget.mcopclass -%{tde_tdeappdir}/artsbuilder.desktop -%{tde_tdeappdir}/artscontrol.desktop -%{tde_datadir}/apps/artsbuilder/ -%{tde_datadir}/apps/artscontrol/ -%{tde_datadir}/apps/kicker/applets/artscontrolapplet.desktop -%{tde_datadir}/icons/crystalsvg/*/actions/artsaudiomanager.png -%{tde_datadir}/icons/crystalsvg/*/actions/artsbuilderexecute.png -%{tde_datadir}/icons/crystalsvg/*/actions/artsenvironment.png -%{tde_datadir}/icons/crystalsvg/*/actions/artsfftscope.png -%{tde_datadir}/icons/crystalsvg/*/actions/artsmediatypes.png -%{tde_datadir}/icons/crystalsvg/*/actions/artsmidimanager.png -%{tde_datadir}/icons/crystalsvg/scalable/actions/artsaudiomanager.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/artsenvironment.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/artsfftscope.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/artsmediatypes.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/artsmidimanager.svgz -%{tde_datadir}/icons/hicolor/*/apps/artsbuilder.png -%{tde_datadir}/icons/hicolor/*/apps/artscontrol.png -%{tde_datadir}/icons/hicolor/scalable/apps/artsbuilder.svgz -%{tde_datadir}/icons/hicolor/scalable/apps/artscontrol.svgz -%{tde_datadir}/mimelnk/application/x-artsbuilder.desktop -%{tde_tdedocdir}/HTML/en/artsbuilder/ - -########## - -%package -n trinity-juk -Summary: Music organizer and player for Trinity -Group: Productivity/Multimedia/Sound/Players - -%description -n trinity-juk -JuK (pronounced "jook") is a jukebox and music manager for the TDE -desktop similar to jukebox software on other platforms such as -iTunes or RealOne. - -Some of JuK's features include: -* Support for Ogg Vorbis and MP3 formats -* Tag editing support for both formats, including ID3v2 for MP3 files. - Multitagging or editing a selection of multiple files at once is also - supported -* Output to either the aRts, default KDE sound system, or GStreamer -* Management of your "collection" and multiple playlists -* Import and export to m3u playlists -* Binary caching of audio meta-data and playlist information for faster - load times (starting with the second time you run JuK) -* Integration into TDE that allows drag-and-drop and clipboard usage - with other TDE and X apps - -%files -n trinity-juk -%defattr(-,root,root,-) -%{tde_bindir}/juk -%{tde_tdeappdir}/juk.desktop -%{tde_datadir}/apps/juk/ -%{tde_datadir}/apps/konqueror/servicemenus/jukservicemenu.desktop -%{tde_datadir}/icons/crystalsvg/*/actions/juk_dock.png -%{tde_datadir}/icons/hicolor/*/apps/juk.png -%{tde_tdedocdir}/HTML/en/juk/ - -########## - -%package -n trinity-kaboodle -Summary: Light, embedded media player for Trinity -Group: System/GUI/Other - -%if 0%{?with_xine} -Requires: trinity-libarts-xine = %{version}-%{release} -%endif - -%description -n trinity-kaboodle -Kaboodle is a light, embedded media player, supporting both video and audio, -for TDE. It uses the aRts framework for playing media files. - -%files -n trinity-kaboodle -%defattr(-,root,root,-) -%{tde_bindir}/kaboodle -%{tde_tdelibdir}/libkaboodlepart.la -%{tde_tdelibdir}/libkaboodlepart.so -%{tde_tdeappdir}/kaboodle.desktop -%{tde_datadir}/apps/kaboodle/ -%{tde_datadir}/icons/hicolor/*/apps/kaboodle.png -%{tde_datadir}/services/kaboodle_component.desktop -%{tde_datadir}/services/kaboodleengine.desktop -%{tde_tdedocdir}/HTML/en/kaboodle/ - -########## - -%package -n trinity-kaudiocreator -Summary: CD ripper and audio encoder frontend for Trinity -Group: Productivity/Multimedia/CD/Grabbers - -Requires: %{name}-tdeio-plugins = %{version}-%{release} -Requires: vorbis-tools -Requires: flac - -%description -n trinity-kaudiocreator -KAudioCreator is a tool for audio extraction (ripping) and encoding. It can -keep your WAV files, or convert them to Ogg/Vorbis, MP3, or FLAC. It also -searches CDDB to retrieve the information of the disk. - -%files -n trinity-kaudiocreator -%defattr(-,root,root,-) -%{tde_bindir}/kaudiocreator -%{tde_tdeappdir}/kaudiocreator.desktop -%{tde_datadir}/apps/kaudiocreator/ -%{tde_datadir}/apps/tdeconf_update/kaudiocreator-libkcddb.upd -%{tde_datadir}/apps/tdeconf_update/kaudiocreator-meta.upd -%{tde_datadir}/apps/tdeconf_update/upgrade-kaudiocreator-metadata.sh -%{tde_datadir}/apps/konqueror/servicemenus/audiocd_extract.desktop -%{tde_datadir}/config.kcfg/kaudiocreator.kcfg -%{tde_datadir}/config.kcfg/kaudiocreator_encoders.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kaudiocreator.png -%{tde_datadir}/icons/locolor/*/apps/kaudiocreator.png -%{tde_tdedocdir}/HTML/en/kaudiocreator/ - -########## - -%package kfile-plugins -Summary: An au/avi/m3u/mp3/ogg/wav plugins for kfile -Group: Productivity/Multimedia/Sound/Utilities - -%description kfile-plugins -au/avi/m3u/mp3/ogg/wav file metainformation plugins for Trinity. - -%files kfile-plugins -%defattr(-,root,root,-) -%{tde_tdelibdir}/tdefile_au.la -%{tde_tdelibdir}/tdefile_au.so -%{tde_tdelibdir}/tdefile_avi.la -%{tde_tdelibdir}/tdefile_avi.so -%{tde_tdelibdir}/tdefile_flac.la -%{tde_tdelibdir}/tdefile_flac.so -%{tde_tdelibdir}/tdefile_m3u.la -%{tde_tdelibdir}/tdefile_m3u.so -%{tde_tdelibdir}/tdefile_mp3.la -%{tde_tdelibdir}/tdefile_mp3.so -%{tde_tdelibdir}/tdefile_mpc.la -%{tde_tdelibdir}/tdefile_mpc.so -%{tde_tdelibdir}/tdefile_mpeg.la -%{tde_tdelibdir}/tdefile_mpeg.so -%{tde_tdelibdir}/tdefile_ogg.la -%{tde_tdelibdir}/tdefile_ogg.so -%{tde_tdelibdir}/tdefile_sid.la -%{tde_tdelibdir}/tdefile_sid.so -%{tde_tdelibdir}/tdefile_theora.la -%{tde_tdelibdir}/tdefile_theora.so -%{tde_tdelibdir}/tdefile_wav.la -%{tde_tdelibdir}/tdefile_wav.so -%{tde_datadir}/services/tdefile_au.desktop -%{tde_datadir}/services/tdefile_avi.desktop -%{tde_datadir}/services/tdefile_flac.desktop -%{tde_datadir}/services/tdefile_m3u.desktop -%{tde_datadir}/services/tdefile_mp3.desktop -%{tde_datadir}/services/tdefile_mpc.desktop -%{tde_datadir}/services/tdefile_mpeg.desktop -%{tde_datadir}/services/tdefile_ogg.desktop -%{tde_datadir}/services/tdefile_sid.desktop -%{tde_datadir}/services/tdefile_theora.desktop -%{tde_datadir}/services/tdefile_wav.desktop - -########## - -%package kappfinder-data -Summary: Multimedia data for kappfinder -Group: Productivity/Multimedia/Sound/Utilities - -Requires: trinity-kappfinder >= %{tde_version} -Requires: trinity-tdebase-runtime-data-common >= %{tde_version} - -%description kappfinder-data -This package provides data on multimedia applications for kappfinder. - -%files kappfinder-data -%defattr(-,root,root,-) -%{tde_datadir}/apps/kappfinder/ -%{tde_datadir}/desktop-directories/tde-multimedia-music.directory -%config %{_sysconfdir}/xdg/menus/applications-merged/tde-multimedia-music.menu - -########## - -%package tdeio-plugins -Summary: Enables the browsing of audio CDs under Konqueror -Group: Productivity/Multimedia/Sound/Utilities -Requires: trinity-tdebase-tdeio-plugins >= %{tde_version} - -Obsoletes: trinity-tdemultimedia-kio-plugins < %{version}-%{release} -Provides: trinity-tdemultimedia-kio-plugins = %{version}-%{release} - -%description tdeio-plugins -This package allow audio CDs to be browsed like a file system using -Konqueror and the audiocd:/ URL. - -%files tdeio-plugins -%defattr(-,root,root,-) -%{tde_tdelibdir}/kcm_audiocd.la -%{tde_tdelibdir}/kcm_audiocd.so -%{tde_tdelibdir}/tdeio_audiocd.la -%{tde_tdelibdir}/tdeio_audiocd.so -%{tde_tdelibdir}/libaudiocd_encoder_flac.la -%{tde_tdelibdir}/libaudiocd_encoder_flac.so -%{tde_tdelibdir}/libaudiocd_encoder_lame.la -%{tde_tdelibdir}/libaudiocd_encoder_lame.so -%{tde_tdelibdir}/libaudiocd_encoder_vorbis.la -%{tde_tdelibdir}/libaudiocd_encoder_vorbis.so -%{tde_tdelibdir}/libaudiocd_encoder_wav.la -%{tde_tdelibdir}/libaudiocd_encoder_wav.so -%{tde_libdir}/libaudiocdplugins.so.* -%{tde_tdeappdir}/audiocd.desktop -%{tde_datadir}/apps/tdeconf_update/audiocd.upd -%{tde_datadir}/apps/tdeconf_update/upgrade-metadata.sh -%{tde_datadir}/config.kcfg/audiocd_lame_encoder.kcfg -%{tde_datadir}/config.kcfg/audiocd_vorbis_encoder.kcfg -%{tde_datadir}/services/audiocd.protocol -%{tde_tdedocdir}/HTML/en/tdeioslave/audiocd/ -%{tde_tdedocdir}/HTML/en/kcontrol/audiocd/ -%{tde_datadir}/icons/hicolor/*/apps/kcmaudiocd.png - -########## - -%package -n trinity-tdemid -Summary: MIDI/karaoke player for Trinity -Group: Productivity/Multimedia/Sound/Midi - -Obsoletes: trinity-kmid < %{version}-%{release} -Provides: trinity-kmid = %{version}-%{release} - -%description -n trinity-tdemid -This package provides a MIDI and karaoke player for TDE. - -%files -n trinity-tdemid -%defattr(-,root,root,-) -%{tde_bindir}/tdemid -%{tde_tdelibdir}/libtdemidpart.la -%{tde_tdelibdir}/libtdemidpart.so -%{tde_libdir}/libtdemidlib.so.* -%{tde_tdeappdir}/tdemid.desktop -%{tde_datadir}/apps/tdemid/ -%{tde_datadir}/icons/hicolor/*/apps/tdemid.png -%{tde_datadir}/mimelnk/audio/x-karaoke.desktop -%{tde_datadir}/servicetypes/audiomidi.desktop -%{tde_tdedocdir}/HTML/en/tdemid/ - -########## - -%package -n trinity-kmix -Summary: Sound mixer applet for Trinity -Group: Productivity/Multimedia/Sound/Mixers -Requires: trinity-kicker >= %{tde_version} - -%description -n trinity-kmix -This package includes TDE's dockable sound mixer applet. - -%files -n trinity-kmix -%defattr(-,root,root,-) -%{tde_bindir}/kmix -%{tde_bindir}/kmixctrl -%{tde_tdelibdir}/kmix.la -%{tde_tdelibdir}/kmix.so -%{tde_tdelibdir}/kmix_panelapplet.la -%{tde_tdelibdir}/kmix_panelapplet.so -%{tde_tdelibdir}/kmixctrl.la -%{tde_tdelibdir}/kmixctrl.so -%{tde_libdir}/libtdeinit_kmix.so -%{tde_libdir}/libtdeinit_kmixctrl.so -%{tde_tdeappdir}/kmix.desktop -%{tde_datadir}/apps/kicker/applets/kmixapplet.desktop -%{tde_datadir}/apps/kmix/ -%{tde_datadir}/autostart/kmix.desktop -%{tde_datadir}/autostart/restore_kmix_volumes.desktop -%{tde_datadir}/icons/hicolor/*/apps/kmix.png -%{tde_datadir}/services/kmixctrl_restore.desktop -%{tde_tdedocdir}/HTML/en/kmix/ - -########## - -%package -n trinity-krec -Summary: Sound recorder utility for Trinity -Group: Productivity/Multimedia/CD/Record - -%description -n trinity-krec -This is a sound recording utility for Trinity. - -%files -n trinity-krec -%defattr(-,root,root,-) -%{tde_bindir}/krec -%{tde_tdelibdir}/kcm_krec.la -%{tde_tdelibdir}/kcm_krec.so -%{tde_tdelibdir}/kcm_krec_files.la -%{tde_tdelibdir}/kcm_krec_files.so -%{tde_tdelibdir}/krec.la -%{tde_tdelibdir}/krec.so -%if 0%{?with_lame} -%{tde_tdelibdir}/libkrecexport_mp3.la -%{tde_tdelibdir}/libkrecexport_mp3.so -%{tde_datadir}/services/krec_exportmp3.desktop -%endif -%{tde_tdelibdir}/libkrecexport_ogg.la -%{tde_tdelibdir}/libkrecexport_ogg.so -%{tde_tdelibdir}/libkrecexport_wave.la -%{tde_tdelibdir}/libkrecexport_wave.so -%{tde_libdir}/libtdeinit_krec.so -%{tde_tdeappdir}/krec.desktop -%{tde_datadir}/apps/krec/ -%{tde_datadir}/icons/hicolor/*/apps/krec.png -%{tde_datadir}/services/kcm_krec.desktop -%{tde_datadir}/services/kcm_krec_files.desktop -%{tde_datadir}/services/krec_exportogg.desktop -%{tde_datadir}/services/krec_exportwave.desktop -%{tde_datadir}/servicetypes/krec_exportitem.desktop -%{tde_tdedocdir}/HTML/en/krec/ - -########## - -%package -n trinity-kscd -Summary: Audio CD player for Trinity -Group: Productivity/Multimedia/CD/Players - -%description -n trinity-kscd -This is Trinity's audio CD player. - -%files -n trinity-kscd -%defattr(-,root,root,-) -%{tde_bindir}/kscd -%{tde_bindir}/workman2cddb.pl -%{tde_tdeappdir}/kscd.desktop -%{tde_datadir}/apps/konqueror/servicemenus/audiocd_play.desktop -%{tde_datadir}/apps/kscd/ -%{tde_datadir}/apps/profiles/kscd.profile.xml -%{tde_datadir}/config.kcfg/kscd.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kscd.png -%{tde_datadir}/mimelnk/text/xmcd.desktop -%{tde_tdedocdir}/HTML/en/kscd/ - -########## - -%if 0%{?with_akode} -%package -n trinity-libarts-akode -Summary: Akode plugin for aRts -Group: Productivity/Multimedia/Other - -%description -n trinity-libarts-akode -This package contains akode plugins for aRts. - -%files -n trinity-libarts-akode -%defattr(-,root,root,-) -%{tde_libdir}/libarts_akode.so.* -%{tde_libdir}/libarts_akode.la -%{tde_libdir}/mcop/akodearts.mcoptype -%{tde_libdir}/mcop/akodearts.mcopclass -%{tde_libdir}/mcop/akodeMPCPlayObject.mcopclass -%{tde_libdir}/mcop/akodePlayObject.mcopclass -%{tde_libdir}/mcop/akodeSpeexStreamPlayObject.mcopclass -%{tde_libdir}/mcop/akodeVorbisStreamPlayObject.mcopclass -%{tde_libdir}/mcop/akodeXiphPlayObject.mcopclass - -# Requires MAD support -%{?with_libmad:%{tde_libdir}/mcop/akodeMPEGPlayObject.mcopclass} - -%endif - -########## - -%package -n trinity-libarts-audiofile -Summary: Audiofile plugin for aRts -Group: Productivity/Multimedia/Other - -%description -n trinity-libarts-audiofile -This package contains audiofile plugins for aRts. - -%files -n trinity-libarts-audiofile -%defattr(-,root,root,-) -%{tde_libdir}/libarts_audiofile.so.* -%{tde_libdir}/libarts_audiofile.la -%{tde_libdir}/mcop/Arts/audiofilePlayObject.mcopclass -%{tde_libdir}/mcop/audiofilearts.mcopclass -%{tde_libdir}/mcop/audiofilearts.mcoptype - -########## - -%if 0%{?with_mpeg} -%package -n trinity-libarts-mpeglib -Summary: Mpeglib plugin for aRts, supporting mp3 and mpeg audio/video -Group: Productivity/Multimedia/Other - -%description -n trinity-libarts-mpeglib -This package contains the mpeglib aRts plugin, supporting mp3 and mpeg -audio and video. - -This is the arts (TDE Sound daemon) plugin. - -%files -n trinity-libarts-mpeglib -%defattr(-,root,root,-) -%{tde_bindir}/mpeglibartsplay -%{tde_libdir}/libarts_mpeglib-0.3.0.so* -%{tde_libdir}/libarts_mpeglib.la -%{tde_libdir}/libarts_splay.so.* -%{tde_libdir}/libarts_splay.la -%{tde_libdir}/mcop/CDDAPlayObject.mcopclass -%{tde_libdir}/mcop/MP3PlayObject.mcopclass -%{tde_libdir}/mcop/NULLPlayObject.mcopclass -%{tde_libdir}/mcop/OGGPlayObject.mcopclass -%{tde_libdir}/mcop/SplayPlayObject.mcopclass -%{tde_libdir}/mcop/WAVPlayObject.mcopclass - -%endif - -########## - -%if 0%{?with_xine} -%package -n trinity-libarts-xine -Summary: ARTS plugin enabling xine support -Group: Productivity/Multimedia/Other - -%description -n trinity-libarts-xine -This package contains aRts' xine plugin, allowing the use of the xine -multimedia engine though aRts. - -%files -n trinity-libarts-xine -%defattr(-,root,root,-) -%{tde_tdelibdir}/videothumbnail.la -%{tde_tdelibdir}/videothumbnail.so -%{tde_libdir}/libarts_xine.so.* -%{tde_libdir}/libarts_xine.la -%{tde_libdir}/mcop/xineAudioPlayObject.mcopclass -%{tde_libdir}/mcop/xineVideoPlayObject.mcopclass -%{tde_datadir}/apps/videothumbnail/sprocket-large.png -%{tde_datadir}/apps/videothumbnail/sprocket-medium.png -%{tde_datadir}/apps/videothumbnail/sprocket-small.png -%{tde_datadir}/services/videothumbnail.desktop - -%endif - -########## - -%package -n trinity-libkcddb -Summary: CDDB library for Trinity -Group: Productivity/Multimedia/Other -Requires: trinity-kcontrol >= %{tde_version} - -%description -n trinity-libkcddb -The Trinity native CDDB (CD Data Base) library, providing easy access to Audio -CD meta-information (track titles, artist information, etc.) from on-line -databases, for TDE applications. - -%files -n trinity-libkcddb -%defattr(-,root,root,-) -%{tde_tdelibdir}/kcm_cddb.la -%{tde_tdelibdir}/kcm_cddb.so -%{tde_libdir}/libkcddb.so.* -%{tde_tdeappdir}/libkcddb.desktop -%{tde_datadir}/apps/tdeconf_update/kcmcddb-emailsettings.upd -%{tde_datadir}/config.kcfg/libkcddb.kcfg -%{tde_tdedocdir}/HTML/en/kcontrol/cddb/ - -########## - -%if 0%{?with_mpeg} - -%package -n trinity-mpeglib -Summary: MP3 and MPEG-1 audio and video library -Group: Productivity/Multimedia/Other -%if 0%{?with_mpeg} -Requires: trinity-libarts-mpeglib = %{version}-%{release} -%endif - -%description -n trinity-mpeglib -mpeglib is a MPEG-1 and MP3 audio and video library. It supports -MPEG-1 audio (layers 1, 2, 3), MPEG-1 video, MPEG-1 system layer, -and WAV playback - -%files -n trinity-mpeglib -%defattr(-,root,root,-) -%{tde_bindir}/yaf-cdda -%{tde_bindir}/yaf-mpgplay -%{tde_bindir}/yaf-splay -%{tde_bindir}/yaf-tplay -%{tde_bindir}/yaf-vorbis -%{tde_bindir}/yaf-yuv -%{tde_libdir}/libmpeg-0.3.0.so -%{tde_libdir}/libyafcore.so -%{tde_libdir}/libyafxplayer.so - -%endif - -########## - -%package -n trinity-noatun -Summary: Media player for Trinity -Group: Productivity/Multimedia/Video/Players -Requires: trinity-tdebase-bin >= %{tde_version} - -# 20120802: Hack to avoid dependency issue on MGA2 and MDV2011 -%if 0%{?mgaversion} || 0%{?mdkversion} -Provides: devel(libnoatunarts) -Provides: devel(libnoatunarts(64bit)) -%endif - -%description -n trinity-noatun -Noatun is an aRts-based audio and video player for Trinity. It supports all -formats supported by your installation of aRts (including aRts plugins). - -%files -n trinity-noatun -%defattr(-,root,root,-) -%{tde_bindir}/noatun -%{tde_libdir}/tdeconf_update_bin/noatun20update -%{tde_tdelibdir}/noatun.la -%{tde_tdelibdir}/noatun.so -%{tde_tdelibdir}/noatun_dcopiface.la -%{tde_tdelibdir}/noatun_dcopiface.so -%{tde_tdelibdir}/noatun_excellent.la -%{tde_tdelibdir}/noatun_excellent.so -%{tde_tdelibdir}/noatun_htmlexport.la -%{tde_tdelibdir}/noatun_htmlexport.so -%{tde_tdelibdir}/noatun_infrared.la -%{tde_tdelibdir}/noatun_infrared.so -%{tde_tdelibdir}/noatun_kaiman.la -%{tde_tdelibdir}/noatun_kaiman.so -%{tde_tdelibdir}/noatun_keyz.la -%{tde_tdelibdir}/noatun_keyz.so -%{tde_tdelibdir}/noatun_kjofol.la -%{tde_tdelibdir}/noatun_kjofol.so -%{tde_tdelibdir}/noatun_marquis.la -%{tde_tdelibdir}/noatun_marquis.so -%{tde_tdelibdir}/noatun_metatag.la -%{tde_tdelibdir}/noatun_metatag.so -%{tde_tdelibdir}/noatun_monoscope.la -%{tde_tdelibdir}/noatun_monoscope.so -%{tde_tdelibdir}/noatun_net.la -%{tde_tdelibdir}/noatun_net.so -%{tde_tdelibdir}/noatun_splitplaylist.la -%{tde_tdelibdir}/noatun_splitplaylist.so -%{tde_tdelibdir}/noatun_systray.la -%{tde_tdelibdir}/noatun_systray.so -%{tde_tdelibdir}/noatun_ui.la -%{tde_tdelibdir}/noatun_ui.so -%{tde_tdelibdir}/noatun_voiceprint.la -%{tde_tdelibdir}/noatun_voiceprint.so -%{tde_tdelibdir}/noatun_winskin.la -%{tde_tdelibdir}/noatun_winskin.so -%{tde_tdelibdir}/noatunsimple.la -%{tde_tdelibdir}/noatunsimple.so -%{tde_libdir}/libartseffects.la -%{tde_libdir}/libartseffects.so -%{tde_libdir}/libtdeinit_noatun.so -%{tde_libdir}/libnoatun.so.* -%{tde_libdir}/libnoatunarts.la -%{tde_libdir}/libnoatunarts.so -%{tde_libdir}/libnoatuncontrols.so.* -%{tde_libdir}/libnoatuntags.so.* -%{tde_libdir}/libwinskinvis.la -%{tde_libdir}/libwinskinvis.so -%{tde_libdir}/mcop/ExtraStereo.mcopclass -%{tde_libdir}/mcop/ExtraStereoGuiFactory.mcopclass -%{tde_libdir}/mcop/Noatun/ -%{tde_libdir}/mcop/RawWriter.mcopclass -%{tde_libdir}/mcop/VoiceRemoval.mcopclass -%{tde_libdir}/mcop/artseffects.mcopclass -%{tde_libdir}/mcop/artseffects.mcoptype -%{tde_libdir}/mcop/noatunarts.mcopclass -%{tde_libdir}/mcop/noatunarts.mcoptype -%{tde_libdir}/mcop/winskinvis.mcopclass -%{tde_libdir}/mcop/winskinvis.mcoptype -%{tde_tdeappdir}/noatun.desktop -%{tde_datadir}/apps/tdeconf_update/noatun.upd -%{tde_datadir}/apps/noatun/ -%{tde_datadir}/icons/hicolor/*/apps/noatun.png -%{tde_datadir}/mimelnk/interface/x-winamp-skin.desktop -%{tde_tdedocdir}/HTML/en/noatun/ - -########## - -%package devel -Summary: Development files for %{name}, aRts and noatun plugins -Group: Development/Libraries/Other -Requires: %{name} = %{version}-%{release} -Requires: trinity-tdelibs-devel >= %{tde_version} - -Obsoletes: trinity-kdemultimedia-devel < %{version}-%{release} -Provides: trinity-kdemultimedia-devel = %{version}-%{release} - -%description devel -{summary}. - -Install %{name}-devel if you wish to develop or compile any -applications using aRtsbuilder, aRtsmidi, aRtskde, aRts modules or -noatun plugins. - -%files devel -%defattr(-,root,root,-) -%{tde_includedir}/* -%if 0%{?with_akode} -%{tde_libdir}/libarts_akode.so -%endif -%{tde_libdir}/libarts_audiofile.so -%if 0%{?with_mpeg} -%{tde_libdir}/libarts_mpeglib.so -%{tde_libdir}/libarts_splay.so -%endif -%if 0%{?with_xine} -%{tde_libdir}/libarts_xine.so -%endif -%{tde_libdir}/libartsbuilder.so -%{tde_libdir}/libartscontrolapplet.so -%{tde_libdir}/libartscontrolsupport.so -%{tde_libdir}/libartsgui.so -%{tde_libdir}/libartsgui_idl.so -%{tde_libdir}/libartsgui_kde.so -%{tde_libdir}/libartsmidi.so -%{tde_libdir}/libartsmidi_idl.so -%{tde_libdir}/libartsmodules.so -%{tde_libdir}/libartsmodulescommon.so -%{tde_libdir}/libartsmoduleseffects.so -%{tde_libdir}/libartsmodulesmixers.so -%{tde_libdir}/libartsmodulessynth.so -%{tde_libdir}/libaudiocdplugins.la -%{tde_libdir}/libaudiocdplugins.so -%{tde_libdir}/libkcddb.la -%{tde_libdir}/libkcddb.so -%{tde_libdir}/libtdeinit_kmix.la -%{tde_libdir}/libtdeinit_kmixctrl.la -%{tde_libdir}/libtdeinit_krec.la -%{tde_libdir}/libtdeinit_noatun.la -%{tde_libdir}/libtdemidlib.la -%{tde_libdir}/libtdemidlib.so -%if 0%{?with_mpeg} -%{tde_libdir}/libmpeg.la -%{tde_libdir}/libmpeg.so -%endif -%{tde_libdir}/libnoatun.la -%{tde_libdir}/libnoatun.so -%{tde_libdir}/libnoatuncontrols.la -%{tde_libdir}/libnoatuncontrols.so -%{tde_libdir}/libnoatuntags.la -%{tde_libdir}/libnoatuntags.so -%if 0%{?with_mpeg} -%{tde_libdir}/libyafcore.la -%{tde_libdir}/libyafxplayer.la -%endif - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} - -# Update icons for some control center modules -%__sed -i "tdeioslave/audiocd/kcmaudiocd/audiocd.desktop" -e "s|^Icon=.*|Icon=kcmaudio|" - - -%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} -DNDEBUG" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ - -DCMAKE_NO_BUILTIN_CHRPATH=ON \ - -DCMAKE_VERBOSE_MAKEFILE=ON \ - -DWITH_GCC_VISIBILITY=ON \ - \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DBIN_INSTALL_DIR="%{tde_bindir}" \ - -DCONFIG_INSTALL_DIR="%{tde_confdir}" \ - -DDOC_INSTALL_DIR="%{tde_docdir}" \ - -DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - -DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - \ - -DWITH_ALL_OPTIONS=ON \ - -DWITH_ALSA=ON \ - -DWITH_ARTS_AKODE=ON \ - -DWITH_ARTS_AUDIOFILE=ON \ - -DWITH_ARTS_MPEGLIB=ON \ - -DWITH_ARTS_XINE=ON \ - -DWITH_CDPARANOIA=ON \ - -DWITH_FLAC=ON \ - -DWITH_GSTREAMER=ON \ - -DWITH_KSCD_CDDA=ON \ - -DWITH_LAME=%{?with_lame:ON}%{!?with_lame:OFF} \ - -DWITH_MUSICBRAINZ=%{?with_musicbrainz:ON}%{!?with_musicbrainz:OFF} \ - -DWITH_TAGLIB=%{?with_taglib:ON}%{!?with_taglib:OFF} \ - -DWITH_THEORA=ON \ - -DWITH_VORBIS=ON \ - -DBUILD_ALL=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{?buildroot} -%__make install DESTDIR="%{?buildroot}" -C build - -# Disable MPEG support entirely -%if 0%{?with_mpeg} == 0 -%__rm %{?buildroot}%{tde_bindir}/mpeglibartsplay -%__rm %{?buildroot}%{tde_bindir}/yaf-* -%__rm %{?buildroot}%{tde_libdir}/libarts_mpeglib* -%__rm %{?buildroot}%{tde_libdir}/libarts_splay.* -%__rm %{?buildroot}%{tde_libdir}/libmpeg* -%__rm %{?buildroot}%{tde_libdir}/libyaf* -%__rm %{?buildroot}%{tde_libdir}/mcop/MP3PlayObject.mcopclass -%__rm %{?buildroot}%{tde_libdir}/mcop/CDDAPlayObject.mcopclass -%__rm %{?buildroot}%{tde_libdir}/mcop/NULLPlayObject.mcopclass -%__rm %{?buildroot}%{tde_libdir}/mcop/OGGPlayObject.mcopclass -%__rm %{?buildroot}%{tde_libdir}/mcop/SplayPlayObject.mcopclass -%__rm %{?buildroot}%{tde_libdir}/mcop/WAVPlayObject.mcopclass -%endif - -# Copy missing icons from 'crystalsvg' theme (tdelibs) -%__mkdir_p "%{?buildroot}%{tde_datadir}/icons/hicolor/"{16x16,22x22,32x32,48x48,64x64}"/apps/" -pushd $RPM_BUILD_ROOT%{tde_datadir}/icons/ -for i in {16,22,32,48,64}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/devices/media-optical-cdaudio.png hicolor/"$i"x"$i"/apps/kcmaudiocd.png; done -popd - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file krec AudioVideo Recorder -%suse_update_desktop_file tdemid AudioVideo Midi -%suse_update_desktop_file artsbuilder AudioVideo AudioVideoEditing -%suse_update_desktop_file artscontrol AudioVideo AudioVideoEditing -%suse_update_desktop_file kmix AudioVideo Mixer -%suse_update_desktop_file kaboodle AudioVideo Player -%suse_update_desktop_file kaudiocreator AudioVideo CD -%suse_update_desktop_file kscd AudioVideo Player CD -%suse_update_desktop_file noatun AudioVideo Player Video -%suse_update_desktop_file juk AudioVideo Player Jukebox -%suse_update_desktop_file audiocd -%endif - -# Links duplicate files -%fdupes "%{?buildroot}%{tde_datadir}" - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/main/tdemultimedia/tdemultimedia-14.0.0.spec b/redhat/main/tdemultimedia/tdemultimedia-14.0.0.spec deleted file mode 120000 index 90fb9141a..000000000 --- a/redhat/main/tdemultimedia/tdemultimedia-14.0.0.spec +++ /dev/null @@ -1 +0,0 @@ -tdemultimedia-14.0.0-cmake.spec \ No newline at end of file diff --git a/redhat/main/tdemultimedia/tdemultimedia.spec b/redhat/main/tdemultimedia/tdemultimedia.spec new file mode 100644 index 000000000..263ada4e8 --- /dev/null +++ b/redhat/main/tdemultimedia/tdemultimedia.spec @@ -0,0 +1,1158 @@ +# +# spec file for package tdemultimedia (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/ +# + +# BUILD WARNING: +# Remove qt-devel and qt3-devel and any kde*-devel on your system ! +# Having KDE libraries may cause FTBFS here ! + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.0.7 +%endif +%define tde_pkg tdemultimedia +%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_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: Multimedia applications for the Trinity Desktop Environment +Version: %{tde_version} +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Group: Productivity/Multimedia/Sound/Utilities +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Project +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz +Source1: %{name}-rpmlintrc + +Obsoletes: trinity-kdemultimedia < %{version}-%{release} +Provides: trinity-kdemultimedia = %{version}-%{release} +Obsoletes: trinity-kdemultimedia-libs < %{version}-%{release} +Provides: trinity-kdemultimedia-libs = %{version}-%{release} +Obsoletes: trinity-kdemultimedia-extras < %{version}-%{release} +Provides: trinity-kdemultimedia-extras = %{version}-%{release} +Obsoletes: trinity-kdemultimedia-extras-libs < %{version}-%{release} +Provides: trinity-kdemultimedia-extras-libs = %{version}-%{release} + +BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10 +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} + +BuildRequires: cmake +BuildRequires: gcc-c++ +BuildRequires: fdupes +BuildRequires: desktop-file-utils + +# 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 +%define with_taglib 1 +BuildRequires: taglib-devel + +# AKODE support +%define with_akode 1 +BuildRequires: trinity-akode-devel + +# MAD support +%ifarch %{ix86} x86_64 +%define with_libmad 1 +%{?with_libmad:BuildRequires: libakode_mpeg_decoder} +%endif + +# ZLIB support +BuildRequires: zlib-devel + +# MUSICBRAINZ support +## not currently compatible with libtunepimp-0.5 (only libtunepimp-0.4) +#define with_musicbrainz 1 +#BuildRequires: libmusicbrainz-devel libtunepimp-devel + +# Audio libraries +BuildRequires: libvorbis-devel +BuildRequires: audiofile-devel +BuildRequires: libtheora-devel +BuildRequires: alsa-lib-devel +BuildRequires: cdparanoia +#BuildRequires: libmpg123-devel + +# CDDA support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: libcdda-devel +%endif +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +BuildRequires: cdparanoia-devel +%endif + +# FLAC support +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?pclinuxos} +BuildRequires: libflac-devel +%else +BuildRequires: %{_lib}flac-devel +%endif +%endif +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +BuildRequires: flac-devel +%endif + +# GSTREAMER support +%if 0%{?mgaversion} || 0%{?mdkversion} +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 + +# X11 Libraries +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}xxf86dga-devel +BuildRequires: %{_lib}xxf86vm-devel +%if 0%{?mgaversion} >= 4 +BuildRequires: %{_lib}xtst-devel +%else +BuildRequires: %{_lib}xtst%{?mgaversion:6}-devel +%endif +%endif +%if 0%{?rhel} == 4 +BuildRequires: xorg-x11-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 +BuildRequires: libXxf86dga-devel +BuildRequires: libXxf86vm-devel +%endif + +# XINE support +%if 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?rhel} >= 5 +%define with_xine 1 +%if 0%{?mgaversion} || 0%{?mdkversion} +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 +%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 +%endif + +# IDN support +BuildRequires: libidn-devel + +# OPENSSL support +BuildRequires: openssl-devel + +# ACL support +BuildRequires: libacl-devel + +# ATTR support +BuildRequires: libattr-devel + +%if 0%{?fedora} || 0%{?rhel} +BuildRequires: lame-devel +%endif + + +Requires: trinity-artsbuilder = %{version}-%{release} +Requires: trinity-juk = %{version}-%{release} +Requires: trinity-kaboodle = %{version}-%{release} +Requires: trinity-kaudiocreator = %{version}-%{release} +Requires: %{name}-kfile-plugins = %{version}-%{release} +Requires: %{name}-kappfinder-data = %{version}-%{release} +Requires: %{name}-tdeio-plugins = %{version}-%{release} +Requires: trinity-tdemid = %{version}-%{release} +Requires: trinity-kmix = %{version}-%{release} +Requires: trinity-krec = %{version}-%{release} +Requires: trinity-kscd = %{version}-%{release} +%{?with_akode:Requires: trinity-libarts-akode = %{version}-%{release}} +Requires: trinity-libarts-audiofile = %{version}-%{release} +%{?with_mpeg:Requires: trinity-libarts-mpeglib = %{version}-%{release}} +%{?with_xine:Requires: trinity-libarts-xine = %{version}-%{release}} +Requires: trinity-libkcddb = %{version}-%{release} +%{?with_mpeg:Requires: trinity-mpeglib = %{version}-%{release}} +Requires: trinity-noatun = %{version}-%{release} + + +%description +The Trinity Desktop Environment (TDE) is a GUI desktop for the X Window +System. The tdemultimedia package contains multimedia applications for +TDE, including: + artsbuilder, Synthesizer designer for aRts + juk, a media player + tdemid, a midi player + kmix, an audio mixer + arts, additional functionality for the aRts sound system + krec, a recording tool + kscd, an Audio-CD player + kaudiocreator, a graphical frontend for audio file creation + kaboodle, a media player + noatun, a media player + +%files + +########## + +%package -n trinity-artsbuilder +Summary: Synthesizer designer for aRts +Group: Productivity/Multimedia/Sound/Mixers +Requires: trinity-kicker >= %{tde_version} + +%description -n trinity-artsbuilder +This is the analog Realtime synthesizer's graphical design tool. + +%files -n trinity-artsbuilder +%defattr(-,root,root,-) +%{tde_bindir}/artsbuilder +%{tde_bindir}/artscontrol +%{tde_bindir}/midisend +%{tde_libdir}/libartsbuilder.la +%{tde_libdir}/libartsbuilder.so.* +%{tde_libdir}/libartscontrolapplet.la +%{tde_libdir}/libartscontrolapplet.so.* +%{tde_libdir}/libartscontrolsupport.la +%{tde_libdir}/libartscontrolsupport.so.* +%{tde_libdir}/libartsgui_idl.la +%{tde_libdir}/libartsgui_idl.so.* +%{tde_libdir}/libartsgui_kde.la +%{tde_libdir}/libartsgui_kde.so.* +%{tde_libdir}/libartsgui.la +%{tde_libdir}/libartsgui.so.* +%{tde_libdir}/libartsmidi_idl.la +%{tde_libdir}/libartsmidi_idl.so.* +%{tde_libdir}/libartsmidi.la +%{tde_libdir}/libartsmidi.so.* +%{tde_libdir}/libartsmodulescommon.la +%{tde_libdir}/libartsmodulescommon.so.* +%{tde_libdir}/libartsmoduleseffects.la +%{tde_libdir}/libartsmoduleseffects.so.* +%{tde_libdir}/libartsmodulesmixers.la +%{tde_libdir}/libartsmodulesmixers.so.* +%{tde_libdir}/libartsmodules.la +%{tde_libdir}/libartsmodules.so.* +%{tde_libdir}/libartsmodulessynth.la +%{tde_libdir}/libartsmodulessynth.so.* +%{tde_libdir}/mcop/Arts/ArtsBuilderLoader.mcopclass +%{tde_libdir}/mcop/artsbuilder.mcopclass +%{tde_libdir}/mcop/artsbuilder.mcoptype +%{tde_libdir}/mcop/Arts/Button.mcopclass +%{tde_libdir}/mcop/Arts/EffectRackGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/Effect_WAVECAPTURE.mcopclass +%{tde_libdir}/mcop/Arts/Environment/Container.mcopclass +%{tde_libdir}/mcop/Arts/Environment/EffectRackItem.mcopclass +%{tde_libdir}/mcop/Arts/Environment/InstrumentItemGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/Environment/InstrumentItem.mcopclass +%{tde_libdir}/mcop/Arts/Environment/MixerItem.mcopclass +%{tde_libdir}/mcop/Arts/Fader.mcopclass +%{tde_libdir}/mcop/Arts/FiveBandMonoComplexEQGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/FiveBandMonoComplexEQ.mcopclass +%{tde_libdir}/mcop/Arts/FreeverbGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/GenericGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/GraphLine.mcopclass +%{tde_libdir}/mcop/artsgui.mcopclass +%{tde_libdir}/mcop/artsgui.mcoptype +%{tde_libdir}/mcop/Arts/HBox.mcopclass +%{tde_libdir}/mcop/Arts/Label.mcopclass +%{tde_libdir}/mcop/Arts/LayoutBox.mcopclass +%{tde_libdir}/mcop/Arts/LevelMeter.mcopclass +%{tde_libdir}/mcop/Arts/LineEdit.mcopclass +%{tde_libdir}/mcop/Arts/LittleStereoMixerChannelGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/LittleStereoMixerChannel.mcopclass +%{tde_libdir}/mcop/Arts/LocalFactory.mcopclass +%{tde_libdir}/mcop/Arts/MidiManager.mcopclass +%{tde_libdir}/mcop/artsmidi.mcopclass +%{tde_libdir}/mcop/artsmidi.mcoptype +%{tde_libdir}/mcop/Arts/MixerGuiFactory.mcopclass +%{tde_libdir}/mcop/artsmodulescommon.mcopclass +%{tde_libdir}/mcop/artsmodulescommon.mcoptype +%{tde_libdir}/mcop/artsmoduleseffects.mcopclass +%{tde_libdir}/mcop/artsmoduleseffects.mcoptype +%{tde_libdir}/mcop/artsmodules.mcopclass +%{tde_libdir}/mcop/artsmodules.mcoptype +%{tde_libdir}/mcop/artsmodulesmixers.mcopclass +%{tde_libdir}/mcop/artsmodulesmixers.mcoptype +%{tde_libdir}/mcop/artsmodulessynth.mcopclass +%{tde_libdir}/mcop/artsmodulessynth.mcoptype +%{tde_libdir}/mcop/Arts/MonoSimpleMixerChannelGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/MonoSimpleMixerChannel.mcopclass +%{tde_libdir}/mcop/Arts/MonoToStereo.mcopclass +%{tde_libdir}/mcop/Arts/PopupBox.mcopclass +%{tde_libdir}/mcop/Arts/Poti.mcopclass +%{tde_libdir}/mcop/Arts/SimpleMixerChannelGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/SimpleMixerChannel.mcopclass +%{tde_libdir}/mcop/Arts/SpinBox.mcopclass +%{tde_libdir}/mcop/Arts/StereoBalanceGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/StereoBalance.mcopclass +%{tde_libdir}/mcop/Arts/StereoCompressorGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/StereoFirEqualizerGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/StereoToMono.mcopclass +%{tde_libdir}/mcop/Arts/StereoVolumeControlGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/StereoVolumeControlGui.mcopclass +%{tde_libdir}/mcop/Arts/StructureBuilder.mcopclass +%{tde_libdir}/mcop/Arts/StructureDesc.mcopclass +%{tde_libdir}/mcop/Arts/Synth_ATAN_SATURATE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_AUTOPANNER.mcopclass +%{tde_libdir}/mcop/Arts/Synth_BRICKWALL_LIMITER.mcopclass +%{tde_libdir}/mcop/Arts/Synth_CAPTURE_WAV.mcopclass +%{tde_libdir}/mcop/Arts/Synth_CDELAY.mcopclass +%{tde_libdir}/mcop/Arts/Synth_COMPRESSOR.mcopclass +%{tde_libdir}/mcop/Arts/Synth_DATA.mcopclass +%{tde_libdir}/mcop/Arts/Synth_DEBUG.mcopclass +%{tde_libdir}/mcop/Arts/Synth_DELAY.mcopclass +%{tde_libdir}/mcop/Arts/Synth_DIV.mcopclass +%{tde_libdir}/mcop/Arts/Synth_ENVELOPE_ADSR.mcopclass +%{tde_libdir}/mcop/Arts/Synth_FM_SOURCE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_FREEVERB.mcopclass +%{tde_libdir}/mcop/Arts/Synth_FX_CFLANGER.mcopclass +%{tde_libdir}/mcop/Arts/Synth_MIDI_DEBUG.mcopclass +%{tde_libdir}/mcop/Arts/Synth_MIDI_TEST.mcopclass +%{tde_libdir}/mcop/Arts/Synth_MOOG_VCF.mcopclass +%{tde_libdir}/mcop/Arts/Synth_NIL.mcopclass +%{tde_libdir}/mcop/Arts/Synth_NOISE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_OSC.mcopclass +%{tde_libdir}/mcop/Arts/Synth_PITCH_SHIFT_FFT.mcopclass +%{tde_libdir}/mcop/Arts/Synth_PITCH_SHIFT.mcopclass +%{tde_libdir}/mcop/Arts/Synth_PLAY_PAT.mcopclass +%{tde_libdir}/mcop/Arts/Synth_PSCALE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_RC.mcopclass +%{tde_libdir}/mcop/Arts/Synth_SEQUENCE_FREQ.mcopclass +%{tde_libdir}/mcop/Arts/Synth_SEQUENCE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_SHELVE_CUTOFF.mcopclass +%{tde_libdir}/mcop/Arts/Synth_STD_EQUALIZER.mcopclass +%{tde_libdir}/mcop/Arts/Synth_STEREO_COMPRESSOR.mcopclass +%{tde_libdir}/mcop/Arts/Synth_STEREO_FIR_EQUALIZER.mcopclass +%{tde_libdir}/mcop/Arts/Synth_STEREO_PITCH_SHIFT_FFT.mcopclass +%{tde_libdir}/mcop/Arts/Synth_STEREO_PITCH_SHIFT.mcopclass +%{tde_libdir}/mcop/Arts/Synth_TREMOLO.mcopclass +%{tde_libdir}/mcop/Arts/Synth_VOICE_REMOVAL.mcopclass +%{tde_libdir}/mcop/Arts/Synth_WAVE_PULSE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_WAVE_SOFTSAW.mcopclass +%{tde_libdir}/mcop/Arts/Synth_WAVE_SQUARE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_WAVE_TRI.mcopclass +%{tde_libdir}/mcop/Arts/Synth_XFADE.mcopclass +%{tde_libdir}/mcop/Arts/VBox.mcopclass +%{tde_libdir}/mcop/Arts/VoiceRemovalGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/Widget.mcopclass +%{tde_tdeappdir}/artsbuilder.desktop +%{tde_tdeappdir}/artscontrol.desktop +%{tde_datadir}/apps/artsbuilder/ +%{tde_datadir}/apps/artscontrol/ +%{tde_datadir}/apps/kicker/applets/artscontrolapplet.desktop +%{tde_datadir}/icons/crystalsvg/*/actions/artsaudiomanager.png +%{tde_datadir}/icons/crystalsvg/*/actions/artsbuilderexecute.png +%{tde_datadir}/icons/crystalsvg/*/actions/artsenvironment.png +%{tde_datadir}/icons/crystalsvg/*/actions/artsfftscope.png +%{tde_datadir}/icons/crystalsvg/*/actions/artsmediatypes.png +%{tde_datadir}/icons/crystalsvg/*/actions/artsmidimanager.png +%{tde_datadir}/icons/crystalsvg/scalable/actions/artsaudiomanager.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/artsenvironment.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/artsfftscope.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/artsmediatypes.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/artsmidimanager.svgz +%{tde_datadir}/icons/hicolor/*/apps/artsbuilder.png +%{tde_datadir}/icons/hicolor/*/apps/artscontrol.png +%{tde_datadir}/icons/hicolor/scalable/apps/artsbuilder.svgz +%{tde_datadir}/icons/hicolor/scalable/apps/artscontrol.svgz +%{tde_datadir}/mimelnk/application/x-artsbuilder.desktop +%{tde_tdedocdir}/HTML/en/artsbuilder/ + +########## + +%package -n trinity-juk +Summary: Music organizer and player for Trinity +Group: Productivity/Multimedia/Sound/Players + +%description -n trinity-juk +JuK (pronounced "jook") is a jukebox and music manager for the TDE +desktop similar to jukebox software on other platforms such as +iTunes or RealOne. + +Some of JuK's features include: +* Support for Ogg Vorbis and MP3 formats +* Tag editing support for both formats, including ID3v2 for MP3 files. + Multitagging or editing a selection of multiple files at once is also + supported +* Output to either the aRts, default KDE sound system, or GStreamer +* Management of your "collection" and multiple playlists +* Import and export to m3u playlists +* Binary caching of audio meta-data and playlist information for faster + load times (starting with the second time you run JuK) +* Integration into TDE that allows drag-and-drop and clipboard usage + with other TDE and X apps + +%files -n trinity-juk +%defattr(-,root,root,-) +%{tde_bindir}/juk +%{tde_tdeappdir}/juk.desktop +%{tde_datadir}/apps/juk/ +%{tde_datadir}/apps/konqueror/servicemenus/jukservicemenu.desktop +%{tde_datadir}/icons/crystalsvg/*/actions/juk_dock.png +%{tde_datadir}/icons/hicolor/*/apps/juk.png +%{tde_tdedocdir}/HTML/en/juk/ + +########## + +%package -n trinity-kaboodle +Summary: Light, embedded media player for Trinity +Group: System/GUI/Other + +%if 0%{?with_xine} +Requires: trinity-libarts-xine = %{version}-%{release} +%endif + +%description -n trinity-kaboodle +Kaboodle is a light, embedded media player, supporting both video and audio, +for TDE. It uses the aRts framework for playing media files. + +%files -n trinity-kaboodle +%defattr(-,root,root,-) +%{tde_bindir}/kaboodle +%{tde_tdelibdir}/libkaboodlepart.la +%{tde_tdelibdir}/libkaboodlepart.so +%{tde_tdeappdir}/kaboodle.desktop +%{tde_datadir}/apps/kaboodle/ +%{tde_datadir}/icons/hicolor/*/apps/kaboodle.png +%{tde_datadir}/services/kaboodle_component.desktop +%{tde_datadir}/services/kaboodleengine.desktop +%{tde_tdedocdir}/HTML/en/kaboodle/ + +########## + +%package -n trinity-kaudiocreator +Summary: CD ripper and audio encoder frontend for Trinity +Group: Productivity/Multimedia/CD/Grabbers + +Requires: %{name}-tdeio-plugins = %{version}-%{release} +Requires: vorbis-tools +Requires: flac + +%description -n trinity-kaudiocreator +KAudioCreator is a tool for audio extraction (ripping) and encoding. It can +keep your WAV files, or convert them to Ogg/Vorbis, MP3, or FLAC. It also +searches CDDB to retrieve the information of the disk. + +%files -n trinity-kaudiocreator +%defattr(-,root,root,-) +%{tde_bindir}/kaudiocreator +%{tde_tdeappdir}/kaudiocreator.desktop +%{tde_datadir}/apps/kaudiocreator/ +%{tde_datadir}/apps/tdeconf_update/kaudiocreator-libkcddb.upd +%{tde_datadir}/apps/tdeconf_update/kaudiocreator-meta.upd +%{tde_datadir}/apps/tdeconf_update/upgrade-kaudiocreator-metadata.sh +%{tde_datadir}/apps/konqueror/servicemenus/audiocd_extract.desktop +%{tde_datadir}/config.kcfg/kaudiocreator.kcfg +%{tde_datadir}/config.kcfg/kaudiocreator_encoders.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kaudiocreator.png +%{tde_datadir}/icons/locolor/*/apps/kaudiocreator.png +%{tde_tdedocdir}/HTML/en/kaudiocreator/ + +########## + +%package kfile-plugins +Summary: An au/avi/m3u/mp3/ogg/wav plugins for kfile +Group: Productivity/Multimedia/Sound/Utilities + +%description kfile-plugins +au/avi/m3u/mp3/ogg/wav file metainformation plugins for Trinity. + +%files kfile-plugins +%defattr(-,root,root,-) +%{tde_tdelibdir}/tdefile_au.la +%{tde_tdelibdir}/tdefile_au.so +%{tde_tdelibdir}/tdefile_avi.la +%{tde_tdelibdir}/tdefile_avi.so +%{tde_tdelibdir}/tdefile_flac.la +%{tde_tdelibdir}/tdefile_flac.so +%{tde_tdelibdir}/tdefile_m3u.la +%{tde_tdelibdir}/tdefile_m3u.so +%{tde_tdelibdir}/tdefile_mp3.la +%{tde_tdelibdir}/tdefile_mp3.so +%{tde_tdelibdir}/tdefile_mpc.la +%{tde_tdelibdir}/tdefile_mpc.so +%{tde_tdelibdir}/tdefile_mpeg.la +%{tde_tdelibdir}/tdefile_mpeg.so +%{tde_tdelibdir}/tdefile_ogg.la +%{tde_tdelibdir}/tdefile_ogg.so +%{tde_tdelibdir}/tdefile_sid.la +%{tde_tdelibdir}/tdefile_sid.so +%{tde_tdelibdir}/tdefile_theora.la +%{tde_tdelibdir}/tdefile_theora.so +%{tde_tdelibdir}/tdefile_wav.la +%{tde_tdelibdir}/tdefile_wav.so +%{tde_datadir}/services/tdefile_au.desktop +%{tde_datadir}/services/tdefile_avi.desktop +%{tde_datadir}/services/tdefile_flac.desktop +%{tde_datadir}/services/tdefile_m3u.desktop +%{tde_datadir}/services/tdefile_mp3.desktop +%{tde_datadir}/services/tdefile_mpc.desktop +%{tde_datadir}/services/tdefile_mpeg.desktop +%{tde_datadir}/services/tdefile_ogg.desktop +%{tde_datadir}/services/tdefile_sid.desktop +%{tde_datadir}/services/tdefile_theora.desktop +%{tde_datadir}/services/tdefile_wav.desktop + +########## + +%package kappfinder-data +Summary: Multimedia data for kappfinder +Group: Productivity/Multimedia/Sound/Utilities + +Requires: trinity-kappfinder >= %{tde_version} +Requires: trinity-tdebase-runtime-data-common >= %{tde_version} + +%description kappfinder-data +This package provides data on multimedia applications for kappfinder. + +%files kappfinder-data +%defattr(-,root,root,-) +%{tde_datadir}/apps/kappfinder/ +%{tde_datadir}/desktop-directories/tde-multimedia-music.directory +%config %{_sysconfdir}/xdg/menus/applications-merged/tde-multimedia-music.menu + +########## + +%package tdeio-plugins +Summary: Enables the browsing of audio CDs under Konqueror +Group: Productivity/Multimedia/Sound/Utilities +Requires: trinity-tdebase-tdeio-plugins >= %{tde_version} + +Obsoletes: trinity-tdemultimedia-kio-plugins < %{version}-%{release} +Provides: trinity-tdemultimedia-kio-plugins = %{version}-%{release} + +%description tdeio-plugins +This package allow audio CDs to be browsed like a file system using +Konqueror and the audiocd:/ URL. + +%files tdeio-plugins +%defattr(-,root,root,-) +%{tde_tdelibdir}/kcm_audiocd.la +%{tde_tdelibdir}/kcm_audiocd.so +%{tde_tdelibdir}/tdeio_audiocd.la +%{tde_tdelibdir}/tdeio_audiocd.so +%{tde_tdelibdir}/libaudiocd_encoder_flac.la +%{tde_tdelibdir}/libaudiocd_encoder_flac.so +%{tde_tdelibdir}/libaudiocd_encoder_lame.la +%{tde_tdelibdir}/libaudiocd_encoder_lame.so +%{tde_tdelibdir}/libaudiocd_encoder_vorbis.la +%{tde_tdelibdir}/libaudiocd_encoder_vorbis.so +%{tde_tdelibdir}/libaudiocd_encoder_wav.la +%{tde_tdelibdir}/libaudiocd_encoder_wav.so +%{tde_libdir}/libaudiocdplugins.so.* +%{tde_tdeappdir}/audiocd.desktop +%{tde_datadir}/apps/tdeconf_update/audiocd.upd +%{tde_datadir}/apps/tdeconf_update/upgrade-metadata.sh +%{tde_datadir}/config.kcfg/audiocd_lame_encoder.kcfg +%{tde_datadir}/config.kcfg/audiocd_vorbis_encoder.kcfg +%{tde_datadir}/services/audiocd.protocol +%{tde_tdedocdir}/HTML/en/tdeioslave/audiocd/ +%{tde_tdedocdir}/HTML/en/kcontrol/audiocd/ +%{tde_datadir}/icons/hicolor/*/apps/kcmaudiocd.png + +########## + +%package -n trinity-tdemid +Summary: MIDI/karaoke player for Trinity +Group: Productivity/Multimedia/Sound/Midi + +Obsoletes: trinity-kmid < %{version}-%{release} +Provides: trinity-kmid = %{version}-%{release} + +%description -n trinity-tdemid +This package provides a MIDI and karaoke player for TDE. + +%files -n trinity-tdemid +%defattr(-,root,root,-) +%{tde_bindir}/tdemid +%{tde_tdelibdir}/libtdemidpart.la +%{tde_tdelibdir}/libtdemidpart.so +%{tde_libdir}/libtdemidlib.so.* +%{tde_tdeappdir}/tdemid.desktop +%{tde_datadir}/apps/tdemid/ +%{tde_datadir}/icons/hicolor/*/apps/tdemid.png +%{tde_datadir}/mimelnk/audio/x-karaoke.desktop +%{tde_datadir}/servicetypes/audiomidi.desktop +%{tde_tdedocdir}/HTML/en/tdemid/ + +########## + +%package -n trinity-kmix +Summary: Sound mixer applet for Trinity +Group: Productivity/Multimedia/Sound/Mixers +Requires: trinity-kicker >= %{tde_version} + +%description -n trinity-kmix +This package includes TDE's dockable sound mixer applet. + +%files -n trinity-kmix +%defattr(-,root,root,-) +%{tde_bindir}/kmix +%{tde_bindir}/kmixctrl +%{tde_tdelibdir}/kmix.la +%{tde_tdelibdir}/kmix.so +%{tde_tdelibdir}/kmix_panelapplet.la +%{tde_tdelibdir}/kmix_panelapplet.so +%{tde_tdelibdir}/kmixctrl.la +%{tde_tdelibdir}/kmixctrl.so +%{tde_libdir}/libtdeinit_kmix.so +%{tde_libdir}/libtdeinit_kmixctrl.so +%{tde_tdeappdir}/kmix.desktop +%{tde_datadir}/apps/kicker/applets/kmixapplet.desktop +%{tde_datadir}/apps/kmix/ +%{tde_datadir}/autostart/kmix.desktop +%{tde_datadir}/autostart/restore_kmix_volumes.desktop +%{tde_datadir}/icons/hicolor/*/apps/kmix.png +%{tde_datadir}/services/kmixctrl_restore.desktop +%{tde_tdedocdir}/HTML/en/kmix/ + +########## + +%package -n trinity-krec +Summary: Sound recorder utility for Trinity +Group: Productivity/Multimedia/CD/Record + +%description -n trinity-krec +This is a sound recording utility for Trinity. + +%files -n trinity-krec +%defattr(-,root,root,-) +%{tde_bindir}/krec +%{tde_tdelibdir}/kcm_krec.la +%{tde_tdelibdir}/kcm_krec.so +%{tde_tdelibdir}/kcm_krec_files.la +%{tde_tdelibdir}/kcm_krec_files.so +%{tde_tdelibdir}/krec.la +%{tde_tdelibdir}/krec.so +%if 0%{?with_lame} +%{tde_tdelibdir}/libkrecexport_mp3.la +%{tde_tdelibdir}/libkrecexport_mp3.so +%{tde_datadir}/services/krec_exportmp3.desktop +%endif +%{tde_tdelibdir}/libkrecexport_ogg.la +%{tde_tdelibdir}/libkrecexport_ogg.so +%{tde_tdelibdir}/libkrecexport_wave.la +%{tde_tdelibdir}/libkrecexport_wave.so +%{tde_libdir}/libtdeinit_krec.so +%{tde_tdeappdir}/krec.desktop +%{tde_datadir}/apps/krec/ +%{tde_datadir}/icons/hicolor/*/apps/krec.png +%{tde_datadir}/services/kcm_krec.desktop +%{tde_datadir}/services/kcm_krec_files.desktop +%{tde_datadir}/services/krec_exportogg.desktop +%{tde_datadir}/services/krec_exportwave.desktop +%{tde_datadir}/servicetypes/krec_exportitem.desktop +%{tde_tdedocdir}/HTML/en/krec/ + +########## + +%package -n trinity-kscd +Summary: Audio CD player for Trinity +Group: Productivity/Multimedia/CD/Players + +%description -n trinity-kscd +This is Trinity's audio CD player. + +%files -n trinity-kscd +%defattr(-,root,root,-) +%{tde_bindir}/kscd +%{tde_bindir}/workman2cddb.pl +%{tde_tdeappdir}/kscd.desktop +%{tde_datadir}/apps/konqueror/servicemenus/audiocd_play.desktop +%{tde_datadir}/apps/kscd/ +%{tde_datadir}/apps/profiles/kscd.profile.xml +%{tde_datadir}/config.kcfg/kscd.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kscd.png +%{tde_datadir}/mimelnk/text/xmcd.desktop +%{tde_tdedocdir}/HTML/en/kscd/ + +########## + +%if 0%{?with_akode} +%package -n trinity-libarts-akode +Summary: Akode plugin for aRts +Group: Productivity/Multimedia/Other + +%description -n trinity-libarts-akode +This package contains akode plugins for aRts. + +%files -n trinity-libarts-akode +%defattr(-,root,root,-) +%{tde_libdir}/libarts_akode.so.* +%{tde_libdir}/libarts_akode.la +%{tde_libdir}/mcop/akodearts.mcoptype +%{tde_libdir}/mcop/akodearts.mcopclass +%{tde_libdir}/mcop/akodeMPCPlayObject.mcopclass +%{tde_libdir}/mcop/akodePlayObject.mcopclass +%{tde_libdir}/mcop/akodeSpeexStreamPlayObject.mcopclass +%{tde_libdir}/mcop/akodeVorbisStreamPlayObject.mcopclass +%{tde_libdir}/mcop/akodeXiphPlayObject.mcopclass + +# Requires MAD support +%{?with_libmad:%{tde_libdir}/mcop/akodeMPEGPlayObject.mcopclass} + +%endif + +########## + +%package -n trinity-libarts-audiofile +Summary: Audiofile plugin for aRts +Group: Productivity/Multimedia/Other + +%description -n trinity-libarts-audiofile +This package contains audiofile plugins for aRts. + +%files -n trinity-libarts-audiofile +%defattr(-,root,root,-) +%{tde_libdir}/libarts_audiofile.so.* +%{tde_libdir}/libarts_audiofile.la +%{tde_libdir}/mcop/Arts/audiofilePlayObject.mcopclass +%{tde_libdir}/mcop/audiofilearts.mcopclass +%{tde_libdir}/mcop/audiofilearts.mcoptype + +########## + +%if 0%{?with_mpeg} +%package -n trinity-libarts-mpeglib +Summary: Mpeglib plugin for aRts, supporting mp3 and mpeg audio/video +Group: Productivity/Multimedia/Other + +%description -n trinity-libarts-mpeglib +This package contains the mpeglib aRts plugin, supporting mp3 and mpeg +audio and video. + +This is the arts (TDE Sound daemon) plugin. + +%files -n trinity-libarts-mpeglib +%defattr(-,root,root,-) +%{tde_bindir}/mpeglibartsplay +%{tde_libdir}/libarts_mpeglib-0.3.0.so* +%{tde_libdir}/libarts_mpeglib.la +%{tde_libdir}/libarts_splay.so.* +%{tde_libdir}/libarts_splay.la +%{tde_libdir}/mcop/CDDAPlayObject.mcopclass +%{tde_libdir}/mcop/MP3PlayObject.mcopclass +%{tde_libdir}/mcop/NULLPlayObject.mcopclass +%{tde_libdir}/mcop/OGGPlayObject.mcopclass +%{tde_libdir}/mcop/SplayPlayObject.mcopclass +%{tde_libdir}/mcop/WAVPlayObject.mcopclass + +%endif + +########## + +%if 0%{?with_xine} +%package -n trinity-libarts-xine +Summary: ARTS plugin enabling xine support +Group: Productivity/Multimedia/Other + +%description -n trinity-libarts-xine +This package contains aRts' xine plugin, allowing the use of the xine +multimedia engine though aRts. + +%files -n trinity-libarts-xine +%defattr(-,root,root,-) +%{tde_tdelibdir}/videothumbnail.la +%{tde_tdelibdir}/videothumbnail.so +%{tde_libdir}/libarts_xine.so.* +%{tde_libdir}/libarts_xine.la +%{tde_libdir}/mcop/xineAudioPlayObject.mcopclass +%{tde_libdir}/mcop/xineVideoPlayObject.mcopclass +%{tde_datadir}/apps/videothumbnail/sprocket-large.png +%{tde_datadir}/apps/videothumbnail/sprocket-medium.png +%{tde_datadir}/apps/videothumbnail/sprocket-small.png +%{tde_datadir}/services/videothumbnail.desktop + +%endif + +########## + +%package -n trinity-libkcddb +Summary: CDDB library for Trinity +Group: Productivity/Multimedia/Other +Requires: trinity-kcontrol >= %{tde_version} + +%description -n trinity-libkcddb +The Trinity native CDDB (CD Data Base) library, providing easy access to Audio +CD meta-information (track titles, artist information, etc.) from on-line +databases, for TDE applications. + +%files -n trinity-libkcddb +%defattr(-,root,root,-) +%{tde_tdelibdir}/kcm_cddb.la +%{tde_tdelibdir}/kcm_cddb.so +%{tde_libdir}/libkcddb.so.* +%{tde_tdeappdir}/libkcddb.desktop +%{tde_datadir}/apps/tdeconf_update/kcmcddb-emailsettings.upd +%{tde_datadir}/config.kcfg/libkcddb.kcfg +%{tde_tdedocdir}/HTML/en/kcontrol/cddb/ + +########## + +%if 0%{?with_mpeg} + +%package -n trinity-mpeglib +Summary: MP3 and MPEG-1 audio and video library +Group: Productivity/Multimedia/Other +%if 0%{?with_mpeg} +Requires: trinity-libarts-mpeglib = %{version}-%{release} +%endif + +%description -n trinity-mpeglib +mpeglib is a MPEG-1 and MP3 audio and video library. It supports +MPEG-1 audio (layers 1, 2, 3), MPEG-1 video, MPEG-1 system layer, +and WAV playback + +%files -n trinity-mpeglib +%defattr(-,root,root,-) +%{tde_bindir}/yaf-cdda +%{tde_bindir}/yaf-mpgplay +%{tde_bindir}/yaf-splay +%{tde_bindir}/yaf-tplay +%{tde_bindir}/yaf-vorbis +%{tde_bindir}/yaf-yuv +%{tde_libdir}/libmpeg-0.3.0.so +%{tde_libdir}/libyafcore.so +%{tde_libdir}/libyafxplayer.so + +%endif + +########## + +%package -n trinity-noatun +Summary: Media player for Trinity +Group: Productivity/Multimedia/Video/Players +Requires: trinity-tdebase-bin >= %{tde_version} + +# 20120802: Hack to avoid dependency issue on MGA2 and MDV2011 +%if 0%{?mgaversion} || 0%{?mdkversion} +Provides: devel(libnoatunarts) +Provides: devel(libnoatunarts(64bit)) +%endif + +%description -n trinity-noatun +Noatun is an aRts-based audio and video player for Trinity. It supports all +formats supported by your installation of aRts (including aRts plugins). + +%files -n trinity-noatun +%defattr(-,root,root,-) +%{tde_bindir}/noatun +%{tde_libdir}/tdeconf_update_bin/noatun20update +%{tde_tdelibdir}/noatun.la +%{tde_tdelibdir}/noatun.so +%{tde_tdelibdir}/noatun_dcopiface.la +%{tde_tdelibdir}/noatun_dcopiface.so +%{tde_tdelibdir}/noatun_excellent.la +%{tde_tdelibdir}/noatun_excellent.so +%{tde_tdelibdir}/noatun_htmlexport.la +%{tde_tdelibdir}/noatun_htmlexport.so +%{tde_tdelibdir}/noatun_infrared.la +%{tde_tdelibdir}/noatun_infrared.so +%{tde_tdelibdir}/noatun_kaiman.la +%{tde_tdelibdir}/noatun_kaiman.so +%{tde_tdelibdir}/noatun_keyz.la +%{tde_tdelibdir}/noatun_keyz.so +%{tde_tdelibdir}/noatun_kjofol.la +%{tde_tdelibdir}/noatun_kjofol.so +%{tde_tdelibdir}/noatun_marquis.la +%{tde_tdelibdir}/noatun_marquis.so +%{tde_tdelibdir}/noatun_metatag.la +%{tde_tdelibdir}/noatun_metatag.so +%{tde_tdelibdir}/noatun_monoscope.la +%{tde_tdelibdir}/noatun_monoscope.so +%{tde_tdelibdir}/noatun_net.la +%{tde_tdelibdir}/noatun_net.so +%{tde_tdelibdir}/noatun_splitplaylist.la +%{tde_tdelibdir}/noatun_splitplaylist.so +%{tde_tdelibdir}/noatun_systray.la +%{tde_tdelibdir}/noatun_systray.so +%{tde_tdelibdir}/noatun_ui.la +%{tde_tdelibdir}/noatun_ui.so +%{tde_tdelibdir}/noatun_voiceprint.la +%{tde_tdelibdir}/noatun_voiceprint.so +%{tde_tdelibdir}/noatun_winskin.la +%{tde_tdelibdir}/noatun_winskin.so +%{tde_tdelibdir}/noatunsimple.la +%{tde_tdelibdir}/noatunsimple.so +%{tde_libdir}/libartseffects.la +%{tde_libdir}/libartseffects.so +%{tde_libdir}/libtdeinit_noatun.so +%{tde_libdir}/libnoatun.so.* +%{tde_libdir}/libnoatunarts.la +%{tde_libdir}/libnoatunarts.so +%{tde_libdir}/libnoatuncontrols.so.* +%{tde_libdir}/libnoatuntags.so.* +%{tde_libdir}/libwinskinvis.la +%{tde_libdir}/libwinskinvis.so +%{tde_libdir}/mcop/ExtraStereo.mcopclass +%{tde_libdir}/mcop/ExtraStereoGuiFactory.mcopclass +%{tde_libdir}/mcop/Noatun/ +%{tde_libdir}/mcop/RawWriter.mcopclass +%{tde_libdir}/mcop/VoiceRemoval.mcopclass +%{tde_libdir}/mcop/artseffects.mcopclass +%{tde_libdir}/mcop/artseffects.mcoptype +%{tde_libdir}/mcop/noatunarts.mcopclass +%{tde_libdir}/mcop/noatunarts.mcoptype +%{tde_libdir}/mcop/winskinvis.mcopclass +%{tde_libdir}/mcop/winskinvis.mcoptype +%{tde_tdeappdir}/noatun.desktop +%{tde_datadir}/apps/tdeconf_update/noatun.upd +%{tde_datadir}/apps/noatun/ +%{tde_datadir}/icons/hicolor/*/apps/noatun.png +%{tde_datadir}/mimelnk/interface/x-winamp-skin.desktop +%{tde_tdedocdir}/HTML/en/noatun/ + +########## + +%package devel +Summary: Development files for %{name}, aRts and noatun plugins +Group: Development/Libraries/Other +Requires: %{name} = %{version}-%{release} +Requires: trinity-tdelibs-devel >= %{tde_version} + +Obsoletes: trinity-kdemultimedia-devel < %{version}-%{release} +Provides: trinity-kdemultimedia-devel = %{version}-%{release} + +%description devel +{summary}. + +Install %{name}-devel if you wish to develop or compile any +applications using aRtsbuilder, aRtsmidi, aRtskde, aRts modules or +noatun plugins. + +%files devel +%defattr(-,root,root,-) +%{tde_includedir}/* +%if 0%{?with_akode} +%{tde_libdir}/libarts_akode.so +%endif +%{tde_libdir}/libarts_audiofile.so +%if 0%{?with_mpeg} +%{tde_libdir}/libarts_mpeglib.so +%{tde_libdir}/libarts_splay.so +%endif +%if 0%{?with_xine} +%{tde_libdir}/libarts_xine.so +%endif +%{tde_libdir}/libartsbuilder.so +%{tde_libdir}/libartscontrolapplet.so +%{tde_libdir}/libartscontrolsupport.so +%{tde_libdir}/libartsgui.so +%{tde_libdir}/libartsgui_idl.so +%{tde_libdir}/libartsgui_kde.so +%{tde_libdir}/libartsmidi.so +%{tde_libdir}/libartsmidi_idl.so +%{tde_libdir}/libartsmodules.so +%{tde_libdir}/libartsmodulescommon.so +%{tde_libdir}/libartsmoduleseffects.so +%{tde_libdir}/libartsmodulesmixers.so +%{tde_libdir}/libartsmodulessynth.so +%{tde_libdir}/libaudiocdplugins.la +%{tde_libdir}/libaudiocdplugins.so +%{tde_libdir}/libkcddb.la +%{tde_libdir}/libkcddb.so +%{tde_libdir}/libtdeinit_kmix.la +%{tde_libdir}/libtdeinit_kmixctrl.la +%{tde_libdir}/libtdeinit_krec.la +%{tde_libdir}/libtdeinit_noatun.la +%{tde_libdir}/libtdemidlib.la +%{tde_libdir}/libtdemidlib.so +%if 0%{?with_mpeg} +%{tde_libdir}/libmpeg.la +%{tde_libdir}/libmpeg.so +%endif +%{tde_libdir}/libnoatun.la +%{tde_libdir}/libnoatun.so +%{tde_libdir}/libnoatuncontrols.la +%{tde_libdir}/libnoatuncontrols.so +%{tde_libdir}/libnoatuntags.la +%{tde_libdir}/libnoatuntags.so +%if 0%{?with_mpeg} +%{tde_libdir}/libyafcore.la +%{tde_libdir}/libyafxplayer.la +%endif + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} + +# Update icons for some control center modules +%__sed -i "tdeioslave/audiocd/kcmaudiocd/audiocd.desktop" -e "s|^Icon=.*|Icon=kcmaudio|" + + +%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} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ + -DCMAKE_NO_BUILTIN_CHRPATH=ON \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DBIN_INSTALL_DIR="%{tde_bindir}" \ + -DCONFIG_INSTALL_DIR="%{tde_confdir}" \ + -DDOC_INSTALL_DIR="%{tde_docdir}" \ + -DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + -DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + \ + -DWITH_ALL_OPTIONS=ON \ + -DWITH_ALSA=ON \ + -DWITH_ARTS_AKODE=ON \ + -DWITH_ARTS_AUDIOFILE=ON \ + -DWITH_ARTS_MPEGLIB=ON \ + -DWITH_ARTS_XINE=ON \ + -DWITH_CDPARANOIA=ON \ + -DWITH_FLAC=ON \ + -DWITH_GSTREAMER=ON \ + -DWITH_KSCD_CDDA=ON \ + -DWITH_LAME=%{?with_lame:ON}%{!?with_lame:OFF} \ + -DWITH_MUSICBRAINZ=%{?with_musicbrainz:ON}%{!?with_musicbrainz:OFF} \ + -DWITH_TAGLIB=%{?with_taglib:ON}%{!?with_taglib:OFF} \ + -DWITH_THEORA=ON \ + -DWITH_VORBIS=ON \ + -DBUILD_ALL=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{?buildroot} +%__make install DESTDIR="%{?buildroot}" -C build + +# Disable MPEG support entirely +%if 0%{?with_mpeg} == 0 +%__rm %{?buildroot}%{tde_bindir}/mpeglibartsplay +%__rm %{?buildroot}%{tde_bindir}/yaf-* +%__rm %{?buildroot}%{tde_libdir}/libarts_mpeglib* +%__rm %{?buildroot}%{tde_libdir}/libarts_splay.* +%__rm %{?buildroot}%{tde_libdir}/libmpeg* +%__rm %{?buildroot}%{tde_libdir}/libyaf* +%__rm %{?buildroot}%{tde_libdir}/mcop/MP3PlayObject.mcopclass +%__rm %{?buildroot}%{tde_libdir}/mcop/CDDAPlayObject.mcopclass +%__rm %{?buildroot}%{tde_libdir}/mcop/NULLPlayObject.mcopclass +%__rm %{?buildroot}%{tde_libdir}/mcop/OGGPlayObject.mcopclass +%__rm %{?buildroot}%{tde_libdir}/mcop/SplayPlayObject.mcopclass +%__rm %{?buildroot}%{tde_libdir}/mcop/WAVPlayObject.mcopclass +%endif + +# Copy missing icons from 'crystalsvg' theme (tdelibs) +%__mkdir_p "%{?buildroot}%{tde_datadir}/icons/hicolor/"{16x16,22x22,32x32,48x48,64x64}"/apps/" +pushd $RPM_BUILD_ROOT%{tde_datadir}/icons/ +for i in {16,22,32,48,64}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/devices/media-optical-cdaudio.png hicolor/"$i"x"$i"/apps/kcmaudiocd.png; done +popd + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file krec AudioVideo Recorder +%suse_update_desktop_file tdemid AudioVideo Midi +%suse_update_desktop_file artsbuilder AudioVideo AudioVideoEditing +%suse_update_desktop_file artscontrol AudioVideo AudioVideoEditing +%suse_update_desktop_file kmix AudioVideo Mixer +%suse_update_desktop_file kaboodle AudioVideo Player +%suse_update_desktop_file kaudiocreator AudioVideo CD +%suse_update_desktop_file kscd AudioVideo Player CD +%suse_update_desktop_file noatun AudioVideo Player Video +%suse_update_desktop_file juk AudioVideo Player Jukebox +%suse_update_desktop_file audiocd +%endif + +# Links duplicate files +%fdupes "%{?buildroot}%{tde_datadir}" + + +%clean +%__rm -rf %{buildroot} + + +%changelog diff --git a/redhat/main/tdenetwork/tdenetwork-14.0.0.spec b/redhat/main/tdenetwork/tdenetwork-14.0.0.spec deleted file mode 100644 index 28717c158..000000000 --- a/redhat/main/tdenetwork/tdenetwork-14.0.0.spec +++ /dev/null @@ -1,1187 +0,0 @@ -%if 0%{?fedora} >= 23 -%define _hardened_ldflags %nil -%endif - -# -# spec file for package tdenetwork (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/ -# - -# BUILD WARNING: -# Remove qt-devel and qt3-devel and any kde*-devel on your system ! -# Having KDE libraries may cause FTBFS here ! - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.0.0 -%endif -%define tde_pkg tdenetwork -%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_sbindir %{tde_prefix}/sbin -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -# Avoids relinking, which breaks consolehelper -%define dont_relink 1 - -%if "%{?tde_version}" == "14.0.4" -%define with_aim 1 -%else -%define with_aim 0 -%endif - -Name: trinity-%{tde_pkg} -Summary: Trinity Desktop Environment - Network Applications -Group: Applications/Internet -Version: %{tde_version} -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -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}-%{version}%{?preversion:~%{preversion}}.tar.gz -Source1: kppp.pamd -Source2: ktalk -Source3: trinity-tdenetwork-rpmlintrc - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} - -BuildRequires: cmake >= 2.8 -BuildRequires: gettext -BuildRequires: coreutils -BuildRequires: gcc-c++ -BuildRequires: desktop-file-utils -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 - -# for set_permissions macro -%if 0%{?suse_version} -PreReq: permissions -%endif - -# OPENSSL support -BuildRequires: openssl-devel - -# TLS support -BuildRequires: gnutls-devel - -# SQLITE support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: sqlite3-devel -%else -BuildRequires: sqlite-devel -%endif - -# GADU support -%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} -%define with_gadu 1 -BuildRequires: libgadu-devel -%endif - -# PCRE support -BuildRequires: pcre-devel - -# GAMIN support -# Not on openSUSE. -%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_gamin 1 -BuildRequires: gamin-devel -%endif - -# XTST support -%if 0%{?fedora} >= 5 || 0%{?rhel} >= 5 || 0%{?suse_version} >= 1210 -BuildRequires: libXtst-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: libxtst-devel -%endif - -# 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 - -# Other stuff -%if 0%{?fedora} >= 5 || 0%{?rhel} >= 5 -BuildRequires: libXScrnSaver-devel -BuildRequires: libXxf86vm-devel -%endif - -# Fedora review: http://bugzilla.redhat.com/195486 - -## Conditional build: -# RHEL6: xmms is outdated ! -#define _with_xmms --with-xmms -%ifnarch s390 s390x -%define _with_wifi --with-wifi -%endif - -# Wifi support -%if "%{?_with_wifi:1}" == "1" -%if 0%{?fedora} >= 6 || 0%{?rhel} >= 5 -BuildRequires: wireless-tools-devel -%endif -%if 0%{?mgaversion} == 2 || 0%{?mdkversion} -BuildRequires: %{_lib}iw29-devel -%endif -%if 0%{?rhel} == 5 || 0%{?suse_version} -BuildRequires: wireless-tools -%endif -%if 0%{?suse_version} || 0%{?mgaversion} >= 3 -BuildRequires: libiw-devel -%endif -%endif - -# OpenSLP support -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} -%define with_openslp 1 -BuildRequires: openslp-devel -%endif - -%ifarch %{ix86} -# BR: /usr/include/valgrind/valgrind.h -BuildRequires: valgrind -%endif - -%{?_with_xmms:BuildRequires: xmms-devel} - -# V4L support -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?suse_version} -BuildRequires: libv4l-devel -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}v4l-devel -%endif -%if 0%{?rhel} == 5 -BuildRequires: kernel-headers -%endif - -# XML support -BuildRequires: libxml2-devel -BuildRequires: libxslt-devel - -#jabber -BuildRequires: libidn-devel -#jabber/jingle -%if 0%{?suse_version} -BuildRequires: libexpat-devel -%else -BuildRequires: expat-devel -%endif -BuildRequires: glib2-devel -BuildRequires: speex-devel -# jabber/ssl -#{?fedora:Requires(hint): qca-tls} -Requires: jasper - -# ACL support -BuildRequires: libacl-devel - -# MEANWHILE support -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?suse_version} -%define with_meanwhile 1 -BuildRequires: meanwhile-devel -%endif - -# SPEEX support -%if 0%{?rhel} >= 5 || 0%{?fedora} >= 15 || 0%{?suse_version} || 0%{?mdkversion} || 0%{?mgaversion} -%define with_speex 1 -BuildRequires: speex-devel -%endif - -# CONSOLEHELPER (usermode) support -%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_consolehelper 1 - -# Avoids relinking, which breaks consolehelper -%define dont_relink 1 -%endif - -Obsoletes: trinity-kdenetwork < %{version}-%{release} -Provides: trinity-kdenetwork = %{version}-%{release} -Obsoletes: trinity-kdenetwork-libs < %{version}-%{release} -Provides: trinity-kdenetwork-libs = %{version}-%{release} -Obsoletes: trinity-kdenetwork-extras < %{version}-%{release} -Provides: trinity-kdenetwork-extras = %{version}-%{release} -Obsoletes: tdenetwork < %{version}-%{release} -Provides: tdenetwork = %{version}-%{release} - -Requires: trinity-dcoprss = %{version}-%{release} -Requires: %{name}-filesharing = %{version}-%{release} -Requires: trinity-kdict = %{version}-%{release} -Requires: %{name}-tdefile-plugins = %{version}-%{release} -Requires: trinity-kget = %{version}-%{release} -Requires: trinity-knewsticker = %{version}-%{release} -Requires: trinity-kopete = %{version}-%{release} -Requires: trinity-kopete-nowlistening = %{version}-%{release} -Requires: trinity-kpf = %{version}-%{release} -Requires: trinity-kppp = %{version}-%{release} -Requires: trinity-krdc = %{version}-%{release} -Requires: trinity-krfb = %{version}-%{release} -Requires: trinity-ksirc = %{version}-%{release} -Requires: trinity-ktalkd = %{version}-%{release} -Requires: trinity-kwifimanager = %{version}-%{release} -Requires: trinity-librss = %{version}-%{release} -Requires: trinity-lisa = %{version}-%{release} - -%description -This metapackage includes a collection of network and networking related -applications provided with the official release of Trinity. - -Networking applications, including: -* dcoprss: RSS utilities for Trinity -* filesharing: Network filesharing configuration module for Trinity -* kdict: Dictionary client for Trinity -* tdefile-plugins: Torrent metainfo plugin for Trinity -* kget: downloader manager -* knewsticker: RDF newsticker applet -* kopete: chat client -* kopete-nowlistening: (xmms) plugin for Kopete. -* kpf: Public fileserver for Trinity -* kppp: dialer and front end for pppd -* krdc: a client for Desktop Sharing and other VNC servers -* krfb: Desktop Sharing server, allow others to access your desktop via VNC -* ksirc: IRC client for Trinity -* ktalkd: Talk daemon for Trinity -* kwifimanager: Wireless lan manager for Trinity -* librss: RSS library for Trinity -* lisa: lan information server - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING README - - -########## - -%package -n trinity-dcoprss -Summary: RSS utilities for Trinity -Group: Applications/Internet - -%description -n trinity-dcoprss -dcoprss is a RSS to DCOP bridge, allowing all -DCOP aware applications to access RSS news feeds. There is also -a few sample utilities provided. -RSS is a standard for publishing news headlines. -DCOP is the TDE interprocess communication protocol. - -%files -n trinity-dcoprss -%defattr(-,root,root,-) -%{tde_bindir}/feedbrowser -%{tde_bindir}/rssclient -%{tde_bindir}/rssservice -%{tde_datadir}/services/rssservice.desktop - -########## - -%package devel -Summary: Development files for the Trinity network module -Group: Development/Libraries/Other -Requires: %{name} = %{version}-%{release} -Requires: trinity-kdict = %{version}-%{release} -Requires: trinity-kopete = %{version}-%{release} -Requires: trinity-ksirc = %{version}-%{release} -Requires: trinity-librss = %{version}-%{release} -Requires: trinity-tdelibs-devel >= %{tde_version} - -Obsoletes: trinity-kdenetwork-devel < %{version}-%{release} -Provides: trinity-kdenetwork-devel = %{version}-%{release} -Obsoletes: tdenetwork-devel < %{version}-%{release} -Provides: tdenetwork-devel = %{version}-%{release} - -%description devel -This is the development package which contains the headers for the TDE RSS -library as well as the Kopete chat client, as well as miscellaneous -development-related files for the TDE network module. - -%files devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/kopete/ -%{tde_tdeincludedir}/rss/ -%{tde_libdir}/libkopete.la -%{tde_libdir}/libkopete.so -%{tde_libdir}/libkopete_oscar.la -%{tde_libdir}/libkopete_oscar.so -%{tde_libdir}/libkopete_videodevice.la -%{tde_libdir}/libkopete_videodevice.so -%{tde_libdir}/librss.la -%{tde_libdir}/librss.so - -########## - -%package filesharing -#Recommends: perl-suid -Summary: Network filesharing configuration module for Trinity -Group: Applications/Internet - -Obsoletes: tdenetwork-filesharing < %{version}-%{release} -Provides: tdenetwork-filesharing = %{version}-%{release} - -%description filesharing -This package provides a Trinity Control Center module to configure -NFS and Samba. - -%files filesharing -%defattr(-,root,root,-) -%{tde_tdelibdir}/fileshare_propsdlgplugin.la -%{tde_tdelibdir}/fileshare_propsdlgplugin.so -%{tde_tdelibdir}/kcm_fileshare.la -%{tde_tdelibdir}/kcm_fileshare.so -%{tde_tdelibdir}/kcm_kcmsambaconf.la -%{tde_tdelibdir}/kcm_kcmsambaconf.so -%{tde_tdeappdir}/fileshare.desktop -%{tde_tdeappdir}/kcmsambaconf.desktop -%{tde_datadir}/icons/hicolor/*/apps/kcmfileshare.png -%{tde_datadir}/icons/hicolor/*/apps/kcmsambaconf.png -%{tde_datadir}/services/fileshare_propsdlgplugin.desktop -%{tde_tdedocdir}/HTML/en/kcontrol/fileshare/ -%{tde_tdedocdir}/HTML/en/kcontrol/kcmsambaconf/ - -########## - -%package -n trinity-kdict -Summary: Dictionary client for Trinity -Group: Applications/Internet -Requires: trinity-kicker >= %{tde_version} - -%description -n trinity-kdict -KDict is an advanced TDE graphical client for the DICT Protocol, with full -Unicode support. It enables you to search through dictionary databases for a -word or phrase, then displays suitable definitions. KDict tries to ease -basic as well as advanced queries. - -%files -n trinity-kdict -%defattr(-,root,root,-) -%{tde_bindir}/kdict -%{tde_tdelibdir}/kdict.* -%{tde_tdelibdir}/kdict_panelapplet.* -%{tde_libdir}/libtdeinit_kdict.* -%{tde_tdeappdir}/kdict.desktop -%{tde_datadir}/apps/kdict -%{tde_datadir}/apps/kicker/applets/kdictapplet.desktop -%{tde_datadir}/icons/hicolor/*/apps/kdict.* -%{tde_tdedocdir}/HTML/en/kdict - -########## - -%package tdefile-plugins -Summary: Torrent metainfo plugin for Trinity -Group: Applications/Internet - -Obsoletes: tdenetwork-kfile-plugins < %{version}-%{release} -Provides: tdenetwork-kfile-plugins = %{version}-%{release} -Obsoletes: trinity-tdenetwork-kfile-plugins < %{version}-%{release} -Provides: trinity-tdenetwork-kfile-plugins = %{version}-%{release} - -%description tdefile-plugins -This package provides a metainformation plugin for bittorrent files. -TDE uses tdefile-plugins to provide metainfo tab in the files properties -dialog in konqueror and other file-handling applications. - -%files tdefile-plugins -%defattr(-,root,root,-) -%{tde_tdelibdir}/tdefile_torrent.la -%{tde_tdelibdir}/tdefile_torrent.so -%{tde_datadir}/services/tdefile_torrent.desktop - -########## - -%package -n trinity-kget -Summary: Download manager for Trinity -Group: Applications/Internet -Requires: trinity-tdebase-data >= %{tde_version} -Requires: trinity-konqueror >= %{tde_version} - -%description -n trinity-kget -KGet is a a download manager similar to GetRight or Go!zilla. It keeps -all your downloads in one dialog and you can add and remove transfers. -Transfers can be paused, resumed, queued or scheduled. -Dialogs display info about status of transfers - progress, size, speed -and remaining time. Program supports drag & drop from TDE -applications and Netscape. - -%files -n trinity-kget -%defattr(-,root,root,-) -%{tde_bindir}/kget -%{tde_tdelibdir}/tdehtml_kget.la -%{tde_tdelibdir}/tdehtml_kget.so -%{tde_tdeappdir}/kget.desktop -%{tde_datadir}/apps/kget -%{tde_datadir}/apps/tdehtml/kpartplugins/kget_plug_in.desktop -%{tde_datadir}/apps/tdehtml/kpartplugins/kget_plug_in.rc -%{tde_datadir}/apps/konqueror/servicemenus/kget_download.desktop -%{tde_datadir}/icons/crystalsvg/*/actions/tdehtml_kget.png -%{tde_datadir}/icons/crystalsvg/*/apps/kget.png -%{tde_datadir}/icons/crystalsvg/*/mimetypes/kget_list.png -%{tde_datadir}/icons/hicolor/*/apps/kget.png -%{tde_datadir}/mimelnk/application/x-kgetlist.desktop -%{tde_datadir}/sounds/KGet_Added.ogg -%{tde_datadir}/sounds/KGet_Finished.ogg -%{tde_datadir}/sounds/KGet_Finished_All.ogg -%{tde_datadir}/sounds/KGet_Started.ogg -%{tde_tdedocdir}/HTML/en/kget - -########## - -%package -n trinity-knewsticker -Summary: News ticker applet for Trinity -Group: Applications/Internet -Requires: trinity-kicker >= %{tde_version} - -%description -n trinity-knewsticker -This is a news ticker applet for the Trinity panel. It can scroll news from -your favorite news sites, such as lwn.net, /. and freshmeat.net. -To achieve this, KNewsTicker requires the news sites to provide a -RSS feed to newsitems. KNewsTicker already comes with a selection of -good news sources which provide such files. - -%files -n trinity-knewsticker -%defattr(-,root,root,-) -%{tde_bindir}/knewstickerstub -%{tde_tdelibdir}/knewsticker_panelapplet.la -%{tde_tdelibdir}/knewsticker_panelapplet.so -%{tde_tdelibdir}/libkntsrcfilepropsdlg.la -%{tde_tdelibdir}/libkntsrcfilepropsdlg.so -%{tde_tdeappdir}/knewsticker-standalone.desktop -%{tde_datadir}/applnk/.hidden/knewstickerstub.desktop -%{tde_datadir}/apps/tdeconf_update/knewsticker.upd -%{tde_datadir}/apps/tdeconf_update/knt-0.1-0.2.pl -%{tde_datadir}/apps/kicker/applets/knewsticker.desktop -%{tde_datadir}/apps/knewsticker/ -%{tde_datadir}/icons/hicolor/*/apps/knewsticker.png -%{tde_datadir}/services/kntsrcfilepropsdlg.desktop -%{tde_tdedocdir}/HTML/en/knewsticker - -########## - -%package -n trinity-kopete -Summary: Instant messenger for Trinity -Group: Applications/Internet -Requires: trinity-tdebase-bin >= %{tde_version} -Requires: trinity-tdebase-data >= %{tde_version} -Requires: trinity-filesystem >= %{tde_version} - -%description -n trinity-kopete -Kopete is an instant messenger program which can communicate with a variety -of IM systems, such as Yahoo, ICQ, IRC and Jabber. - -Support for more IM protocols can be added through a plugin system. - -%files -n trinity-kopete -%defattr(-,root,root,-) -# nowlistening support -%exclude %{tde_datadir}/apps/kopete/*nowlisteningchatui* -%exclude %{tde_datadir}/apps/kopete/*nowlisteningui* -%exclude %{tde_datadir}/config.kcfg/nowlisteningconfig.kcfg -%exclude %{tde_datadir}/services/tdeconfiguredialog/*nowlistening* -%exclude %{tde_datadir}/services/*nowlistening* -%exclude %{tde_tdelibdir}/*nowlistening* -# Main kopete package -%{tde_bindir}/kopete -%{tde_bindir}/kopete_latexconvert.sh -%{tde_libdir}/tdeconf_update_bin/kopete-account-tdeconf_update -%{tde_libdir}/tdeconf_update_bin/kopete-nameTracking-tdeconf_update -%{tde_libdir}/tdeconf_update_bin/kopete-pluginloader2-tdeconf_update -%{tde_tdelibdir}/kcm_kopete_*.so -%{tde_tdelibdir}/kcm_kopete_*.la -%{tde_tdelibdir}/tdeio_jabberdisco.la -%{tde_tdelibdir}/tdeio_jabberdisco.so -%{tde_tdelibdir}/kopete_*.la -%{tde_tdelibdir}/kopete_*.so -%{tde_tdelibdir}/libkrichtexteditpart.la -%{tde_tdelibdir}/libkrichtexteditpart.so -%{tde_libdir}/libkopete_oscar.so.* -%{tde_libdir}/libkopete.so.* -%{tde_libdir}/libkopete_videodevice.so.* -%{tde_tdeappdir}/kopete.desktop -%{tde_datadir}/apps/tdeconf_update/kopete-* -%{tde_datadir}/apps/kopete/ -%{tde_datadir}/apps/kopete_*/ -%{tde_datadir}/apps/kopeterichtexteditpart/ -%{tde_datadir}/config.kcfg/historyconfig.kcfg -%{tde_datadir}/config.kcfg/kopeteidentityconfigpreferences.kcfg -%{tde_datadir}/config.kcfg/kopete.kcfg -%{tde_datadir}/config.kcfg/latexconfig.kcfg -%{tde_datadir}/icons/crystalsvg/*/actions/voicecall.png -%{tde_datadir}/icons/crystalsvg/*/actions/webcamreceive.png -%{tde_datadir}/icons/crystalsvg/*/actions/webcamsend.png -%{tde_datadir}/icons/crystalsvg/*/actions/account_offline_overlay.png -%{tde_datadir}/icons/crystalsvg/*/actions/add_user.png -%{tde_datadir}/icons/crystalsvg/*/actions/contact_away_overlay.png -%{tde_datadir}/icons/crystalsvg/*/actions/contact_busy_overlay.png -%{tde_datadir}/icons/crystalsvg/*/actions/contact_food_overlay.png -%{tde_datadir}/icons/crystalsvg/*/actions/contact_invisible_overlay.png -%{tde_datadir}/icons/crystalsvg/*/actions/contact_phone_overlay.png -%{tde_datadir}/icons/crystalsvg/*/actions/contact_xa_overlay.png -%{tde_datadir}/icons/crystalsvg/*/actions/delete_user.png -%{tde_datadir}/icons/crystalsvg/*/actions/edit_user.png -%{tde_datadir}/icons/crystalsvg/*/actions/emoticon.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_away.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_chatty.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_connecting.mng -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_group.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_invisible.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_na.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_offline.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_online.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_original.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_raw.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_serv_off.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_serv_on.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_xa.png -%{tde_datadir}/icons/crystalsvg/*/actions/kopeteavailable.png -%{tde_datadir}/icons/crystalsvg/*/actions/kopeteaway.png -%{tde_datadir}/icons/crystalsvg/*/actions/kopeteeditstatusmessage.png -%{tde_datadir}/icons/crystalsvg/*/actions/kopetestatusmessage.png -%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_away.png -%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_offline.png -%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_online.png -%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_unknown.png -%{tde_datadir}/icons/crystalsvg/*/actions/newmsg.png -%{tde_datadir}/icons/crystalsvg/*/actions/search_user.png -%{tde_datadir}/icons/crystalsvg/*/actions/show_offliners.png -%{tde_datadir}/icons/crystalsvg/*/actions/status_unknown_overlay.png -%{tde_datadir}/icons/crystalsvg/*/actions/status_unknown.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_aim.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_gadu.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_http-ws.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_icq.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_irc.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_msn.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_qq.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_smtp.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_tlen.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_yahoo.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_protocol.png -%{tde_datadir}/icons/crystalsvg/*/apps/kopete_all_away.png -%{tde_datadir}/icons/crystalsvg/*/apps/kopete_offline.png -%{tde_datadir}/icons/crystalsvg/*/apps/kopete_some_away.png -%{tde_datadir}/icons/crystalsvg/*/apps/kopete_some_online.png -%{tde_datadir}/icons/crystalsvg/*/mimetypes/kopete_emoticons.png -%{tde_datadir}/icons/crystalsvg/scalable/actions/account_offline_overlay.svgz -%{tde_datadir}/icons/hicolor/*/apps/kopete.png -%{tde_datadir}/icons/hicolor/*/actions/emoticon.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_away.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_chatty.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_connecting.mng -%{tde_datadir}/icons/hicolor/*/actions/jabber_group.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_invisible.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_na.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_offline.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_online.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_original.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_raw.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_serv_off.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_serv_on.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_xa.png -%{tde_datadir}/icons/hicolor/*/actions/kopeteavailable.png -%{tde_datadir}/icons/hicolor/*/actions/kopeteaway.png -%{tde_datadir}/icons/hicolor/*/actions/newmsg.png -%{tde_datadir}/icons/hicolor/*/actions/status_unknown_overlay.png -%{tde_datadir}/icons/hicolor/*/actions/status_unknown.png -%{tde_datadir}/icons/hicolor/*/apps/jabber_protocol.png -%{tde_datadir}/icons/hicolor/scalable/apps/kopete2.svgz -%{tde_datadir}/icons/crystalsvg/*/actions/newmessage.mng -%{tde_datadir}/icons/hicolor/*/actions/newmessage.mng -%{tde_datadir}/icons/crystalsvg/*/apps/icq_protocol.png -%{tde_datadir}/icons/crystalsvg/*/apps/irc_protocol.png -%{tde_datadir}/icons/crystalsvg/*/actions/icq_away.png -%{tde_datadir}/icons/crystalsvg/*/actions/icq_connecting.mng -%{tde_datadir}/icons/crystalsvg/*/actions/icq_dnd.png -%{tde_datadir}/icons/crystalsvg/*/actions/icq_ffc.png -%{tde_datadir}/icons/crystalsvg/*/actions/icq_invisible.png -%{tde_datadir}/icons/crystalsvg/*/actions/icq_na.png -%{tde_datadir}/icons/crystalsvg/*/actions/icq_occupied.png -%{tde_datadir}/icons/crystalsvg/*/actions/icq_offline.png -%{tde_datadir}/icons/crystalsvg/*/actions/icq_online.png -%{tde_datadir}/icons/crystalsvg/*/actions/irc_away.png -%{tde_datadir}/icons/crystalsvg/*/actions/irc_channel.png -%{tde_datadir}/icons/crystalsvg/*/actions/irc_connecting.mng -%{tde_datadir}/icons/crystalsvg/*/actions/irc_normal.png -%{tde_datadir}/icons/crystalsvg/*/actions/irc_online.png -%{tde_datadir}/icons/crystalsvg/*/actions/irc_op.png -%{tde_datadir}/icons/crystalsvg/*/actions/irc_server.png -%{tde_datadir}/icons/crystalsvg/*/actions/irc_voice.png -%{tde_datadir}/icons/hicolor/*/actions/icq_away.png -%{tde_datadir}/icons/hicolor/*/actions/icq_connecting.mng -%{tde_datadir}/icons/hicolor/*/actions/icq_dnd.png -%{tde_datadir}/icons/hicolor/*/actions/icq_ffc.png -%{tde_datadir}/icons/hicolor/*/actions/icq_invisible.png -%{tde_datadir}/icons/hicolor/*/actions/icq_na.png -%{tde_datadir}/icons/hicolor/*/actions/icq_occupied.png -%{tde_datadir}/icons/hicolor/*/actions/icq_offline.png -%{tde_datadir}/icons/hicolor/*/actions/icq_online.png -%{tde_datadir}/icons/hicolor/*/apps/icq_protocol.png -%{tde_datadir}/mimelnk/application/x-icq.desktop -%{tde_datadir}/mimelnk/application/x-kopete-emoticons.desktop -%{tde_datadir}/services/chatwindow.desktop -%{tde_datadir}/services/emailwindow.desktop -%{tde_datadir}/services/jabberdisco.protocol -%{tde_datadir}/services/tdeconfiguredialog/kopete_*.desktop -%{tde_datadir}/services/kopete_*.desktop -%{tde_datadir}/icons/crystalsvg/16x16/apps/jabber_gateway_sms.png -%{tde_datadir}/servicetypes/kopete*.desktop -%{tde_datadir}/sounds/Kopete_*.ogg -%{tde_tdedocdir}/HTML/en/kopete -# jingle support for kopete -%{tde_bindir}/relayserver -%{tde_bindir}/stunserver -# winpopup support for kopete -%{tde_bindir}/winpopup-install.sh -%{tde_bindir}/winpopup-send.sh -# motionaway plugin for kopete -%{tde_datadir}/config.kcfg/motionawayconfig.kcfg -# smpp plugin for kopete -%{tde_datadir}/config.kcfg/smpppdcs.kcfg -# aim support is deprecated in TDE 14.1.0 -%if 0%{?with_aim} -%{tde_datadir}/icons/crystalsvg/*/apps/aim_protocol.png -%{tde_datadir}/icons/crystalsvg/*/actions/aim_away.png -%{tde_datadir}/icons/crystalsvg/*/actions/aim_connecting.mng -%{tde_datadir}/icons/crystalsvg/*/actions/aim_offline.png -%{tde_datadir}/icons/crystalsvg/*/actions/aim_online.png -%{tde_datadir}/icons/hicolor/*/actions/aim_away.png -%{tde_datadir}/icons/hicolor/*/actions/aim_connecting.mng -%{tde_datadir}/icons/hicolor/*/actions/aim_offline.png -%{tde_datadir}/icons/hicolor/*/actions/aim_online.png -%{tde_datadir}/icons/hicolor/*/apps/aim_protocol.png -%{tde_datadir}/services/aim.protocol -%endif - -########## - -%package -n trinity-kopete-nowlistening -Summary: Nowlistening (xmms) plugin for Kopete -Group: Applications/Internet -Requires: trinity-kopete = %{version}-%{release} -Requires: trinity-filesystem >= %{tde_version} - -%description -n trinity-kopete-nowlistening -Kopete includes the "Now Listening" plug-in that can report what music you -are currently listening to, in a number of different players, including -noatun, kscd, juk, kaffeine and amarok. - -%files -n trinity-kopete-nowlistening -%defattr(-,root,root,-) -%{tde_datadir}/apps/kopete/*nowlisteningchatui* -%{tde_datadir}/apps/kopete/*nowlisteningui* -%{tde_datadir}/config.kcfg/nowlisteningconfig.kcfg -%{tde_datadir}/services/tdeconfiguredialog/*nowlistening* -%{tde_datadir}/services/*nowlistening* -%{tde_tdelibdir}/*nowlistening* - -########## - -%package -n trinity-kpf -Summary: Public fileserver for Trinity -Group: Applications/Internet -Requires: trinity-kicker >= %{tde_version} - -%description -n trinity-kpf -kpf provides simple file sharing using HTTP. kpf is strictly a public -fileserver, which means that there are no access restrictions to shared -files. Whatever you select for sharing is available to anyone. kpf is -designed to be used for sharing files with friends. - -%files -n trinity-kpf -%defattr(-,root,root,-) -%{tde_tdelibdir}/kpf* -%{tde_datadir}/apps/kicker/applets/kpfapplet.desktop -%{tde_datadir}/icons/crystalsvg/*/apps/kpf.* -%{tde_datadir}/services/kpfpropertiesdialogplugin.desktop -%{tde_tdedocdir}/HTML/en/kpf - -########## - -%package -n trinity-kppp -Summary: Modem dialer and ppp frontend for Trinity -Group: Applications/Internet -Requires: ppp - -%if 0%{?with_consolehelper} -# package 'usermode' provides '/usr/bin/consolehelper-gtk' -%if 0%{?rhel} || 0%{?fedora} -Requires: usermode-gtk -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -Requires: usermode -%endif -%endif - -%description -n trinity-kppp -KPPP is a dialer and front end for pppd. It allows for interactive -script generation and network setup. It will automate the dialing in -process to your ISP while letting you conveniently monitor the entire -process. - -Once connected KPPP will provide a rich set of statistics and keep -track of the time spent online for you. - -%files -n trinity-kppp -%defattr(-,root,root,-) -%if 0%{?with_consolehelper} == 0 -# Some setuid binaries need special care -%if 0%{?suse_version} -%verify(not mode) %{tde_bindir}/kppp -%else -%attr(4711,root,root) %{tde_bindir}/kppp -%endif -%endif -%{tde_bindir}/kppplogview -%{tde_tdeappdir}/Kppp.desktop -%{tde_tdeappdir}/kppplogview.desktop -%{tde_datadir}/apps/kppp/ -%{tde_datadir}/icons/hicolor/*/apps/kppp.png -%{tde_tdedocdir}/HTML/en/kppp/ -%if 0%{?suse_version} >= 1500 -%dir %{_sysconfdir}/ppp -%endif -%dir %{_sysconfdir}/ppp/peers -%{_sysconfdir}/ppp/peers/kppp-options - -%if 0%{?with_consolehelper} -%config(noreplace) /etc/security/console.apps/kppp3 -%config(noreplace) /etc/pam.d/kppp3 -%{_sbindir}/kppp3 -%{tde_bindir}/kppp3 -%{tde_sbindir}/kppp3 -%endif - -%post -n trinity-kppp -%if 0%{?suse_version} -# Sets permissions on setuid files (openSUSE specific) -%set_permissions %{tde_bindir}/kppp -%endif - -########## - -%package -n trinity-krdc -Summary: Remote Desktop Connection for Trinity -Group: Applications/Internet -Requires: rdesktop - -%description -n trinity-krdc -krdc is an TDE graphical client for the rfb protocol, used by VNC, -and if rdesktop is installed, krdc can connect to Windows Terminal -Servers using RDP. - -%files -n trinity-krdc -%defattr(-,root,root,-) -%{tde_bindir}/krdc -%{tde_tdeappdir}/krdc.desktop -%{tde_datadir}/apps/konqueror/servicemenus/smb2rdc.desktop -%{tde_datadir}/apps/krdc/ -%{tde_datadir}/icons/crystalsvg/*/apps/krdc.png -%{tde_datadir}/icons/hicolor/*/apps/krdc.png -%{tde_datadir}/services/rdp.protocol -%{tde_datadir}/services/vnc.protocol -%{tde_tdedocdir}/HTML/en/krdc/ -%{tde_tdedocdir}/HTML/en/tdeioslave/rdp/ -%{tde_tdedocdir}/HTML/en/tdeioslave/vnc/ - -########## - -%package -n trinity-krfb -Summary: Desktop Sharing for Trinity -Group: Applications/Internet - -%description -n trinity-krfb -Desktop Sharing (krfb) is a server application that allows you to share -your current session with a user on another machine, who can use a -VNC client like krdc to view or even control the desktop. It doesn't -require you to start a new X session - it can share the current session. -This makes it very useful when you want someone to help you perform a -task. - -%files -n trinity-krfb -%defattr(-,root,root,-) -%{tde_bindir}/krfb -%{tde_bindir}/krfb_httpd -%{tde_tdelibdir}/kcm_krfb.la -%{tde_tdelibdir}/kcm_krfb.so -%{tde_tdelibdir}/kded_kinetd.la -%{tde_tdelibdir}/kded_kinetd.so -%{tde_tdeappdir}/kcmkrfb.desktop -%{tde_tdeappdir}/krfb.desktop -%{tde_datadir}/apps/kinetd/ -%{tde_datadir}/apps/krfb -%{tde_datadir}/icons/crystalsvg/*/apps/krfb.png -%{tde_datadir}/icons/hicolor/*/apps/krfb.png -%{tde_datadir}/icons/locolor/*/apps/krfb.png -%{tde_datadir}/services/kded/kinetd.desktop -%{tde_datadir}/services/kinetd_krfb.desktop -%{tde_datadir}/services/kinetd_krfb_httpd.desktop -%{tde_datadir}/servicetypes/kinetdmodule.desktop -%{tde_tdedocdir}/HTML/en/krfb/ - -########## - -%package -n trinity-ksirc -Summary: IRC client for Trinity -Group: Applications/Internet - -%description -n trinity-ksirc -KSirc is an IRC chat client for TDE. It supports scripting with Perl and has a -lot of compatibility with mIRC for general use. - -If you want to connect to an IRC server via SSL, you will need to install the -recommended package libio-socket-ssl-perl. - -%files -n trinity-ksirc -%defattr(-,root,root,-) -%{tde_bindir}/dsirc -%{tde_bindir}/ksirc -%{tde_libdir}/libtdeinit_ksirc.* -%{tde_tdelibdir}/ksirc.* -%{tde_tdeappdir}/ksirc.desktop -%{tde_datadir}/apps/ksirc/ -%config(noreplace) %{tde_confdir}/ksircrc -%{tde_datadir}/icons/hicolor/*/apps/ksirc.* -%{tde_tdedocdir}/HTML/??/ksirc/ - -########## - -%package -n trinity-ktalkd -Summary: Talk daemon for Trinity -Group: Applications/Internet -Requires: trinity-kcontrol >= %{tde_version} -Requires: trinity-tdebase-data >= %{tde_version} -Requires: xinetd - -%description -n trinity-ktalkd -KTalkd is an enhanced talk daemon - a program to handle incoming talk -requests, announce them and allow you to respond to it using a talk -client. Note that KTalkd is designed to run on a single-user workstation, -and shouldn't be run on a multi-user machine. - -%files -n trinity-ktalkd -%defattr(-,root,root,-) -%{tde_bindir}/ktalkd* -%{tde_bindir}/mail.local -%{tde_tdelibdir}/kcm_ktalkd.* -%{tde_tdeappdir}/kcmktalkd.desktop -%config(noreplace) %{tde_confdir}/ktalkdrc -%{tde_datadir}/icons/crystalsvg/*/apps/ktalkd.png -%{tde_datadir}/icons/hicolor/*/apps/ktalkd.png -%{tde_datadir}/sounds/ktalkd.wav -%dir %{_sysconfdir}/xinetd.d -%config(noreplace) %{_sysconfdir}/xinetd.d/ktalk -%{tde_tdedocdir}/HTML/en/kcontrol/kcmtalkd -%{tde_tdedocdir}/HTML/en/ktalkd - -########## - -%if "%{?_with_wifi:1}" == "1" -%package -n trinity-kwifimanager -Summary: Wireless lan manager for Trinity -Group: Applications/Internet -Requires: trinity-kicker >= %{tde_version} - -%description -n trinity-kwifimanager -KWiFiManager suite is a set of tools which allows you to manage your -wireless LAN connection under the K Desktop Environment. It provides -information about your current connection. KWiFiManager supports every -wavelan card that uses the wireless extensions interface. - -%files -n trinity-kwifimanager -%defattr(-,root,root,-) -%{tde_bindir}/kwifimanager -%{tde_tdelibdir}/kcm_wifi.* -%{tde_libdir}/libkwireless.la -%{tde_libdir}/libkwireless.so -%{tde_tdeappdir}/kcmwifi.desktop -%{tde_tdeappdir}/kwifimanager.desktop -%{tde_datadir}/apps/kicker/applets/kwireless.desktop -%{tde_datadir}/apps/kwifimanager -%{tde_datadir}/icons/hicolor/*/apps/kwifimanager.png -%{tde_datadir}/icons/hicolor/*/apps/kwifimanager.svgz -%{tde_tdedocdir}/HTML/en/kwifimanager/ -%{tde_tdedocdir}/HTML/en/kcontrol/kcmwifi/ -%endif - -########## - -%package -n trinity-librss -Summary: RSS library for Trinity -Group: Environment/Libraries - -%description -n trinity-librss -This is the runtime package for programs that use the TDE RSS library. -End users should not need to install this, it should get installed -automatically when needed. - -%files -n trinity-librss -%defattr(-,root,root,-) -%{tde_libdir}/librss.so.* -%{tde_datadir}/cmake/librss.cmake - -########## - -%package -n trinity-lisa -Summary: LAN information server for Trinity -Group: Applications/Internet -Requires: trinity-konqueror >= %{tde_version} -Requires: trinity-tdebase-data >= %{tde_version} - -%description -n trinity-lisa -LISa is intended to provide TDE with a kind of "network neighborhood" -but relying only on the TCP/IP protocol. - -%files -n trinity-lisa -%defattr(-,root,root,-) -%{tde_tdelibdir}/kcm_lanbrowser.la -%{tde_tdelibdir}/kcm_lanbrowser.so -%{tde_tdelibdir}/tdeio_lan.la -%{tde_tdelibdir}/tdeio_lan.so -%{tde_datadir}/applnk/.hidden/kcmtdeiolan.desktop -%{tde_datadir}/applnk/.hidden/kcmlisa.desktop -%{tde_datadir}/applnk/.hidden/kcmreslisa.desktop -%{tde_datadir}/apps/konqsidebartng/virtual_folders/services/lisa.desktop -%{tde_datadir}/apps/konqueror/dirtree/remote/lan.desktop -%{tde_datadir}/apps/lisa/ -%{tde_datadir}/apps/remoteview/lan.desktop -%{tde_tdedocdir}/HTML/en/kcontrol/lanbrowser/ -%{tde_tdedocdir}/HTML/en/lisa/ -%{tde_datadir}/services/lan.protocol -%{tde_datadir}/services/rlan.protocol -%{tde_bindir}/lisa -%{tde_bindir}/reslisa - -########## - -%package -n trinity-kdnssd -Summary: Zeroconf support for TDE -Group: Applications/Internet - -%description -n trinity-kdnssd -A tdeioslave and tded module that provide Zeroconf support. Try -"zeroconf:/" in Konqueror. - -%files -n trinity-kdnssd -%defattr(-,root,root,-) -%{tde_datadir}/services/zeroconf.protocol -%{tde_datadir}/services/invitation.protocol -%{tde_datadir}/services/kded/dnssdwatcher.desktop -%{tde_datadir}/apps/remoteview/zeroconf.desktop -%{tde_datadir}/apps/zeroconf/_http._tcp -%{tde_datadir}/apps/zeroconf/_ftp._tcp -%{tde_datadir}/apps/zeroconf/_ldap._tcp -%{tde_datadir}/apps/zeroconf/_webdav._tcp -%{tde_datadir}/apps/zeroconf/_nfs._tcp -%{tde_datadir}/apps/zeroconf/_ssh._tcp -%{tde_datadir}/apps/zeroconf/_rfb._tcp -%{tde_tdelibdir}/tdeio_zeroconf.so -%{tde_tdelibdir}/tdeio_zeroconf.la -%{tde_tdelibdir}/kded_dnssdwatcher.so -%{tde_tdelibdir}/kded_dnssdwatcher.la - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} - -# Workaround libiw detection failure on opensuse -%if 0%{?suse_version} -%__sed -i "wifi/ConfigureChecks.cmake" -e "s|^check_library_exists.*|set( HAVE_IW 1 )|" -%endif - -# Update icons for some control center modules -%__sed -i "filesharing/simple/fileshare.desktop" -e "s|^Icon=.*|Icon=kcmfileshare|" - - -%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} -DNDEBUG" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -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_JINGLE=ON \ - %{?with_speex:-DWITH_SPEEX=ON} \ - -DWITH_WEBCAM=ON \ - -DWITH_GSM=OFF \ - -DWITH_XMMS=OFF \ - -DWITH_ARTS=ON \ - %{?with_openslp:-DWITH_SLP=ON} \ - -DBUILD_ALL=ON \ - -DBUILD_KOPETE_PLUGIN_ALL=ON \ - -DBUILD_KOPETE_PROTOCOL_ALL=ON \ - %{!?with_gadu:-DBUILD_KOPETE_PROTOCOL_GADU=OFF} \ - %{!?with_meanwhile:-DBUILD_KOPETE_PROTOCOL_MEANWHILE=OFF} \ - .. - -# Tdenetwork is not smp safe ! -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -# Adds missing icons in 'hicolor' theme -# These icons are copied from 'crystalsvg' theme, provided by 'tdelibs'. -%__mkdir_p %{buildroot}%{tde_datadir}/icons/hicolor/{16x16,22x22,32x32,48x48,64x64,128x128}/apps/ -pushd %{buildroot}%{tde_datadir}/icons -for i in {16,22,32,48}; do %__cp %{?buildroot}%{tde_datadir}/icons/crystalsvg/"$i"x"$i"/apps/kget.png hicolor/"$i"x"$i"/apps/kget.png ;done -for i in {32,48}; do %__cp %{?buildroot}%{tde_datadir}/icons/crystalsvg/"$i"x"$i"/apps/krdc.png hicolor/"$i"x"$i"/apps/krdc.png ;done -for i in {16,32,48}; do %__cp %{?buildroot}%{tde_datadir}/icons/crystalsvg/"$i"x"$i"/apps/krfb.png hicolor/"$i"x"$i"/apps/krfb.png ;done -for i in {16,22,32,48,128}; do %__cp %{?buildroot}%{tde_datadir}/icons/crystalsvg/"$i"x"$i"/apps/ktalkd.png hicolor/"$i"x"$i"/apps/ktalkd.png ;done -for i in {16,22,32,48,64,128}; do %__cp $BUILD_ROOT%{tde_datadir}/icons/crystalsvg/"$i"x"$i"/actions/share.png hicolor/"$i"x"$i"/apps/kcmfileshare.png ;done -popd - -%if 0%{?with_consolehelper} -# Run kppp through consolehelper, and rename it to 'kppp3' -%__install -p -m644 -D %{SOURCE1} %{buildroot}/etc/pam.d/kppp3 -%__mkdir_p %{buildroot}%{tde_sbindir} %{buildroot}%{_sbindir} -%__mv %{buildroot}%{tde_bindir}/kppp %{buildroot}%{tde_sbindir}/kppp3 -%__ln_s %{_bindir}/consolehelper %{buildroot}%{tde_bindir}/kppp3 -%if "%{tde_prefix}" != "/usr" -%__ln_s %{tde_sbindir}/kppp3 %{?buildroot}%{_sbindir}/kppp3 -%endif -%__mkdir_p %{buildroot}%{_sysconfdir}/security/console.apps -cat > %{buildroot}%{_sysconfdir}/security/console.apps/kppp3 <>"${i}" - fi - fi -done - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file kcmkrfb -%suse_update_desktop_file fileshare -%suse_update_desktop_file kopete Network InstantMessaging -%suse_update_desktop_file ksirc Network IRCClient -%suse_update_desktop_file Kppp Network Dialup -%suse_update_desktop_file -r kppplogview System Monitor -%suse_update_desktop_file kdict Office Dictionary -%suse_update_desktop_file -r krdc System RemoteAccess -%suse_update_desktop_file -r krfb System RemoteAccess -%suse_update_desktop_file -r kget System TrayIcon -%suse_update_desktop_file -r kwifimanager System Network -%suse_update_desktop_file kcmwifi -%suse_update_desktop_file -u knewsticker-standalone Network News -%suse_update_desktop_file %{buildroot}%{tde_datadir}/apps/remoteview/zeroconf.desktop -%endif - -# Links duplicate files -%fdupes "%{?buildroot}%{tde_datadir}" - - -%clean -%__rm -rf %{buildroot} - - -%if 0%{?suse_version} -# Check permissions on setuid files (openSUSE specific) -%verifyscript -%verify_permissions -e %{tde_bindir}/kppp -%endif - - -%changelog diff --git a/redhat/main/tdenetwork/tdenetwork.spec b/redhat/main/tdenetwork/tdenetwork.spec new file mode 100644 index 000000000..94345b490 --- /dev/null +++ b/redhat/main/tdenetwork/tdenetwork.spec @@ -0,0 +1,1186 @@ +%if 0%{?fedora} >= 23 +%define _hardened_ldflags %nil +%endif + +# +# spec file for package tdenetwork (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/ +# + +# BUILD WARNING: +# Remove qt-devel and qt3-devel and any kde*-devel on your system ! +# Having KDE libraries may cause FTBFS here ! + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.0.7 +%endif +%define tde_pkg tdenetwork +%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_sbindir %{tde_prefix}/sbin +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +# Avoids relinking, which breaks consolehelper +%define dont_relink 1 + +# Disable AIM support +%define with_aim 0 + +Name: trinity-%{tde_pkg} +Summary: Trinity Desktop Environment - Network Applications +Group: Applications/Internet +Version: %{tde_version} +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +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}-%{version}%{?preversion:~%{preversion}}.tar.gz +Source1: kppp.pamd +Source2: ktalk +Source3: trinity-tdenetwork-rpmlintrc + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} + +BuildRequires: cmake >= 2.8 +BuildRequires: gettext +BuildRequires: coreutils +BuildRequires: gcc-c++ +BuildRequires: desktop-file-utils +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 + +# for set_permissions macro +%if 0%{?suse_version} +PreReq: permissions +%endif + +# OPENSSL support +BuildRequires: openssl-devel + +# TLS support +BuildRequires: gnutls-devel + +# SQLITE support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: sqlite3-devel +%else +BuildRequires: sqlite-devel +%endif + +# GADU support +%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} +%define with_gadu 1 +BuildRequires: libgadu-devel +%endif + +# PCRE support +BuildRequires: pcre-devel + +# GAMIN support +# Not on openSUSE. +%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_gamin 1 +BuildRequires: gamin-devel +%endif + +# XTST support +%if 0%{?fedora} >= 5 || 0%{?rhel} >= 5 || 0%{?suse_version} >= 1210 +BuildRequires: libXtst-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: libxtst-devel +%endif + +# 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 + +# Other stuff +%if 0%{?fedora} >= 5 || 0%{?rhel} >= 5 +BuildRequires: libXScrnSaver-devel +BuildRequires: libXxf86vm-devel +%endif + +# Fedora review: http://bugzilla.redhat.com/195486 + +## Conditional build: +# RHEL6: xmms is outdated ! +#define _with_xmms --with-xmms +%ifnarch s390 s390x +%define _with_wifi --with-wifi +%endif + +# Wifi support +%if "%{?_with_wifi:1}" == "1" +%if 0%{?fedora} >= 6 || 0%{?rhel} >= 5 +BuildRequires: wireless-tools-devel +%endif +%if 0%{?mgaversion} == 2 || 0%{?mdkversion} +BuildRequires: %{_lib}iw29-devel +%endif +%if 0%{?rhel} == 5 || 0%{?suse_version} +BuildRequires: wireless-tools +%endif +%if 0%{?suse_version} || 0%{?mgaversion} >= 3 +BuildRequires: libiw-devel +%endif +%endif + +# OpenSLP support +%if 0%{?rhel} == 5 || 0%{?rhel} == 6 || 0%{?rhel} == 7 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} +%define with_openslp 1 +BuildRequires: openslp-devel +%endif + +%ifarch %{ix86} +# BR: /usr/include/valgrind/valgrind.h +BuildRequires: valgrind +%endif + +%{?_with_xmms:BuildRequires: xmms-devel} + +# V4L support +%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?suse_version} +BuildRequires: libv4l-devel +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}v4l-devel +%endif +%if 0%{?rhel} == 5 +BuildRequires: kernel-headers +%endif + +# XML support +BuildRequires: libxml2-devel +BuildRequires: libxslt-devel + +#jabber +BuildRequires: libidn-devel +#jabber/jingle +%if 0%{?suse_version} +BuildRequires: libexpat-devel +%else +BuildRequires: expat-devel +%endif +BuildRequires: glib2-devel +BuildRequires: speex-devel +# jabber/ssl +#{?fedora:Requires(hint): qca-tls} +Requires: jasper + +# ACL support +BuildRequires: libacl-devel + +# MEANWHILE support +%if 0%{?rhel} == 6 || 0%{?rhel} == 7 || 0%{?fedora} >= 15 || 0%{?suse_version} +%define with_meanwhile 1 +BuildRequires: meanwhile-devel +%endif + +# SPEEX support +%if 0%{?rhel} >= 5 || 0%{?fedora} >= 15 || 0%{?suse_version} || 0%{?mdkversion} || 0%{?mgaversion} +%define with_speex 1 +BuildRequires: speex-devel +%endif + +# CONSOLEHELPER (usermode) support +%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_consolehelper 1 + +# Avoids relinking, which breaks consolehelper +%define dont_relink 1 +%endif + +Obsoletes: trinity-kdenetwork < %{version}-%{release} +Provides: trinity-kdenetwork = %{version}-%{release} +Obsoletes: trinity-kdenetwork-libs < %{version}-%{release} +Provides: trinity-kdenetwork-libs = %{version}-%{release} +Obsoletes: trinity-kdenetwork-extras < %{version}-%{release} +Provides: trinity-kdenetwork-extras = %{version}-%{release} +Obsoletes: tdenetwork < %{version}-%{release} +Provides: tdenetwork = %{version}-%{release} + +Requires: trinity-dcoprss = %{version}-%{release} +Requires: %{name}-filesharing = %{version}-%{release} +Requires: trinity-kdict = %{version}-%{release} +Requires: %{name}-tdefile-plugins = %{version}-%{release} +Requires: trinity-kget = %{version}-%{release} +Requires: trinity-knewsticker = %{version}-%{release} +Requires: trinity-kopete = %{version}-%{release} +Requires: trinity-kopete-nowlistening = %{version}-%{release} +Requires: trinity-kpf = %{version}-%{release} +Requires: trinity-kppp = %{version}-%{release} +Requires: trinity-krdc = %{version}-%{release} +Requires: trinity-krfb = %{version}-%{release} +Requires: trinity-ksirc = %{version}-%{release} +Requires: trinity-ktalkd = %{version}-%{release} +Requires: trinity-kwifimanager = %{version}-%{release} +Requires: trinity-librss = %{version}-%{release} +Requires: trinity-lisa = %{version}-%{release} + +%description +This metapackage includes a collection of network and networking related +applications provided with the official release of Trinity. + +Networking applications, including: +* dcoprss: RSS utilities for Trinity +* filesharing: Network filesharing configuration module for Trinity +* kdict: Dictionary client for Trinity +* tdefile-plugins: Torrent metainfo plugin for Trinity +* kget: downloader manager +* knewsticker: RDF newsticker applet +* kopete: chat client +* kopete-nowlistening: (xmms) plugin for Kopete. +* kpf: Public fileserver for Trinity +* kppp: dialer and front end for pppd +* krdc: a client for Desktop Sharing and other VNC servers +* krfb: Desktop Sharing server, allow others to access your desktop via VNC +* ksirc: IRC client for Trinity +* ktalkd: Talk daemon for Trinity +* kwifimanager: Wireless lan manager for Trinity +* librss: RSS library for Trinity +* lisa: lan information server + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING README + + +########## + +%package -n trinity-dcoprss +Summary: RSS utilities for Trinity +Group: Applications/Internet + +%description -n trinity-dcoprss +dcoprss is a RSS to DCOP bridge, allowing all +DCOP aware applications to access RSS news feeds. There is also +a few sample utilities provided. +RSS is a standard for publishing news headlines. +DCOP is the TDE interprocess communication protocol. + +%files -n trinity-dcoprss +%defattr(-,root,root,-) +%{tde_bindir}/feedbrowser +%{tde_bindir}/rssclient +%{tde_bindir}/rssservice +%{tde_datadir}/services/rssservice.desktop + +########## + +%package devel +Summary: Development files for the Trinity network module +Group: Development/Libraries/Other +Requires: %{name} = %{version}-%{release} +Requires: trinity-kdict = %{version}-%{release} +Requires: trinity-kopete = %{version}-%{release} +Requires: trinity-ksirc = %{version}-%{release} +Requires: trinity-librss = %{version}-%{release} +Requires: trinity-tdelibs-devel >= %{tde_version} + +Obsoletes: trinity-kdenetwork-devel < %{version}-%{release} +Provides: trinity-kdenetwork-devel = %{version}-%{release} +Obsoletes: tdenetwork-devel < %{version}-%{release} +Provides: tdenetwork-devel = %{version}-%{release} + +%description devel +This is the development package which contains the headers for the TDE RSS +library as well as the Kopete chat client, as well as miscellaneous +development-related files for the TDE network module. + +%files devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/kopete/ +%{tde_tdeincludedir}/rss/ +%{tde_libdir}/libkopete.la +%{tde_libdir}/libkopete.so +%{tde_libdir}/libkopete_oscar.la +%{tde_libdir}/libkopete_oscar.so +%{tde_libdir}/libkopete_videodevice.la +%{tde_libdir}/libkopete_videodevice.so +%{tde_libdir}/librss.la +%{tde_libdir}/librss.so + +########## + +%package filesharing +#Recommends: perl-suid +Summary: Network filesharing configuration module for Trinity +Group: Applications/Internet + +Obsoletes: tdenetwork-filesharing < %{version}-%{release} +Provides: tdenetwork-filesharing = %{version}-%{release} + +%description filesharing +This package provides a Trinity Control Center module to configure +NFS and Samba. + +%files filesharing +%defattr(-,root,root,-) +%{tde_tdelibdir}/fileshare_propsdlgplugin.la +%{tde_tdelibdir}/fileshare_propsdlgplugin.so +%{tde_tdelibdir}/kcm_fileshare.la +%{tde_tdelibdir}/kcm_fileshare.so +%{tde_tdelibdir}/kcm_kcmsambaconf.la +%{tde_tdelibdir}/kcm_kcmsambaconf.so +%{tde_tdeappdir}/fileshare.desktop +%{tde_tdeappdir}/kcmsambaconf.desktop +%{tde_datadir}/icons/hicolor/*/apps/kcmfileshare.png +%{tde_datadir}/icons/hicolor/*/apps/kcmsambaconf.png +%{tde_datadir}/services/fileshare_propsdlgplugin.desktop +%{tde_tdedocdir}/HTML/en/kcontrol/fileshare/ +%{tde_tdedocdir}/HTML/en/kcontrol/kcmsambaconf/ + +########## + +%package -n trinity-kdict +Summary: Dictionary client for Trinity +Group: Applications/Internet +Requires: trinity-kicker >= %{tde_version} + +%description -n trinity-kdict +KDict is an advanced TDE graphical client for the DICT Protocol, with full +Unicode support. It enables you to search through dictionary databases for a +word or phrase, then displays suitable definitions. KDict tries to ease +basic as well as advanced queries. + +%files -n trinity-kdict +%defattr(-,root,root,-) +%{tde_bindir}/kdict +%{tde_tdelibdir}/kdict.* +%{tde_tdelibdir}/kdict_panelapplet.* +%{tde_libdir}/libtdeinit_kdict.* +%{tde_tdeappdir}/kdict.desktop +%{tde_datadir}/apps/kdict +%{tde_datadir}/apps/kicker/applets/kdictapplet.desktop +%{tde_datadir}/icons/hicolor/*/apps/kdict.* +%{tde_tdedocdir}/HTML/en/kdict + +########## + +%package tdefile-plugins +Summary: Torrent metainfo plugin for Trinity +Group: Applications/Internet + +Obsoletes: tdenetwork-kfile-plugins < %{version}-%{release} +Provides: tdenetwork-kfile-plugins = %{version}-%{release} +Obsoletes: trinity-tdenetwork-kfile-plugins < %{version}-%{release} +Provides: trinity-tdenetwork-kfile-plugins = %{version}-%{release} + +%description tdefile-plugins +This package provides a metainformation plugin for bittorrent files. +TDE uses tdefile-plugins to provide metainfo tab in the files properties +dialog in konqueror and other file-handling applications. + +%files tdefile-plugins +%defattr(-,root,root,-) +%{tde_tdelibdir}/tdefile_torrent.la +%{tde_tdelibdir}/tdefile_torrent.so +%{tde_datadir}/services/tdefile_torrent.desktop + +########## + +%package -n trinity-kget +Summary: Download manager for Trinity +Group: Applications/Internet +Requires: trinity-tdebase-data >= %{tde_version} +Requires: trinity-konqueror >= %{tde_version} + +%description -n trinity-kget +KGet is a a download manager similar to GetRight or Go!zilla. It keeps +all your downloads in one dialog and you can add and remove transfers. +Transfers can be paused, resumed, queued or scheduled. +Dialogs display info about status of transfers - progress, size, speed +and remaining time. Program supports drag & drop from TDE +applications and Netscape. + +%files -n trinity-kget +%defattr(-,root,root,-) +%{tde_bindir}/kget +%{tde_tdelibdir}/tdehtml_kget.la +%{tde_tdelibdir}/tdehtml_kget.so +%{tde_tdeappdir}/kget.desktop +%{tde_datadir}/apps/kget +%{tde_datadir}/apps/tdehtml/kpartplugins/kget_plug_in.desktop +%{tde_datadir}/apps/tdehtml/kpartplugins/kget_plug_in.rc +%{tde_datadir}/apps/konqueror/servicemenus/kget_download.desktop +%{tde_datadir}/icons/crystalsvg/*/actions/tdehtml_kget.png +%{tde_datadir}/icons/crystalsvg/*/apps/kget.png +%{tde_datadir}/icons/crystalsvg/*/mimetypes/kget_list.png +%{tde_datadir}/icons/hicolor/*/apps/kget.png +%{tde_datadir}/mimelnk/application/x-kgetlist.desktop +%{tde_datadir}/sounds/KGet_Added.ogg +%{tde_datadir}/sounds/KGet_Finished.ogg +%{tde_datadir}/sounds/KGet_Finished_All.ogg +%{tde_datadir}/sounds/KGet_Started.ogg +%{tde_tdedocdir}/HTML/en/kget + +########## + +%package -n trinity-knewsticker +Summary: News ticker applet for Trinity +Group: Applications/Internet +Requires: trinity-kicker >= %{tde_version} + +%description -n trinity-knewsticker +This is a news ticker applet for the Trinity panel. It can scroll news from +your favorite news sites, such as lwn.net, /. and freshmeat.net. +To achieve this, KNewsTicker requires the news sites to provide a +RSS feed to newsitems. KNewsTicker already comes with a selection of +good news sources which provide such files. + +%files -n trinity-knewsticker +%defattr(-,root,root,-) +%{tde_bindir}/knewstickerstub +%{tde_tdelibdir}/knewsticker_panelapplet.la +%{tde_tdelibdir}/knewsticker_panelapplet.so +%{tde_tdelibdir}/libkntsrcfilepropsdlg.la +%{tde_tdelibdir}/libkntsrcfilepropsdlg.so +%{tde_tdeappdir}/knewsticker-standalone.desktop +%{tde_datadir}/applnk/.hidden/knewstickerstub.desktop +%{tde_datadir}/apps/tdeconf_update/knewsticker.upd +%{tde_datadir}/apps/tdeconf_update/knt-0.1-0.2.pl +%{tde_datadir}/apps/kicker/applets/knewsticker.desktop +%{tde_datadir}/apps/knewsticker/ +%{tde_datadir}/icons/hicolor/*/apps/knewsticker.png +%{tde_datadir}/services/kntsrcfilepropsdlg.desktop +%{tde_tdedocdir}/HTML/en/knewsticker + +########## + +%package -n trinity-kopete +Summary: Instant messenger for Trinity +Group: Applications/Internet +Requires: trinity-tdebase-bin >= %{tde_version} +Requires: trinity-tdebase-data >= %{tde_version} +Requires: trinity-filesystem >= %{tde_version} + +%description -n trinity-kopete +Kopete is an instant messenger program which can communicate with a variety +of IM systems, such as Yahoo, ICQ, IRC and Jabber. + +Support for more IM protocols can be added through a plugin system. + +%files -n trinity-kopete +%defattr(-,root,root,-) +# nowlistening support +%exclude %{tde_datadir}/apps/kopete/*nowlisteningchatui* +%exclude %{tde_datadir}/apps/kopete/*nowlisteningui* +%exclude %{tde_datadir}/config.kcfg/nowlisteningconfig.kcfg +%exclude %{tde_datadir}/services/tdeconfiguredialog/*nowlistening* +%exclude %{tde_datadir}/services/*nowlistening* +%exclude %{tde_tdelibdir}/*nowlistening* +# Main kopete package +%{tde_bindir}/kopete +%{tde_bindir}/kopete_latexconvert.sh +%{tde_libdir}/tdeconf_update_bin/kopete-account-tdeconf_update +%{tde_libdir}/tdeconf_update_bin/kopete-nameTracking-tdeconf_update +%{tde_libdir}/tdeconf_update_bin/kopete-pluginloader2-tdeconf_update +%{tde_tdelibdir}/kcm_kopete_*.so +%{tde_tdelibdir}/kcm_kopete_*.la +%{tde_tdelibdir}/tdeio_jabberdisco.la +%{tde_tdelibdir}/tdeio_jabberdisco.so +%{tde_tdelibdir}/kopete_*.la +%{tde_tdelibdir}/kopete_*.so +%{tde_tdelibdir}/libkrichtexteditpart.la +%{tde_tdelibdir}/libkrichtexteditpart.so +%{tde_libdir}/libkopete_oscar.so.* +%{tde_libdir}/libkopete.so.* +%{tde_libdir}/libkopete_videodevice.so.* +%{tde_tdeappdir}/kopete.desktop +%{tde_datadir}/apps/tdeconf_update/kopete-* +%{tde_datadir}/apps/kopete/ +%{tde_datadir}/apps/kopete_*/ +%{tde_datadir}/apps/kopeterichtexteditpart/ +%{tde_datadir}/config.kcfg/historyconfig.kcfg +%{tde_datadir}/config.kcfg/kopeteidentityconfigpreferences.kcfg +%{tde_datadir}/config.kcfg/kopete.kcfg +%{tde_datadir}/config.kcfg/latexconfig.kcfg +%{tde_datadir}/icons/crystalsvg/*/actions/voicecall.png +%{tde_datadir}/icons/crystalsvg/*/actions/webcamreceive.png +%{tde_datadir}/icons/crystalsvg/*/actions/webcamsend.png +%{tde_datadir}/icons/crystalsvg/*/actions/account_offline_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/add_user.png +%{tde_datadir}/icons/crystalsvg/*/actions/contact_away_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/contact_busy_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/contact_food_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/contact_invisible_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/contact_phone_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/contact_xa_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/delete_user.png +%{tde_datadir}/icons/crystalsvg/*/actions/edit_user.png +%{tde_datadir}/icons/crystalsvg/*/actions/emoticon.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_away.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_chatty.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_connecting.mng +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_group.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_invisible.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_na.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_offline.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_online.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_original.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_raw.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_serv_off.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_serv_on.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_xa.png +%{tde_datadir}/icons/crystalsvg/*/actions/kopeteavailable.png +%{tde_datadir}/icons/crystalsvg/*/actions/kopeteaway.png +%{tde_datadir}/icons/crystalsvg/*/actions/kopeteeditstatusmessage.png +%{tde_datadir}/icons/crystalsvg/*/actions/kopetestatusmessage.png +%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_away.png +%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_offline.png +%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_online.png +%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_unknown.png +%{tde_datadir}/icons/crystalsvg/*/actions/newmsg.png +%{tde_datadir}/icons/crystalsvg/*/actions/search_user.png +%{tde_datadir}/icons/crystalsvg/*/actions/show_offliners.png +%{tde_datadir}/icons/crystalsvg/*/actions/status_unknown_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/status_unknown.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_aim.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_gadu.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_http-ws.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_icq.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_irc.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_msn.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_qq.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_smtp.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_tlen.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_yahoo.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_protocol.png +%{tde_datadir}/icons/crystalsvg/*/apps/kopete_all_away.png +%{tde_datadir}/icons/crystalsvg/*/apps/kopete_offline.png +%{tde_datadir}/icons/crystalsvg/*/apps/kopete_some_away.png +%{tde_datadir}/icons/crystalsvg/*/apps/kopete_some_online.png +%{tde_datadir}/icons/crystalsvg/*/mimetypes/kopete_emoticons.png +%{tde_datadir}/icons/crystalsvg/scalable/actions/account_offline_overlay.svgz +%{tde_datadir}/icons/hicolor/*/apps/kopete.png +%{tde_datadir}/icons/hicolor/*/actions/emoticon.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_away.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_chatty.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_connecting.mng +%{tde_datadir}/icons/hicolor/*/actions/jabber_group.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_invisible.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_na.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_offline.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_online.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_original.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_raw.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_serv_off.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_serv_on.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_xa.png +%{tde_datadir}/icons/hicolor/*/actions/kopeteavailable.png +%{tde_datadir}/icons/hicolor/*/actions/kopeteaway.png +%{tde_datadir}/icons/hicolor/*/actions/newmsg.png +%{tde_datadir}/icons/hicolor/*/actions/status_unknown_overlay.png +%{tde_datadir}/icons/hicolor/*/actions/status_unknown.png +%{tde_datadir}/icons/hicolor/*/apps/jabber_protocol.png +%{tde_datadir}/icons/hicolor/scalable/apps/kopete2.svgz +%{tde_datadir}/icons/crystalsvg/*/actions/newmessage.mng +%{tde_datadir}/icons/hicolor/*/actions/newmessage.mng +%{tde_datadir}/icons/crystalsvg/*/apps/icq_protocol.png +%{tde_datadir}/icons/crystalsvg/*/apps/irc_protocol.png +%{tde_datadir}/icons/crystalsvg/*/actions/icq_away.png +%{tde_datadir}/icons/crystalsvg/*/actions/icq_connecting.mng +%{tde_datadir}/icons/crystalsvg/*/actions/icq_dnd.png +%{tde_datadir}/icons/crystalsvg/*/actions/icq_ffc.png +%{tde_datadir}/icons/crystalsvg/*/actions/icq_invisible.png +%{tde_datadir}/icons/crystalsvg/*/actions/icq_na.png +%{tde_datadir}/icons/crystalsvg/*/actions/icq_occupied.png +%{tde_datadir}/icons/crystalsvg/*/actions/icq_offline.png +%{tde_datadir}/icons/crystalsvg/*/actions/icq_online.png +%{tde_datadir}/icons/crystalsvg/*/actions/irc_away.png +%{tde_datadir}/icons/crystalsvg/*/actions/irc_channel.png +%{tde_datadir}/icons/crystalsvg/*/actions/irc_connecting.mng +%{tde_datadir}/icons/crystalsvg/*/actions/irc_normal.png +%{tde_datadir}/icons/crystalsvg/*/actions/irc_online.png +%{tde_datadir}/icons/crystalsvg/*/actions/irc_op.png +%{tde_datadir}/icons/crystalsvg/*/actions/irc_server.png +%{tde_datadir}/icons/crystalsvg/*/actions/irc_voice.png +%{tde_datadir}/icons/hicolor/*/actions/icq_away.png +%{tde_datadir}/icons/hicolor/*/actions/icq_connecting.mng +%{tde_datadir}/icons/hicolor/*/actions/icq_dnd.png +%{tde_datadir}/icons/hicolor/*/actions/icq_ffc.png +%{tde_datadir}/icons/hicolor/*/actions/icq_invisible.png +%{tde_datadir}/icons/hicolor/*/actions/icq_na.png +%{tde_datadir}/icons/hicolor/*/actions/icq_occupied.png +%{tde_datadir}/icons/hicolor/*/actions/icq_offline.png +%{tde_datadir}/icons/hicolor/*/actions/icq_online.png +%{tde_datadir}/icons/hicolor/*/apps/icq_protocol.png +%{tde_datadir}/mimelnk/application/x-icq.desktop +%{tde_datadir}/mimelnk/application/x-kopete-emoticons.desktop +%{tde_datadir}/services/chatwindow.desktop +%{tde_datadir}/services/emailwindow.desktop +%{tde_datadir}/services/jabberdisco.protocol +%{tde_datadir}/services/tdeconfiguredialog/kopete_*.desktop +%{tde_datadir}/services/kopete_*.desktop +%{tde_datadir}/icons/crystalsvg/16x16/apps/jabber_gateway_sms.png +%{tde_datadir}/servicetypes/kopete*.desktop +%{tde_datadir}/sounds/Kopete_*.ogg +%{tde_tdedocdir}/HTML/en/kopete +# jingle support for kopete +%{tde_bindir}/relayserver +%{tde_bindir}/stunserver +# winpopup support for kopete +%{tde_bindir}/winpopup-install.sh +%{tde_bindir}/winpopup-send.sh +# motionaway plugin for kopete +%{tde_datadir}/config.kcfg/motionawayconfig.kcfg +# smpp plugin for kopete +%{tde_datadir}/config.kcfg/smpppdcs.kcfg +# aim support is deprecated in TDE 14.1.0 +%if 0%{?with_aim} +%{tde_datadir}/icons/crystalsvg/*/apps/aim_protocol.png +%{tde_datadir}/icons/crystalsvg/*/actions/aim_away.png +%{tde_datadir}/icons/crystalsvg/*/actions/aim_connecting.mng +%{tde_datadir}/icons/crystalsvg/*/actions/aim_offline.png +%{tde_datadir}/icons/crystalsvg/*/actions/aim_online.png +%{tde_datadir}/icons/hicolor/*/actions/aim_away.png +%{tde_datadir}/icons/hicolor/*/actions/aim_connecting.mng +%{tde_datadir}/icons/hicolor/*/actions/aim_offline.png +%{tde_datadir}/icons/hicolor/*/actions/aim_online.png +%{tde_datadir}/icons/hicolor/*/apps/aim_protocol.png +%{tde_datadir}/services/aim.protocol +%endif + +########## + +%package -n trinity-kopete-nowlistening +Summary: Nowlistening (xmms) plugin for Kopete +Group: Applications/Internet +Requires: trinity-kopete = %{version}-%{release} +Requires: trinity-filesystem >= %{tde_version} + +%description -n trinity-kopete-nowlistening +Kopete includes the "Now Listening" plug-in that can report what music you +are currently listening to, in a number of different players, including +noatun, kscd, juk, kaffeine and amarok. + +%files -n trinity-kopete-nowlistening +%defattr(-,root,root,-) +%{tde_datadir}/apps/kopete/*nowlisteningchatui* +%{tde_datadir}/apps/kopete/*nowlisteningui* +%{tde_datadir}/config.kcfg/nowlisteningconfig.kcfg +%{tde_datadir}/services/tdeconfiguredialog/*nowlistening* +%{tde_datadir}/services/*nowlistening* +%{tde_tdelibdir}/*nowlistening* + +########## + +%package -n trinity-kpf +Summary: Public fileserver for Trinity +Group: Applications/Internet +Requires: trinity-kicker >= %{tde_version} + +%description -n trinity-kpf +kpf provides simple file sharing using HTTP. kpf is strictly a public +fileserver, which means that there are no access restrictions to shared +files. Whatever you select for sharing is available to anyone. kpf is +designed to be used for sharing files with friends. + +%files -n trinity-kpf +%defattr(-,root,root,-) +%{tde_tdelibdir}/kpf* +%{tde_datadir}/apps/kicker/applets/kpfapplet.desktop +%{tde_datadir}/icons/crystalsvg/*/apps/kpf.* +%{tde_datadir}/services/kpfpropertiesdialogplugin.desktop +%{tde_tdedocdir}/HTML/en/kpf + +########## + +%package -n trinity-kppp +Summary: Modem dialer and ppp frontend for Trinity +Group: Applications/Internet +Requires: ppp + +%if 0%{?with_consolehelper} +# package 'usermode' provides '/usr/bin/consolehelper-gtk' +%if 0%{?rhel} || 0%{?fedora} +Requires: usermode-gtk +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +Requires: usermode +%endif +%endif + +%description -n trinity-kppp +KPPP is a dialer and front end for pppd. It allows for interactive +script generation and network setup. It will automate the dialing in +process to your ISP while letting you conveniently monitor the entire +process. + +Once connected KPPP will provide a rich set of statistics and keep +track of the time spent online for you. + +%files -n trinity-kppp +%defattr(-,root,root,-) +%if 0%{?with_consolehelper} == 0 +# Some setuid binaries need special care +%if 0%{?suse_version} +%verify(not mode) %{tde_bindir}/kppp +%else +%attr(4711,root,root) %{tde_bindir}/kppp +%endif +%endif +%{tde_bindir}/kppplogview +%{tde_tdeappdir}/Kppp.desktop +%{tde_tdeappdir}/kppplogview.desktop +%{tde_datadir}/apps/kppp/ +%{tde_datadir}/icons/hicolor/*/apps/kppp.png +%{tde_tdedocdir}/HTML/en/kppp/ +%if 0%{?suse_version} >= 1500 +%dir %{_sysconfdir}/ppp +%endif +%dir %{_sysconfdir}/ppp/peers +%{_sysconfdir}/ppp/peers/kppp-options + +%if 0%{?with_consolehelper} +%config(noreplace) /etc/security/console.apps/kppp3 +%config(noreplace) /etc/pam.d/kppp3 +%{_sbindir}/kppp3 +%{tde_bindir}/kppp3 +%{tde_sbindir}/kppp3 +%endif + +%post -n trinity-kppp +%if 0%{?suse_version} +# Sets permissions on setuid files (openSUSE specific) +%set_permissions %{tde_bindir}/kppp +%endif + +########## + +%package -n trinity-krdc +Summary: Remote Desktop Connection for Trinity +Group: Applications/Internet +Requires: rdesktop + +%description -n trinity-krdc +krdc is an TDE graphical client for the rfb protocol, used by VNC, +and if rdesktop is installed, krdc can connect to Windows Terminal +Servers using RDP. + +%files -n trinity-krdc +%defattr(-,root,root,-) +%{tde_bindir}/krdc +%{tde_tdeappdir}/krdc.desktop +%{tde_datadir}/apps/konqueror/servicemenus/smb2rdc.desktop +%{tde_datadir}/apps/krdc/ +%{tde_datadir}/icons/crystalsvg/*/apps/krdc.png +%{tde_datadir}/icons/hicolor/*/apps/krdc.png +%{tde_datadir}/services/rdp.protocol +%{tde_datadir}/services/vnc.protocol +%{tde_tdedocdir}/HTML/en/krdc/ +%{tde_tdedocdir}/HTML/en/tdeioslave/rdp/ +%{tde_tdedocdir}/HTML/en/tdeioslave/vnc/ + +########## + +%package -n trinity-krfb +Summary: Desktop Sharing for Trinity +Group: Applications/Internet + +%description -n trinity-krfb +Desktop Sharing (krfb) is a server application that allows you to share +your current session with a user on another machine, who can use a +VNC client like krdc to view or even control the desktop. It doesn't +require you to start a new X session - it can share the current session. +This makes it very useful when you want someone to help you perform a +task. + +%files -n trinity-krfb +%defattr(-,root,root,-) +%{tde_bindir}/krfb +%{tde_bindir}/krfb_httpd +%{tde_tdelibdir}/kcm_krfb.la +%{tde_tdelibdir}/kcm_krfb.so +%{tde_tdelibdir}/kded_kinetd.la +%{tde_tdelibdir}/kded_kinetd.so +%{tde_tdeappdir}/kcmkrfb.desktop +%{tde_tdeappdir}/krfb.desktop +%{tde_datadir}/apps/kinetd/ +%{tde_datadir}/apps/krfb +%{tde_datadir}/icons/crystalsvg/*/apps/krfb.png +%{tde_datadir}/icons/hicolor/*/apps/krfb.png +%{tde_datadir}/icons/locolor/*/apps/krfb.png +%{tde_datadir}/services/kded/kinetd.desktop +%{tde_datadir}/services/kinetd_krfb.desktop +%{tde_datadir}/services/kinetd_krfb_httpd.desktop +%{tde_datadir}/servicetypes/kinetdmodule.desktop +%{tde_tdedocdir}/HTML/en/krfb/ + +########## + +%package -n trinity-ksirc +Summary: IRC client for Trinity +Group: Applications/Internet + +%description -n trinity-ksirc +KSirc is an IRC chat client for TDE. It supports scripting with Perl and has a +lot of compatibility with mIRC for general use. + +If you want to connect to an IRC server via SSL, you will need to install the +recommended package libio-socket-ssl-perl. + +%files -n trinity-ksirc +%defattr(-,root,root,-) +%{tde_bindir}/dsirc +%{tde_bindir}/ksirc +%{tde_libdir}/libtdeinit_ksirc.* +%{tde_tdelibdir}/ksirc.* +%{tde_tdeappdir}/ksirc.desktop +%{tde_datadir}/apps/ksirc/ +%config(noreplace) %{tde_confdir}/ksircrc +%{tde_datadir}/icons/hicolor/*/apps/ksirc.* +%{tde_tdedocdir}/HTML/??/ksirc/ + +########## + +%package -n trinity-ktalkd +Summary: Talk daemon for Trinity +Group: Applications/Internet +Requires: trinity-kcontrol >= %{tde_version} +Requires: trinity-tdebase-data >= %{tde_version} +Requires: xinetd + +%description -n trinity-ktalkd +KTalkd is an enhanced talk daemon - a program to handle incoming talk +requests, announce them and allow you to respond to it using a talk +client. Note that KTalkd is designed to run on a single-user workstation, +and shouldn't be run on a multi-user machine. + +%files -n trinity-ktalkd +%defattr(-,root,root,-) +%{tde_bindir}/ktalkd* +%{tde_bindir}/mail.local +%{tde_tdelibdir}/kcm_ktalkd.* +%{tde_tdeappdir}/kcmktalkd.desktop +%config(noreplace) %{tde_confdir}/ktalkdrc +%{tde_datadir}/icons/crystalsvg/*/apps/ktalkd.png +%{tde_datadir}/icons/hicolor/*/apps/ktalkd.png +%{tde_datadir}/sounds/ktalkd.wav +%if 0%{?fedora} == 0 || 0%{?fedora} <= 30 +%dir %{_sysconfdir}/xinetd.d +%endif +%config(noreplace) %{_sysconfdir}/xinetd.d/ktalk +%{tde_tdedocdir}/HTML/en/kcontrol/kcmtalkd +%{tde_tdedocdir}/HTML/en/ktalkd + +########## + +%if "%{?_with_wifi:1}" == "1" +%package -n trinity-kwifimanager +Summary: Wireless lan manager for Trinity +Group: Applications/Internet +Requires: trinity-kicker >= %{tde_version} + +%description -n trinity-kwifimanager +KWiFiManager suite is a set of tools which allows you to manage your +wireless LAN connection under the K Desktop Environment. It provides +information about your current connection. KWiFiManager supports every +wavelan card that uses the wireless extensions interface. + +%files -n trinity-kwifimanager +%defattr(-,root,root,-) +%{tde_bindir}/kwifimanager +%{tde_tdelibdir}/kcm_wifi.* +%{tde_libdir}/libkwireless.la +%{tde_libdir}/libkwireless.so +%{tde_tdeappdir}/kcmwifi.desktop +%{tde_tdeappdir}/kwifimanager.desktop +%{tde_datadir}/apps/kicker/applets/kwireless.desktop +%{tde_datadir}/apps/kwifimanager +%{tde_datadir}/icons/hicolor/*/apps/kwifimanager.png +%{tde_datadir}/icons/hicolor/*/apps/kwifimanager.svgz +%{tde_tdedocdir}/HTML/en/kwifimanager/ +%{tde_tdedocdir}/HTML/en/kcontrol/kcmwifi/ +%endif + +########## + +%package -n trinity-librss +Summary: RSS library for Trinity +Group: Environment/Libraries + +%description -n trinity-librss +This is the runtime package for programs that use the TDE RSS library. +End users should not need to install this, it should get installed +automatically when needed. + +%files -n trinity-librss +%defattr(-,root,root,-) +%{tde_libdir}/librss.so.* +%{tde_datadir}/cmake/librss.cmake + +########## + +%package -n trinity-lisa +Summary: LAN information server for Trinity +Group: Applications/Internet +Requires: trinity-konqueror >= %{tde_version} +Requires: trinity-tdebase-data >= %{tde_version} + +%description -n trinity-lisa +LISa is intended to provide TDE with a kind of "network neighborhood" +but relying only on the TCP/IP protocol. + +%files -n trinity-lisa +%defattr(-,root,root,-) +%{tde_tdelibdir}/kcm_lanbrowser.la +%{tde_tdelibdir}/kcm_lanbrowser.so +%{tde_tdelibdir}/tdeio_lan.la +%{tde_tdelibdir}/tdeio_lan.so +%{tde_datadir}/applnk/.hidden/kcmtdeiolan.desktop +%{tde_datadir}/applnk/.hidden/kcmlisa.desktop +%{tde_datadir}/applnk/.hidden/kcmreslisa.desktop +%{tde_datadir}/apps/konqsidebartng/virtual_folders/services/lisa.desktop +%{tde_datadir}/apps/konqueror/dirtree/remote/lan.desktop +%{tde_datadir}/apps/lisa/ +%{tde_datadir}/apps/remoteview/lan.desktop +%{tde_tdedocdir}/HTML/en/kcontrol/lanbrowser/ +%{tde_tdedocdir}/HTML/en/lisa/ +%{tde_datadir}/services/lan.protocol +%{tde_datadir}/services/rlan.protocol +%{tde_bindir}/lisa +%{tde_bindir}/reslisa + +########## + +%package -n trinity-kdnssd +Summary: Zeroconf support for TDE +Group: Applications/Internet + +%description -n trinity-kdnssd +A tdeioslave and tded module that provide Zeroconf support. Try +"zeroconf:/" in Konqueror. + +%files -n trinity-kdnssd +%defattr(-,root,root,-) +%{tde_datadir}/services/zeroconf.protocol +%{tde_datadir}/services/invitation.protocol +%{tde_datadir}/services/kded/dnssdwatcher.desktop +%{tde_datadir}/apps/remoteview/zeroconf.desktop +%{tde_datadir}/apps/zeroconf/_http._tcp +%{tde_datadir}/apps/zeroconf/_ftp._tcp +%{tde_datadir}/apps/zeroconf/_ldap._tcp +%{tde_datadir}/apps/zeroconf/_webdav._tcp +%{tde_datadir}/apps/zeroconf/_nfs._tcp +%{tde_datadir}/apps/zeroconf/_ssh._tcp +%{tde_datadir}/apps/zeroconf/_rfb._tcp +%{tde_tdelibdir}/tdeio_zeroconf.so +%{tde_tdelibdir}/tdeio_zeroconf.la +%{tde_tdelibdir}/kded_dnssdwatcher.so +%{tde_tdelibdir}/kded_dnssdwatcher.la + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} + +# Workaround libiw detection failure on opensuse +%if 0%{?suse_version} +%__sed -i "wifi/ConfigureChecks.cmake" -e "s|^check_library_exists.*|set( HAVE_IW 1 )|" +%endif + +# Update icons for some control center modules +%__sed -i "filesharing/simple/fileshare.desktop" -e "s|^Icon=.*|Icon=kcmfileshare|" + + +%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} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -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_JINGLE=ON \ + %{?with_speex:-DWITH_SPEEX=ON} \ + -DWITH_WEBCAM=ON \ + -DWITH_GSM=OFF \ + -DWITH_XMMS=OFF \ + -DWITH_ARTS=ON \ + %{?with_openslp:-DWITH_SLP=ON} \ + -DBUILD_ALL=ON \ + -DBUILD_KOPETE_PLUGIN_ALL=ON \ + -DBUILD_KOPETE_PROTOCOL_ALL=ON \ + %{!?with_gadu:-DBUILD_KOPETE_PROTOCOL_GADU=OFF} \ + %{!?with_meanwhile:-DBUILD_KOPETE_PROTOCOL_MEANWHILE=OFF} \ + .. + +# Tdenetwork is not smp safe ! +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +# Adds missing icons in 'hicolor' theme +# These icons are copied from 'crystalsvg' theme, provided by 'tdelibs'. +%__mkdir_p %{buildroot}%{tde_datadir}/icons/hicolor/{16x16,22x22,32x32,48x48,64x64,128x128}/apps/ +pushd %{buildroot}%{tde_datadir}/icons +for i in {16,22,32,48}; do %__cp %{?buildroot}%{tde_datadir}/icons/crystalsvg/"$i"x"$i"/apps/kget.png hicolor/"$i"x"$i"/apps/kget.png ;done +for i in {32,48}; do %__cp %{?buildroot}%{tde_datadir}/icons/crystalsvg/"$i"x"$i"/apps/krdc.png hicolor/"$i"x"$i"/apps/krdc.png ;done +for i in {16,32,48}; do %__cp %{?buildroot}%{tde_datadir}/icons/crystalsvg/"$i"x"$i"/apps/krfb.png hicolor/"$i"x"$i"/apps/krfb.png ;done +for i in {16,22,32,48,128}; do %__cp %{?buildroot}%{tde_datadir}/icons/crystalsvg/"$i"x"$i"/apps/ktalkd.png hicolor/"$i"x"$i"/apps/ktalkd.png ;done +for i in {16,22,32,48,64,128}; do %__cp $BUILD_ROOT%{tde_datadir}/icons/crystalsvg/"$i"x"$i"/actions/share.png hicolor/"$i"x"$i"/apps/kcmfileshare.png ;done +popd + +%if 0%{?with_consolehelper} +# Run kppp through consolehelper, and rename it to 'kppp3' +%__install -p -m644 -D %{SOURCE1} %{buildroot}/etc/pam.d/kppp3 +%__mkdir_p %{buildroot}%{tde_sbindir} %{buildroot}%{_sbindir} +%__mv %{buildroot}%{tde_bindir}/kppp %{buildroot}%{tde_sbindir}/kppp3 +%__ln_s %{_bindir}/consolehelper %{buildroot}%{tde_bindir}/kppp3 +%if "%{tde_prefix}" != "/usr" +%__ln_s %{tde_sbindir}/kppp3 %{?buildroot}%{_sbindir}/kppp3 +%endif +%__mkdir_p %{buildroot}%{_sysconfdir}/security/console.apps +cat > %{buildroot}%{_sysconfdir}/security/console.apps/kppp3 <>"${i}" + fi + fi +done + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file kcmkrfb +%suse_update_desktop_file fileshare +%suse_update_desktop_file kopete Network InstantMessaging +%suse_update_desktop_file ksirc Network IRCClient +%suse_update_desktop_file Kppp Network Dialup +%suse_update_desktop_file -r kppplogview System Monitor +%suse_update_desktop_file kdict Office Dictionary +%suse_update_desktop_file -r krdc System RemoteAccess +%suse_update_desktop_file -r krfb System RemoteAccess +%suse_update_desktop_file -r kget System TrayIcon +%suse_update_desktop_file -r kwifimanager System Network +%suse_update_desktop_file kcmwifi +%suse_update_desktop_file -u knewsticker-standalone Network News +%suse_update_desktop_file %{buildroot}%{tde_datadir}/apps/remoteview/zeroconf.desktop +%endif + +# Links duplicate files +%fdupes "%{?buildroot}%{tde_datadir}" + + +%clean +%__rm -rf %{buildroot} + + +%if 0%{?suse_version} +# Check permissions on setuid files (openSUSE specific) +%verifyscript +%verify_permissions -e %{tde_bindir}/kppp +%endif + + +%changelog diff --git a/redhat/main/tdepim/tdepim-14.0.0.patch b/redhat/main/tdepim/tdepim-14.0.0.patch deleted file mode 100644 index 0770a8af9..000000000 --- a/redhat/main/tdepim/tdepim-14.0.0.patch +++ /dev/null @@ -1,90 +0,0 @@ -diff --git a/kmail/kmkernel.cpp b/kmail/kmkernel.cpp -index aa01c96..d27f041 100644 ---- a/kmail/kmkernel.cpp -+++ b/kmail/kmkernel.cpp -@@ -170,17 +170,8 @@ KMKernel::KMKernel (TQObject *parent, const char *name) : - connectDCOPSignal( 0, 0, "kmailSelectFolder(TQString)", - "selectFolder(TQString)", false ); - -- mNetworkManager = TDEGlobal::networkManager(); -- if (mNetworkManager) { -- connect( mNetworkManager, TQT_SIGNAL( networkDeviceStateChanged( TDENetworkConnectionStatus::TDENetworkConnectionStatus, TDENetworkConnectionStatus::TDENetworkConnectionStatus, TQString ) ), -- this, TQT_SLOT( slotNetworkStateChanged( TDENetworkConnectionStatus::TDENetworkConnectionStatus, TDENetworkConnectionStatus::TDENetworkConnectionStatus, TQString ) ) ); -- if (networkStateConnected()) { -- resumeNetworkJobs(); -- } -- else { -- stopNetworkJobs(); -- } -- } -+ // Assume connected -+ resumeNetworkJobs(); - } - - KMKernel::~KMKernel () -@@ -2470,34 +2461,8 @@ int KMKernel::timeOfLastMessageCountChange() const - - bool KMKernel::networkStateConnected() - { -- if (mNetworkManager) { -- TDENetworkGlobalManagerFlags::TDENetworkGlobalManagerFlags networkStatus = mNetworkManager->backendStatus(); -- if ((networkStatus & TDENetworkGlobalManagerFlags::Connected) -- || (networkStatus & TDENetworkGlobalManagerFlags::BackendUnavailable) -- || (networkStatus == TDENetworkGlobalManagerFlags::Unknown) -- ){ -- // Connected or no backend available -- return true; -- } -- else { -- // Not connected -- return false; -- } -- } -- else { -- // Assume connected -- return true; -- } --} -- --void KMKernel::slotNetworkStateChanged(TDENetworkConnectionStatus::TDENetworkConnectionStatus, TDENetworkConnectionStatus::TDENetworkConnectionStatus, TQString) --{ -- if (networkStateConnected()) { -- resumeNetworkJobs(); -- } -- else { -- stopNetworkJobs(); -- } -+ // Assume connected -+ return true; - } - - Wallet *KMKernel::wallet() { -diff --git a/kmail/kmkernel.h b/kmail/kmkernel.h -index 0dc4644..37a3eec 100644 ---- a/kmail/kmkernel.h -+++ b/kmail/kmkernel.h -@@ -14,8 +14,6 @@ - #include - #include - --#include -- - #include "kmailIface.h" - #include "kmmsgbase.h" - #include "globalsettings.h" -@@ -436,7 +434,6 @@ public slots: - protected slots: - void slotDataReq(TDEIO::Job*,TQByteArray&); - void slotResult(TDEIO::Job*); -- void slotNetworkStateChanged(TDENetworkConnectionStatus::TDENetworkConnectionStatus, TDENetworkConnectionStatus::TDENetworkConnectionStatus, TQString); - - signals: - void configChanged(); -@@ -527,7 +524,6 @@ private: - TQString mAddMessageLastFolder; - KMFolder *mAddMsgCurrentFolder; - -- TDEGlobalNetworkManager *mNetworkManager; - }; - - #endif diff --git a/redhat/main/tdepim/tdepim.spec b/redhat/main/tdepim/tdepim.spec index c5341e7c5..5a22f1ed3 100644 --- a/redhat/main/tdepim/tdepim.spec +++ b/redhat/main/tdepim/tdepim.spec @@ -22,7 +22,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg tdepim %define tde_prefix /opt/trinity diff --git a/redhat/main/tdesdk/tdesdk-14.0.0.spec b/redhat/main/tdesdk/tdesdk-14.0.0.spec deleted file mode 100644 index dac97e526..000000000 --- a/redhat/main/tdesdk/tdesdk-14.0.0.spec +++ /dev/null @@ -1,1117 +0,0 @@ -# -# spec file for package tdesdk (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/ -# - -# BUILD WARNING: -# Remove qt-devel and qt3-devel and any kde*-devel on your system ! -# Having KDE libraries may cause FTBFS here ! - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.0.0 -%endif -%define tde_pkg tdesdk -%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} -Summary: The Trinity Software Development Kit (SDK) -Group: Development/Tools/Other -Version: %{tde_version} -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -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}-%{version}%{?preversion:~%{preversion}}.tar.gz -Source1: %{name}-rpmlintrc - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-perl-dcop >= %{tde_version} -BuildRequires: trinity-tdepim-devel >= %{tde_version} - -BuildRequires: cmake >= 2.8 -BuildRequires: gcc-c++ -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 - -# ACL support -BuildRequires: libacl-devel - -# IDN support -BuildRequires: libidn-devel - -# GAMIN support -# Not on openSUSE. -%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_gamin 1 -BuildRequires: gamin-devel -%endif - -# PCRE support -BuildRequires: pcre-devel - -# for kbugbuster/libkcal -BuildRequires: desktop-file-utils - -# DB4 support -%if 0%{?mgaversion} || 0%{?mdkversion} -#BuildRequires: %{_lib}db4.8-devel -%endif -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: db4-devel -%endif -%if 0%{?suse_version} -BuildRequires: libdb-4_8-devel -%endif - -# kbabel, F-7+: flex >= 2.5.33-9 -BuildRequires: flex -# umbrello -BuildRequires: libxslt-devel -BuildRequires: libxml2-devel -BuildRequires: subversion-devel -BuildRequires: neon-devel - -# PERL support -BuildRequires: perl -%if 0%{?fedora} >= 19 -BuildRequires: perl-podlators -%endif - -# OPENSSL support -BuildRequires: openssl-devel - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}ltdl-devel -BuildRequires: %{_lib}binutils-devel -%endif -%if 0%{?fedora} >= 6 || 0%{?rhel} >= 5 || 0%{?suse_version} -BuildRequires: binutils-devel -%endif -%if 0%{?fedora} >= 6 || 0%{?rhel} >= 5 || 0%{?suse_version} >= 1220 -BuildRequires: libtool-ltdl-devel -%endif - -# KIOSLAVE -# Does not build on RHEL4 -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} -%define build_kioslave 1 -%endif - -Obsoletes: trinity-kdesdk < %{version}-%{release} -Provides: trinity-kdesdk = %{version}-%{release} -Obsoletes: trinity-kdesdk-libs < %{version}-%{release} -Provides: trinity-kdesdk-libs = %{version}-%{release} - -Requires: trinity-cervisia = %{version}-%{release} -Requires: trinity-kapptemplate = %{version}-%{release} -Requires: trinity-kbabel = %{version}-%{release} -Requires: trinity-kbugbuster = %{version}-%{release} -Requires: trinity-tdecachegrind = %{version}-%{release} -Requires: trinity-tdecachegrind-converters = %{version}-%{release} -Requires: %{name}-kfile-plugins = %{version}-%{release} -Requires: %{name}-misc = %{version}-%{release} -Requires: %{name}-scripts = %{version}-%{release} -Requires: trinity-kmtrace = %{version}-%{release} -Requires: trinity-kompare = %{version}-%{release} -Requires: trinity-kspy = %{version}-%{release} -Requires: trinity-kuiviewer = %{version}-%{release} -Requires: trinity-libcvsservice0 = %{version}-%{release} -Requires: trinity-poxml = %{version}-%{release} -Requires: trinity-umbrello = %{version}-%{release} -%{?build_kioslave:Requires: %{name}-tdeio-plugins = %{version}-%{release}} -Requires: trinity-tdeunittest = %{version}-%{release} - - -%description -A collection of applications and tools used by developers, including: -* cervisia: a CVS frontend -* kbabel: PO file management -* kbugbuster: a tool to manage the TDE bug report system -* tdecachegrind: a browser for data produced by profiling tools (e.g. cachegrind) -* kompare: diff tool -* kuiviewer: displays designer's UI files -* umbrello: UML modeller and UML diagram tool - -%files -%defattr(-,root,root,-) - -########## - -%package -n trinity-cervisia -Summary: A graphical CVS front end for Trinity -Group: Development/Tools/Version Control - -%description -n trinity-cervisia -Cervisia is a TDE-based graphical front end for the CVS client. - -As well as providing both common and advanced CVS operations, it offers -a variety of methods for graphically viewing information about the CVS -repository, your own sandbox and the relationships between different -versions of files. A Changelog editor is also included and is coupled -with the commit dialog. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-cervisia -%defattr(-,root,root,-) -%{tde_bindir}/cervisia -%{tde_libdir}/libtdeinit_cervisia.la -%{tde_libdir}/libtdeinit_cervisia.so -%{tde_tdelibdir}/cervisia.la -%{tde_tdelibdir}/cervisia.so -%{tde_tdelibdir}/libcervisiapart.la -%{tde_tdelibdir}/libcervisiapart.so -%{tde_tdeappdir}/cervisia.desktop -%{tde_datadir}/apps/cervisia/ -%{tde_datadir}/apps/cervisiapart/ -%{tde_datadir}/apps/tdeconf_update/cervisia.upd -%{tde_datadir}/apps/tdeconf_update/cervisia-change_repos_list.pl -%{tde_datadir}/apps/tdeconf_update/cervisia-normalize_cvsroot.pl -%{tde_datadir}/apps/tdeconf_update/move_repositories.pl -%{tde_datadir}/apps/tdeconf_update/change_colors.pl -%{tde_datadir}/config.kcfg/cervisiapart.kcfg -%{tde_datadir}/icons/hicolor/*/apps/cervisia.png -%{tde_datadir}/icons/crystalsvg/*/actions/vcs_*.png -%{tde_datadir}/icons/crystalsvg/scalable/actions/vcs_*.svgz -%{tde_mandir}/man1/cervisia.1* -%{tde_tdedocdir}/HTML/en/cervisia/ - -########## - -%package -n trinity-kapptemplate -Summary: Creates a framework to develop a Trinity application -Group: Development/Languages/Other - -%description -n trinity-kapptemplate -KAppTemplate is a shell script that will create the necessary -framework to develop various TDE applications. It takes care of the -autoconf/automake code as well as providing a skeleton and example of -what the code typically looks like. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-kapptemplate -%defattr(-,root,root,-) -%{tde_bindir}/kapptemplate -%{tde_datadir}/apps/kapptemplate/ - -%pre -n trinity-kapptemplate -if [ -d "%{tde_bindir}/kapptemplate" ]; then - rm -rf "%{tde_bindir}/kapptemplate" -fi - -########## - -%package -n trinity-kbabel -Summary: PO-file editing suite for Trinity -Group: Development/Languages/Other - -%description -n trinity-kbabel -This is a suite of programs for editing gettext message files (PO-files). -It is designed to help you translate fast and consistently. - -This suite includes KBabel, CatalogManager and KBabelDict. KBabel is an -advanced and easy to use PO-file editor with full navigational and editing -capabilities, syntax checking and statistics. CatalogManager is a multi -functional catalog manager which allows you to keep track of many -PO-files at once. KBabelDict is a dictionary to assist with searching -for common translations. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-kbabel -%defattr(-,root,root,-) -%{tde_bindir}/catalogmanager -%{tde_bindir}/kbabel -%{tde_bindir}/kbabeldict -%{tde_libdir}/libkbabelcommon.so.* -%{tde_libdir}/libkbabeldictplugin.so.* -%{tde_tdelibdir}/tdefile_po.la -%{tde_tdelibdir}/tdefile_po.so -%{tde_tdelibdir}/pothumbnail.la -%{tde_tdelibdir}/pothumbnail.so -%{tde_tdelibdir}/kbabel_accelstool.la -%{tde_tdelibdir}/kbabel_accelstool.so -%{tde_tdelibdir}/kbabel_argstool.la -%{tde_tdelibdir}/kbabel_argstool.so -%{tde_tdelibdir}/kbabel_contexttool.la -%{tde_tdelibdir}/kbabel_contexttool.so -%{tde_tdelibdir}/kbabel_equationstool.la -%{tde_tdelibdir}/kbabel_equationstool.so -%{tde_tdelibdir}/kbabel_gettextexport.la -%{tde_tdelibdir}/kbabel_gettextexport.so -%{tde_tdelibdir}/kbabel_gettextimport.la -%{tde_tdelibdir}/kbabel_gettextimport.so -%{tde_tdelibdir}/kbabel_lengthtool.la -%{tde_tdelibdir}/kbabel_lengthtool.so -%{tde_tdelibdir}/kbabel_linguistexport.la -%{tde_tdelibdir}/kbabel_linguistexport.so -%{tde_tdelibdir}/kbabel_linguistimport.la -%{tde_tdelibdir}/kbabel_linguistimport.so -%{tde_tdelibdir}/kbabel_nottranslatedtool.la -%{tde_tdelibdir}/kbabel_nottranslatedtool.so -%{tde_tdelibdir}/kbabel_pluraltool.la -%{tde_tdelibdir}/kbabel_pluraltool.so -%{tde_tdelibdir}/kbabel_punctuationtool.la -%{tde_tdelibdir}/kbabel_punctuationtool.so -%{tde_tdelibdir}/kbabel_regexptool.la -%{tde_tdelibdir}/kbabel_regexptool.so -%{tde_tdelibdir}/kbabel_setfuzzytool.la -%{tde_tdelibdir}/kbabel_setfuzzytool.so -%{tde_tdelibdir}/kbabel_whitespacetool.la -%{tde_tdelibdir}/kbabel_whitespacetool.so -%{tde_tdelibdir}/kbabel_xliffexport.la -%{tde_tdelibdir}/kbabel_xliffexport.so -%{tde_tdelibdir}/kbabel_xliffimport.la -%{tde_tdelibdir}/kbabel_xliffimport.so -%{tde_tdelibdir}/kbabel_xmltool.la -%{tde_tdelibdir}/kbabel_xmltool.so -%{tde_tdelibdir}/kbabeldict_dbsearchengine.la -%{tde_tdelibdir}/kbabeldict_dbsearchengine.so -%{tde_tdelibdir}/kbabeldict_poauxiliary.la -%{tde_tdelibdir}/kbabeldict_poauxiliary.so -%{tde_tdelibdir}/kbabeldict_pocompendium.la -%{tde_tdelibdir}/kbabeldict_pocompendium.so -%{tde_tdelibdir}/kbabeldict_tmxcompendium.la -%{tde_tdelibdir}/kbabeldict_tmxcompendium.so -%{tde_tdeappdir}/catalogmanager.desktop -%{tde_tdeappdir}/kbabel.desktop -%{tde_tdeappdir}/kbabeldict.desktop -%{tde_datadir}/apps/catalogmanager/ -%{tde_datadir}/apps/kbabel/ -%{tde_datadir}/apps/tdeconf_update/kbabel-difftoproject.upd -%{tde_datadir}/apps/tdeconf_update/kbabel-project.upd -%{tde_datadir}/apps/tdeconf_update/kbabel-projectrename.upd -%{tde_datadir}/config.kcfg/kbabel.kcfg -%{tde_datadir}/config.kcfg/kbprojectsettings.kcfg -%{tde_tdedocdir}/HTML/en/kbabel/ -%{tde_datadir}/icons/hicolor/*/apps/catalogmanager.png -%{tde_datadir}/icons/hicolor/*/apps/kbabel.png -%{tde_datadir}/icons/hicolor/*/apps/kbabeldict.png -%{tde_datadir}/icons/locolor/*/apps/catalogmanager.png -%{tde_datadir}/icons/locolor/*/apps/kbabel.png -%{tde_datadir}/icons/locolor/*/apps/kbabeldict.png -%{tde_datadir}/services/dbsearchengine.desktop -%{tde_datadir}/services/tdefile_po.desktop -%{tde_datadir}/services/pothumbnail.desktop -%{tde_datadir}/services/kbabel_accelstool.desktop -%{tde_datadir}/services/kbabel_argstool.desktop -%{tde_datadir}/services/kbabel_contexttool.desktop -%{tde_datadir}/services/kbabel_equationstool.desktop -%{tde_datadir}/services/kbabel_gettext_export.desktop -%{tde_datadir}/services/kbabel_gettext_import.desktop -%{tde_datadir}/services/kbabel_lengthtool.desktop -%{tde_datadir}/services/kbabel_linguist_export.desktop -%{tde_datadir}/services/kbabel_linguist_import.desktop -%{tde_datadir}/services/kbabel_nottranslatedtool.desktop -%{tde_datadir}/services/kbabel_pluralformstool.desktop -%{tde_datadir}/services/kbabel_punctuationtool.desktop -%{tde_datadir}/services/kbabel_regexptool.desktop -%{tde_datadir}/services/kbabel_setfuzzytool.desktop -%{tde_datadir}/services/kbabel_whitespacetool.desktop -%{tde_datadir}/services/kbabel_xliff_export.desktop -%{tde_datadir}/services/kbabel_xliff_import.desktop -%{tde_datadir}/services/kbabel_xmltool.desktop -%{tde_datadir}/services/pocompendium.desktop -%{tde_datadir}/services/poauxiliary.desktop -%{tde_datadir}/services/tmxcompendium.desktop -%{tde_datadir}/servicetypes/kbabel_tool.desktop -%{tde_datadir}/servicetypes/kbabel_validator.desktop -%{tde_datadir}/servicetypes/kbabeldict_module.desktop -%{tde_datadir}/servicetypes/kbabelfilter.desktop - -########## - -%package -n trinity-kbabel-devel -Summary: PO-file editing suite for Trinity (development files) -Group: Development/Libraries/Other -Requires: trinity-kbabel = %{version}-%{release} - -%description -n trinity-kbabel-devel -This is a suite of programs for editing gettext message files (PO-files). -It is designed to help you translate fast and consistently. - -This suite includes KBabel, CatalogManager and KBabelDict. KBabel is an -advanced and easy to use PO-file editor with full navigational and editing -capabilities, syntax checking and statistics. CatalogManager is a multi -functional catalog manager which allows you to keep track of many -PO-files at once. KBabelDict is a dictionary to assist with searching -for common translations. - -This package contains the KBabel development files. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-kbabel-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/kbabel/ -%{tde_libdir}/libkbabelcommon.la -%{tde_libdir}/libkbabelcommon.so -%{tde_libdir}/libkbabeldictplugin.la -%{tde_libdir}/libkbabeldictplugin.so - -########## - -%package -n trinity-kbugbuster -Summary: A front end for the Trinity bug tracking system -Group: Development/Languages/Other -Requires: trinity-libkcal >= %{tde_version} - -%description -n trinity-kbugbuster -KBugBuster is a GUI front end for the TDE bug tracking system. -It allows the user to view and manipulate bug reports and provides a -variety of options for searching through reports. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-kbugbuster -%defattr(-,root,root,-) -%{tde_bindir}/kbugbuster -%{tde_tdelibdir}/kcal_bugzilla.la -%{tde_tdelibdir}/kcal_bugzilla.so -%{tde_tdeappdir}/kbugbuster.desktop -%{tde_datadir}/apps/kbugbuster/ -%{tde_datadir}/icons/hicolor/*/apps/kbugbuster.png -%{tde_datadir}/icons/locolor/*/apps/kbugbuster.png -%{tde_datadir}/services/tderesources/kcal/bugzilla.desktop -%{tde_tdedocdir}/HTML/en/kbugbuster/ - -########## - -%package -n trinity-tdecachegrind -Summary: Visualisation tool for valgrind profiling output -Group: Development/Languages/Other - -%description -n trinity-tdecachegrind -tdecachegrind is a visualisation tool for the profiling data generated -by calltree, a profiling skin for valgrind. Applications can be -profiled using calltree without being recompiled, and shared libraries -and plugin architectures are supported. - -For visualising the output from other profiling tools, several converters -can be found in the tdecachegrind-converters package. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-tdecachegrind -%defattr(-,root,root,-) -%{tde_bindir}/tdecachegrind -%{tde_tdeappdir}/tdecachegrind.desktop -%{tde_datadir}/apps/tdecachegrind/ -%{tde_datadir}/icons/locolor/*/apps/tdecachegrind.png -%{tde_datadir}/icons/hicolor/*/apps/tdecachegrind.png -%{tde_datadir}/mimelnk/application/x-tdecachegrind.desktop -%{tde_tdedocdir}/HTML/en/tdecachegrind/ - -########## - -%package -n trinity-tdecachegrind-converters -Summary: Format converters for tdecachegrind profiling visualisation tool -Group: Development/Languages/Other -Requires: python -%if 0%{?suse_version} || 0%{?rhel} == 4 -Requires: php -%else -Requires: php-cli -%endif - -%description -n trinity-tdecachegrind-converters -This is a collection of scripts for converting the output from -different profiling tools into a format that tdecachegrind can use. - -tdecachegrind is a visualisation tool for the profiling data generated -by calltree, a profiling skin for valgrind. Applications can be -profiled using calltree without being recompiled, and shared libraries -and plugin architectures are supported. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-tdecachegrind-converters -%defattr(-,root,root,-) -%{tde_bindir}/dprof2calltree -%{tde_bindir}/hotshot2calltree -%{tde_bindir}/memprof2calltree -%{tde_bindir}/op2calltree -%{tde_bindir}/pprof2calltree - -########## - -%package kfile-plugins -Summary: Trinity file dialog plugins for software development files -Group: Development/Languages/Other - -%description kfile-plugins -This is a collection of plugins for the TDE file dialog. These plugins -extend the file dialog to offer advanced meta-information for source files, -patch files and Qt Linguist data. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files kfile-plugins -%defattr(-,root,root,-) -%{tde_tdelibdir}/tdefile_cpp.so -%{tde_tdelibdir}/tdefile_cpp.la -%{tde_tdelibdir}/tdefile_diff.so -%{tde_tdelibdir}/tdefile_diff.la -%{tde_tdelibdir}/tdefile_ts.so -%{tde_tdelibdir}/tdefile_ts.la -%{tde_datadir}/services/tdefile_cpp.desktop -%{tde_datadir}/services/tdefile_diff.desktop -%{tde_datadir}/services/tdefile_h.desktop -%{tde_datadir}/services/tdefile_ts.desktop - -########## - -%package misc -Summary: Various goodies from the Trinity Software Development Kit -Group: Development/Languages/Other - -%description misc -This package contains miscellaneous goodies provided with the official -TDE release to assist with TDE software development. - -Included are: -- headers to assist with profiling TDE code; -- a widget style for checking conformity with the TDE/Qt style guide; -- palettes that match the KDE standard colour palette; -- a TDE address book plugin that reads the list of TDE CVS accounts. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files misc -%defattr(-,root,root,-) -%{tde_tdelibdir}/tdeabcformat_kdeaccounts.la -%{tde_tdelibdir}/tdeabcformat_kdeaccounts.so -%{tde_tdelibdir}/plugins/styles/scheck.so -%{tde_tdelibdir}/plugins/styles/scheck.la -%{tde_datadir}/apps/tdeabc/formats/kdeaccountsplugin.desktop -%{tde_datadir}/apps/tdestyle/themes/scheck.themerc -%{tde_datadir}/kdepalettes/ - -%{tde_libdir}/libkstartperf.so.* -%{tde_libdir}/libkstartperf.la -%{tde_bindir}/kstartperf - -########## - -%package scripts -Summary: a set of useful development scripts for Trinity -Group: Development/Languages/Other -Requires: python - -%description scripts -This package contains a number of scripts which can be used to help in -developing TDE-based applications. Many of these scripts however are -not specific to TDE, and in particular there are several general-use -scripts to help users in working with SVN and CVS repositories. - -In addition to these scripts, this package provides: -- gdb macros for Qt/TDE programming; -- vim and emacs helper files for Qt/TDE programming; -- bash and zsh completion controls for TDE apps; -- valgrind error suppressions for TDE apps. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files scripts -%defattr(-,root,root,-) -%{tde_bindir}/adddebug -%{tde_bindir}/build-progress.sh -%{tde_bindir}/cheatmake -%{tde_bindir}/create_cvsignore -%{tde_bindir}/create_makefile -%{tde_bindir}/create_makefiles -%{tde_bindir}/cvs-clean -%{tde_bindir}/cvs2dist -%{tde_bindir}/cvsbackport -%{tde_bindir}/cvsblame -%{tde_bindir}/cvscheck -%{tde_bindir}/cvsforwardport -%{tde_bindir}/cvslastchange -%{tde_bindir}/cvslastlog -%{tde_bindir}/cvsrevertlast -%{tde_bindir}/cvsversion -%{tde_bindir}/cxxmetric -%{tde_bindir}/extend_dmalloc -%{tde_bindir}/extractattr -%{tde_bindir}/extractrc -%{tde_bindir}/findmissingcrystal -%{tde_bindir}/fixkdeincludes -%{tde_bindir}/fixuifiles -%{tde_bindir}/includemocs -%{tde_bindir}/kde-build -%{tde_bindir}/kdedoc -%{tde_bindir}/tdekillall -%{tde_bindir}/kdelnk2desktop.py* -%{tde_bindir}/kdemangen.pl -%{tde_bindir}/makeobj -%{tde_bindir}/noncvslist -%{tde_bindir}/package_crystalsvg -%{tde_bindir}/png2mng.pl -%{tde_bindir}/pruneemptydirs -%{tde_bindir}/qtdoc -%{tde_bindir}/zonetab2pot.py* -%{tde_bindir}/svn2dist -%{tde_bindir}/svnrevertlast -%{tde_bindir}/svnforwardport -%{tde_bindir}/nonsvnlist -%{tde_bindir}/tdesvn-build -%{tde_bindir}/svnlastlog -%{tde_bindir}/svnversions -%{tde_bindir}/create_svnignore -%{tde_bindir}/svnlastchange -%{tde_bindir}/colorsvn -%{tde_bindir}/svnaddcurrentdir -%{tde_bindir}/svnbackport -%{tde_bindir}/svngettags -%{tde_bindir}/svnchangesince -%{tde_bindir}/svn-clean -%{tde_datadir}/apps/katepart/syntax/tdesvn-buildrc.xml -%{tde_mandir}/man1/cvsblame.1 -%{tde_mandir}/man1/cvscheck.1 -%{tde_mandir}/man1/cvsversion.1 -%{tde_mandir}/man1/kde-build.1 -%{tde_mandir}/man1/includemocs.1 -%{tde_mandir}/man1/noncvslist.1 -%{tde_mandir}/man1/tdesvn-build.1 -%{tde_tdedocdir}/HTML/en/tdesvn-build/ -#scripts/kde-devel-gdb /opt/trinity/share/tdesdk-scripts -#scripts/kde-devel-vim.vim /opt/trinity/share/tdesdk-scripts -#scripts/kde-emacs/*.el /opt/trinity/share/emacs/site-lisp/tdesdk-scripts -#scripts/kde.supp /opt/trinity/lib/valgrind -#scripts/completions /opt/trinity/share/tdesdk-scripts - -#debian/desktop-i18n/createdesktop.pl /opt/trinity/lib/kubuntu-desktop-i18n/ -#debian/desktop-i18n/findfiles /opt/trinity/lib/kubuntu-desktop-i18n/ -#debian/desktop-i18n/msgsplit /opt/trinity/lib/kubuntu-desktop-i18n/ - -%if "%{?tde_prefix}" != "/usr" -%{tde_bindir}/licensecheck -%else -%exclude %{tde_bindir}/licensecheck -%endif - -########## - -%package -n trinity-kmtrace -Summary: A Trinity memory leak tracer -Group: Development/Languages/Other -Requires: less - -%description -n trinity-kmtrace -KMtrace is a TDE tool to assist with malloc debugging using glibc's -"mtrace" functionality. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-kmtrace -%defattr(-,root,root,-) -%{tde_bindir}/demangle -%{tde_bindir}/kminspector -%{tde_bindir}/kmmatch -%{tde_bindir}/kmtrace -%dir %{tde_libdir}/kmtrace -%{tde_libdir}/kmtrace/libktrace.la -%{tde_libdir}/kmtrace/libktrace.so -%{tde_datadir}/apps/kmtrace/ - -########## - -%package -n trinity-kompare -Summary: A Trinity GUI for viewing differences between files -Group: Development/Languages/Other - -%description -n trinity-kompare -Kompare is a graphical user interface for viewing the differences between -files. It can compare two documents, create a diff file, display a diff -file and/or blend a diff file back into the original documents. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-kompare -%defattr(-,root,root,-) -%{tde_bindir}/kompare -%{tde_libdir}/libkompareinterface.la -%{tde_libdir}/libkompareinterface.so.* -%{tde_tdelibdir}/libkomparenavtreepart.la -%{tde_tdelibdir}/libkomparenavtreepart.so -%{tde_tdelibdir}/libkomparepart.la -%{tde_tdelibdir}/libkomparepart.so -%{tde_tdeappdir}/kompare.desktop -%{tde_datadir}/apps/kompare/ -%{tde_datadir}/services/komparenavtreepart.desktop -%{tde_datadir}/services/komparepart.desktop -%{tde_datadir}/servicetypes/komparenavigationpart.desktop -%{tde_datadir}/servicetypes/kompareviewpart.desktop -%{tde_datadir}/icons/hicolor/*/apps/kompare.png -%{tde_datadir}/icons/hicolor/scalable/apps/kompare.svgz -%{tde_tdedocdir}/HTML/en/kompare/ - -########## - -%package -n trinity-kspy -Summary: Examines the internal state of a Qt/TDE app -Group: Development/Languages/Other -Requires: trinity-tdelibs-devel - -%description -n trinity-kspy -KSpy is a tiny library which can be used to graphically display -the QObjects in use by a Qt/TDE app. In addition to the object tree, -you can also view the properties, signals and slots of any QObject. - -Basically it provides much the same info as QObject::dumpObjectTree() and -QObject::dumpObjectInfo(), but in a much more convenient form. KSpy has -minimal overhead for the application, because the kspy library is -loaded dynamically using KLibLoader. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-kspy -%defattr(-,root,root,-) -%{tde_libdir}/libkspy.la -%{tde_libdir}/libkspy.so.* - -########## - -%package -n trinity-kuiviewer -Summary: Viewer for Qt Designer user interface files -Group: Development/Languages/Other - -%description -n trinity-kuiviewer -KUIViewer is a utility to display and test the user interface (.ui) files -generated by Qt Designer. The interfaces can be displayed in a variety of -different widget styles. - -The Qt Designer itself is in the package qt3-designer. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-kuiviewer -%defattr(-,root,root,-) -%{tde_bindir}/kuiviewer -%{tde_tdelibdir}/libkuiviewerpart.so -%{tde_tdelibdir}/libkuiviewerpart.la -%{tde_tdelibdir}/quithumbnail.so -%{tde_tdelibdir}/quithumbnail.la -%{tde_tdeappdir}/kuiviewer.desktop -%{tde_datadir}/apps/kuiviewer/ -%{tde_datadir}/apps/kuiviewerpart/ -%{tde_datadir}/icons/hicolor/*/apps/kuiviewer.png -%{tde_datadir}/icons/locolor/*/apps/kuiviewer.png -%{tde_datadir}/services/designerthumbnail.desktop -%{tde_datadir}/services/kuiviewer_part.desktop -%{tde_tdedocdir}/HTML/en/kuiviewer/ - -########## - -%package -n trinity-libcvsservice0 -Summary: DCOP service for accessing CVS repositories -Group: Development/Languages/Other -Requires: cvs - -%description -n trinity-libcvsservice0 -This library provides a DCOP service for accessing and working with -remote CVS repositories. Applications may link with this library to -access the DCOP service directly from C++. Alternatively, scripts may -access the service using the standard "dcop" command-line tool. - -DCOP is the Desktop Communication Protocol used throughout TDE. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-libcvsservice0 -%defattr(-,root,root,-) -%{tde_bindir}/cvsaskpass -%{tde_bindir}/cvsservice -%{tde_libdir}/libcvsservice.so.* -%{tde_libdir}/libtdeinit_cvsaskpass.so -%{tde_libdir}/libtdeinit_cvsservice.so -%{tde_tdelibdir}/cvsaskpass.la -%{tde_tdelibdir}/cvsaskpass.so -%{tde_tdelibdir}/cvsservice.la -%{tde_tdelibdir}/cvsservice.so -%{tde_datadir}/services/cvsservice.desktop - -########## - -%package -n trinity-libcvsservice-devel -Summary: Development files for CVS DCOP service -Group: Development/Libraries/Other -Requires: trinity-libcvsservice0 = %{version}-%{release} - -%description -n trinity-libcvsservice-devel -The library libcvsservice provides a DCOP service for accessing and -working with remote CVS repositories. Applications may link with this -library to access the DCOP service directly from C++. Alternatively, -scripts may access the service using the standard "dcop" command-line -tool. - -Development files for libcvsservice are included in this package. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-libcvsservice-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/cvsjob_stub.h -%{tde_tdeincludedir}/cvsservice_stub.h -%{tde_tdeincludedir}/repository_stub.h -%{tde_libdir}/libcvsservice.la -%{tde_libdir}/libcvsservice.so -%{tde_libdir}/libtdeinit_cvsaskpass.la -%{tde_libdir}/libtdeinit_cvsservice.la -%{tde_datadir}/cmake/cervisia.cmake - -########## - -%package -n trinity-poxml -Summary: Tools for using PO-files to translate DocBook XML files -Group: Development/Languages/Other - -%description -n trinity-poxml -This is a collection of tools that facilitate translating DocBook XML -files using gettext message files (PO-files). - -Also included are some miscellaneous command-line utilities for -manipulating DocBook XML files, PO-files and PO-template files. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-poxml -%defattr(-,root,root,-) -%{tde_bindir}/po2xml -%{tde_bindir}/split2po -%{tde_bindir}/swappo -%{tde_bindir}/transxx -%{tde_bindir}/xml2pot - -########## - -%package -n trinity-umbrello -Summary: UML modelling tool and code generator -Group: Development/Languages/Other - -%description -n trinity-umbrello -Umbrello UML Modeller is a Unified Modelling Language editor for TDE. -With UML you can create diagrams of software and other systems in an -industry standard format. Umbrello can also generate code from your -UML diagrams in a number of programming languages. - -The program supports class diagrams, sequence diagrams, collaboration -diagrams, use case diagrams, state diagrams, activity diagrams, component -diagrams and deployment diagrams. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-umbrello -%defattr(-,root,root,-) -%{tde_bindir}/umbodoc -%{tde_bindir}/umbrello -%{tde_tdeappdir}/umbrello.desktop -%{tde_datadir}/apps/umbrello/ -%{tde_datadir}/icons/crystalsvg/*/actions/umbrello_*.png -%{tde_datadir}/icons/crystalsvg/*/mimetypes/umbrellofile.png -%{tde_datadir}/icons/crystalsvg/scalable/mimetypes/umbrellofile.svgz -%{tde_datadir}/icons/hicolor/*/apps/umbrello.png -%{tde_datadir}/icons/hicolor/scalable/apps/umbrello.svgz -%{tde_datadir}/icons/hicolor/*/mimetypes/umbrellofile.png -%{tde_datadir}/mimelnk/application/x-umbrello.desktop -%{tde_tdedocdir}/HTML/en/umbrello/ - -########## - -%if 0%{?build_kioslave} - -%package tdeio-plugins -Summary: Subversion ioslave for Trinity -Group: Development/Languages/Other -Requires: subversion - -Obsoletes: trinity-tdesdk-kio-plugins < %{version}-%{release} -Provides: trinity-tdesdk-kio-plugins = %{version}-%{release} - -%description tdeio-plugins -This package provides easy access to remote SVN repositories from within -Konqueror, and TDE generally, by browsing them as if they were a -filesystem, using URLs like svn://hostname/path, or svn+ssh://, etc. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files tdeio-plugins -%defattr(-,root,root,-) -%{tde_bindir}/tdeio_svn_helper -%{tde_tdelibdir}/kded_ksvnd.la -%{tde_tdelibdir}/kded_ksvnd.so -%{tde_tdelibdir}/tdeio_svn.la -%{tde_tdelibdir}/tdeio_svn.so -%{tde_datadir}/apps/konqueror/servicemenus/subversion_toplevel.desktop -%{tde_datadir}/apps/konqueror/servicemenus/subversion.desktop -%{tde_datadir}/services/kded/ksvnd.desktop -%{tde_datadir}/services/svn+file.protocol_tdesdk -%{tde_datadir}/services/svn+http.protocol_tdesdk -%{tde_datadir}/services/svn+https.protocol_tdesdk -%{tde_datadir}/services/svn+ssh.protocol_tdesdk -%{tde_datadir}/services/svn.protocol_tdesdk -%{tde_datadir}/icons/crystalsvg/*/actions/svn_switch.png -%{tde_datadir}/icons/crystalsvg/*/actions/svn_merge.png -%{tde_datadir}/icons/crystalsvg/*/actions/svn_branch.png -%{tde_datadir}/icons/crystalsvg/*/actions/svn_remove.png -%{tde_datadir}/icons/crystalsvg/*/actions/svn_add.png -%{tde_datadir}/icons/crystalsvg/*/actions/svn_status.png -%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_add.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_status.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_remove.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_switch.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_branch.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_merge.svgz - -%post tdeio-plugins -for proto in svn+file svn+http svn+https svn+ssh svn; do - update-alternatives --install \ - %{tde_datadir}/services/${proto}.protocol \ - ${proto}.protocol \ - %{tde_datadir}/services/${proto}.protocol_tdesdk \ - 10 -done - -%preun tdeio-plugins -if [ $1 -eq 0 ]; then - for proto in svn+file svn+http svn+https svn+ssh svn; do - update-alternatives --remove \ - ${proto}.protocol \ - %{tde_datadir}/services/${proto}.protocol_tdesdk || : - done -fi - -%endif - -########## - -%package -n trinity-tdeunittest -Summary: Unit testing library for Trinity -Group: Development/Languages/Other - -Obsoletes: trinity-kunittest < %{version}-%{release} -Provides: trinity-kunittest = %{version}-%{release} - -%description -n trinity-tdeunittest -tdeunittest is a small library that facilitates the writing of tests for -TDE developers. There are two ways to use the tdeunittest library. One is -to create dynamically loadable modules and use the tdeunittestmodrunner or -tdeunittestguimodrunner programs to run the tests. The other is to use the -libraries to create your own testing application. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-tdeunittest -%defattr(-,root,root,-) -%{tde_bindir}/tdeunittest -%{tde_bindir}/tdeunittest_debughelper -%{tde_bindir}/tdeunittestmod -%{tde_bindir}/tdeunittestguimodrunner -%{tde_libdir}/libtdeunittestgui.la -%{tde_libdir}/libtdeunittestgui.so.* - -########## - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries/Other - -Requires: %{name} = %{version}-%{release} -Requires: trinity-kbabel-devel = %{version}-%{release} -Requires: %{name}-misc = %{version}-%{release} -Requires: trinity-kspy = %{version}-%{release} -Requires: trinity-kmtrace = %{version}-%{release} -Requires: trinity-tdeunittest = %{version}-%{release} -Requires: trinity-libcvsservice-devel = %{version}-%{release} -Requires: trinity-kompare = %{version}-%{release} - -Obsoletes: trinity-kdesdk-devel < %{version}-%{release} -Provides: trinity-kdesdk-devel = %{version}-%{release} - -%description devel -This package contains the development files for tdesdk. - -%files devel -%defattr(-,root,root,-) -# misc -%{tde_tdeincludedir}/kprofilemethod.h -%{tde_libdir}/libkstartperf.so -# kspy -%{tde_tdeincludedir}/kspy.h -%{tde_libdir}/libkspy.so -# kmtrace -%{tde_libdir}/kmtrace/libktrace_s.a -%{tde_tdeincludedir}/ktrace.h -# tdeunittest -%{tde_libdir}/libtdeunittestgui.so -%{tde_tdeincludedir}/tdeunittest/runnergui.h -# kompare -%{tde_libdir}/libkompareinterface.so - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} - -%if 0%{?fedora} >= 30 -# Fix shebangs -sed -i "scripts/kdelnk2desktop.py" \ - "scripts/zonetab2pot.py" \ - "tdecachegrind/converters/hotshot2calltree" \ - "umbrello/umbrello/headings/heading.py" \ - -e "s|env python|env python3|" -%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 - -# FIXME PCLinuxOS: '/usr/bin/ld: cannot find -ltdeabc' -%if 0%{?pclinuxos} -export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -L%{tde_libdir}" -%endif - -%cmake \ - -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ - -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_NO_BUILTIN_CHRPATH=ON \ - -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} \ - -DMAN_INSTALL_DIR=%{tde_mandir} \ - -DPKGCONFIG_INSTALL_DIR=%{tde_tdelibdir}/pkgconfig \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - \ - -DWITH_DBSEARCHENGINE=ON \ - -DWITH_KCAL=ON \ - -DBUILD_ALL=ON \ - %{!?build_kioslave:-DBUILD_KIOSLAVE=OFF} \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} - -%__make install DESTDIR=%{?buildroot} -C build - - -# Installs kdepalettes -%__install -D -m 644 kdepalettes/kde_xpaintrc %{?buildroot}%{tde_datadir}/kdepalettes/kde_xpaintrc -%__install -D -m 644 kdepalettes/KDE_Gimp %{?buildroot}%{tde_datadir}/kdepalettes/KDE_Gimp -%__install -D -m 644 kdepalettes/README %{?buildroot}%{tde_datadir}/kdepalettes/README - -# Installs SVN protocols as alternatives -%if 0%{?build_kioslave} -%__mv -f %{?buildroot}%{tde_datadir}/services/svn+file.protocol %{?buildroot}%{tde_datadir}/services/svn+file.protocol_tdesdk -%__mv -f %{?buildroot}%{tde_datadir}/services/svn+http.protocol %{?buildroot}%{tde_datadir}/services/svn+http.protocol_tdesdk -%__mv -f %{?buildroot}%{tde_datadir}/services/svn+https.protocol %{?buildroot}%{tde_datadir}/services/svn+https.protocol_tdesdk -%__mv -f %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol_tdesdk -%__mv -f %{?buildroot}%{tde_datadir}/services/svn.protocol %{?buildroot}%{tde_datadir}/services/svn.protocol_tdesdk -%endif - -# Removes useless stuff -%__rm -f %{?buildroot}%{tde_datadir}/apps/kapptemplate/admin/debianrules - -# Fix permissions -chmod 644 %{?buildroot}%{tde_datadir}/apps/kapptemplate/admin/Doxyfile.global - -# Make kapptemplate archive -pushd %{?buildroot}%{tde_datadir}/apps/kapptemplate -mkdir kapptemplate -mv admin appframework bin existing include kapp kpartapp kpartplugin kapptemplate/ -tar cfz kapptemplate.tar.gz kapptemplate -rm -rf kapptemplate -popd - -# Updates applications categories for openSUSE -%if 0%{?suse_version} -%suse_update_desktop_file kuiviewer Development GUIDesigner -%suse_update_desktop_file umbrello Development Design -%suse_update_desktop_file kbugbuster Development Debugger -%suse_update_desktop_file -u catalogmanager Development Translation -%suse_update_desktop_file kbabel Development Translation -%suse_update_desktop_file -u kbabeldict Development Translation -%suse_update_desktop_file cervisia Development RevisionControl -%suse_update_desktop_file kompare Development RevisionControl -%suse_update_desktop_file tdecachegrind Development Profiling -%endif - -# Links duplicate files -%fdupes "%{?buildroot}%{tde_datadir}" - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/main/tdesdk/tdesdk.spec b/redhat/main/tdesdk/tdesdk.spec new file mode 100644 index 000000000..91ba8f601 --- /dev/null +++ b/redhat/main/tdesdk/tdesdk.spec @@ -0,0 +1,1130 @@ +# +# spec file for package tdesdk (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/ +# + +# BUILD WARNING: +# Remove qt-devel and qt3-devel and any kde*-devel on your system ! +# Having KDE libraries may cause FTBFS here ! + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.0.7 +%endif +%define tde_pkg tdesdk +%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} +Summary: The Trinity Software Development Kit (SDK) +Group: Development/Tools/Other +Version: %{tde_version} +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +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}-%{version}%{?preversion:~%{preversion}}.tar.gz +Source1: %{name}-rpmlintrc + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-perl-dcop >= %{tde_version} +BuildRequires: trinity-tdepim-devel >= %{tde_version} + +BuildRequires: cmake >= 2.8 +BuildRequires: gcc-c++ +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 + +# ACL support +BuildRequires: libacl-devel + +# IDN support +BuildRequires: libidn-devel + +# GAMIN support +# Not on openSUSE. +%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_gamin 1 +BuildRequires: gamin-devel +%endif + +# PCRE support +BuildRequires: pcre-devel + +# for kbugbuster/libkcal +BuildRequires: desktop-file-utils + +# DB5 support +%if 0%{?rhel} >= 8 +BuildRequires: libdb-devel + +# DB4 support +%else +%if 0%{?mgaversion} || 0%{?mdkversion} +#BuildRequires: %{_lib}db4.8-devel +%endif +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: db4-devel +%endif +%if 0%{?suse_version} +BuildRequires: libdb-4_8-devel +%endif +%endif + +# kbabel, F-7+: flex >= 2.5.33-9 +BuildRequires: flex +# umbrello +BuildRequires: libxslt-devel +BuildRequires: libxml2-devel +BuildRequires: subversion-devel +BuildRequires: neon-devel + +# PERL support +BuildRequires: perl +%if 0%{?fedora} >= 19 +BuildRequires: perl-podlators +%endif + +# OPENSSL support +BuildRequires: openssl-devel + +# PYTHON support +%if 0%{?rhel} >= 8 || 0%{?fedora} >= 30 +%define python python3 +%else +%define python python +%endif + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}ltdl-devel +BuildRequires: %{_lib}binutils-devel +%endif +%if 0%{?fedora} >= 6 || 0%{?rhel} >= 5 || 0%{?suse_version} +BuildRequires: binutils-devel +%endif +%if 0%{?fedora} >= 6 || 0%{?rhel} >= 5 || 0%{?suse_version} >= 1220 +BuildRequires: libtool-ltdl-devel +%endif + +# KIOSLAVE +# Does not build on RHEL4 +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} +%define build_kioslave 1 +%endif + +Obsoletes: trinity-kdesdk < %{version}-%{release} +Provides: trinity-kdesdk = %{version}-%{release} +Obsoletes: trinity-kdesdk-libs < %{version}-%{release} +Provides: trinity-kdesdk-libs = %{version}-%{release} + +Requires: trinity-cervisia = %{version}-%{release} +Requires: trinity-kapptemplate = %{version}-%{release} +Requires: trinity-kbabel = %{version}-%{release} +Requires: trinity-kbugbuster = %{version}-%{release} +Requires: trinity-tdecachegrind = %{version}-%{release} +Requires: trinity-tdecachegrind-converters = %{version}-%{release} +Requires: %{name}-kfile-plugins = %{version}-%{release} +Requires: %{name}-misc = %{version}-%{release} +Requires: %{name}-scripts = %{version}-%{release} +Requires: trinity-kmtrace = %{version}-%{release} +Requires: trinity-kompare = %{version}-%{release} +Requires: trinity-kspy = %{version}-%{release} +Requires: trinity-kuiviewer = %{version}-%{release} +Requires: trinity-libcvsservice0 = %{version}-%{release} +Requires: trinity-poxml = %{version}-%{release} +Requires: trinity-umbrello = %{version}-%{release} +%{?build_kioslave:Requires: %{name}-tdeio-plugins = %{version}-%{release}} +Requires: trinity-tdeunittest = %{version}-%{release} + + +%description +A collection of applications and tools used by developers, including: +* cervisia: a CVS frontend +* kbabel: PO file management +* kbugbuster: a tool to manage the TDE bug report system +* tdecachegrind: a browser for data produced by profiling tools (e.g. cachegrind) +* kompare: diff tool +* kuiviewer: displays designer's UI files +* umbrello: UML modeller and UML diagram tool + +%files +%defattr(-,root,root,-) + +########## + +%package -n trinity-cervisia +Summary: A graphical CVS front end for Trinity +Group: Development/Tools/Version Control + +%description -n trinity-cervisia +Cervisia is a TDE-based graphical front end for the CVS client. + +As well as providing both common and advanced CVS operations, it offers +a variety of methods for graphically viewing information about the CVS +repository, your own sandbox and the relationships between different +versions of files. A Changelog editor is also included and is coupled +with the commit dialog. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-cervisia +%defattr(-,root,root,-) +%{tde_bindir}/cervisia +%{tde_libdir}/libtdeinit_cervisia.la +%{tde_libdir}/libtdeinit_cervisia.so +%{tde_tdelibdir}/cervisia.la +%{tde_tdelibdir}/cervisia.so +%{tde_tdelibdir}/libcervisiapart.la +%{tde_tdelibdir}/libcervisiapart.so +%{tde_tdeappdir}/cervisia.desktop +%{tde_datadir}/apps/cervisia/ +%{tde_datadir}/apps/cervisiapart/ +%{tde_datadir}/apps/tdeconf_update/cervisia.upd +%{tde_datadir}/apps/tdeconf_update/cervisia-change_repos_list.pl +%{tde_datadir}/apps/tdeconf_update/cervisia-normalize_cvsroot.pl +%{tde_datadir}/apps/tdeconf_update/move_repositories.pl +%{tde_datadir}/apps/tdeconf_update/change_colors.pl +%{tde_datadir}/config.kcfg/cervisiapart.kcfg +%{tde_datadir}/icons/hicolor/*/apps/cervisia.png +%{tde_datadir}/icons/crystalsvg/*/actions/vcs_*.png +%{tde_datadir}/icons/crystalsvg/scalable/actions/vcs_*.svgz +%{tde_mandir}/man1/cervisia.1* +%{tde_tdedocdir}/HTML/en/cervisia/ + +########## + +%package -n trinity-kapptemplate +Summary: Creates a framework to develop a Trinity application +Group: Development/Languages/Other + +%description -n trinity-kapptemplate +KAppTemplate is a shell script that will create the necessary +framework to develop various TDE applications. It takes care of the +autoconf/automake code as well as providing a skeleton and example of +what the code typically looks like. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-kapptemplate +%defattr(-,root,root,-) +%{tde_bindir}/kapptemplate +%{tde_datadir}/apps/kapptemplate/ + +%pre -n trinity-kapptemplate +if [ -d "%{tde_bindir}/kapptemplate" ]; then + rm -rf "%{tde_bindir}/kapptemplate" +fi + +########## + +%package -n trinity-kbabel +Summary: PO-file editing suite for Trinity +Group: Development/Languages/Other + +%description -n trinity-kbabel +This is a suite of programs for editing gettext message files (PO-files). +It is designed to help you translate fast and consistently. + +This suite includes KBabel, CatalogManager and KBabelDict. KBabel is an +advanced and easy to use PO-file editor with full navigational and editing +capabilities, syntax checking and statistics. CatalogManager is a multi +functional catalog manager which allows you to keep track of many +PO-files at once. KBabelDict is a dictionary to assist with searching +for common translations. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-kbabel +%defattr(-,root,root,-) +%{tde_bindir}/catalogmanager +%{tde_bindir}/kbabel +%{tde_bindir}/kbabeldict +%{tde_libdir}/libkbabelcommon.so.* +%{tde_libdir}/libkbabeldictplugin.so.* +%{tde_tdelibdir}/tdefile_po.la +%{tde_tdelibdir}/tdefile_po.so +%{tde_tdelibdir}/pothumbnail.la +%{tde_tdelibdir}/pothumbnail.so +%{tde_tdelibdir}/kbabel_accelstool.la +%{tde_tdelibdir}/kbabel_accelstool.so +%{tde_tdelibdir}/kbabel_argstool.la +%{tde_tdelibdir}/kbabel_argstool.so +%{tde_tdelibdir}/kbabel_contexttool.la +%{tde_tdelibdir}/kbabel_contexttool.so +%{tde_tdelibdir}/kbabel_equationstool.la +%{tde_tdelibdir}/kbabel_equationstool.so +%{tde_tdelibdir}/kbabel_gettextexport.la +%{tde_tdelibdir}/kbabel_gettextexport.so +%{tde_tdelibdir}/kbabel_gettextimport.la +%{tde_tdelibdir}/kbabel_gettextimport.so +%{tde_tdelibdir}/kbabel_lengthtool.la +%{tde_tdelibdir}/kbabel_lengthtool.so +%{tde_tdelibdir}/kbabel_linguistexport.la +%{tde_tdelibdir}/kbabel_linguistexport.so +%{tde_tdelibdir}/kbabel_linguistimport.la +%{tde_tdelibdir}/kbabel_linguistimport.so +%{tde_tdelibdir}/kbabel_nottranslatedtool.la +%{tde_tdelibdir}/kbabel_nottranslatedtool.so +%{tde_tdelibdir}/kbabel_pluraltool.la +%{tde_tdelibdir}/kbabel_pluraltool.so +%{tde_tdelibdir}/kbabel_punctuationtool.la +%{tde_tdelibdir}/kbabel_punctuationtool.so +%{tde_tdelibdir}/kbabel_regexptool.la +%{tde_tdelibdir}/kbabel_regexptool.so +%{tde_tdelibdir}/kbabel_setfuzzytool.la +%{tde_tdelibdir}/kbabel_setfuzzytool.so +%{tde_tdelibdir}/kbabel_whitespacetool.la +%{tde_tdelibdir}/kbabel_whitespacetool.so +%{tde_tdelibdir}/kbabel_xliffexport.la +%{tde_tdelibdir}/kbabel_xliffexport.so +%{tde_tdelibdir}/kbabel_xliffimport.la +%{tde_tdelibdir}/kbabel_xliffimport.so +%{tde_tdelibdir}/kbabel_xmltool.la +%{tde_tdelibdir}/kbabel_xmltool.so +%{tde_tdelibdir}/kbabeldict_dbsearchengine.la +%{tde_tdelibdir}/kbabeldict_dbsearchengine.so +%{tde_tdelibdir}/kbabeldict_poauxiliary.la +%{tde_tdelibdir}/kbabeldict_poauxiliary.so +%{tde_tdelibdir}/kbabeldict_pocompendium.la +%{tde_tdelibdir}/kbabeldict_pocompendium.so +%{tde_tdelibdir}/kbabeldict_tmxcompendium.la +%{tde_tdelibdir}/kbabeldict_tmxcompendium.so +%{tde_tdeappdir}/catalogmanager.desktop +%{tde_tdeappdir}/kbabel.desktop +%{tde_tdeappdir}/kbabeldict.desktop +%{tde_datadir}/apps/catalogmanager/ +%{tde_datadir}/apps/kbabel/ +%{tde_datadir}/apps/tdeconf_update/kbabel-difftoproject.upd +%{tde_datadir}/apps/tdeconf_update/kbabel-project.upd +%{tde_datadir}/apps/tdeconf_update/kbabel-projectrename.upd +%{tde_datadir}/config.kcfg/kbabel.kcfg +%{tde_datadir}/config.kcfg/kbprojectsettings.kcfg +%{tde_tdedocdir}/HTML/en/kbabel/ +%{tde_datadir}/icons/hicolor/*/apps/catalogmanager.png +%{tde_datadir}/icons/hicolor/*/apps/kbabel.png +%{tde_datadir}/icons/hicolor/*/apps/kbabeldict.png +%{tde_datadir}/icons/locolor/*/apps/catalogmanager.png +%{tde_datadir}/icons/locolor/*/apps/kbabel.png +%{tde_datadir}/icons/locolor/*/apps/kbabeldict.png +%{tde_datadir}/services/dbsearchengine.desktop +%{tde_datadir}/services/tdefile_po.desktop +%{tde_datadir}/services/pothumbnail.desktop +%{tde_datadir}/services/kbabel_accelstool.desktop +%{tde_datadir}/services/kbabel_argstool.desktop +%{tde_datadir}/services/kbabel_contexttool.desktop +%{tde_datadir}/services/kbabel_equationstool.desktop +%{tde_datadir}/services/kbabel_gettext_export.desktop +%{tde_datadir}/services/kbabel_gettext_import.desktop +%{tde_datadir}/services/kbabel_lengthtool.desktop +%{tde_datadir}/services/kbabel_linguist_export.desktop +%{tde_datadir}/services/kbabel_linguist_import.desktop +%{tde_datadir}/services/kbabel_nottranslatedtool.desktop +%{tde_datadir}/services/kbabel_pluralformstool.desktop +%{tde_datadir}/services/kbabel_punctuationtool.desktop +%{tde_datadir}/services/kbabel_regexptool.desktop +%{tde_datadir}/services/kbabel_setfuzzytool.desktop +%{tde_datadir}/services/kbabel_whitespacetool.desktop +%{tde_datadir}/services/kbabel_xliff_export.desktop +%{tde_datadir}/services/kbabel_xliff_import.desktop +%{tde_datadir}/services/kbabel_xmltool.desktop +%{tde_datadir}/services/pocompendium.desktop +%{tde_datadir}/services/poauxiliary.desktop +%{tde_datadir}/services/tmxcompendium.desktop +%{tde_datadir}/servicetypes/kbabel_tool.desktop +%{tde_datadir}/servicetypes/kbabel_validator.desktop +%{tde_datadir}/servicetypes/kbabeldict_module.desktop +%{tde_datadir}/servicetypes/kbabelfilter.desktop + +########## + +%package -n trinity-kbabel-devel +Summary: PO-file editing suite for Trinity (development files) +Group: Development/Libraries/Other +Requires: trinity-kbabel = %{version}-%{release} + +%description -n trinity-kbabel-devel +This is a suite of programs for editing gettext message files (PO-files). +It is designed to help you translate fast and consistently. + +This suite includes KBabel, CatalogManager and KBabelDict. KBabel is an +advanced and easy to use PO-file editor with full navigational and editing +capabilities, syntax checking and statistics. CatalogManager is a multi +functional catalog manager which allows you to keep track of many +PO-files at once. KBabelDict is a dictionary to assist with searching +for common translations. + +This package contains the KBabel development files. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-kbabel-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/kbabel/ +%{tde_libdir}/libkbabelcommon.la +%{tde_libdir}/libkbabelcommon.so +%{tde_libdir}/libkbabeldictplugin.la +%{tde_libdir}/libkbabeldictplugin.so + +########## + +%package -n trinity-kbugbuster +Summary: A front end for the Trinity bug tracking system +Group: Development/Languages/Other +Requires: trinity-libkcal >= %{tde_version} + +%description -n trinity-kbugbuster +KBugBuster is a GUI front end for the TDE bug tracking system. +It allows the user to view and manipulate bug reports and provides a +variety of options for searching through reports. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-kbugbuster +%defattr(-,root,root,-) +%{tde_bindir}/kbugbuster +%{tde_tdelibdir}/kcal_bugzilla.la +%{tde_tdelibdir}/kcal_bugzilla.so +%{tde_tdeappdir}/kbugbuster.desktop +%{tde_datadir}/apps/kbugbuster/ +%{tde_datadir}/icons/hicolor/*/apps/kbugbuster.png +%{tde_datadir}/icons/locolor/*/apps/kbugbuster.png +%{tde_datadir}/services/tderesources/kcal/bugzilla.desktop +%{tde_tdedocdir}/HTML/en/kbugbuster/ + +########## + +%package -n trinity-tdecachegrind +Summary: Visualisation tool for valgrind profiling output +Group: Development/Languages/Other + +%description -n trinity-tdecachegrind +tdecachegrind is a visualisation tool for the profiling data generated +by calltree, a profiling skin for valgrind. Applications can be +profiled using calltree without being recompiled, and shared libraries +and plugin architectures are supported. + +For visualising the output from other profiling tools, several converters +can be found in the tdecachegrind-converters package. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-tdecachegrind +%defattr(-,root,root,-) +%{tde_bindir}/tdecachegrind +%{tde_tdeappdir}/tdecachegrind.desktop +%{tde_datadir}/apps/tdecachegrind/ +%{tde_datadir}/icons/locolor/*/apps/tdecachegrind.png +%{tde_datadir}/icons/hicolor/*/apps/tdecachegrind.png +%{tde_datadir}/mimelnk/application/x-tdecachegrind.desktop +%{tde_tdedocdir}/HTML/en/tdecachegrind/ + +########## + +%package -n trinity-tdecachegrind-converters +Summary: Format converters for tdecachegrind profiling visualisation tool +Group: Development/Languages/Other +Requires: %{python} +%if 0%{?suse_version} || 0%{?rhel} == 4 +Requires: php +%else +Requires: php-cli +%endif + +%description -n trinity-tdecachegrind-converters +This is a collection of scripts for converting the output from +different profiling tools into a format that tdecachegrind can use. + +tdecachegrind is a visualisation tool for the profiling data generated +by calltree, a profiling skin for valgrind. Applications can be +profiled using calltree without being recompiled, and shared libraries +and plugin architectures are supported. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-tdecachegrind-converters +%defattr(-,root,root,-) +%{tde_bindir}/dprof2calltree +%{tde_bindir}/hotshot2calltree +%{tde_bindir}/memprof2calltree +%{tde_bindir}/op2calltree +%{tde_bindir}/pprof2calltree + +########## + +%package kfile-plugins +Summary: Trinity file dialog plugins for software development files +Group: Development/Languages/Other + +%description kfile-plugins +This is a collection of plugins for the TDE file dialog. These plugins +extend the file dialog to offer advanced meta-information for source files, +patch files and Qt Linguist data. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files kfile-plugins +%defattr(-,root,root,-) +%{tde_tdelibdir}/tdefile_cpp.so +%{tde_tdelibdir}/tdefile_cpp.la +%{tde_tdelibdir}/tdefile_diff.so +%{tde_tdelibdir}/tdefile_diff.la +%{tde_tdelibdir}/tdefile_ts.so +%{tde_tdelibdir}/tdefile_ts.la +%{tde_datadir}/services/tdefile_cpp.desktop +%{tde_datadir}/services/tdefile_diff.desktop +%{tde_datadir}/services/tdefile_h.desktop +%{tde_datadir}/services/tdefile_ts.desktop + +########## + +%package misc +Summary: Various goodies from the Trinity Software Development Kit +Group: Development/Languages/Other + +%description misc +This package contains miscellaneous goodies provided with the official +TDE release to assist with TDE software development. + +Included are: +- headers to assist with profiling TDE code; +- a widget style for checking conformity with the TDE/Qt style guide; +- palettes that match the KDE standard colour palette; +- a TDE address book plugin that reads the list of TDE CVS accounts. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files misc +%defattr(-,root,root,-) +%{tde_tdelibdir}/tdeabcformat_kdeaccounts.la +%{tde_tdelibdir}/tdeabcformat_kdeaccounts.so +%{tde_tdelibdir}/plugins/styles/scheck.so +%{tde_tdelibdir}/plugins/styles/scheck.la +%{tde_datadir}/apps/tdeabc/formats/kdeaccountsplugin.desktop +%{tde_datadir}/apps/tdestyle/themes/scheck.themerc +%{tde_datadir}/kdepalettes/ + +%{tde_libdir}/libkstartperf.so.* +%{tde_libdir}/libkstartperf.la +%{tde_bindir}/kstartperf + +########## + +%package scripts +Summary: a set of useful development scripts for Trinity +Group: Development/Languages/Other +Requires: %{python} + +%description scripts +This package contains a number of scripts which can be used to help in +developing TDE-based applications. Many of these scripts however are +not specific to TDE, and in particular there are several general-use +scripts to help users in working with SVN and CVS repositories. + +In addition to these scripts, this package provides: +- gdb macros for Qt/TDE programming; +- vim and emacs helper files for Qt/TDE programming; +- bash and zsh completion controls for TDE apps; +- valgrind error suppressions for TDE apps. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files scripts +%defattr(-,root,root,-) +%{tde_bindir}/adddebug +%{tde_bindir}/build-progress.sh +%{tde_bindir}/cheatmake +%{tde_bindir}/create_cvsignore +%{tde_bindir}/create_makefile +%{tde_bindir}/create_makefiles +%{tde_bindir}/cvs-clean +%{tde_bindir}/cvs2dist +%{tde_bindir}/cvsbackport +%{tde_bindir}/cvsblame +%{tde_bindir}/cvscheck +%{tde_bindir}/cvsforwardport +%{tde_bindir}/cvslastchange +%{tde_bindir}/cvslastlog +%{tde_bindir}/cvsrevertlast +%{tde_bindir}/cvsversion +%{tde_bindir}/cxxmetric +%{tde_bindir}/extend_dmalloc +%{tde_bindir}/extractattr +%{tde_bindir}/extractrc +%{tde_bindir}/findmissingcrystal +%{tde_bindir}/fixkdeincludes +%{tde_bindir}/fixuifiles +%{tde_bindir}/includemocs +%{tde_bindir}/kde-build +%{tde_bindir}/kdedoc +%{tde_bindir}/tdekillall +%{tde_bindir}/kdelnk2desktop.py* +%{tde_bindir}/kdemangen.pl +%{tde_bindir}/makeobj +%{tde_bindir}/noncvslist +%{tde_bindir}/package_crystalsvg +%{tde_bindir}/png2mng.pl +%{tde_bindir}/pruneemptydirs +%{tde_bindir}/qtdoc +%{tde_bindir}/zonetab2pot.py* +%{tde_bindir}/svn2dist +%{tde_bindir}/svnrevertlast +%{tde_bindir}/svnforwardport +%{tde_bindir}/nonsvnlist +%{tde_bindir}/tdesvn-build +%{tde_bindir}/svnlastlog +%{tde_bindir}/svnversions +%{tde_bindir}/create_svnignore +%{tde_bindir}/svnlastchange +%{tde_bindir}/colorsvn +%{tde_bindir}/svnaddcurrentdir +%{tde_bindir}/svnbackport +%{tde_bindir}/svngettags +%{tde_bindir}/svnchangesince +%{tde_bindir}/svn-clean +%{tde_datadir}/apps/katepart/syntax/tdesvn-buildrc.xml +%{tde_mandir}/man1/cvsblame.1 +%{tde_mandir}/man1/cvscheck.1 +%{tde_mandir}/man1/cvsversion.1 +%{tde_mandir}/man1/kde-build.1 +%{tde_mandir}/man1/includemocs.1 +%{tde_mandir}/man1/noncvslist.1 +%{tde_mandir}/man1/tdesvn-build.1 +%{tde_tdedocdir}/HTML/en/tdesvn-build/ +#scripts/kde-devel-gdb /opt/trinity/share/tdesdk-scripts +#scripts/kde-devel-vim.vim /opt/trinity/share/tdesdk-scripts +#scripts/kde-emacs/*.el /opt/trinity/share/emacs/site-lisp/tdesdk-scripts +#scripts/kde.supp /opt/trinity/lib/valgrind +#scripts/completions /opt/trinity/share/tdesdk-scripts + +#debian/desktop-i18n/createdesktop.pl /opt/trinity/lib/kubuntu-desktop-i18n/ +#debian/desktop-i18n/findfiles /opt/trinity/lib/kubuntu-desktop-i18n/ +#debian/desktop-i18n/msgsplit /opt/trinity/lib/kubuntu-desktop-i18n/ + +%if "%{?tde_prefix}" != "/usr" +%{tde_bindir}/licensecheck +%else +%exclude %{tde_bindir}/licensecheck +%endif + +########## + +%package -n trinity-kmtrace +Summary: A Trinity memory leak tracer +Group: Development/Languages/Other +Requires: less + +%description -n trinity-kmtrace +KMtrace is a TDE tool to assist with malloc debugging using glibc's +"mtrace" functionality. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-kmtrace +%defattr(-,root,root,-) +%{tde_bindir}/demangle +%{tde_bindir}/kminspector +%{tde_bindir}/kmmatch +%{tde_bindir}/kmtrace +%dir %{tde_libdir}/kmtrace +%{tde_libdir}/kmtrace/libktrace.la +%{tde_libdir}/kmtrace/libktrace.so +%{tde_datadir}/apps/kmtrace/ + +########## + +%package -n trinity-kompare +Summary: A Trinity GUI for viewing differences between files +Group: Development/Languages/Other + +%description -n trinity-kompare +Kompare is a graphical user interface for viewing the differences between +files. It can compare two documents, create a diff file, display a diff +file and/or blend a diff file back into the original documents. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-kompare +%defattr(-,root,root,-) +%{tde_bindir}/kompare +%{tde_libdir}/libkompareinterface.la +%{tde_libdir}/libkompareinterface.so.* +%{tde_tdelibdir}/libkomparenavtreepart.la +%{tde_tdelibdir}/libkomparenavtreepart.so +%{tde_tdelibdir}/libkomparepart.la +%{tde_tdelibdir}/libkomparepart.so +%{tde_tdeappdir}/kompare.desktop +%{tde_datadir}/apps/kompare/ +%{tde_datadir}/services/komparenavtreepart.desktop +%{tde_datadir}/services/komparepart.desktop +%{tde_datadir}/servicetypes/komparenavigationpart.desktop +%{tde_datadir}/servicetypes/kompareviewpart.desktop +%{tde_datadir}/icons/hicolor/*/apps/kompare.png +%{tde_datadir}/icons/hicolor/scalable/apps/kompare.svgz +%{tde_tdedocdir}/HTML/en/kompare/ + +########## + +%package -n trinity-kspy +Summary: Examines the internal state of a Qt/TDE app +Group: Development/Languages/Other +Requires: trinity-tdelibs-devel + +%description -n trinity-kspy +KSpy is a tiny library which can be used to graphically display +the QObjects in use by a Qt/TDE app. In addition to the object tree, +you can also view the properties, signals and slots of any QObject. + +Basically it provides much the same info as QObject::dumpObjectTree() and +QObject::dumpObjectInfo(), but in a much more convenient form. KSpy has +minimal overhead for the application, because the kspy library is +loaded dynamically using KLibLoader. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-kspy +%defattr(-,root,root,-) +%{tde_libdir}/libkspy.la +%{tde_libdir}/libkspy.so.* + +########## + +%package -n trinity-kuiviewer +Summary: Viewer for Qt Designer user interface files +Group: Development/Languages/Other + +%description -n trinity-kuiviewer +KUIViewer is a utility to display and test the user interface (.ui) files +generated by Qt Designer. The interfaces can be displayed in a variety of +different widget styles. + +The Qt Designer itself is in the package qt3-designer. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-kuiviewer +%defattr(-,root,root,-) +%{tde_bindir}/kuiviewer +%{tde_tdelibdir}/libkuiviewerpart.so +%{tde_tdelibdir}/libkuiviewerpart.la +%{tde_tdelibdir}/quithumbnail.so +%{tde_tdelibdir}/quithumbnail.la +%{tde_tdeappdir}/kuiviewer.desktop +%{tde_datadir}/apps/kuiviewer/ +%{tde_datadir}/apps/kuiviewerpart/ +%{tde_datadir}/icons/hicolor/*/apps/kuiviewer.png +%{tde_datadir}/icons/locolor/*/apps/kuiviewer.png +%{tde_datadir}/services/designerthumbnail.desktop +%{tde_datadir}/services/kuiviewer_part.desktop +%{tde_tdedocdir}/HTML/en/kuiviewer/ + +########## + +%package -n trinity-libcvsservice0 +Summary: DCOP service for accessing CVS repositories +Group: Development/Languages/Other +Requires: cvs + +%description -n trinity-libcvsservice0 +This library provides a DCOP service for accessing and working with +remote CVS repositories. Applications may link with this library to +access the DCOP service directly from C++. Alternatively, scripts may +access the service using the standard "dcop" command-line tool. + +DCOP is the Desktop Communication Protocol used throughout TDE. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-libcvsservice0 +%defattr(-,root,root,-) +%{tde_bindir}/cvsaskpass +%{tde_bindir}/cvsservice +%{tde_libdir}/libcvsservice.so.* +%{tde_libdir}/libtdeinit_cvsaskpass.so +%{tde_libdir}/libtdeinit_cvsservice.so +%{tde_tdelibdir}/cvsaskpass.la +%{tde_tdelibdir}/cvsaskpass.so +%{tde_tdelibdir}/cvsservice.la +%{tde_tdelibdir}/cvsservice.so +%{tde_datadir}/services/cvsservice.desktop + +########## + +%package -n trinity-libcvsservice-devel +Summary: Development files for CVS DCOP service +Group: Development/Libraries/Other +Requires: trinity-libcvsservice0 = %{version}-%{release} + +%description -n trinity-libcvsservice-devel +The library libcvsservice provides a DCOP service for accessing and +working with remote CVS repositories. Applications may link with this +library to access the DCOP service directly from C++. Alternatively, +scripts may access the service using the standard "dcop" command-line +tool. + +Development files for libcvsservice are included in this package. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-libcvsservice-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/cvsjob_stub.h +%{tde_tdeincludedir}/cvsservice_stub.h +%{tde_tdeincludedir}/repository_stub.h +%{tde_libdir}/libcvsservice.la +%{tde_libdir}/libcvsservice.so +%{tde_libdir}/libtdeinit_cvsaskpass.la +%{tde_libdir}/libtdeinit_cvsservice.la +%{tde_datadir}/cmake/cervisia.cmake + +########## + +%package -n trinity-poxml +Summary: Tools for using PO-files to translate DocBook XML files +Group: Development/Languages/Other + +%description -n trinity-poxml +This is a collection of tools that facilitate translating DocBook XML +files using gettext message files (PO-files). + +Also included are some miscellaneous command-line utilities for +manipulating DocBook XML files, PO-files and PO-template files. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-poxml +%defattr(-,root,root,-) +%{tde_bindir}/po2xml +%{tde_bindir}/split2po +%{tde_bindir}/swappo +%{tde_bindir}/transxx +%{tde_bindir}/xml2pot + +########## + +%package -n trinity-umbrello +Summary: UML modelling tool and code generator +Group: Development/Languages/Other + +%description -n trinity-umbrello +Umbrello UML Modeller is a Unified Modelling Language editor for TDE. +With UML you can create diagrams of software and other systems in an +industry standard format. Umbrello can also generate code from your +UML diagrams in a number of programming languages. + +The program supports class diagrams, sequence diagrams, collaboration +diagrams, use case diagrams, state diagrams, activity diagrams, component +diagrams and deployment diagrams. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-umbrello +%defattr(-,root,root,-) +%{tde_bindir}/umbodoc +%{tde_bindir}/umbrello +%{tde_tdeappdir}/umbrello.desktop +%{tde_datadir}/apps/umbrello/ +%{tde_datadir}/icons/crystalsvg/*/actions/umbrello_*.png +%{tde_datadir}/icons/crystalsvg/*/mimetypes/umbrellofile.png +%{tde_datadir}/icons/crystalsvg/scalable/mimetypes/umbrellofile.svgz +%{tde_datadir}/icons/hicolor/*/apps/umbrello.png +%{tde_datadir}/icons/hicolor/scalable/apps/umbrello.svgz +%{tde_datadir}/icons/hicolor/*/mimetypes/umbrellofile.png +%{tde_datadir}/mimelnk/application/x-umbrello.desktop +%{tde_tdedocdir}/HTML/en/umbrello/ + +########## + +%if 0%{?build_kioslave} + +%package tdeio-plugins +Summary: Subversion ioslave for Trinity +Group: Development/Languages/Other +Requires: subversion + +Obsoletes: trinity-tdesdk-kio-plugins < %{version}-%{release} +Provides: trinity-tdesdk-kio-plugins = %{version}-%{release} + +%description tdeio-plugins +This package provides easy access to remote SVN repositories from within +Konqueror, and TDE generally, by browsing them as if they were a +filesystem, using URLs like svn://hostname/path, or svn+ssh://, etc. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files tdeio-plugins +%defattr(-,root,root,-) +%{tde_bindir}/tdeio_svn_helper +%{tde_tdelibdir}/kded_ksvnd.la +%{tde_tdelibdir}/kded_ksvnd.so +%{tde_tdelibdir}/tdeio_svn.la +%{tde_tdelibdir}/tdeio_svn.so +%{tde_datadir}/apps/konqueror/servicemenus/subversion_toplevel.desktop +%{tde_datadir}/apps/konqueror/servicemenus/subversion.desktop +%{tde_datadir}/services/kded/ksvnd.desktop +%{tde_datadir}/services/svn+file.protocol_tdesdk +%{tde_datadir}/services/svn+http.protocol_tdesdk +%{tde_datadir}/services/svn+https.protocol_tdesdk +%{tde_datadir}/services/svn+ssh.protocol_tdesdk +%{tde_datadir}/services/svn.protocol_tdesdk +%{tde_datadir}/icons/crystalsvg/*/actions/svn_switch.png +%{tde_datadir}/icons/crystalsvg/*/actions/svn_merge.png +%{tde_datadir}/icons/crystalsvg/*/actions/svn_branch.png +%{tde_datadir}/icons/crystalsvg/*/actions/svn_remove.png +%{tde_datadir}/icons/crystalsvg/*/actions/svn_add.png +%{tde_datadir}/icons/crystalsvg/*/actions/svn_status.png +%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_add.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_status.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_remove.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_switch.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_branch.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_merge.svgz + +%post tdeio-plugins +for proto in svn+file svn+http svn+https svn+ssh svn; do + update-alternatives --install \ + %{tde_datadir}/services/${proto}.protocol \ + ${proto}.protocol \ + %{tde_datadir}/services/${proto}.protocol_tdesdk \ + 10 +done + +%preun tdeio-plugins +if [ $1 -eq 0 ]; then + for proto in svn+file svn+http svn+https svn+ssh svn; do + update-alternatives --remove \ + ${proto}.protocol \ + %{tde_datadir}/services/${proto}.protocol_tdesdk || : + done +fi + +%endif + +########## + +%package -n trinity-tdeunittest +Summary: Unit testing library for Trinity +Group: Development/Languages/Other + +Obsoletes: trinity-kunittest < %{version}-%{release} +Provides: trinity-kunittest = %{version}-%{release} + +%description -n trinity-tdeunittest +tdeunittest is a small library that facilitates the writing of tests for +TDE developers. There are two ways to use the tdeunittest library. One is +to create dynamically loadable modules and use the tdeunittestmodrunner or +tdeunittestguimodrunner programs to run the tests. The other is to use the +libraries to create your own testing application. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-tdeunittest +%defattr(-,root,root,-) +%{tde_bindir}/tdeunittest +%{tde_bindir}/tdeunittest_debughelper +%{tde_bindir}/tdeunittestmod +%{tde_bindir}/tdeunittestguimodrunner +%{tde_libdir}/libtdeunittestgui.la +%{tde_libdir}/libtdeunittestgui.so.* + +########## + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries/Other + +Requires: %{name} = %{version}-%{release} +Requires: trinity-kbabel-devel = %{version}-%{release} +Requires: %{name}-misc = %{version}-%{release} +Requires: trinity-kspy = %{version}-%{release} +Requires: trinity-kmtrace = %{version}-%{release} +Requires: trinity-tdeunittest = %{version}-%{release} +Requires: trinity-libcvsservice-devel = %{version}-%{release} +Requires: trinity-kompare = %{version}-%{release} + +Obsoletes: trinity-kdesdk-devel < %{version}-%{release} +Provides: trinity-kdesdk-devel = %{version}-%{release} + +%description devel +This package contains the development files for tdesdk. + +%files devel +%defattr(-,root,root,-) +# misc +%{tde_tdeincludedir}/kprofilemethod.h +%{tde_libdir}/libkstartperf.so +# kspy +%{tde_tdeincludedir}/kspy.h +%{tde_libdir}/libkspy.so +# kmtrace +%{tde_libdir}/kmtrace/libktrace_s.a +%{tde_tdeincludedir}/ktrace.h +# tdeunittest +%{tde_libdir}/libtdeunittestgui.so +%{tde_tdeincludedir}/tdeunittest/runnergui.h +# kompare +%{tde_libdir}/libkompareinterface.so + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} + +%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8 +# Fix shebangs +sed -i "scripts/kdelnk2desktop.py" \ + "scripts/zonetab2pot.py" \ + "tdecachegrind/converters/hotshot2calltree" \ + "umbrello/umbrello/headings/heading.py" \ + -e "s|env python|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 + +# FIXME PCLinuxOS: '/usr/bin/ld: cannot find -ltdeabc' +%if 0%{?pclinuxos} +export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -L%{tde_libdir}" +%endif + +%cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_NO_BUILTIN_CHRPATH=ON \ + -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} \ + -DMAN_INSTALL_DIR=%{tde_mandir} \ + -DPKGCONFIG_INSTALL_DIR=%{tde_tdelibdir}/pkgconfig \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + \ + -DWITH_DBSEARCHENGINE=ON \ + -DWITH_KCAL=ON \ + -DBUILD_ALL=ON \ + %{!?build_kioslave:-DBUILD_KIOSLAVE=OFF} \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} + +%__make install DESTDIR=%{?buildroot} -C build + + +# Installs kdepalettes +%__install -D -m 644 kdepalettes/kde_xpaintrc %{?buildroot}%{tde_datadir}/kdepalettes/kde_xpaintrc +%__install -D -m 644 kdepalettes/KDE_Gimp %{?buildroot}%{tde_datadir}/kdepalettes/KDE_Gimp +%__install -D -m 644 kdepalettes/README %{?buildroot}%{tde_datadir}/kdepalettes/README + +# Installs SVN protocols as alternatives +%if 0%{?build_kioslave} +%__mv -f %{?buildroot}%{tde_datadir}/services/svn+file.protocol %{?buildroot}%{tde_datadir}/services/svn+file.protocol_tdesdk +%__mv -f %{?buildroot}%{tde_datadir}/services/svn+http.protocol %{?buildroot}%{tde_datadir}/services/svn+http.protocol_tdesdk +%__mv -f %{?buildroot}%{tde_datadir}/services/svn+https.protocol %{?buildroot}%{tde_datadir}/services/svn+https.protocol_tdesdk +%__mv -f %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol_tdesdk +%__mv -f %{?buildroot}%{tde_datadir}/services/svn.protocol %{?buildroot}%{tde_datadir}/services/svn.protocol_tdesdk +%endif + +# Removes useless stuff +%__rm -f %{?buildroot}%{tde_datadir}/apps/kapptemplate/admin/debianrules + +# Fix permissions +chmod 644 %{?buildroot}%{tde_datadir}/apps/kapptemplate/admin/Doxyfile.global + +# Make kapptemplate archive +pushd %{?buildroot}%{tde_datadir}/apps/kapptemplate +mkdir kapptemplate +mv admin appframework bin existing include kapp kpartapp kpartplugin kapptemplate/ +tar cfz kapptemplate.tar.gz kapptemplate +rm -rf kapptemplate +popd + +# Updates applications categories for openSUSE +%if 0%{?suse_version} +%suse_update_desktop_file kuiviewer Development GUIDesigner +%suse_update_desktop_file umbrello Development Design +%suse_update_desktop_file kbugbuster Development Debugger +%suse_update_desktop_file -u catalogmanager Development Translation +%suse_update_desktop_file kbabel Development Translation +%suse_update_desktop_file -u kbabeldict Development Translation +%suse_update_desktop_file cervisia Development RevisionControl +%suse_update_desktop_file kompare Development RevisionControl +%suse_update_desktop_file tdecachegrind Development Profiling +%endif + +# Links duplicate files +%fdupes "%{?buildroot}%{tde_datadir}" + + +%clean +%__rm -rf %{buildroot} + + +%changelog diff --git a/redhat/main/tdetoys/tdetoys.spec b/redhat/main/tdetoys/tdetoys.spec index dcc317623..8f58aac06 100644 --- a/redhat/main/tdetoys/tdetoys.spec +++ b/redhat/main/tdetoys/tdetoys.spec @@ -21,7 +21,7 @@ # TDE variables %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg tdetoys %define tde_prefix /opt/trinity diff --git a/redhat/main/tdeutils/tdeutils.spec b/redhat/main/tdeutils/tdeutils.spec index 2eafa51b3..693adb10d 100644 --- a/redhat/main/tdeutils/tdeutils.spec +++ b/redhat/main/tdeutils/tdeutils.spec @@ -21,7 +21,7 @@ # TDE variables %if "%{?tde_version}" == "" -%define tde_version 14.0.0 +%define tde_version 14.0.7 %endif %define tde_pkg tdeutils %define tde_prefix /opt/trinity diff --git a/redhat/main/tdevelop/tdevelop-14.0.0.spec b/redhat/main/tdevelop/tdevelop-14.0.0.spec deleted file mode 100644 index e958532c8..000000000 --- a/redhat/main/tdevelop/tdevelop-14.0.0.spec +++ /dev/null @@ -1,654 +0,0 @@ -# -# spec file for package tdevelop (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/ -# - -# BUILD WARNING: -# Remove qt-devel and qt3-devel and any kde*-devel on your system ! -# Having KDE libraries may cause FTBFS here ! - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.0.0 -%endif -%define tde_pkg tdevelop -%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_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: Integrated Development Environment for C++/C -Version: %{tde_version} -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -Group: Development/Tools -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Project -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz -Source1: %{name}-rpmlintrc - -Requires: %{name}-libs = %{version}-%{release} - -BuildRequires: tqt3-apps-devel >= 3.5.0 -BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10 -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} -BuildRequires: trinity-tdesdk-devel >= %{tde_version} - -Obsoletes: trinity-kdevelop < %{version}-%{release} -Provides: trinity-kdevelop = %{version}-%{release} - -# 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: cmake >= 2.8 -BuildRequires: gcc-c++ -BuildRequires: fdupes -BuildRequires: desktop-file-utils -BuildRequires: make - -Requires: make -Requires: perl -Requires: tqt3-designer >= 3.5.0 -Requires: libtqt3-mt-devel >= 3.5.0 -Requires: gettext -Requires: ctags - - -# LIBIDN support -BuildRequires: libidn-devel - -# GAMIN support -# Not on openSUSE. -%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_gamin 1 -BuildRequires: gamin-devel -%endif - -# PCRE support -BuildRequires: pcre-devel - -# DB4 support -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: db4-devel -%endif - -# FLEX support -BuildRequires: flex -Requires: flex >= 2.5.4 - -# SVN support -BuildRequires: subversion-devel - -# NEON support -BuildRequires: neon-devel - -# 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 - -# LIBACL support -%if 0%{?suse_version} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: libacl-devel -%endif - -# OPENSSL support -BuildRequires: openssl-devel - - -%description -The TDevelop Integrated Development Environment provides many features -that developers need as well as providing a unified interface to programs -like gdb, the C/C++ compiler, and make. TDevelop manages or provides: - -All development tools needed for C++ programming like Compiler, -Linker, automake and autoconf; KAppWizard, which generates complete, -ready-to-go sample applications; Classgenerator, for creating new -classes and integrating them into the current project; File management -for sources, headers, documentation etc. to be included in the -project; The creation of User-Handbooks written with SGML and the -automatic generation of HTML-output with the KDE look and feel; -Automatic HTML-based API-documentation for your project's classes with -cross-references to the used libraries; Internationalization support -for your application, allowing translators to easily add their target -language to a project; - -tdevelop also includes WYSIWYG (What you see is what you get)-creation -of user interfaces with a built-in dialog editor; Debugging your -application by integrating KDbg; Editing of project-specific pixmaps -with KIconEdit; The inclusion of any other program you need for -development by adding it to the "Tools"-menu according to your -individual needs. - -%files -%defattr(-,root,root,-) -%{tde_bindir}/kdevassistant -%{tde_bindir}/kdevdesigner -%{tde_bindir}/tdevelop -%{tde_bindir}/tdevelop-htdig -%{tde_bindir}/kdevprj2kdevelop -%{tde_bindir}/kdevprofileeditor -%{tde_libdir}/tdeconf_update_bin/kdev-gen-settings-tdeconf_update -%{tde_confdir}/kdevassistantrc -%{tde_confdir}/tdeveloprc -%{tde_tdeappdir}/kdevassistant.desktop -%{tde_tdeappdir}/kdevdesigner.desktop -%{tde_tdeappdir}/tdevelop.desktop -%{tde_tdeappdir}/tdevelop_c_cpp.desktop -%{tde_tdeappdir}/tdevelop_kde_cpp.desktop -%{tde_tdeappdir}/tdevelop_ruby.desktop -%{tde_tdeappdir}/tdevelop_scripting.desktop -%{tde_tdelibdir}/tdeio_chm.la -%{tde_tdelibdir}/tdeio_chm.so -%{tde_tdelibdir}/tdeio_csharpdoc.la -%{tde_tdelibdir}/tdeio_csharpdoc.so -%{tde_tdelibdir}/tdeio_perldoc.la -%{tde_tdelibdir}/tdeio_perldoc.so -%{tde_tdelibdir}/tdeio_pydoc.la -%{tde_tdelibdir}/tdeio_pydoc.so -%{tde_tdelibdir}/libdocchmplugin.la -%{tde_tdelibdir}/libdocchmplugin.so -%{tde_tdelibdir}/libdoccustomplugin.la -%{tde_tdelibdir}/libdoccustomplugin.so -%{tde_tdelibdir}/libdocdevhelpplugin.la -%{tde_tdelibdir}/libdocdevhelpplugin.so -%{tde_tdelibdir}/libdocdoxygenplugin.la -%{tde_tdelibdir}/libdocdoxygenplugin.so -%{tde_tdelibdir}/libdockdevtocplugin.la -%{tde_tdelibdir}/libdockdevtocplugin.so -%{tde_tdelibdir}/libdocqtplugin.la -%{tde_tdelibdir}/libdocqtplugin.so -%{tde_tdelibdir}/libkchmpart.la -%{tde_tdelibdir}/libkchmpart.so -%{tde_tdelibdir}/libkdevabbrev.la -%{tde_tdelibdir}/libkdevabbrev.so -%{tde_tdelibdir}/libkdevadaproject.la -%{tde_tdelibdir}/libkdevadaproject.so -%{tde_tdelibdir}/libkdevadasupport.la -%{tde_tdelibdir}/libkdevadasupport.so -%{tde_tdelibdir}/libkdevantproject.la -%{tde_tdelibdir}/libkdevantproject.so -%{tde_tdelibdir}/libkdevappview.la -%{tde_tdelibdir}/libkdevappview.so -%{tde_tdelibdir}/libkdevappwizard.la -%{tde_tdelibdir}/libkdevappwizard.so -%{tde_tdelibdir}/libkdevastyle.la -%{tde_tdelibdir}/libkdevastyle.so -%{tde_tdelibdir}/libkdevautoproject.la -%{tde_tdelibdir}/libkdevautoproject.so -%{tde_tdelibdir}/libkdevbashsupport.la -%{tde_tdelibdir}/libkdevbashsupport.so -%{tde_tdelibdir}/libkdevbookmarks.la -%{tde_tdelibdir}/libkdevbookmarks.so -%{tde_tdelibdir}/libkdevclassview.la -%{tde_tdelibdir}/libkdevclassview.so -%{tde_tdelibdir}/libkdevcppsupport.la -%{tde_tdelibdir}/libkdevcppsupport.so -%{tde_tdelibdir}/libkdevcsharpsupport.la -%{tde_tdelibdir}/libkdevcsharpsupport.so -%{tde_tdelibdir}/libkdevctags2.la -%{tde_tdelibdir}/libkdevctags2.so -%{tde_tdelibdir}/libkdevcustompcsimporter.la -%{tde_tdelibdir}/libkdevcustompcsimporter.so -%{tde_tdelibdir}/libkdevcustomproject.la -%{tde_tdelibdir}/libkdevcustomproject.so -%{tde_tdelibdir}/libkdevdccoptions.la -%{tde_tdelibdir}/libkdevdccoptions.so -%{tde_tdelibdir}/libkdevdebugger.la -%{tde_tdelibdir}/libkdevdebugger.so -%{tde_tdelibdir}/libkdevdesignerpart.la -%{tde_tdelibdir}/libkdevdesignerpart.so -%{tde_tdelibdir}/libkdevdiff.la -%{tde_tdelibdir}/libkdevdiff.so -%{tde_tdelibdir}/libkdevdistpart.la -%{tde_tdelibdir}/libkdevdistpart.so -%{tde_tdelibdir}/libkdevdocumentation.la -%{tde_tdelibdir}/libkdevdocumentation.so -%{tde_tdelibdir}/libkdevdoxygen.la -%{tde_tdelibdir}/libkdevdoxygen.so -%{tde_tdelibdir}/libkdeveditorchooser.la -%{tde_tdelibdir}/libkdeveditorchooser.so -%{tde_tdelibdir}/libkdevfilecreate.la -%{tde_tdelibdir}/libkdevfilecreate.so -%{tde_tdelibdir}/libkdevfilegroups.la -%{tde_tdelibdir}/libkdevfilegroups.so -%{tde_tdelibdir}/libkdevfilelist.la -%{tde_tdelibdir}/libkdevfilelist.so -%{tde_tdelibdir}/libkdevfileselector.la -%{tde_tdelibdir}/libkdevfileselector.so -%{tde_tdelibdir}/libkdevfileview.la -%{tde_tdelibdir}/libkdevfileview.so -%{tde_tdelibdir}/libkdevfilter.la -%{tde_tdelibdir}/libkdevfilter.so -%{tde_tdelibdir}/libkdevfortransupport.la -%{tde_tdelibdir}/libkdevfortransupport.so -%{tde_tdelibdir}/libkdevfpcoptions.la -%{tde_tdelibdir}/libkdevfpcoptions.so -%{tde_tdelibdir}/libkdevfullscreen.la -%{tde_tdelibdir}/libkdevfullscreen.so -%{tde_tdelibdir}/libkdevgccoptions.la -%{tde_tdelibdir}/libkdevgccoptions.so -%{tde_tdelibdir}/libkdevgrepview.la -%{tde_tdelibdir}/libkdevgrepview.so -%{tde_tdelibdir}/libkdevjavasupport.la -%{tde_tdelibdir}/libkdevjavasupport.so -%{tde_tdelibdir}/libkdevtdelibsimporter.la -%{tde_tdelibdir}/libkdevtdelibsimporter.so -%{tde_tdelibdir}/libkdevkonsoleview.la -%{tde_tdelibdir}/libkdevkonsoleview.so -%{tde_tdelibdir}/libkdevmakeview.la -%{tde_tdelibdir}/libkdevmakeview.so -%{tde_tdelibdir}/libkdevopenwith.la -%{tde_tdelibdir}/libkdevopenwith.so -%{tde_tdelibdir}/libkdevpartexplorer.la -%{tde_tdelibdir}/libkdevpartexplorer.so -%{tde_tdelibdir}/libkdevpascalproject.la -%{tde_tdelibdir}/libkdevpascalproject.so -%{tde_tdelibdir}/libkdevpascalsupport.la -%{tde_tdelibdir}/libkdevpascalsupport.so -%{tde_tdelibdir}/libkdevperlsupport.la -%{tde_tdelibdir}/libkdevperlsupport.so -%{tde_tdelibdir}/libkdevpgioptions.la -%{tde_tdelibdir}/libkdevpgioptions.so -%{tde_tdelibdir}/libkdevphpsupport.la -%{tde_tdelibdir}/libkdevphpsupport.so -%{tde_tdelibdir}/libkdevpythonsupport.la -%{tde_tdelibdir}/libkdevpythonsupport.so -%{tde_tdelibdir}/libkdevqt4importer.la -%{tde_tdelibdir}/libkdevqt4importer.so -%{tde_tdelibdir}/libkdevqtimporter.la -%{tde_tdelibdir}/libkdevqtimporter.so -%{tde_tdelibdir}/libkdevquickopen.la -%{tde_tdelibdir}/libkdevquickopen.so -%{tde_tdelibdir}/libkdevrbdebugger.la -%{tde_tdelibdir}/libkdevrbdebugger.so -%{tde_tdelibdir}/libkdevregexptest.la -%{tde_tdelibdir}/libkdevregexptest.so -%{tde_tdelibdir}/libkdevreplace.la -%{tde_tdelibdir}/libkdevreplace.so -%{tde_tdelibdir}/libkdevrubysupport.la -%{tde_tdelibdir}/libkdevrubysupport.so -%{tde_tdelibdir}/libkdevscripting.la -%{tde_tdelibdir}/libkdevscripting.so -%{tde_tdelibdir}/libkdevscriptproject.la -%{tde_tdelibdir}/libkdevscriptproject.so -%{tde_tdelibdir}/libkdevsnippet.la -%{tde_tdelibdir}/libkdevsnippet.so -%{tde_tdelibdir}/libkdevsqlsupport.la -%{tde_tdelibdir}/libkdevsqlsupport.so -%{tde_tdelibdir}/libkdevtexttools.la -%{tde_tdelibdir}/libkdevtexttools.so -%{tde_tdelibdir}/libkdevtipofday.la -%{tde_tdelibdir}/libkdevtipofday.so -%{tde_tdelibdir}/libkdevtools.la -%{tde_tdelibdir}/libkdevtools.so -%{tde_tdelibdir}/libkdevtrollproject.la -%{tde_tdelibdir}/libkdevtrollproject.so -%{tde_tdelibdir}/libkdevuichooser.la -%{tde_tdelibdir}/libkdevuichooser.so -%{tde_tdelibdir}/libkdevvalgrind.la -%{tde_tdelibdir}/libkdevvalgrind.so -%{tde_tdelibdir}/libkdevvcsmanager.la -%{tde_tdelibdir}/libkdevvcsmanager.so -%{tde_datadir}/apps/tdeconf_update/ -%{tde_datadir}/apps/kdevabbrev/ -%{tde_datadir}/apps/kdevadaproject/ -%{tde_datadir}/apps/kdevadasupport/ -%{tde_datadir}/apps/kdevantproject/ -%{tde_datadir}/apps/kdevappoutputview/ -%{tde_datadir}/apps/kdevappwizard/ -%{tde_datadir}/apps/kdevassistant/ -%{tde_datadir}/apps/kdevastyle/ -%{tde_datadir}/apps/kdevautoproject/ -%{tde_datadir}/apps/kdevbashsupport/ -%{tde_datadir}/apps/kdevclassview/ -%{tde_datadir}/apps/kdevcppsupport/ -%{tde_datadir}/icons/hicolor/*/actions/breakpoint_add.png -%{tde_datadir}/icons/hicolor/*/actions/breakpoint_delete.png -%{tde_datadir}/icons/hicolor/*/actions/breakpoint_delete_all.png -%{tde_datadir}/icons/hicolor/*/actions/breakpoint_edit.png -%{tde_datadir}/icons/hicolor/*/actions/ktip.png -%{tde_datadir}/icons/hicolor/*/apps/kdevassistant.png -%{tde_datadir}/icons/hicolor/*/apps/kdevdesigner.png -%{tde_datadir}/icons/hicolor/*/apps/tdevelop.png -%{tde_datadir}/icons/locolor/*/actions/tdevelop_tip.png -%{tde_datadir}/mimelnk/application/x-tdevelop.desktop -%{tde_datadir}/services/chm.protocol -%{tde_datadir}/services/csharpdoc.protocol -%{tde_datadir}/services/docchmplugin.desktop -%{tde_datadir}/services/doccustomplugin.desktop -%{tde_datadir}/services/docdevhelpplugin.desktop -%{tde_datadir}/services/docdoxygenplugin.desktop -%{tde_datadir}/services/dockdevtocplugin.desktop -%{tde_datadir}/services/docqtplugin.desktop -%{tde_datadir}/services/kchmpart.desktop -%{tde_datadir}/services/kdevabbrev.desktop -%{tde_datadir}/services/kdevadaproject.desktop -%{tde_datadir}/services/kdevadasupport.desktop -%{tde_datadir}/services/kdevantproject.desktop -%{tde_datadir}/services/kdevappoutputview.desktop -%{tde_datadir}/services/kdevappwizard.desktop -%{tde_datadir}/services/kdevastyle.desktop -%{tde_datadir}/services/kdevautoproject.desktop -%{tde_datadir}/services/kdevbashsupport.desktop -%{tde_datadir}/services/kdevbookmarks.desktop -%{tde_datadir}/services/kdevclassview.desktop -%{tde_datadir}/services/kdevcppsupport.desktop -%{tde_datadir}/services/kdevcsharpsupport.desktop -%{tde_datadir}/services/kdevcsupport.desktop -%{tde_datadir}/services/kdevctags2.desktop -%{tde_datadir}/services/kdevcustomproject.desktop -%{tde_datadir}/services/kdevdccoptions.desktop -%{tde_datadir}/services/kdevdebugger.desktop -%{tde_datadir}/services/kdevdesigner_part.desktop -%{tde_datadir}/services/kdevdiff.desktop -%{tde_datadir}/services/kdevdistpart.desktop -%{tde_datadir}/services/kdevdocumentation.desktop -%{tde_datadir}/services/kdevdoxygen.desktop -%{tde_datadir}/services/kdeveditorchooser.desktop -%{tde_datadir}/services/kdevfilecreate.desktop -%{tde_datadir}/services/kdevfilegroups.desktop -%{tde_datadir}/services/kdevfilelist.desktop -%{tde_datadir}/services/kdevfileselector.desktop -%{tde_datadir}/services/kdevfileview.desktop -%{tde_datadir}/services/kdevfilter.desktop -%{tde_datadir}/services/kdevfortransupport.desktop -%{tde_datadir}/services/kdevfpcoptions.desktop -%{tde_datadir}/services/kdevfullscreen.desktop -%{tde_datadir}/services/kdevg77options.desktop -%{tde_datadir}/services/kdevgccoptions.desktop -%{tde_datadir}/services/kdevgppoptions.desktop -%{tde_datadir}/services/kdevgrepview.desktop -%{tde_datadir}/services/kdevjavasupport.desktop -%{tde_datadir}/services/kdevtdeautoproject.desktop -%{tde_datadir}/services/kdevtdelibsimporter.desktop -%{tde_datadir}/services/kdevkonsoleview.desktop -%{tde_datadir}/services/kdevmakeview.desktop -%{tde_datadir}/services/kdevopenwith.desktop -%{tde_datadir}/services/kdevpartexplorer.desktop -%{tde_datadir}/services/kdevpascalproject.desktop -%{tde_datadir}/services/kdevpascalsupport.desktop -%{tde_datadir}/services/kdevpcscustomimporter.desktop -%{tde_datadir}/services/kdevperlsupport.desktop -%{tde_datadir}/services/kdevpgf77options.desktop -%{tde_datadir}/services/kdevpghpfoptions.desktop -%{tde_datadir}/services/kdevphpsupport.desktop -%{tde_datadir}/services/kdevpythonsupport.desktop -%{tde_datadir}/services/kdevqt4importer.desktop -%{tde_datadir}/services/kdevqtimporter.desktop -%{tde_datadir}/services/kdevquickopen.desktop -%{tde_datadir}/services/kdevrbdebugger.desktop -%{tde_datadir}/services/kdevregexptest.desktop -%{tde_datadir}/services/kdevreplace.desktop -%{tde_datadir}/services/kdevrubysupport.desktop -%{tde_datadir}/services/kdevscripting.desktop -%{tde_datadir}/services/kdevscriptproject.desktop -%{tde_datadir}/services/kdevsnippet.desktop -%{tde_datadir}/services/kdevsqlsupport.desktop -%{tde_datadir}/services/kdevtexttools.desktop -%{tde_datadir}/services/kdevtipofday.desktop -%{tde_datadir}/services/kdevtmakeproject.desktop -%{tde_datadir}/services/kdevtools.desktop -%{tde_datadir}/services/kdevtrollproject.desktop -%{tde_datadir}/services/kdevuichooser.desktop -%{tde_datadir}/services/kdevvalgrind.desktop -%{tde_datadir}/services/kdevvcsmanager.desktop -%{tde_datadir}/services/perldoc.protocol -%{tde_datadir}/services/pydoc.protocol -%{tde_datadir}/servicetypes/tdevelopappfrontend.desktop -%{tde_datadir}/servicetypes/tdevelopcodebrowserfrontend.desktop -%{tde_datadir}/servicetypes/tdevelopcompileroptions.desktop -%{tde_datadir}/servicetypes/tdevelopcreatefile.desktop -%{tde_datadir}/servicetypes/tdevelopdifffrontend.desktop -%{tde_datadir}/servicetypes/tdevelopdocumentationplugins.desktop -%{tde_datadir}/servicetypes/tdeveloplanguagesupport.desktop -%{tde_datadir}/servicetypes/tdevelopmakefrontend.desktop -%{tde_datadir}/servicetypes/tdeveloppcsimporter.desktop -%{tde_datadir}/servicetypes/tdevelopplugin.desktop -%{tde_datadir}/servicetypes/tdevelopproject.desktop -%{tde_datadir}/servicetypes/tdevelopquickopen.desktop -%{tde_datadir}/servicetypes/tdevelopsourceformatter.desktop -%{tde_datadir}/servicetypes/tdevelopvcsintegrator.desktop -%{tde_datadir}/servicetypes/tdevelopversioncontrol.desktop -%{tde_datadir}/apps/kdevcsharpsupport/ -%{tde_datadir}/apps/kdevctags2/ -%{tde_datadir}/apps/kdevcustomproject/ -%{tde_datadir}/apps/kdevdebugger/ -%{tde_datadir}/apps/kdevdesigner/ -%{tde_datadir}/apps/kdevdesignerpart/ -%{tde_datadir}/apps/kdevdiff/ -%{tde_datadir}/apps/kdevdistpart/ -%{tde_datadir}/apps/kdevdocumentation/ -%{tde_datadir}/apps/kdevdoxygen/ -%{tde_datadir}/apps/tdevelop/ -%{tde_datadir}/apps/kdevfilecreate/ -%{tde_datadir}/apps/kdevfilelist/ -%{tde_datadir}/apps/kdevfilter/ -%{tde_datadir}/apps/kdevfortransupport/ -%{tde_datadir}/apps/kdevfullscreen/ -%{tde_datadir}/apps/kdevgrepview/ -%{tde_datadir}/apps/kdevjavasupport/ -%{tde_datadir}/apps/kdevmakeview/ -%{tde_datadir}/apps/kdevpartexplorer/ -%{tde_datadir}/apps/kdevpascalproject/ -%{tde_datadir}/apps/kdevpascalsupport/ -%{tde_datadir}/apps/kdevperlsupport/ -%{tde_datadir}/apps/kdevphpsupport/ -%{tde_datadir}/apps/kdevpythonsupport/ -%{tde_datadir}/apps/kdevquickopen/ -%{tde_datadir}/apps/kdevrbdebugger/ -%{tde_datadir}/apps/kdevregexptest/ -%{tde_datadir}/apps/kdevreplace/ -%{tde_datadir}/apps/kdevrubysupport/ -%{tde_datadir}/apps/kdevscripting/ -%{tde_datadir}/apps/kdevscriptproject/ -%{tde_datadir}/apps/kdevsnippet/ -%{tde_datadir}/apps/kdevsqlsupport -%{tde_datadir}/apps/kdevtipofday/ -%{tde_datadir}/apps/kdevtools/ -%{tde_datadir}/apps/kdevtrollproject/ -%{tde_datadir}/apps/kdevvalgrind/ -%{tde_datadir}/apps/tdeio_pydoc/ -%{tde_datadir}/desktop-directories/tde-development-tdevelop.directory -%{tde_tdedocdir}/HTML/en/tdevelop/ -%{tde_libdir}/libd.so.0 -%{tde_libdir}/libd.so.0.0.0 -%{tde_libdir}/libkinterfacedesigner.so.0 -%{tde_libdir}/libkinterfacedesigner.so.0.0.0 -%{tde_tdelibdir}/libkdevvisualboyadvance.la -%{tde_tdelibdir}/libkdevvisualboyadvance.so -%{tde_datadir}/apps/kdevdesignerpart/pics/ -%{tde_datadir}/apps/kdevvisualboyadvance/ -%{tde_tdedocdir}/HTML/en/tde_app_devel/ -%{tde_datadir}/mimelnk/text/x-fortran.desktop -%{tde_datadir}/services/kdevvisualboyadvance.desktop -%{tde_tdedocdir}/HTML/en/kdevdesigner/ - -########## - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries/Other -Requires: %{name}-libs = %{version}-%{release} - -Obsoletes: trinity-kdevelop-devel < %{version}-%{release} -Provides: trinity-kdevelop-devel = %{version}-%{release} - -%description devel -This package contains the development files for tdevelop. - -%files devel -%defattr(-,root,root,-) -%{tde_libdir}/lib*.so -%{tde_libdir}/lib*.la -%{tde_includedir}/* - -########## - -%package libs -Summary: %{name} runtime libraries -Group: System Environment/Libraries -Requires: trinity-tdelibs >= %{tde_version} -# include to be paranoid, installing libs-only is still mostly untested -- Rex -Requires: %{name} = %{version}-%{release} - -Obsoletes: trinity-kdevelop-libs < %{version}-%{release} -Provides: trinity-kdevelop-libs = %{version}-%{release} - -%description libs -This package contains the libraries needed for the tdevelop programs. - -%files libs -%defattr(-,root,root,-) -%{tde_libdir}/libdesignerintegration.so.0 -%{tde_libdir}/libdesignerintegration.so.0.0.0 -%{tde_libdir}/libdocumentation_interfaces.so.0 -%{tde_libdir}/libdocumentation_interfaces.so.0.0.0 -%{tde_libdir}/libgdbmi_parser.so.0 -%{tde_libdir}/libgdbmi_parser.so.0.0.0 -%{tde_libdir}/libkdevbuildbase.so.0 -%{tde_libdir}/libkdevbuildbase.so.0.0.0 -%{tde_libdir}/libkdevbuildtoolswidgets.so.0 -%{tde_libdir}/libkdevbuildtoolswidgets.so.0.0.0 -%{tde_libdir}/libkdevcatalog.so.0 -%{tde_libdir}/libkdevcatalog.so.0.0.0 -%{tde_libdir}/libkdevcppparser.so.0 -%{tde_libdir}/libkdevcppparser.so.0.0.0 -%{tde_libdir}/libtdevelop.so.1 -%{tde_libdir}/libtdevelop.so.1.0.0 -%{tde_libdir}/libkdevextras.so.0 -%{tde_libdir}/libkdevextras.so.0.0.0 -%{tde_libdir}/libkdevpropertyeditor.so.0 -%{tde_libdir}/libkdevpropertyeditor.so.0.0.0 -%{tde_libdir}/libkdevqmakeparser.so.0 -%{tde_libdir}/libkdevqmakeparser.so.0.0.0 -%{tde_libdir}/libkdevshell.so.0 -%{tde_libdir}/libkdevshell.so.0.0.0 -%{tde_libdir}/libkdevwidgets.so.0 -%{tde_libdir}/libkdevwidgets.so.0.0.0 -%{tde_libdir}/liblang_debugger.so.0 -%{tde_libdir}/liblang_debugger.so.0.0.0 -%{tde_libdir}/liblang_interfaces.so.0 -%{tde_libdir}/liblang_interfaces.so.0.0.0 -%{tde_libdir}/libprofileengine.so.0 -%{tde_libdir}/libprofileengine.so.0.0.0 - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{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 - -# openldap 2.4 includes (CentOS 5) -if [ -d "/usr/include/openldap24" ]; then - RPM_OPT_FLAGS="-I%{_includedir}/openldap24 -L%{_libdir}/openldap24 ${RPM_OPT_FLAGS}" -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} -DNDEBUG" \ - -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -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_BUILDTOOL_ALL=ON \ - -DWITH_LANGUAGE_ALL=ON \ - -DWITH_VCS_ALL=OFF \ - -DBUILD_ALL=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -# Links duplicate files -%fdupes "%{?buildroot}%{tde_datadir}" - - -%clean -%__rm -rf %{buildroot} - - -%changelog diff --git a/redhat/main/tdevelop/tdevelop.spec b/redhat/main/tdevelop/tdevelop.spec new file mode 100644 index 000000000..cf2ad252e --- /dev/null +++ b/redhat/main/tdevelop/tdevelop.spec @@ -0,0 +1,660 @@ +# +# spec file for package tdevelop (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/ +# + +# BUILD WARNING: +# Remove qt-devel and qt3-devel and any kde*-devel on your system ! +# Having KDE libraries may cause FTBFS here ! + +# TDE variables +%define tde_epoch 2 +%if "%{?tde_version}" == "" +%define tde_version 14.0.7 +%endif +%define tde_pkg tdevelop +%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_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: Integrated Development Environment for C++/C +Version: %{tde_version} +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} +Group: Development/Tools +URL: http://www.trinitydesktop.org/ + +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif + +#Vendor: Trinity Project +#Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz +Source1: %{name}-rpmlintrc + +Requires: %{name}-libs = %{version}-%{release} + +BuildRequires: tqt3-apps-devel >= 3.5.0 +BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10 +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdebase-devel >= %{tde_version} +BuildRequires: trinity-tdesdk-devel >= %{tde_version} + +Obsoletes: trinity-kdevelop < %{version}-%{release} +Provides: trinity-kdevelop = %{version}-%{release} + +# 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: cmake >= 2.8 +BuildRequires: gcc-c++ +BuildRequires: fdupes +BuildRequires: desktop-file-utils +BuildRequires: make + +Requires: make +Requires: perl +Requires: tqt3-designer >= 3.5.0 +Requires: libtqt3-mt-devel >= 3.5.0 +Requires: gettext +Requires: ctags + + +# LIBIDN support +BuildRequires: libidn-devel + +# GAMIN support +# Not on openSUSE. +%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_gamin 1 +BuildRequires: gamin-devel +%endif + +# PCRE support +BuildRequires: pcre-devel + +# DB5 support +%if 0%{?rhel} >= 8 +BuildRequires: libdb-devel + +%else +# DB4 support +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: db4-devel +%endif +%endif + +# FLEX support +BuildRequires: flex +Requires: flex >= 2.5.4 + +# SVN support +BuildRequires: subversion-devel + +# NEON support +BuildRequires: neon-devel + +# 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 + +# LIBACL support +%if 0%{?suse_version} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: libacl-devel +%endif + +# OPENSSL support +BuildRequires: openssl-devel + + +%description +The TDevelop Integrated Development Environment provides many features +that developers need as well as providing a unified interface to programs +like gdb, the C/C++ compiler, and make. TDevelop manages or provides: + +All development tools needed for C++ programming like Compiler, +Linker, automake and autoconf; KAppWizard, which generates complete, +ready-to-go sample applications; Classgenerator, for creating new +classes and integrating them into the current project; File management +for sources, headers, documentation etc. to be included in the +project; The creation of User-Handbooks written with SGML and the +automatic generation of HTML-output with the KDE look and feel; +Automatic HTML-based API-documentation for your project's classes with +cross-references to the used libraries; Internationalization support +for your application, allowing translators to easily add their target +language to a project; + +tdevelop also includes WYSIWYG (What you see is what you get)-creation +of user interfaces with a built-in dialog editor; Debugging your +application by integrating KDbg; Editing of project-specific pixmaps +with KIconEdit; The inclusion of any other program you need for +development by adding it to the "Tools"-menu according to your +individual needs. + +%files +%defattr(-,root,root,-) +%{tde_bindir}/kdevassistant +%{tde_bindir}/kdevdesigner +%{tde_bindir}/tdevelop +%{tde_bindir}/tdevelop-htdig +%{tde_bindir}/kdevprj2kdevelop +%{tde_bindir}/kdevprofileeditor +%{tde_libdir}/tdeconf_update_bin/kdev-gen-settings-tdeconf_update +%{tde_confdir}/kdevassistantrc +%{tde_confdir}/tdeveloprc +%{tde_tdeappdir}/kdevassistant.desktop +%{tde_tdeappdir}/kdevdesigner.desktop +%{tde_tdeappdir}/tdevelop.desktop +%{tde_tdeappdir}/tdevelop_c_cpp.desktop +%{tde_tdeappdir}/tdevelop_kde_cpp.desktop +%{tde_tdeappdir}/tdevelop_ruby.desktop +%{tde_tdeappdir}/tdevelop_scripting.desktop +%{tde_tdelibdir}/tdeio_chm.la +%{tde_tdelibdir}/tdeio_chm.so +%{tde_tdelibdir}/tdeio_csharpdoc.la +%{tde_tdelibdir}/tdeio_csharpdoc.so +%{tde_tdelibdir}/tdeio_perldoc.la +%{tde_tdelibdir}/tdeio_perldoc.so +%{tde_tdelibdir}/tdeio_pydoc.la +%{tde_tdelibdir}/tdeio_pydoc.so +%{tde_tdelibdir}/libdocchmplugin.la +%{tde_tdelibdir}/libdocchmplugin.so +%{tde_tdelibdir}/libdoccustomplugin.la +%{tde_tdelibdir}/libdoccustomplugin.so +%{tde_tdelibdir}/libdocdevhelpplugin.la +%{tde_tdelibdir}/libdocdevhelpplugin.so +%{tde_tdelibdir}/libdocdoxygenplugin.la +%{tde_tdelibdir}/libdocdoxygenplugin.so +%{tde_tdelibdir}/libdockdevtocplugin.la +%{tde_tdelibdir}/libdockdevtocplugin.so +%{tde_tdelibdir}/libdocqtplugin.la +%{tde_tdelibdir}/libdocqtplugin.so +%{tde_tdelibdir}/libkchmpart.la +%{tde_tdelibdir}/libkchmpart.so +%{tde_tdelibdir}/libkdevabbrev.la +%{tde_tdelibdir}/libkdevabbrev.so +%{tde_tdelibdir}/libkdevadaproject.la +%{tde_tdelibdir}/libkdevadaproject.so +%{tde_tdelibdir}/libkdevadasupport.la +%{tde_tdelibdir}/libkdevadasupport.so +%{tde_tdelibdir}/libkdevantproject.la +%{tde_tdelibdir}/libkdevantproject.so +%{tde_tdelibdir}/libkdevappview.la +%{tde_tdelibdir}/libkdevappview.so +%{tde_tdelibdir}/libkdevappwizard.la +%{tde_tdelibdir}/libkdevappwizard.so +%{tde_tdelibdir}/libkdevastyle.la +%{tde_tdelibdir}/libkdevastyle.so +%{tde_tdelibdir}/libkdevautoproject.la +%{tde_tdelibdir}/libkdevautoproject.so +%{tde_tdelibdir}/libkdevbashsupport.la +%{tde_tdelibdir}/libkdevbashsupport.so +%{tde_tdelibdir}/libkdevbookmarks.la +%{tde_tdelibdir}/libkdevbookmarks.so +%{tde_tdelibdir}/libkdevclassview.la +%{tde_tdelibdir}/libkdevclassview.so +%{tde_tdelibdir}/libkdevcppsupport.la +%{tde_tdelibdir}/libkdevcppsupport.so +%{tde_tdelibdir}/libkdevcsharpsupport.la +%{tde_tdelibdir}/libkdevcsharpsupport.so +%{tde_tdelibdir}/libkdevctags2.la +%{tde_tdelibdir}/libkdevctags2.so +%{tde_tdelibdir}/libkdevcustompcsimporter.la +%{tde_tdelibdir}/libkdevcustompcsimporter.so +%{tde_tdelibdir}/libkdevcustomproject.la +%{tde_tdelibdir}/libkdevcustomproject.so +%{tde_tdelibdir}/libkdevdccoptions.la +%{tde_tdelibdir}/libkdevdccoptions.so +%{tde_tdelibdir}/libkdevdebugger.la +%{tde_tdelibdir}/libkdevdebugger.so +%{tde_tdelibdir}/libkdevdesignerpart.la +%{tde_tdelibdir}/libkdevdesignerpart.so +%{tde_tdelibdir}/libkdevdiff.la +%{tde_tdelibdir}/libkdevdiff.so +%{tde_tdelibdir}/libkdevdistpart.la +%{tde_tdelibdir}/libkdevdistpart.so +%{tde_tdelibdir}/libkdevdocumentation.la +%{tde_tdelibdir}/libkdevdocumentation.so +%{tde_tdelibdir}/libkdevdoxygen.la +%{tde_tdelibdir}/libkdevdoxygen.so +%{tde_tdelibdir}/libkdeveditorchooser.la +%{tde_tdelibdir}/libkdeveditorchooser.so +%{tde_tdelibdir}/libkdevfilecreate.la +%{tde_tdelibdir}/libkdevfilecreate.so +%{tde_tdelibdir}/libkdevfilegroups.la +%{tde_tdelibdir}/libkdevfilegroups.so +%{tde_tdelibdir}/libkdevfilelist.la +%{tde_tdelibdir}/libkdevfilelist.so +%{tde_tdelibdir}/libkdevfileselector.la +%{tde_tdelibdir}/libkdevfileselector.so +%{tde_tdelibdir}/libkdevfileview.la +%{tde_tdelibdir}/libkdevfileview.so +%{tde_tdelibdir}/libkdevfilter.la +%{tde_tdelibdir}/libkdevfilter.so +%{tde_tdelibdir}/libkdevfortransupport.la +%{tde_tdelibdir}/libkdevfortransupport.so +%{tde_tdelibdir}/libkdevfpcoptions.la +%{tde_tdelibdir}/libkdevfpcoptions.so +%{tde_tdelibdir}/libkdevfullscreen.la +%{tde_tdelibdir}/libkdevfullscreen.so +%{tde_tdelibdir}/libkdevgccoptions.la +%{tde_tdelibdir}/libkdevgccoptions.so +%{tde_tdelibdir}/libkdevgrepview.la +%{tde_tdelibdir}/libkdevgrepview.so +%{tde_tdelibdir}/libkdevjavasupport.la +%{tde_tdelibdir}/libkdevjavasupport.so +%{tde_tdelibdir}/libkdevtdelibsimporter.la +%{tde_tdelibdir}/libkdevtdelibsimporter.so +%{tde_tdelibdir}/libkdevkonsoleview.la +%{tde_tdelibdir}/libkdevkonsoleview.so +%{tde_tdelibdir}/libkdevmakeview.la +%{tde_tdelibdir}/libkdevmakeview.so +%{tde_tdelibdir}/libkdevopenwith.la +%{tde_tdelibdir}/libkdevopenwith.so +%{tde_tdelibdir}/libkdevpartexplorer.la +%{tde_tdelibdir}/libkdevpartexplorer.so +%{tde_tdelibdir}/libkdevpascalproject.la +%{tde_tdelibdir}/libkdevpascalproject.so +%{tde_tdelibdir}/libkdevpascalsupport.la +%{tde_tdelibdir}/libkdevpascalsupport.so +%{tde_tdelibdir}/libkdevperlsupport.la +%{tde_tdelibdir}/libkdevperlsupport.so +%{tde_tdelibdir}/libkdevpgioptions.la +%{tde_tdelibdir}/libkdevpgioptions.so +%{tde_tdelibdir}/libkdevphpsupport.la +%{tde_tdelibdir}/libkdevphpsupport.so +%{tde_tdelibdir}/libkdevpythonsupport.la +%{tde_tdelibdir}/libkdevpythonsupport.so +%{tde_tdelibdir}/libkdevqt4importer.la +%{tde_tdelibdir}/libkdevqt4importer.so +%{tde_tdelibdir}/libkdevqtimporter.la +%{tde_tdelibdir}/libkdevqtimporter.so +%{tde_tdelibdir}/libkdevquickopen.la +%{tde_tdelibdir}/libkdevquickopen.so +%{tde_tdelibdir}/libkdevrbdebugger.la +%{tde_tdelibdir}/libkdevrbdebugger.so +%{tde_tdelibdir}/libkdevregexptest.la +%{tde_tdelibdir}/libkdevregexptest.so +%{tde_tdelibdir}/libkdevreplace.la +%{tde_tdelibdir}/libkdevreplace.so +%{tde_tdelibdir}/libkdevrubysupport.la +%{tde_tdelibdir}/libkdevrubysupport.so +%{tde_tdelibdir}/libkdevscripting.la +%{tde_tdelibdir}/libkdevscripting.so +%{tde_tdelibdir}/libkdevscriptproject.la +%{tde_tdelibdir}/libkdevscriptproject.so +%{tde_tdelibdir}/libkdevsnippet.la +%{tde_tdelibdir}/libkdevsnippet.so +%{tde_tdelibdir}/libkdevsqlsupport.la +%{tde_tdelibdir}/libkdevsqlsupport.so +%{tde_tdelibdir}/libkdevtexttools.la +%{tde_tdelibdir}/libkdevtexttools.so +%{tde_tdelibdir}/libkdevtipofday.la +%{tde_tdelibdir}/libkdevtipofday.so +%{tde_tdelibdir}/libkdevtools.la +%{tde_tdelibdir}/libkdevtools.so +%{tde_tdelibdir}/libkdevtrollproject.la +%{tde_tdelibdir}/libkdevtrollproject.so +%{tde_tdelibdir}/libkdevuichooser.la +%{tde_tdelibdir}/libkdevuichooser.so +%{tde_tdelibdir}/libkdevvalgrind.la +%{tde_tdelibdir}/libkdevvalgrind.so +%{tde_tdelibdir}/libkdevvcsmanager.la +%{tde_tdelibdir}/libkdevvcsmanager.so +%{tde_datadir}/apps/tdeconf_update/ +%{tde_datadir}/apps/kdevabbrev/ +%{tde_datadir}/apps/kdevadaproject/ +%{tde_datadir}/apps/kdevadasupport/ +%{tde_datadir}/apps/kdevantproject/ +%{tde_datadir}/apps/kdevappoutputview/ +%{tde_datadir}/apps/kdevappwizard/ +%{tde_datadir}/apps/kdevassistant/ +%{tde_datadir}/apps/kdevastyle/ +%{tde_datadir}/apps/kdevautoproject/ +%{tde_datadir}/apps/kdevbashsupport/ +%{tde_datadir}/apps/kdevclassview/ +%{tde_datadir}/apps/kdevcppsupport/ +%{tde_datadir}/icons/hicolor/*/actions/breakpoint_add.png +%{tde_datadir}/icons/hicolor/*/actions/breakpoint_delete.png +%{tde_datadir}/icons/hicolor/*/actions/breakpoint_delete_all.png +%{tde_datadir}/icons/hicolor/*/actions/breakpoint_edit.png +%{tde_datadir}/icons/hicolor/*/actions/ktip.png +%{tde_datadir}/icons/hicolor/*/apps/kdevassistant.png +%{tde_datadir}/icons/hicolor/*/apps/kdevdesigner.png +%{tde_datadir}/icons/hicolor/*/apps/tdevelop.png +%{tde_datadir}/icons/locolor/*/actions/tdevelop_tip.png +%{tde_datadir}/mimelnk/application/x-tdevelop.desktop +%{tde_datadir}/services/chm.protocol +%{tde_datadir}/services/csharpdoc.protocol +%{tde_datadir}/services/docchmplugin.desktop +%{tde_datadir}/services/doccustomplugin.desktop +%{tde_datadir}/services/docdevhelpplugin.desktop +%{tde_datadir}/services/docdoxygenplugin.desktop +%{tde_datadir}/services/dockdevtocplugin.desktop +%{tde_datadir}/services/docqtplugin.desktop +%{tde_datadir}/services/kchmpart.desktop +%{tde_datadir}/services/kdevabbrev.desktop +%{tde_datadir}/services/kdevadaproject.desktop +%{tde_datadir}/services/kdevadasupport.desktop +%{tde_datadir}/services/kdevantproject.desktop +%{tde_datadir}/services/kdevappoutputview.desktop +%{tde_datadir}/services/kdevappwizard.desktop +%{tde_datadir}/services/kdevastyle.desktop +%{tde_datadir}/services/kdevautoproject.desktop +%{tde_datadir}/services/kdevbashsupport.desktop +%{tde_datadir}/services/kdevbookmarks.desktop +%{tde_datadir}/services/kdevclassview.desktop +%{tde_datadir}/services/kdevcppsupport.desktop +%{tde_datadir}/services/kdevcsharpsupport.desktop +%{tde_datadir}/services/kdevcsupport.desktop +%{tde_datadir}/services/kdevctags2.desktop +%{tde_datadir}/services/kdevcustomproject.desktop +%{tde_datadir}/services/kdevdccoptions.desktop +%{tde_datadir}/services/kdevdebugger.desktop +%{tde_datadir}/services/kdevdesigner_part.desktop +%{tde_datadir}/services/kdevdiff.desktop +%{tde_datadir}/services/kdevdistpart.desktop +%{tde_datadir}/services/kdevdocumentation.desktop +%{tde_datadir}/services/kdevdoxygen.desktop +%{tde_datadir}/services/kdeveditorchooser.desktop +%{tde_datadir}/services/kdevfilecreate.desktop +%{tde_datadir}/services/kdevfilegroups.desktop +%{tde_datadir}/services/kdevfilelist.desktop +%{tde_datadir}/services/kdevfileselector.desktop +%{tde_datadir}/services/kdevfileview.desktop +%{tde_datadir}/services/kdevfilter.desktop +%{tde_datadir}/services/kdevfortransupport.desktop +%{tde_datadir}/services/kdevfpcoptions.desktop +%{tde_datadir}/services/kdevfullscreen.desktop +%{tde_datadir}/services/kdevg77options.desktop +%{tde_datadir}/services/kdevgccoptions.desktop +%{tde_datadir}/services/kdevgppoptions.desktop +%{tde_datadir}/services/kdevgrepview.desktop +%{tde_datadir}/services/kdevjavasupport.desktop +%{tde_datadir}/services/kdevtdeautoproject.desktop +%{tde_datadir}/services/kdevtdelibsimporter.desktop +%{tde_datadir}/services/kdevkonsoleview.desktop +%{tde_datadir}/services/kdevmakeview.desktop +%{tde_datadir}/services/kdevopenwith.desktop +%{tde_datadir}/services/kdevpartexplorer.desktop +%{tde_datadir}/services/kdevpascalproject.desktop +%{tde_datadir}/services/kdevpascalsupport.desktop +%{tde_datadir}/services/kdevpcscustomimporter.desktop +%{tde_datadir}/services/kdevperlsupport.desktop +%{tde_datadir}/services/kdevpgf77options.desktop +%{tde_datadir}/services/kdevpghpfoptions.desktop +%{tde_datadir}/services/kdevphpsupport.desktop +%{tde_datadir}/services/kdevpythonsupport.desktop +%{tde_datadir}/services/kdevqt4importer.desktop +%{tde_datadir}/services/kdevqtimporter.desktop +%{tde_datadir}/services/kdevquickopen.desktop +%{tde_datadir}/services/kdevrbdebugger.desktop +%{tde_datadir}/services/kdevregexptest.desktop +%{tde_datadir}/services/kdevreplace.desktop +%{tde_datadir}/services/kdevrubysupport.desktop +%{tde_datadir}/services/kdevscripting.desktop +%{tde_datadir}/services/kdevscriptproject.desktop +%{tde_datadir}/services/kdevsnippet.desktop +%{tde_datadir}/services/kdevsqlsupport.desktop +%{tde_datadir}/services/kdevtexttools.desktop +%{tde_datadir}/services/kdevtipofday.desktop +%{tde_datadir}/services/kdevtmakeproject.desktop +%{tde_datadir}/services/kdevtools.desktop +%{tde_datadir}/services/kdevtrollproject.desktop +%{tde_datadir}/services/kdevuichooser.desktop +%{tde_datadir}/services/kdevvalgrind.desktop +%{tde_datadir}/services/kdevvcsmanager.desktop +%{tde_datadir}/services/perldoc.protocol +%{tde_datadir}/services/pydoc.protocol +%{tde_datadir}/servicetypes/tdevelopappfrontend.desktop +%{tde_datadir}/servicetypes/tdevelopcodebrowserfrontend.desktop +%{tde_datadir}/servicetypes/tdevelopcompileroptions.desktop +%{tde_datadir}/servicetypes/tdevelopcreatefile.desktop +%{tde_datadir}/servicetypes/tdevelopdifffrontend.desktop +%{tde_datadir}/servicetypes/tdevelopdocumentationplugins.desktop +%{tde_datadir}/servicetypes/tdeveloplanguagesupport.desktop +%{tde_datadir}/servicetypes/tdevelopmakefrontend.desktop +%{tde_datadir}/servicetypes/tdeveloppcsimporter.desktop +%{tde_datadir}/servicetypes/tdevelopplugin.desktop +%{tde_datadir}/servicetypes/tdevelopproject.desktop +%{tde_datadir}/servicetypes/tdevelopquickopen.desktop +%{tde_datadir}/servicetypes/tdevelopsourceformatter.desktop +%{tde_datadir}/servicetypes/tdevelopvcsintegrator.desktop +%{tde_datadir}/servicetypes/tdevelopversioncontrol.desktop +%{tde_datadir}/apps/kdevcsharpsupport/ +%{tde_datadir}/apps/kdevctags2/ +%{tde_datadir}/apps/kdevcustomproject/ +%{tde_datadir}/apps/kdevdebugger/ +%{tde_datadir}/apps/kdevdesigner/ +%{tde_datadir}/apps/kdevdesignerpart/ +%{tde_datadir}/apps/kdevdiff/ +%{tde_datadir}/apps/kdevdistpart/ +%{tde_datadir}/apps/kdevdocumentation/ +%{tde_datadir}/apps/kdevdoxygen/ +%{tde_datadir}/apps/tdevelop/ +%{tde_datadir}/apps/kdevfilecreate/ +%{tde_datadir}/apps/kdevfilelist/ +%{tde_datadir}/apps/kdevfilter/ +%{tde_datadir}/apps/kdevfortransupport/ +%{tde_datadir}/apps/kdevfullscreen/ +%{tde_datadir}/apps/kdevgrepview/ +%{tde_datadir}/apps/kdevjavasupport/ +%{tde_datadir}/apps/kdevmakeview/ +%{tde_datadir}/apps/kdevpartexplorer/ +%{tde_datadir}/apps/kdevpascalproject/ +%{tde_datadir}/apps/kdevpascalsupport/ +%{tde_datadir}/apps/kdevperlsupport/ +%{tde_datadir}/apps/kdevphpsupport/ +%{tde_datadir}/apps/kdevpythonsupport/ +%{tde_datadir}/apps/kdevquickopen/ +%{tde_datadir}/apps/kdevrbdebugger/ +%{tde_datadir}/apps/kdevregexptest/ +%{tde_datadir}/apps/kdevreplace/ +%{tde_datadir}/apps/kdevrubysupport/ +%{tde_datadir}/apps/kdevscripting/ +%{tde_datadir}/apps/kdevscriptproject/ +%{tde_datadir}/apps/kdevsnippet/ +%{tde_datadir}/apps/kdevsqlsupport +%{tde_datadir}/apps/kdevtipofday/ +%{tde_datadir}/apps/kdevtools/ +%{tde_datadir}/apps/kdevtrollproject/ +%{tde_datadir}/apps/kdevvalgrind/ +%{tde_datadir}/apps/tdeio_pydoc/ +%{tde_datadir}/desktop-directories/tde-development-tdevelop.directory +%{tde_tdedocdir}/HTML/en/tdevelop/ +%{tde_libdir}/libd.so.0 +%{tde_libdir}/libd.so.0.0.0 +%{tde_libdir}/libkinterfacedesigner.so.0 +%{tde_libdir}/libkinterfacedesigner.so.0.0.0 +%{tde_tdelibdir}/libkdevvisualboyadvance.la +%{tde_tdelibdir}/libkdevvisualboyadvance.so +%{tde_datadir}/apps/kdevdesignerpart/pics/ +%{tde_datadir}/apps/kdevvisualboyadvance/ +%{tde_tdedocdir}/HTML/en/tde_app_devel/ +%{tde_datadir}/mimelnk/text/x-fortran.desktop +%{tde_datadir}/services/kdevvisualboyadvance.desktop +%{tde_tdedocdir}/HTML/en/kdevdesigner/ + +########## + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries/Other +Requires: %{name}-libs = %{version}-%{release} + +Obsoletes: trinity-kdevelop-devel < %{version}-%{release} +Provides: trinity-kdevelop-devel = %{version}-%{release} + +%description devel +This package contains the development files for tdevelop. + +%files devel +%defattr(-,root,root,-) +%{tde_libdir}/lib*.so +%{tde_libdir}/lib*.la +%{tde_includedir}/* + +########## + +%package libs +Summary: %{name} runtime libraries +Group: System Environment/Libraries +Requires: trinity-tdelibs >= %{tde_version} +# include to be paranoid, installing libs-only is still mostly untested -- Rex +Requires: %{name} = %{version}-%{release} + +Obsoletes: trinity-kdevelop-libs < %{version}-%{release} +Provides: trinity-kdevelop-libs = %{version}-%{release} + +%description libs +This package contains the libraries needed for the tdevelop programs. + +%files libs +%defattr(-,root,root,-) +%{tde_libdir}/libdesignerintegration.so.0 +%{tde_libdir}/libdesignerintegration.so.0.0.0 +%{tde_libdir}/libdocumentation_interfaces.so.0 +%{tde_libdir}/libdocumentation_interfaces.so.0.0.0 +%{tde_libdir}/libgdbmi_parser.so.0 +%{tde_libdir}/libgdbmi_parser.so.0.0.0 +%{tde_libdir}/libkdevbuildbase.so.0 +%{tde_libdir}/libkdevbuildbase.so.0.0.0 +%{tde_libdir}/libkdevbuildtoolswidgets.so.0 +%{tde_libdir}/libkdevbuildtoolswidgets.so.0.0.0 +%{tde_libdir}/libkdevcatalog.so.0 +%{tde_libdir}/libkdevcatalog.so.0.0.0 +%{tde_libdir}/libkdevcppparser.so.0 +%{tde_libdir}/libkdevcppparser.so.0.0.0 +%{tde_libdir}/libtdevelop.so.1 +%{tde_libdir}/libtdevelop.so.1.0.0 +%{tde_libdir}/libkdevextras.so.0 +%{tde_libdir}/libkdevextras.so.0.0.0 +%{tde_libdir}/libkdevpropertyeditor.so.0 +%{tde_libdir}/libkdevpropertyeditor.so.0.0.0 +%{tde_libdir}/libkdevqmakeparser.so.0 +%{tde_libdir}/libkdevqmakeparser.so.0.0.0 +%{tde_libdir}/libkdevshell.so.0 +%{tde_libdir}/libkdevshell.so.0.0.0 +%{tde_libdir}/libkdevwidgets.so.0 +%{tde_libdir}/libkdevwidgets.so.0.0.0 +%{tde_libdir}/liblang_debugger.so.0 +%{tde_libdir}/liblang_debugger.so.0.0.0 +%{tde_libdir}/liblang_interfaces.so.0 +%{tde_libdir}/liblang_interfaces.so.0.0.0 +%{tde_libdir}/libprofileengine.so.0 +%{tde_libdir}/libprofileengine.so.0.0.0 + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{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 + +# openldap 2.4 includes (CentOS 5) +if [ -d "/usr/include/openldap24" ]; then + RPM_OPT_FLAGS="-I%{_includedir}/openldap24 -L%{_libdir}/openldap24 ${RPM_OPT_FLAGS}" +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} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -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_BUILDTOOL_ALL=ON \ + -DWITH_LANGUAGE_ALL=ON \ + -DWITH_VCS_ALL=OFF \ + -DBUILD_ALL=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +# Links duplicate files +%fdupes "%{?buildroot}%{tde_datadir}" + + +%clean +%__rm -rf %{buildroot} + + +%changelog diff --git a/redhat/main/tdewebdev/tdewebdev-14.0.0.spec b/redhat/main/tdewebdev/tdewebdev-14.0.0.spec deleted file mode 100644 index 4ddcde0b9..000000000 --- a/redhat/main/tdewebdev/tdewebdev-14.0.0.spec +++ /dev/null @@ -1,529 +0,0 @@ -# -# spec file for package tdewebdev (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/ -# - -# BUILD WARNING: -# Remove qt-devel and qt3-devel and any kde*-devel on your system ! -# Having KDE libraries may cause FTBFS here ! - -# TDE variables -%define tde_epoch 2 -%if "%{?tde_version}" == "" -%define tde_version 14.0.0 -%endif -%define tde_pkg tdewebdev -%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_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: Web development applications -Group: Applications/Editors -Version: %{tde_version} -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist} -URL: http://www.trinitydesktop.org/ - -%if 0%{?suse_version} -License: GPL-2.0+ -%else -License: GPLv2+ -%endif - -#Vendor: Trinity Project -#Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz -Source1: http://download.sourceforge.net/quanta/css.tar.bz2 -Source2: http://download.sourceforge.net/quanta/html.tar.bz2 -Source3: http://download.sourceforge.net/quanta/php_manual_en_20030401.tar.bz2 -Source4: http://download.sourceforge.net/quanta/javascript.tar.bz2 - -Source10: %{name}-rpmlintrc - -BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdesdk-devel >= %{tde_version} - -BuildRequires: autoconf automake libtool m4 -BuildRequires: desktop-file-utils -BuildRequires: gcc-c++ - -# 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: 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 - -# PERL support -BuildRequires: perl - -# KXSLDBG requires libxml2 -#if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || ( 0%{?fedora} > 0 && %{?fedora} <= 17 ) || 0%{?suse_version} -%define build_kxsldbg 1 -BuildRequires: libxml2-devel -#endif - -%if "%{?tde_version}" != "14.1.0" -%define build_tdefilereplace 1 -%endif - -Obsoletes: trinity-kdewebdev-libs < %{version}-%{release} -Provides: trinity-kdewebdev-libs = %{version}-%{release} -Obsoletes: trinity-kdewebdev < %{version}-%{release} -Provides: trinity-kdewebdev = %{version}-%{release} - -Requires: trinity-quanta = %{version}-%{release} -Requires: trinity-quanta-data = %{version}-%{release} -Requires: trinity-kimagemapeditor = %{version}-%{release} -Requires: trinity-klinkstatus = %{version}-%{release} -Requires: trinity-kommander = %{version}-%{release} -%{?build_kxsldbg:Requires: trinity-kxsldbg = %{version}-%{release}} - -%description -Web development applications, including: -* kimagemapeditor: HTML image map editor -* klinkstatus: link checker -* kommander: visual dialog building tool -* quanta+: web development -%{?build_kxsldbg:* kxsldbg: xslt Debugger} - -%files -%defattr(-,root,root,-) - -########## - -%package -n trinity-quanta -Summary: web development environment for TDE [Trinity] -Group: Applications/Development -Requires: trinity-tdefilereplace -Requires: trinity-klinkstatus = %{version}-%{release} -Requires: trinity-kommander = %{version}-%{release} -Requires: trinity-quanta-data = %{version}-%{release} -#Requires: trinity-kimagemapeditor = %{version}-%{release} -#Requires: trinity-kxsldbg = %{version}-%{release} -Requires: tidy - -%description -n trinity-quanta -Quanta Plus is a web development environment for working with HTML -and associated languages. It strives to be neutral and transparent -to all markup languages, while supporting popular web-based scripting -languages, CSS and other emerging W3C recommendations. - -Quanta Plus supports many external components, debuggers and other tools -for web development, several of which are shipped with the TDE web -development module. - -Quanta Plus is not in any way affiliated with any commercial versions -of Quanta. The primary coders from the original team left the GPL'd -version to produce a commercial product. - -This package is part of TDE, as a component of the TDE web development module. - -%files -n trinity-quanta -%defattr(-,root,root,-) -%{tde_bindir}/quanta -%{tde_tdelibdir}/quantadebuggerdbgp.la -%{tde_tdelibdir}/quantadebuggerdbgp.so -%{tde_tdelibdir}/quantadebuggergubed.la -%{tde_tdelibdir}/quantadebuggergubed.so -%{tde_tdeappdir}/quanta.desktop -%{tde_datadir}/apps/kafkapart -%{tde_datadir}/icons/hicolor/*/apps/quanta.png -%{tde_datadir}/mimelnk/application/x-webprj.desktop -%{tde_datadir}/services/quantadebuggerdbgp.desktop -%{tde_datadir}/services/quantadebuggergubed.desktop -%{tde_datadir}/services/quanta_preview_config.desktop -%{tde_datadir}/servicetypes/quantadebugger.desktop -%{tde_tdedocdir}/HTML/en/quanta/ - -########## - -%package -n trinity-quanta-data -Summary: data files for Quanta Plus web development environment [Trinity] -Group: Applications/Development - -%description -n trinity-quanta-data -This package contains architecture-independent data files for Quanta -Plus, a web development environment for working with HTML and associated -languages. - -See the quanta package for further information. - -This package is part of TDE, as a component of the TDE web development module. - -%files -n trinity-quanta-data -%defattr(-,root,root,-) -%{tde_datadir}/apps/quanta/ - -########## - -%package -n trinity-kimagemapeditor -Summary: HTML image map editor for TDE -Group: Applications/Development - -%description -n trinity-kimagemapeditor -KImageMapEditor is a tool that allows you to edit image maps in HTML -files. As well as providing a standalone application, KImageMapEditor -makes itself available as a KPart for embedding into larger applications. - -This package is part of TDE, as a component of the TDE web development module. - -%files -n trinity-kimagemapeditor -%defattr(-,root,root,-) -%{tde_bindir}/kimagemapeditor -%{tde_tdelibdir}/libkimagemapeditor.la -%{tde_tdelibdir}/libkimagemapeditor.so -%{tde_tdeappdir}/kimagemapeditor.desktop -%{tde_datadir}/apps/kimagemapeditor/ -%{tde_datadir}/icons/hicolor/*/apps/kimagemapeditor.png -%{tde_datadir}/icons/locolor/*/apps/kimagemapeditor.png -%{tde_datadir}/services/kimagemapeditorpart.desktop -%{tde_tdedocdir}/HTML/en/kimagemapeditor/ - -########## - -%package -n trinity-klinkstatus -Summary: web link validity checker for TDE -Group: Applications/Development - -%description -n trinity-klinkstatus -KLinkStatus is TDE's web link validity checker. It allows you to -search internal and external links throughout your web site. Simply -point it to a single page and choose the depth to search. - -You can also check local files, or files over ftp:, fish: or any other -KIO protocols. For performance, links can be checked simultaneously. - -This package is part of TDE, as a component of the TDE web development module. - -%files -n trinity-klinkstatus -%defattr(-,root,root,-) -%{tde_bindir}/klinkstatus -%{tde_tdelibdir}/libklinkstatuspart.la -%{tde_tdelibdir}/libklinkstatuspart.so -%{tde_tdeappdir}/klinkstatus.desktop -%{tde_datadir}/apps/klinkstatus/ -%{tde_datadir}/apps/klinkstatuspart/ -%{tde_datadir}/config.kcfg/klinkstatus.kcfg -%{tde_datadir}/icons/crystalsvg/16x16/actions/bug.png -%{tde_datadir}/icons/hicolor/*/apps/klinkstatus.png -%{tde_datadir}/services/klinkstatus_part.desktop -%{tde_tdedocdir}/HTML/en/klinkstatus/ - -########## - -%package -n trinity-kommander -Summary: visual dialog builder and executor tool [Trinity] -Group: Applications/Development -Requires: gettext - -%description -n trinity-kommander -Kommander is a visual dialog building tool whose primary objective is -to create as much functionality as possible without using any scripting -language. - -More specifically, Kommander is a set of tools that allow you to create -dynamic GUI dialogs that generate, based on their state, a piece of -text. The piece of text can be a command line to a program, any piece -of code, business documents that contain a lot of repetitious or -templated text and so on. - -The resulting generated text can then be executed as a command line -program (hence the name "Kommander"), written to a file, passed to a -script for extended processing, and literally anything else you can -think of. And you aren't required to write a single line of code! - -As well as building dialogs, Kommander may be expanded to create full -mainwindow applications. - -This package is part of TDE, as a component of the TDE web development module. - -%files -n trinity-kommander -%defattr(-,root,root,-) -%{tde_bindir}/kmdr-editor -%{tde_bindir}/kmdr-executor -%{tde_bindir}/kmdr-plugins -%{tde_libdir}/libkommanderplugin.so.* -%{tde_libdir}/libkommanderwidgets.la -%{tde_libdir}/libkommanderwidget.so.* -%{tde_libdir}/libkommanderwidgets.so.* -%{tde_tdeappdir}/kmdr-editor.desktop -%{tde_datadir}/applnk/.hidden/kmdr-executor.desktop -%{tde_datadir}/apps/katepart/syntax/kommander.xml -%{tde_tdedocdir}/HTML/en/kommander/ -%{tde_datadir}/icons/crystalsvg/*/apps/kommander.png -%{tde_datadir}/icons/hicolor/*/apps/kommander.png -%{tde_datadir}/mimelnk/application/x-kommander.desktop -%{tde_tdelibdir}/libkommander_part.so -%{tde_tdelibdir}/libkommander_part.la -%{tde_datadir}/apps/kommander/ -%{tde_datadir}/apps/kmdr-editor/ -%{tde_datadir}/apps/katepart/syntax/kommander-new.xml -%{tde_datadir}/apps/tdevappwizard/ -%{tde_datadir}/services/kommander_part.desktop - -########## - -%package -n trinity-kommander-devel -Summary: development files for Kommander [Trinity] -Group: Development/Libraries -Requires: trinity-kommander = %{version}-%{release} - -%description -n trinity-kommander-devel -This package contains the headers and other development files for -building plugins or otherwise extending Kommander. - -Kommander is a visual dialog building tool whose primary objective is -to create as much functionality as possible without using any scripting -language. - -See the kommander package for further information. - -This package is part of TDE, as a component of the TDE web development module. - -%files -n trinity-kommander-devel -%defattr(-,root,root,-) -%{tde_libdir}/libkommanderplugin.la -%{tde_libdir}/libkommanderplugin.so -%{tde_libdir}/libkommanderwidget.la -%{tde_libdir}/libkommanderwidget.so -%{tde_libdir}/libkommanderwidgets.so -%{tde_tdeincludedir}/kommander* -%{tde_tdeincludedir}/specials.h - -########## - -%if 0%{?build_kxsldbg} - -%package -n trinity-kxsldbg -Summary: graphical XSLT debugger for TDE [Trinity] -Group: Applications/Development - -%description -n trinity-kxsldbg -KXSLDbg is a debugger for XSLT scripts. It includes a graphical user -interface as well as a text-based debugger. KXSLDbg can be run as a -standalone application or as an embedded TDE part. - -XSLT is an XML language for defining transformations of XML files from -XML to some other arbitrary format, such as XML, HTML, plain text, etc., -using standard XSLT stylesheets. - -This package is part of TDE, as a component of the TDE web development module. - -%files -n trinity-kxsldbg -%defattr(-,root,root,-) -%{tde_bindir}/kxsldbg -%{tde_bindir}/xsldbg -%{tde_tdelibdir}/libkxsldbgpart.la -%{tde_tdelibdir}/libkxsldbgpart.so -%{tde_tdeappdir}/kxsldbg.desktop -%{tde_datadir}/applnk/.hidden/xsldbg.desktop -%{tde_datadir}/apps/kxsldbg/ -%{tde_datadir}/apps/kxsldbgpart/ -%{tde_tdedocdir}/HTML/en/kxsldbg/ -%{tde_tdedocdir}/HTML/en/xsldbg/ -%{tde_datadir}/icons/hicolor/*/actions/1downarrow.png -%{tde_datadir}/icons/hicolor/*/actions/configure.png -%{tde_datadir}/icons/hicolor/*/actions/system-log-out.png -%{tde_datadir}/icons/hicolor/*/actions/system-run.png -%{tde_datadir}/icons/hicolor/*/actions/hash.png -%{tde_datadir}/icons/hicolor/*/actions/mark.png -%{tde_datadir}/icons/hicolor/*/actions/next.png -%{tde_datadir}/icons/hicolor/*/actions/step.png -%{tde_datadir}/icons/hicolor/*/actions/xsldbg_*.png -%{tde_datadir}/icons/hicolor/*/apps/kxsldbg.png -%{tde_datadir}/icons/locolor/*/apps/kxsldbg.png -%{tde_datadir}/services/kxsldbg_part.desktop - -%endif - -########## - -%if 0%{?build_tdefilereplace} - -%package -n trinity-tdefilereplace -Summary: Batch search-and-replace component for TDE -Group: Applications/Utilities - -Obsoletes: trinity-kfilereplace < %{version}-%{release} -Provides: trinity-kfilereplace = %{version}-%{release} - -%description -n trinity-tdefilereplace -TDEFileReplace is an embedded component for TDE that acts as a batch -search-and-replace tool. It allows you to replace one expression with -another in many files at once. - -Note that at the moment TDEFileReplace does not come as a standalone -application. - -This package is part of Trinity, as a component of the TDE utilities module. - -%files -n trinity-tdefilereplace -%defattr(-,root,root,-) -%{tde_bindir}/tdefilereplace -%{tde_tdelibdir}/libtdefilereplacepart.la -%{tde_tdelibdir}/libtdefilereplacepart.so -%{tde_tdeappdir}/tdefilereplace.desktop -%{tde_datadir}/apps/tdefilereplace/ -%{tde_datadir}/apps/tdefilereplacepart/ -%{tde_tdedocdir}/HTML/en/tdefilereplace/ -%{tde_datadir}/icons/hicolor/*/apps/tdefilereplace.png -%{tde_datadir}/services/tdefilereplacepart.desktop - -%endif - -########## - -%package devel -Group: Development/Libraries -Summary: Header files and documentation for %{name} - -Obsoletes: trinity-kdewebdev-devel < %{version}-%{release} -Provides: trinity-kdewebdev-devel = %{version}-%{release} - -Requires: trinity-tdelibs-devel >= %{tde_version} -Requires: %{name} = %{version}-%{release} -Requires: trinity-kommander-devel = %{version}-%{release} - -%description devel -%{summary}. - -%files devel - -########## - -%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} -a 1 -a 2 -a 3 -a 4 - -%if 0%{?build_kxsldbg} == 0 -%__rm -rf kxsldbg/ doc/kxsldbg/ doc/xsldbg/ -%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}" - -# 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 - -# Warning: GCC visibility causes FTBFS [Bug #1285] -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --includedir=%{tde_tdeincludedir} \ - \ - --disable-dependency-tracking \ - --disable-debug \ - --enable-new-ldflags \ - --enable-final \ - --enable-closure \ - --enable-rpath \ - --disable-gcc-hidden-visibility \ - \ - --enable-editors \ - --with-extra-includes=%{_includedir}/tqt - - -# WTF hack for RHEL4 -%if 0%{?rhel} == 4 -mkdir kommander/plugin/.libs/ -ln -s . kommander/plugin/.libs/.libs -%endif - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{?buildroot} -%__make install DESTDIR=%{?buildroot} - - -## package separately? Why doesn't upstream include this? -- Rex -# install docs -for i in css html javascript ; do - pushd $i - ./install.sh < + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz +Source1: http://download.sourceforge.net/quanta/css.tar.bz2 +Source2: http://download.sourceforge.net/quanta/html.tar.bz2 +Source3: http://download.sourceforge.net/quanta/php_manual_en_20030401.tar.bz2 +Source4: http://download.sourceforge.net/quanta/javascript.tar.bz2 + +Source10: %{name}-rpmlintrc + +BuildRequires: trinity-tdelibs-devel >= %{tde_version} +BuildRequires: trinity-tdesdk-devel >= %{tde_version} + +BuildRequires: autoconf automake libtool m4 +BuildRequires: desktop-file-utils +BuildRequires: gcc-c++ + +# 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: 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 + +# PERL support +BuildRequires: perl + +# KXSLDBG requires libxml2 +#if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || ( 0%{?fedora} > 0 && %{?fedora} <= 17 ) || 0%{?suse_version} +%define build_kxsldbg 1 +BuildRequires: libxml2-devel +#endif + +%if "%{?tde_version}" != "14.1.0" +%define build_tdefilereplace 1 +%endif + +Obsoletes: trinity-kdewebdev-libs < %{version}-%{release} +Provides: trinity-kdewebdev-libs = %{version}-%{release} +Obsoletes: trinity-kdewebdev < %{version}-%{release} +Provides: trinity-kdewebdev = %{version}-%{release} + +Requires: trinity-quanta = %{version}-%{release} +Requires: trinity-quanta-data = %{version}-%{release} +Requires: trinity-kimagemapeditor = %{version}-%{release} +Requires: trinity-klinkstatus = %{version}-%{release} +Requires: trinity-kommander = %{version}-%{release} +%{?build_kxsldbg:Requires: trinity-kxsldbg = %{version}-%{release}} + +%description +Web development applications, including: +* kimagemapeditor: HTML image map editor +* klinkstatus: link checker +* kommander: visual dialog building tool +* quanta+: web development +%{?build_kxsldbg:* kxsldbg: xslt Debugger} + +%files +%defattr(-,root,root,-) + +########## + +%package -n trinity-quanta +Summary: web development environment for TDE [Trinity] +Group: Applications/Development +Requires: trinity-tdefilereplace +Requires: trinity-klinkstatus = %{version}-%{release} +Requires: trinity-kommander = %{version}-%{release} +Requires: trinity-quanta-data = %{version}-%{release} +#Requires: trinity-kimagemapeditor = %{version}-%{release} +#Requires: trinity-kxsldbg = %{version}-%{release} +Requires: tidy + +%description -n trinity-quanta +Quanta Plus is a web development environment for working with HTML +and associated languages. It strives to be neutral and transparent +to all markup languages, while supporting popular web-based scripting +languages, CSS and other emerging W3C recommendations. + +Quanta Plus supports many external components, debuggers and other tools +for web development, several of which are shipped with the TDE web +development module. + +Quanta Plus is not in any way affiliated with any commercial versions +of Quanta. The primary coders from the original team left the GPL'd +version to produce a commercial product. + +This package is part of TDE, as a component of the TDE web development module. + +%files -n trinity-quanta +%defattr(-,root,root,-) +%{tde_bindir}/quanta +%{tde_tdelibdir}/quantadebuggerdbgp.la +%{tde_tdelibdir}/quantadebuggerdbgp.so +%{tde_tdelibdir}/quantadebuggergubed.la +%{tde_tdelibdir}/quantadebuggergubed.so +%{tde_tdeappdir}/quanta.desktop +%{tde_datadir}/apps/kafkapart +%{tde_datadir}/icons/hicolor/*/apps/quanta.png +%{tde_datadir}/mimelnk/application/x-webprj.desktop +%{tde_datadir}/services/quantadebuggerdbgp.desktop +%{tde_datadir}/services/quantadebuggergubed.desktop +%{tde_datadir}/services/quanta_preview_config.desktop +%{tde_datadir}/servicetypes/quantadebugger.desktop +%{tde_tdedocdir}/HTML/en/quanta/ + +########## + +%package -n trinity-quanta-data +Summary: data files for Quanta Plus web development environment [Trinity] +Group: Applications/Development + +%description -n trinity-quanta-data +This package contains architecture-independent data files for Quanta +Plus, a web development environment for working with HTML and associated +languages. + +See the quanta package for further information. + +This package is part of TDE, as a component of the TDE web development module. + +%files -n trinity-quanta-data +%defattr(-,root,root,-) +%{tde_datadir}/apps/quanta/ + +########## + +%package -n trinity-kimagemapeditor +Summary: HTML image map editor for TDE +Group: Applications/Development + +%description -n trinity-kimagemapeditor +KImageMapEditor is a tool that allows you to edit image maps in HTML +files. As well as providing a standalone application, KImageMapEditor +makes itself available as a KPart for embedding into larger applications. + +This package is part of TDE, as a component of the TDE web development module. + +%files -n trinity-kimagemapeditor +%defattr(-,root,root,-) +%{tde_bindir}/kimagemapeditor +%{tde_tdelibdir}/libkimagemapeditor.la +%{tde_tdelibdir}/libkimagemapeditor.so +%{tde_tdeappdir}/kimagemapeditor.desktop +%{tde_datadir}/apps/kimagemapeditor/ +%{tde_datadir}/icons/hicolor/*/apps/kimagemapeditor.png +%{tde_datadir}/icons/locolor/*/apps/kimagemapeditor.png +%{tde_datadir}/services/kimagemapeditorpart.desktop +%{tde_tdedocdir}/HTML/en/kimagemapeditor/ + +########## + +%package -n trinity-klinkstatus +Summary: web link validity checker for TDE +Group: Applications/Development + +%description -n trinity-klinkstatus +KLinkStatus is TDE's web link validity checker. It allows you to +search internal and external links throughout your web site. Simply +point it to a single page and choose the depth to search. + +You can also check local files, or files over ftp:, fish: or any other +KIO protocols. For performance, links can be checked simultaneously. + +This package is part of TDE, as a component of the TDE web development module. + +%files -n trinity-klinkstatus +%defattr(-,root,root,-) +%{tde_bindir}/klinkstatus +%{tde_tdelibdir}/libklinkstatuspart.la +%{tde_tdelibdir}/libklinkstatuspart.so +%{tde_tdeappdir}/klinkstatus.desktop +%{tde_datadir}/apps/klinkstatus/ +%{tde_datadir}/apps/klinkstatuspart/ +%{tde_datadir}/config.kcfg/klinkstatus.kcfg +%{tde_datadir}/icons/crystalsvg/16x16/actions/bug.png +%{tde_datadir}/icons/hicolor/*/apps/klinkstatus.png +%{tde_datadir}/services/klinkstatus_part.desktop +%{tde_tdedocdir}/HTML/en/klinkstatus/ + +########## + +%package -n trinity-kommander +Summary: visual dialog builder and executor tool [Trinity] +Group: Applications/Development +Requires: gettext + +%description -n trinity-kommander +Kommander is a visual dialog building tool whose primary objective is +to create as much functionality as possible without using any scripting +language. + +More specifically, Kommander is a set of tools that allow you to create +dynamic GUI dialogs that generate, based on their state, a piece of +text. The piece of text can be a command line to a program, any piece +of code, business documents that contain a lot of repetitious or +templated text and so on. + +The resulting generated text can then be executed as a command line +program (hence the name "Kommander"), written to a file, passed to a +script for extended processing, and literally anything else you can +think of. And you aren't required to write a single line of code! + +As well as building dialogs, Kommander may be expanded to create full +mainwindow applications. + +This package is part of TDE, as a component of the TDE web development module. + +%files -n trinity-kommander +%defattr(-,root,root,-) +%{tde_bindir}/kmdr-editor +%{tde_bindir}/kmdr-executor +%{tde_bindir}/kmdr-plugins +%{tde_libdir}/libkommanderplugin.so.* +%{tde_libdir}/libkommanderwidgets.la +%{tde_libdir}/libkommanderwidget.so.* +%{tde_libdir}/libkommanderwidgets.so.* +%{tde_tdeappdir}/kmdr-editor.desktop +%{tde_datadir}/applnk/.hidden/kmdr-executor.desktop +%{tde_datadir}/apps/katepart/syntax/kommander.xml +%{tde_tdedocdir}/HTML/en/kommander/ +%{tde_datadir}/icons/crystalsvg/*/apps/kommander.png +%{tde_datadir}/icons/hicolor/*/apps/kommander.png +%{tde_datadir}/mimelnk/application/x-kommander.desktop +%{tde_tdelibdir}/libkommander_part.so +%{tde_tdelibdir}/libkommander_part.la +%{tde_datadir}/apps/kommander/ +%{tde_datadir}/apps/kmdr-editor/ +%{tde_datadir}/apps/katepart/syntax/kommander-new.xml +%{tde_datadir}/apps/tdevappwizard/ +%{tde_datadir}/services/kommander_part.desktop + +########## + +%package -n trinity-kommander-devel +Summary: development files for Kommander [Trinity] +Group: Development/Libraries +Requires: trinity-kommander = %{version}-%{release} + +%description -n trinity-kommander-devel +This package contains the headers and other development files for +building plugins or otherwise extending Kommander. + +Kommander is a visual dialog building tool whose primary objective is +to create as much functionality as possible without using any scripting +language. + +See the kommander package for further information. + +This package is part of TDE, as a component of the TDE web development module. + +%files -n trinity-kommander-devel +%defattr(-,root,root,-) +%{tde_libdir}/libkommanderplugin.la +%{tde_libdir}/libkommanderplugin.so +%{tde_libdir}/libkommanderwidget.la +%{tde_libdir}/libkommanderwidget.so +%{tde_libdir}/libkommanderwidgets.so +%{tde_tdeincludedir}/kommander* +%{tde_tdeincludedir}/specials.h + +########## + +%if 0%{?build_kxsldbg} + +%package -n trinity-kxsldbg +Summary: graphical XSLT debugger for TDE [Trinity] +Group: Applications/Development + +%description -n trinity-kxsldbg +KXSLDbg is a debugger for XSLT scripts. It includes a graphical user +interface as well as a text-based debugger. KXSLDbg can be run as a +standalone application or as an embedded TDE part. + +XSLT is an XML language for defining transformations of XML files from +XML to some other arbitrary format, such as XML, HTML, plain text, etc., +using standard XSLT stylesheets. + +This package is part of TDE, as a component of the TDE web development module. + +%files -n trinity-kxsldbg +%defattr(-,root,root,-) +%{tde_bindir}/kxsldbg +%{tde_bindir}/xsldbg +%{tde_tdelibdir}/libkxsldbgpart.la +%{tde_tdelibdir}/libkxsldbgpart.so +%{tde_tdeappdir}/kxsldbg.desktop +%{tde_datadir}/applnk/.hidden/xsldbg.desktop +%{tde_datadir}/apps/kxsldbg/ +%{tde_datadir}/apps/kxsldbgpart/ +%{tde_tdedocdir}/HTML/en/kxsldbg/ +%{tde_tdedocdir}/HTML/en/xsldbg/ +%{tde_datadir}/icons/hicolor/*/actions/1downarrow.png +%{tde_datadir}/icons/hicolor/*/actions/configure.png +%{tde_datadir}/icons/hicolor/*/actions/system-log-out.png +%{tde_datadir}/icons/hicolor/*/actions/system-run.png +%{tde_datadir}/icons/hicolor/*/actions/hash.png +%{tde_datadir}/icons/hicolor/*/actions/mark.png +%{tde_datadir}/icons/hicolor/*/actions/next.png +%{tde_datadir}/icons/hicolor/*/actions/step.png +%{tde_datadir}/icons/hicolor/*/actions/xsldbg_*.png +%{tde_datadir}/icons/hicolor/*/apps/kxsldbg.png +%{tde_datadir}/icons/locolor/*/apps/kxsldbg.png +%{tde_datadir}/services/kxsldbg_part.desktop + +%endif + +########## + +%if 0%{?build_tdefilereplace} + +%package -n trinity-tdefilereplace +Summary: Batch search-and-replace component for TDE +Group: Applications/Utilities + +Obsoletes: trinity-kfilereplace < %{version}-%{release} +Provides: trinity-kfilereplace = %{version}-%{release} + +%description -n trinity-tdefilereplace +TDEFileReplace is an embedded component for TDE that acts as a batch +search-and-replace tool. It allows you to replace one expression with +another in many files at once. + +Note that at the moment TDEFileReplace does not come as a standalone +application. + +This package is part of Trinity, as a component of the TDE utilities module. + +%files -n trinity-tdefilereplace +%defattr(-,root,root,-) +%{tde_bindir}/tdefilereplace +%{tde_tdelibdir}/libtdefilereplacepart.la +%{tde_tdelibdir}/libtdefilereplacepart.so +%{tde_tdeappdir}/tdefilereplace.desktop +%{tde_datadir}/apps/tdefilereplace/ +%{tde_datadir}/apps/tdefilereplacepart/ +%{tde_tdedocdir}/HTML/en/tdefilereplace/ +%{tde_datadir}/icons/hicolor/*/apps/tdefilereplace.png +%{tde_datadir}/services/tdefilereplacepart.desktop + +%endif + +########## + +%package devel +Group: Development/Libraries +Summary: Header files and documentation for %{name} + +Obsoletes: trinity-kdewebdev-devel < %{version}-%{release} +Provides: trinity-kdewebdev-devel = %{version}-%{release} + +Requires: trinity-tdelibs-devel >= %{tde_version} +Requires: %{name} = %{version}-%{release} +Requires: trinity-kommander-devel = %{version}-%{release} + +%description devel +%{summary}. + +%files devel + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} -a 1 -a 2 -a 3 -a 4 + +%if 0%{?build_kxsldbg} == 0 +%__rm -rf kxsldbg/ doc/kxsldbg/ doc/xsldbg/ +%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}" + +# 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 + +# Warning: GCC visibility causes FTBFS [Bug #1285] +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --includedir=%{tde_tdeincludedir} \ + \ + --disable-dependency-tracking \ + --disable-debug \ + --enable-new-ldflags \ + --enable-final \ + --enable-closure \ + --enable-rpath \ + --disable-gcc-hidden-visibility \ + \ + --enable-editors \ + --with-extra-includes=%{_includedir}/tqt + + +# WTF hack for RHEL4 +%if 0%{?rhel} == 4 +mkdir kommander/plugin/.libs/ +ln -s . kommander/plugin/.libs/.libs +%endif + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{?buildroot} +%__make install DESTDIR=%{?buildroot} + + +## package separately? Why doesn't upstream include this? -- Rex +# install docs +for i in css html javascript ; do + pushd $i + ./install.sh <