You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1009 lines
31 KiB
1009 lines
31 KiB
10 years ago
|
#
|
||
6 years ago
|
# spec file for package tdeutils (version R14)
|
||
10 years ago
|
#
|
||
|
# Copyright (c) 2014 Trinity Desktop Environment
|
||
|
#
|
||
|
# All modifications and additions to the file contributed by third parties
|
||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||
|
# upon. The license for this file, and modifications and additions to the
|
||
|
# file, is the same license as for the pristine package itself (unless the
|
||
|
# license for the pristine package is not an Open Source License, in which
|
||
|
# case the license is the MIT License). An "Open Source License" is a
|
||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||
|
# published by the Open Source Initiative.
|
||
|
#
|
||
6 years ago
|
# Please submit bugfixes or comments via http://www.trinitydesktop.org/
|
||
10 years ago
|
#
|
||
|
|
||
|
# BUILD WARNING:
|
||
|
# Remove qt-devel and qt3-devel and any kde*-devel on your system !
|
||
|
# Having KDE libraries may cause FTBFS here !
|
||
|
|
||
|
# TDE variables
|
||
6 years ago
|
%if "%{?tde_version}" == ""
|
||
11 years ago
|
%define tde_version 14.0.0
|
||
6 years ago
|
%endif
|
||
10 years ago
|
%define tde_pkg tdeutils
|
||
|
%define tde_prefix /opt/trinity
|
||
12 years ago
|
%define tde_bindir %{tde_prefix}/bin
|
||
6 years ago
|
%define tde_confdir %{_sysconfdir}/trinity
|
||
12 years ago
|
%define tde_datadir %{tde_prefix}/share
|
||
|
%define tde_docdir %{tde_datadir}/doc
|
||
|
%define tde_includedir %{tde_prefix}/include
|
||
|
%define tde_libdir %{tde_prefix}/%{_lib}
|
||
10 years ago
|
%define tde_sbindir %{tde_prefix}/sbin
|
||
12 years ago
|
%define tde_tdeappdir %{tde_datadir}/applications/tde
|
||
|
%define tde_tdedocdir %{tde_docdir}/tde
|
||
|
%define tde_tdeincludedir %{tde_includedir}/tde
|
||
|
%define tde_tdelibdir %{tde_libdir}/trinity
|
||
|
|
||
10 years ago
|
|
||
|
Name: trinity-%{tde_pkg}
|
||
|
Summary: TDE Utilities
|
||
11 years ago
|
Version: %{tde_version}
|
||
6 years ago
|
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}
|
||
12 years ago
|
Group: Applications/System
|
||
|
URL: http://www.trinitydesktop.org/
|
||
|
|
||
10 years ago
|
%if 0%{?suse_version}
|
||
|
License: GPL-2.0+
|
||
|
%else
|
||
|
License: GPLv2+
|
||
|
%endif
|
||
|
|
||
|
#Vendor: Trinity Project
|
||
|
#Packager: Francois Andriot <francois.andriot@free.fr>
|
||
|
|
||
12 years ago
|
Prefix: %{tde_prefix}
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||
|
|
||
|
Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
|
||
|
Source1: klaptop_acpi_helper.pam
|
||
|
Source2: klaptop_acpi_helper.console
|
||
|
Source3: kcmlaptoprc
|
||
6 years ago
|
Source4: %{name}-rpmlintrc
|
||
12 years ago
|
|
||
|
Obsoletes: trinity-kdeutils < %{version}-%{release}
|
||
|
Provides: trinity-kdeutils = %{version}-%{release}
|
||
|
Obsoletes: trinity-kdeutils-extras < %{version}-%{release}
|
||
|
Provides: trinity-kdeutils-extras = %{version}-%{release}
|
||
|
Obsoletes: tdeutils < %{version}-%{release}
|
||
|
Provides: tdeutils = %{version}-%{release}
|
||
|
|
||
6 years ago
|
BuildRequires: trinity-filesystem >= %{tde_version}
|
||
11 years ago
|
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||
6 years ago
|
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||
10 years ago
|
|
||
|
BuildRequires: cmake >= 2.8
|
||
|
BuildRequires: gcc-c++
|
||
|
BuildRequires: pkgconfig
|
||
|
BuildRequires: fdupes
|
||
|
|
||
12 years ago
|
BuildRequires: gettext
|
||
|
BuildRequires: net-snmp-devel
|
||
|
BuildRequires: python-devel
|
||
|
BuildRequires: gmp-devel
|
||
|
|
||
10 years ago
|
# SUSE desktop files utility
|
||
|
%if 0%{?suse_version}
|
||
|
BuildRequires: update-desktop-files
|
||
|
%endif
|
||
|
|
||
|
%if 0%{?opensuse_bs} && 0%{?suse_version}
|
||
|
# for xdg-menu script
|
||
|
BuildRequires: brp-check-trinity
|
||
|
%endif
|
||
|
|
||
10 years ago
|
# XTST support
|
||
|
%if 0%{?mgaversion} || 0%{?mdkversion}
|
||
|
%if 0%{?mgaversion} >= 4
|
||
|
%define xtst_devel %{_lib}xtst-devel
|
||
|
%else
|
||
|
%define xtst_devel %{_lib}xtst%{?mgaversion:6}-devel
|
||
|
%endif
|
||
|
%endif
|
||
|
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220
|
||
|
%define xtst_devel libXtst-devel
|
||
|
%endif
|
||
|
%{?xtst_devel:BuildRequires: %{xtst_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
|
||
|
|
||
10 years ago
|
# XMMS support
|
||
6 years ago
|
#if 0#{?fedora}
|
||
12 years ago
|
#BuildRequires: xmms-devel
|
||
6 years ago
|
#endif
|
||
12 years ago
|
|
||
|
# KLAPTOPDAEMON
|
||
|
# Not for RHEL 4!
|
||
|
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
|
||
|
%define build_klaptopdaemon 1
|
||
|
%endif
|
||
|
|
||
6 years ago
|
# ACL support
|
||
|
BuildRequires: libacl-devel
|
||
|
|
||
12 years ago
|
# XSCREENSAVER support
|
||
6 years ago
|
%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version}
|
||
12 years ago
|
%define with_xscreensaver 1
|
||
10 years ago
|
%if 0%{?fedora} || 0%{?rhel} >= 5 || 0%{?suse_version}
|
||
|
BuildRequires: libXScrnSaver-devel
|
||
|
%endif
|
||
|
%if 0%{?mgaversion} || 0%{?mdkversion}
|
||
|
%if 0%{?mgaversion} >= 4
|
||
|
BuildRequires: %{_lib}xscrnsaver-devel
|
||
|
%else
|
||
|
BuildRequires: %{_lib}xscrnsaver%{?mgaversion:1}-devel
|
||
|
%endif
|
||
|
%endif
|
||
12 years ago
|
%endif
|
||
|
|
||
6 years ago
|
# OPENSSL support
|
||
|
BuildRequires: openssl-devel
|
||
|
|
||
12 years ago
|
# 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
|
||
|
|
||
6 years ago
|
%if "%{?tde_version}" == "14.1.0"
|
||
|
%define build_tdefilereplace 1
|
||
|
%endif
|
||
12 years ago
|
|
||
|
Requires: trinity-ark = %{version}-%{release}
|
||
|
Requires: trinity-kcalc = %{version}-%{release}
|
||
|
Requires: trinity-kcharselect = %{version}-%{release}
|
||
12 years ago
|
Requires: trinity-tdelirc = %{version}-%{release}
|
||
12 years ago
|
Requires: trinity-tdessh = %{version}-%{release}
|
||
|
Requires: trinity-kdf = %{version}-%{release}
|
||
|
Requires: trinity-kedit = %{version}-%{release}
|
||
|
Requires: trinity-kfloppy = %{version}-%{release}
|
||
|
Requires: trinity-kgpg = %{version}-%{release}
|
||
|
Requires: trinity-khexedit = %{version}-%{release}
|
||
|
Requires: trinity-kjots = %{version}-%{release}
|
||
|
%{?build_klaptopdaemon:Requires: trinity-klaptopdaemon = %{version}-%{release}}
|
||
|
Requires: trinity-kmilo = %{version}-%{release}
|
||
|
Requires: trinity-kmilo-legacy = %{version}-%{release}
|
||
|
Requires: trinity-kregexpeditor = %{version}-%{release}
|
||
|
Requires: trinity-ksim = %{version}-%{release}
|
||
|
Requires: trinity-ktimer = %{version}-%{release}
|
||
|
Requires: trinity-tdewalletmanager = %{version}-%{release}
|
||
|
Requires: trinity-superkaramba = %{version}-%{release}
|
||
6 years ago
|
%if 0%{?build_tdefilereplace}
|
||
|
Requires: trinity-tdefilereplace = %{version}-%{release}
|
||
|
%endif
|
||
12 years ago
|
|
||
|
%description
|
||
|
Utilities for the Trinity Desktop Environment, including:
|
||
6 years ago
|
* ark (tar/gzip archive manager)
|
||
|
* kcalc (scientific calculator)
|
||
|
* kcharselect (character selector)
|
||
|
* tdelirc (infrared control)
|
||
|
* tdessh (ssh front end)
|
||
|
* kdf (view disk usage)
|
||
|
* kedit (simple text editor)
|
||
|
* kfloppy (floppy formatting tool)
|
||
|
* kgpg (gpg gui)
|
||
|
* khexedit (hex editor)
|
||
|
* kjots (note taker)
|
||
12 years ago
|
%if 0%{?build_klaptopdaemon}
|
||
6 years ago
|
* klaptopdaemon (battery monitoring and management for laptops);
|
||
12 years ago
|
%endif
|
||
6 years ago
|
* kmilo
|
||
|
* kregexpeditor (regular expression editor)
|
||
|
* ksim (system information monitor);
|
||
|
* ktimer (task scheduler)
|
||
|
* kwikdisk (removable media utility)
|
||
|
* tdefilereplace: batch search and replace tool
|
||
12 years ago
|
|
||
|
%files
|
||
|
|
||
|
##########
|
||
|
|
||
|
%package -n trinity-ark
|
||
6 years ago
|
Summary: Graphical archiving tool for Trinity
|
||
12 years ago
|
Group: Applications/Utilities
|
||
|
#Requires: ncompress
|
||
|
Requires: unzip
|
||
|
Requires: zip
|
||
|
#Requires: zoo
|
||
|
Requires: bzip2
|
||
|
#Requires: p7zip
|
||
|
#Requires: xz
|
||
|
#Requires: lzma
|
||
|
#Requires: rar, unrar
|
||
|
|
||
|
%description -n trinity-ark
|
||
|
Ark is a graphical program for managing various archive formats within the
|
||
|
TDE environment. Archives can be viewed, extracted, created and modified
|
||
|
from within Ark.
|
||
6 years ago
|
|
||
12 years ago
|
The program can handle various formats such as tar, gzip, bzip2, zip, rar and
|
||
|
lha (if appropriate command-line programs are installed).
|
||
|
|
||
6 years ago
|
Ark can work closely with Konqueror in the TDE environment to handle archives,
|
||
12 years ago
|
if you install the Konqueror Integration plugin available in the konq-plugins
|
||
|
package.
|
||
|
|
||
|
%files -n trinity-ark
|
||
|
%defattr(-,root,root,-)
|
||
|
%{tde_bindir}/ark
|
||
|
%{tde_tdelibdir}/ark.la
|
||
|
%{tde_tdelibdir}/ark.so
|
||
|
%{tde_tdelibdir}/libarkpart.la
|
||
|
%{tde_tdelibdir}/libarkpart.so
|
||
11 years ago
|
%{tde_libdir}/libtdeinit_ark.so
|
||
12 years ago
|
%{tde_tdeappdir}/ark.desktop
|
||
|
%{tde_datadir}/apps/ark/
|
||
|
%{tde_datadir}/config.kcfg/ark.kcfg
|
||
|
%{tde_datadir}/icons/hicolor/*/apps/ark.png
|
||
|
%{tde_datadir}/icons/hicolor/scalable/apps/ark.svgz
|
||
|
%{tde_datadir}/services/ark_part.desktop
|
||
|
%{tde_tdedocdir}/HTML/en/ark/
|
||
|
|
||
|
##########
|
||
|
|
||
|
%package -n trinity-kcalc
|
||
6 years ago
|
Summary: Calculator for Trinity
|
||
12 years ago
|
Group: Applications/Utilities
|
||
|
|
||
|
%description -n trinity-kcalc
|
||
|
KCalc is TDE's scientific calculator.
|
||
|
|
||
|
It provides:
|
||
|
* trigonometric functions, logic operations, and statistical calculations
|
||
|
* easy cut and paste of numbers from/into its display
|
||
|
* a results-stack which lets you conveniently recall previous results
|
||
|
* configurable precision, and number of digits after the period
|
||
|
|
||
|
%files -n trinity-kcalc
|
||
|
%defattr(-,root,root,-)
|
||
|
%{tde_bindir}/kcalc
|
||
|
%{tde_tdelibdir}/kcalc.la
|
||
|
%{tde_tdelibdir}/kcalc.so
|
||
11 years ago
|
%{tde_libdir}/libtdeinit_kcalc.so
|
||
12 years ago
|
%{tde_tdeappdir}/kcalc.desktop
|
||
|
%{tde_datadir}/apps/kcalc/
|
||
|
%{tde_datadir}/apps/tdeconf_update/kcalcrc.upd
|
||
|
%{tde_datadir}/config.kcfg/kcalc.kcfg
|
||
|
%{tde_datadir}/icons/hicolor/*/apps/kcalc.png
|
||
|
%{tde_datadir}/icons/hicolor/scalable/apps/kcalc.svgz
|
||
|
%{tde_tdedocdir}/HTML/en/kcalc/
|
||
|
|
||
|
##########
|
||
|
|
||
|
%package -n trinity-kcharselect
|
||
6 years ago
|
Summary: Character selector for Trinity
|
||
12 years ago
|
Group: Applications/Utilities
|
||
6 years ago
|
Requires: trinity-kicker
|
||
12 years ago
|
|
||
|
%description -n trinity-kcharselect
|
||
6 years ago
|
This package contains kcharselect, a character set selector for TDE.
|
||
12 years ago
|
|
||
|
%files -n trinity-kcharselect
|
||
|
%defattr(-,root,root,-)
|
||
|
%{tde_bindir}/kcharselect
|
||
|
%{tde_tdelibdir}/kcharselect_panelapplet.la
|
||
|
%{tde_tdelibdir}/kcharselect_panelapplet.so
|
||
|
%{tde_tdeappdir}/KCharSelect.desktop
|
||
|
%{tde_datadir}/apps/kcharselect/
|
||
|
%{tde_datadir}/apps/tdeconf_update/kcharselect.upd
|
||
|
%{tde_datadir}/apps/kicker/applets/kcharselectapplet.desktop
|
||
|
%{tde_datadir}/icons/hicolor/*/apps/kcharselect.png
|
||
|
%{tde_tdedocdir}/HTML/en/kcharselect/
|
||
|
|
||
|
##########
|
||
|
|
||
12 years ago
|
%package -n trinity-tdelirc
|
||
6 years ago
|
Summary: Infrared control for Trinity
|
||
12 years ago
|
Group: Applications/Utilities
|
||
6 years ago
|
Requires: trinity-filesystem
|
||
12 years ago
|
|
||
12 years ago
|
Obsoletes: trinity-kdelirc < %{version}-%{release}
|
||
|
Provides: trinity-kdelirc = %{version}-%{release}
|
||
|
|
||
|
%description -n trinity-tdelirc
|
||
12 years ago
|
This is a frontend for the LIRC suite to use infrared devices with TDE.
|
||
|
|
||
12 years ago
|
%files -n trinity-tdelirc
|
||
12 years ago
|
%defattr(-,root,root,-)
|
||
|
%{tde_bindir}/irkick
|
||
|
%{tde_tdelibdir}/irkick.la
|
||
|
%{tde_tdelibdir}/irkick.so
|
||
|
%{tde_tdelibdir}/kcm_kcmlirc.la
|
||
|
%{tde_tdelibdir}/kcm_kcmlirc.so
|
||
11 years ago
|
%{tde_libdir}/libtdeinit_irkick.so
|
||
12 years ago
|
%{tde_tdeappdir}/irkick.desktop
|
||
|
%{tde_tdeappdir}/kcmlirc.desktop
|
||
|
%{tde_datadir}/apps/irkick/
|
||
|
%{tde_datadir}/apps/profiles/tdelauncher.profile.xml
|
||
|
%{tde_datadir}/apps/profiles/konqueror.profile.xml
|
||
|
%{tde_datadir}/apps/profiles/noatun.profile.xml
|
||
|
%{tde_datadir}/apps/profiles/profile.dtd
|
||
6 years ago
|
%dir %{tde_datadir}/apps/remotes
|
||
12 years ago
|
%{tde_datadir}/apps/remotes/RM-0010.remote.xml
|
||
|
%{tde_datadir}/apps/remotes/cimr100.remote.xml
|
||
|
%{tde_datadir}/apps/remotes/hauppauge.remote.xml
|
||
|
%{tde_datadir}/apps/remotes/remote.dtd
|
||
|
%{tde_datadir}/apps/remotes/sherwood.remote.xml
|
||
|
%{tde_datadir}/apps/remotes/sonytv.remote.xml
|
||
|
%{tde_datadir}/autostart/irkick.desktop
|
||
|
%{tde_datadir}/icons/hicolor/*/apps/irkick.png
|
||
|
%{tde_datadir}/icons/locolor/*/apps/irkick.png
|
||
|
%{tde_tdedocdir}/HTML/en/irkick/
|
||
|
%{tde_tdedocdir}/HTML/en/kcmlirc/
|
||
|
|
||
|
##########
|
||
|
|
||
|
%package -n trinity-tdessh
|
||
6 years ago
|
Summary: Ssh frontend for Trinity
|
||
12 years ago
|
Group: Applications/Utilities
|
||
|
%if 0%{?suse_version}
|
||
|
Requires: openssh
|
||
|
%else
|
||
|
Requires: openssh-clients
|
||
|
%endif
|
||
|
|
||
|
Obsoletes: trinity-kdessh < %{version}-%{release}
|
||
|
Provides: trinity-kdessh = %{version}-%{release}
|
||
|
|
||
|
%description -n trinity-tdessh
|
||
|
This package contains TDE's frontend for ssh.
|
||
|
|
||
|
%files -n trinity-tdessh
|
||
|
%defattr(-,root,root,-)
|
||
|
%{tde_bindir}/tdessh
|
||
|
|
||
|
##########
|
||
|
|
||
|
%package -n trinity-kdf
|
||
6 years ago
|
Summary: Disk space utility for Trinity
|
||
12 years ago
|
Group: Applications/Utilities
|
||
6 years ago
|
Requires: trinity-kcontrol
|
||
12 years ago
|
|
||
|
%description -n trinity-kdf
|
||
|
KDiskFree displays the available file devices (hard drive partitions, floppy
|
||
|
and CD drives, etc.) along with information on their capacity, free space, type
|
||
|
and mount point. It also allows you to mount and unmount drives and view them
|
||
|
in a file manager.
|
||
|
|
||
|
%files -n trinity-kdf
|
||
|
%defattr(-,root,root,-)
|
||
|
%{tde_bindir}/kdf
|
||
|
%{tde_bindir}/kwikdisk
|
||
|
%{tde_tdelibdir}/kcm_kdf.la
|
||
|
%{tde_tdelibdir}/kcm_kdf.so
|
||
|
%{tde_tdeappdir}/kcmdf.desktop
|
||
|
%{tde_tdeappdir}/kdf.desktop
|
||
|
%{tde_tdeappdir}/kwikdisk.desktop
|
||
|
%{tde_datadir}/apps/kdf/
|
||
|
%{tde_datadir}/icons/hicolor/*/apps/kdf.png
|
||
|
%{tde_datadir}/icons/hicolor/*/apps/kwikdisk.png
|
||
|
%{tde_tdedocdir}/HTML/en/kdf/
|
||
11 years ago
|
%{tde_tdedocdir}/HTML/en/kcontrol/storagedevices/
|
||
12 years ago
|
|
||
|
##########
|
||
|
|
||
|
%package -n trinity-kedit
|
||
6 years ago
|
Summary: Basic text editor for Trinity
|
||
12 years ago
|
Group: Applications/Utilities
|
||
|
|
||
|
%description -n trinity-kedit
|
||
|
A simple text editor for TDE.
|
||
|
|
||
|
It can be used with Konqueror for text and configuration file browsing.
|
||
|
KEdit also serves well for creating small plain text documents. KEdit's
|
||
|
functionality will intentionally remain rather limited to ensure a
|
||
|
reasonably fast start.
|
||
|
|
||
|
%files -n trinity-kedit
|
||
|
%defattr(-,root,root,-)
|
||
|
%{tde_bindir}/kedit
|
||
|
%{tde_tdelibdir}/kedit.la
|
||
|
%{tde_tdelibdir}/kedit.so
|
||
11 years ago
|
%{tde_libdir}/libtdeinit_kedit.so
|
||
12 years ago
|
%{tde_tdeappdir}/KEdit.desktop
|
||
6 years ago
|
%{tde_datadir}/apps/kedit/
|
||
12 years ago
|
%{tde_datadir}/config.kcfg/kedit.kcfg
|
||
|
%{tde_datadir}/icons/hicolor/*/apps/kedit.png
|
||
|
%{tde_tdedocdir}/HTML/en/kedit/
|
||
|
|
||
|
##########
|
||
|
|
||
|
%package -n trinity-kfloppy
|
||
6 years ago
|
Summary: Floppy formatter for Trinity
|
||
12 years ago
|
Group: Applications/Utilities
|
||
|
Requires: dosfstools
|
||
|
|
||
|
%description -n trinity-kfloppy
|
||
|
Kfloppy is a utility that provides a straightforward graphical means
|
||
|
to format 3.5" and 5.25" floppy disks.
|
||
|
|
||
|
%files -n trinity-kfloppy
|
||
|
%defattr(-,root,root,-)
|
||
|
%{tde_bindir}/kfloppy
|
||
|
%{tde_tdeappdir}/KFloppy.desktop
|
||
|
%{tde_datadir}/apps/konqueror/servicemenus/floppy_format.desktop
|
||
|
%{tde_datadir}/icons/hicolor/*/apps/kfloppy.png
|
||
|
%{tde_tdedocdir}/HTML/en/kfloppy/
|
||
|
|
||
|
##########
|
||
|
|
||
|
%package -n trinity-kgpg
|
||
|
Summary: GnuPG frontend for Trinity
|
||
|
Group: Applications/Utilities
|
||
|
Requires: trinity-konsole
|
||
|
Requires: gnupg
|
||
|
|
||
|
%description -n trinity-kgpg
|
||
|
Kgpg is a frontend for GNU Privacy Guard (GnuPG). It provides file
|
||
|
encryption, file decryption and key management.
|
||
|
|
||
|
Features:
|
||
|
* an editor mode for easily and quickly encrypting or decrypting a file
|
||
|
or message which is typed, copied, pasted or dragged into the editor,
|
||
|
or which is double-clicked in the file manager
|
||
|
* Konqueror integration for encrypting or decrypting files
|
||
|
* a panel applet for encrypting / decrypting files or the clipboard
|
||
|
contents, etc.
|
||
|
* key management functions (generation, import, export, deletion and
|
||
|
signing)
|
||
|
* decrypting clipboard contents, including integration with Klipper
|
||
|
|
||
|
%files -n trinity-kgpg
|
||
|
%defattr(-,root,root,-)
|
||
|
%{tde_bindir}/kgpg
|
||
|
%{tde_tdeappdir}/kgpg.desktop
|
||
|
%{tde_datadir}/apps/kgpg/
|
||
|
%{tde_datadir}/apps/konqueror/servicemenus/encryptfile.desktop
|
||
|
%{tde_datadir}/apps/konqueror/servicemenus/encryptfolder.desktop
|
||
|
%{tde_datadir}/autostart/kgpg.desktop
|
||
|
%{tde_datadir}/config.kcfg/kgpg.kcfg
|
||
|
%{tde_datadir}/icons/hicolor/*/apps/kgpg.png
|
||
|
%{tde_tdedocdir}/HTML/en/kgpg/
|
||
|
|
||
|
##########
|
||
|
|
||
|
%package -n trinity-khexedit
|
||
|
Summary: Trinity hex editor
|
||
|
Group: Applications/Utilities
|
||
|
|
||
|
%description -n trinity-khexedit
|
||
|
KHexEdit is an editor for the raw data of binary files. It includes
|
||
|
find/replace functions, bookmarks, many configuration options, drag and drop
|
||
|
support and other powerful features.
|
||
|
|
||
|
%files -n trinity-khexedit
|
||
|
%defattr(-,root,root,-)
|
||
|
%{tde_bindir}/khexedit
|
||
|
%{tde_tdelibdir}/libkbyteseditwidget.la
|
||
|
%{tde_tdelibdir}/libkbyteseditwidget.so
|
||
|
%{tde_tdelibdir}/libkhexedit2part.la
|
||
|
%{tde_tdelibdir}/libkhexedit2part.so
|
||
|
%{tde_libdir}/libkhexeditcommon.so.*
|
||
|
%{tde_tdeappdir}/khexedit.desktop
|
||
|
%{tde_datadir}/apps/khexedit/
|
||
6 years ago
|
%{tde_datadir}/apps/khexedit2part/
|
||
12 years ago
|
%{tde_datadir}/icons/hicolor/*/apps/khexedit.png
|
||
|
%{tde_datadir}/services/kbyteseditwidget.desktop
|
||
|
%{tde_datadir}/services/khexedit2part.desktop
|
||
|
%{tde_tdedocdir}/HTML/en/khexedit/
|
||
|
|
||
|
##########
|
||
|
|
||
|
%package -n trinity-kjots
|
||
6 years ago
|
Summary: Note taking utility for Trinity
|
||
12 years ago
|
Group: Applications/Utilities
|
||
|
|
||
|
%description -n trinity-kjots
|
||
|
Kjots is a small note taker program. Name and idea are taken from the jots
|
||
|
program included in the tkgoodstuff package.
|
||
|
|
||
|
%files -n trinity-kjots
|
||
|
%defattr(-,root,root,-)
|
||
|
%{tde_bindir}/kjots
|
||
|
%{tde_tdeappdir}/Kjots.desktop
|
||
|
%{tde_datadir}/apps/kjots/
|
||
|
%{tde_datadir}/config.kcfg/kjots.kcfg
|
||
|
%{tde_datadir}/icons/hicolor/*/apps/kjots.png
|
||
|
%{tde_tdedocdir}/HTML/en/kjots/
|
||
|
|
||
|
##########
|
||
|
|
||
|
%if 0%{?build_klaptopdaemon}
|
||
|
|
||
|
%package -n trinity-klaptopdaemon
|
||
6 years ago
|
Summary: Battery monitoring and management for laptops using Trinity
|
||
12 years ago
|
Group: Applications/Utilities
|
||
6 years ago
|
Requires: trinity-kcontrol
|
||
12 years ago
|
|
||
|
%if 0%{?with_consolehelper}
|
||
|
# package 'usermode' provides '/usr/bin/consolehelper-gtk'
|
||
|
%if 0%{?rhel} || 0%{?fedora}
|
||
|
Requires: usermode-gtk
|
||
|
%endif
|
||
|
%if 0%{?mgaversion} || 0%{?mdkversion}
|
||
|
Requires: usermode
|
||
|
%endif
|
||
|
%endif
|
||
|
|
||
|
%description -n trinity-klaptopdaemon
|
||
|
This package contains utilities to monitor batteries and configure
|
||
|
power management, for laptops, from within TDE.
|
||
|
|
||
|
%files -n trinity-klaptopdaemon
|
||
|
%defattr(-,root,root,-)
|
||
|
%{tde_bindir}/klaptop_acpi_helper
|
||
|
%{tde_bindir}/klaptop_check
|
||
|
%{tde_tdelibdir}/kcm_laptop.la
|
||
|
%{tde_tdelibdir}/kcm_laptop.so
|
||
|
%{tde_tdelibdir}/kded_klaptopdaemon.la
|
||
|
%{tde_tdelibdir}/kded_klaptopdaemon.so
|
||
|
%{tde_libdir}/libkcmlaptop.so.*
|
||
|
%{tde_tdeappdir}/laptop.desktop
|
||
|
%{tde_tdeappdir}/pcmcia.desktop
|
||
|
%{tde_datadir}/apps/klaptopdaemon/
|
||
|
%{tde_datadir}/icons/crystalsvg/*/apps/laptop_battery.png
|
||
|
%{tde_datadir}/icons/crystalsvg/*/apps/laptop_pcmcia.png
|
||
|
%{tde_datadir}/icons/crystalsvg/scalable/apps/laptop_battery.svgz
|
||
|
%{tde_datadir}/services/kded/klaptopdaemon.desktop
|
||
|
%{tde_tdedocdir}/HTML/en/kcontrol/kcmlowbatcrit/
|
||
|
%{tde_tdedocdir}/HTML/en/kcontrol/kcmlowbatwarn/
|
||
|
%{tde_tdedocdir}/HTML/en/kcontrol/laptop/
|
||
|
%{tde_tdedocdir}/HTML/en/kcontrol/powerctrl/
|
||
|
|
||
|
# ConsoleHelper support
|
||
|
%if 0%{?with_consolehelper}
|
||
|
%{_sysconfdir}/pam.d/klaptop_acpi_helper
|
||
|
%attr(644,root,root) %{_sysconfdir}/security/console.apps/klaptop_acpi_helper
|
||
|
%{tde_sbindir}/klaptop_acpi_helper
|
||
|
%{_sbindir}/klaptop_acpi_helper
|
||
|
%endif
|
||
|
|
||
6 years ago
|
%config %{tde_confdir}/kcmlaptoprc
|
||
12 years ago
|
|
||
|
%endif
|
||
|
|
||
|
##########
|
||
|
|
||
|
%package -n trinity-kmilo
|
||
6 years ago
|
Summary: Laptop special keys support for Trinity
|
||
12 years ago
|
Group: Applications/Utilities
|
||
|
|
||
|
%description -n trinity-kmilo
|
||
|
KMilo lets you use the special keys on some keyboards and laptops.
|
||
|
|
||
|
Usually this includes volume keys and other features. Currently, KMilo
|
||
|
comes with plugins for Powerbooks, Thinkpads, Vaios and generic keyboards
|
||
|
with special keys.
|
||
|
|
||
|
%files -n trinity-kmilo
|
||
|
%defattr(-,root,root,-)
|
||
|
%{tde_tdelibdir}/kded_kmilod.la
|
||
|
%{tde_tdelibdir}/kded_kmilod.so
|
||
|
%{tde_tdelibdir}/kmilo_generic.la
|
||
|
%{tde_tdelibdir}/kmilo_generic.so
|
||
|
%{tde_libdir}/libkmilo.so.*
|
||
|
%{tde_datadir}/services/kded/kmilod.desktop
|
||
6 years ago
|
%dir %{tde_datadir}/services/kmilo
|
||
12 years ago
|
%{tde_datadir}/services/kmilo/kmilo_generic.desktop
|
||
6 years ago
|
%dir %{tde_datadir}/servicetypes/kmilo
|
||
12 years ago
|
%{tde_datadir}/servicetypes/kmilo/kmilopluginsvc.desktop
|
||
|
|
||
|
##########
|
||
|
|
||
|
%package -n trinity-kmilo-legacy
|
||
6 years ago
|
Summary: Non-standard plugins for KMilo
|
||
12 years ago
|
Group: Applications/Utilities
|
||
|
Requires: trinity-kmilo = %{version}-%{release}
|
||
6 years ago
|
Requires: trinity-kcontrol
|
||
12 years ago
|
|
||
|
%description -n trinity-kmilo-legacy
|
||
|
KMilo lets you use the special keys on some keyboards and laptops.
|
||
|
|
||
|
Usually this includes volume keys and other features. Currently, KMilo
|
||
|
comes with plugins for Powerbooks, Thinkpads and Vaios.
|
||
|
|
||
|
The intention is that all laptops work with the generic kmilo
|
||
|
plugin, if you need this package please file a bug.
|
||
|
|
||
|
%files -n trinity-kmilo-legacy
|
||
|
%defattr(-,root,root,-)
|
||
|
%{tde_tdelibdir}/kcm_kvaio.la
|
||
|
%{tde_tdelibdir}/kcm_kvaio.so
|
||
|
%{tde_tdelibdir}/kcm_thinkpad.la
|
||
|
%{tde_tdelibdir}/kcm_thinkpad.so
|
||
|
%{tde_tdelibdir}/kmilo_asus.la
|
||
|
%{tde_tdelibdir}/kmilo_asus.so
|
||
|
%{tde_tdelibdir}/kmilo_delli8k.la
|
||
|
%{tde_tdelibdir}/kmilo_delli8k.so
|
||
|
%{tde_tdelibdir}/kmilo_kvaio.la
|
||
|
%{tde_tdelibdir}/kmilo_kvaio.so
|
||
|
%{tde_tdelibdir}/kmilo_thinkpad.la
|
||
|
%{tde_tdelibdir}/kmilo_thinkpad.so
|
||
|
%{tde_tdeappdir}/kvaio.desktop
|
||
|
%{tde_tdeappdir}/thinkpad.desktop
|
||
|
%{tde_datadir}/services/kmilo/kmilo_asus.desktop
|
||
|
%{tde_datadir}/services/kmilo/kmilo_delli8k.desktop
|
||
|
%{tde_datadir}/services/kmilo/kmilo_kvaio.desktop
|
||
|
%{tde_datadir}/services/kmilo/kmilo_thinkpad.desktop
|
||
11 years ago
|
%{tde_tdedocdir}/HTML/en/kcontrol/kvaio/
|
||
|
%{tde_tdedocdir}/HTML/en/kcontrol/thinkpad/
|
||
12 years ago
|
|
||
|
##########
|
||
|
|
||
|
%package -n trinity-kregexpeditor
|
||
6 years ago
|
Summary: Graphical regular expression editor plugin for Trinity
|
||
12 years ago
|
Group: Applications/Utilities
|
||
|
|
||
|
%description -n trinity-kregexpeditor
|
||
|
This package contains a graphical regular expression editor plugin for use
|
||
|
with TDE. It let you draw your regular expression in an unambiguous way.
|
||
|
|
||
|
%files -n trinity-kregexpeditor
|
||
|
%defattr(-,root,root,-)
|
||
|
%{tde_bindir}/kregexpeditor
|
||
|
%{tde_tdelibdir}/libkregexpeditorgui.la
|
||
|
%{tde_tdelibdir}/libkregexpeditorgui.so
|
||
|
%{tde_libdir}/libkregexpeditorcommon.so.*
|
||
|
%{tde_tdeappdir}/kregexpeditor.desktop
|
||
|
%{tde_datadir}/apps/kregexpeditor/
|
||
|
%{tde_datadir}/icons/hicolor/*/apps/kregexpeditor.png
|
||
|
%{tde_datadir}/services/kregexpeditorgui.desktop
|
||
|
%{tde_tdedocdir}/HTML/en/KRegExpEditor/
|
||
|
|
||
|
##########
|
||
|
|
||
|
%package -n trinity-ksim
|
||
6 years ago
|
Summary: System information monitor for Trinity
|
||
12 years ago
|
Group: Applications/Utilities
|
||
6 years ago
|
Requires: trinity-kicker
|
||
12 years ago
|
|
||
|
%description -n trinity-ksim
|
||
|
KSim is a system monitor app which has its own plugin system with support
|
||
|
for GKrellm skins. It allows users to follow uptime, memory usage, network
|
||
|
connections, power, etc.
|
||
|
|
||
|
%files -n trinity-ksim
|
||
|
%defattr(-,root,root,-)
|
||
6 years ago
|
%config %{tde_confdir}/ksim_panelextensionrc
|
||
12 years ago
|
%{tde_tdelibdir}/ksim_*.la
|
||
|
%{tde_tdelibdir}/ksim_*.so
|
||
|
%{tde_libdir}/libksimcore.so.*
|
||
|
%{tde_datadir}/apps/kicker/extensions/ksim.desktop
|
||
|
%{tde_datadir}/apps/ksim/
|
||
|
%{tde_tdedocdir}/HTML/en/ksim/
|
||
|
%{tde_datadir}/icons/crystalsvg/*/apps/ksim.png
|
||
|
%{tde_datadir}/icons/crystalsvg/*/devices/ksim_cpu.png
|
||
|
|
||
|
##########
|
||
|
|
||
|
%package -n trinity-ktimer
|
||
6 years ago
|
Summary: Timer utility for Trinity
|
||
12 years ago
|
Group: Applications/Utilities
|
||
|
|
||
|
%description -n trinity-ktimer
|
||
|
This is a timer application for TDE. It allows you to execute commands after
|
||
|
a certain amount of time. It supports looping commands as well as delayed
|
||
|
command execution.
|
||
|
|
||
|
%files -n trinity-ktimer
|
||
|
%defattr(-,root,root,-)
|
||
|
%{tde_bindir}/ktimer
|
||
|
%{tde_tdeappdir}/ktimer.desktop
|
||
|
%{tde_datadir}/icons/hicolor/*/apps/ktimer.png
|
||
|
%{tde_tdedocdir}/HTML/en/ktimer/
|
||
|
|
||
|
##########
|
||
|
|
||
|
%package -n trinity-tdewalletmanager
|
||
6 years ago
|
Summary: Wallet manager for Trinity
|
||
12 years ago
|
Group: Applications/Utilities
|
||
|
|
||
|
Obsoletes: trinity-kwalletmanager < %{version}-%{release}
|
||
|
Provides: trinity-kwalletmanager = %{version}-%{release}
|
||
|
|
||
|
%description -n trinity-tdewalletmanager
|
||
|
This program keeps various wallets for any kind of data that the user can
|
||
|
store encrypted with passwords and can also serve as a password manager that
|
||
|
keeps a master password to all wallets.
|
||
|
|
||
|
%files -n trinity-tdewalletmanager
|
||
|
%defattr(-,root,root,-)
|
||
|
%{tde_bindir}/tdewalletmanager
|
||
|
%{tde_tdelibdir}/kcm_tdewallet.la
|
||
|
%{tde_tdelibdir}/kcm_tdewallet.so
|
||
|
%{tde_tdeappdir}/tdewalletconfig.desktop
|
||
|
%{tde_tdeappdir}/tdewalletmanager.desktop
|
||
|
%{tde_tdeappdir}/tdewalletmanager-tdewalletd.desktop
|
||
|
%{tde_datadir}/apps/tdewalletmanager/
|
||
|
%{tde_datadir}/icons/hicolor/*/apps/tdewalletmanager.png
|
||
|
%{tde_datadir}/services/tdewallet_config.desktop
|
||
|
%{tde_datadir}/services/tdewalletmanager_show.desktop
|
||
|
%{tde_tdedocdir}/HTML/en/tdewallet/
|
||
|
|
||
|
##########
|
||
|
|
||
|
%package -n trinity-superkaramba
|
||
6 years ago
|
Summary: A program based on karamba improving the eyecandy of TDE
|
||
12 years ago
|
Group: Applications/Utilities
|
||
|
|
||
|
%description -n trinity-superkaramba
|
||
|
SuperKaramba is a tool based on karamba that allows anyone to easily create
|
||
|
and run little interactive widgets on a TDE desktop. Widgets are defined in a
|
||
|
simple text file and can be augmented with Python code to make them
|
||
|
interactive.
|
||
|
|
||
|
Here are just some examples of the things that can be done:
|
||
|
* Display system information such as CPU Usage, MP3 playing, etc.
|
||
|
* Create cool custom toolbars that work any way imaginable.
|
||
|
* Create little games or virtual pets that live on your desktop.
|
||
|
* Display information from the internet, such as weather and headlines.
|
||
|
|
||
|
%files -n trinity-superkaramba
|
||
|
%defattr(-,root,root,-)
|
||
|
%{tde_bindir}/superkaramba
|
||
6 years ago
|
%{tde_tdeappdir}/superkaramba.desktop
|
||
|
%{tde_datadir}/apps/superkaramba/
|
||
12 years ago
|
%{tde_datadir}/icons/crystalsvg/*/apps/superkaramba.png
|
||
|
%{tde_datadir}/icons/crystalsvg/*/mimetypes/superkaramba_theme.png
|
||
|
%{tde_datadir}/icons/crystalsvg/scalable/apps/superkaramba.svgz
|
||
|
%{tde_datadir}/icons/crystalsvg/scalable/mimetypes/superkaramba_theme.svgz
|
||
|
%{tde_datadir}/mimelnk/application/x-superkaramba.desktop
|
||
|
%{tde_tdedocdir}/HTML/en/superkaramba/
|
||
|
|
||
6 years ago
|
##########
|
||
12 years ago
|
|
||
6 years ago
|
%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
|
||
12 years ago
|
|
||
|
##########
|
||
|
|
||
|
# afaik, nobody BR's it, and it pulls kdeutils into multilib -- Rex
|
||
|
%package devel
|
||
|
Summary: Development files for %{name}
|
||
|
Group: Development/Libraries
|
||
|
Requires: %{name} = %{version}-%{release}
|
||
|
Requires: trinity-tdelibs-devel
|
||
|
|
||
|
Obsoletes: trinity-kdeutils-devel < %{version}-%{release}
|
||
|
Provides: trinity-kdeutils-devel = %{version}-%{release}
|
||
|
Obsoletes: tdeutils-devel < %{version}-%{release}
|
||
|
Provides: tdeutils-devel = %{version}-%{release}
|
||
|
|
||
|
%description devel
|
||
6 years ago
|
This package contains the development files for tdeutils.
|
||
12 years ago
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root,-)
|
||
|
%{tde_tdeincludedir}/*
|
||
|
%if 0%{?build_klaptopdaemon}
|
||
|
%{tde_libdir}/libkcmlaptop.la
|
||
|
%{tde_libdir}/libkcmlaptop.so
|
||
|
%endif
|
||
11 years ago
|
%{tde_libdir}/libtdeinit_ark.la
|
||
|
%{tde_libdir}/libtdeinit_irkick.la
|
||
|
%{tde_libdir}/libtdeinit_kcalc.la
|
||
|
%{tde_libdir}/libtdeinit_kedit.la
|
||
12 years ago
|
%{tde_libdir}/libkmilo.la
|
||
|
%{tde_libdir}/libkmilo.so
|
||
|
%{tde_libdir}/libkregexpeditorcommon.la
|
||
|
%{tde_libdir}/libkregexpeditorcommon.so
|
||
|
%{tde_libdir}/libksimcore.la
|
||
|
%{tde_libdir}/libksimcore.so
|
||
|
%{tde_libdir}/libkhexeditcommon.la
|
||
|
%{tde_libdir}/libkhexeditcommon.so
|
||
|
%{tde_datadir}/cmake/libksimcore.cmake
|
||
|
|
||
|
##########
|
||
|
|
||
10 years ago
|
%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
|
||
12 years ago
|
%debug_package
|
||
|
%endif
|
||
|
|
||
|
##########
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
|
||
|
|
||
6 years ago
|
%if 0%{?rhel} == 5
|
||
|
# Reverts some older Python stuff
|
||
|
%__sed -i "superkaramba/src/"*".cpp" \
|
||
|
-e "s|PyBytes_CheckExact|PyString_CheckExact|g" \
|
||
|
-e "s|PyBytes_AsString|PyString_AsString|g" \
|
||
|
-e "s|PyBytes_FromString|PyString_FromString|g" \
|
||
|
%endif
|
||
|
|
||
12 years ago
|
|
||
|
%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}"
|
||
11 years ago
|
export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
|
||
12 years ago
|
fi
|
||
|
|
||
11 years ago
|
if ! rpm -E %%cmake|grep -q "cd build"; then
|
||
|
%__mkdir_p build
|
||
|
cd build
|
||
|
fi
|
||
12 years ago
|
|
||
|
%cmake \
|
||
11 years ago
|
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
|
||
|
-DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
|
||
|
-DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
|
||
11 years ago
|
-DCMAKE_SKIP_RPATH=OFF \
|
||
11 years ago
|
-DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
|
||
11 years ago
|
-DCMAKE_VERBOSE_MAKEFILE=ON \
|
||
11 years ago
|
-DWITH_GCC_VISIBILITY=OFF \
|
||
11 years ago
|
\
|
||
12 years ago
|
-DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \
|
||
|
-DBIN_INSTALL_DIR="%{tde_bindir}" \
|
||
6 years ago
|
-DCONFIG_INSTALL_DIR="%{tde_confdir}" \
|
||
12 years ago
|
-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}" \
|
||
11 years ago
|
\
|
||
12 years ago
|
-DWITH_DPMS=ON \
|
||
|
%{?with_xscreensaver:-DWITH_XSCREENSAVER=ON} \
|
||
|
-DWITH_ASUS=ON \
|
||
|
-DWITH_POWERBOOK=OFF \
|
||
|
-DWITH_POWERBOOK2=OFF \
|
||
|
-DWITH_VAIO=ON \
|
||
|
-DWITH_THINKPAD=ON \
|
||
|
-DWITH_I8K=ON \
|
||
|
-DWITH_SNMP=ON \
|
||
|
-DWITH_SENSORS=ON \
|
||
|
-DWITH_XMMS=ON \
|
||
10 years ago
|
-DWITH_TDENEWSTUFF=ON \
|
||
12 years ago
|
-DBUILD_ALL=ON \
|
||
|
%{?!build_klaptopdaemon:-DBUILD_KLAPTOPDAEMON=OFF} \
|
||
|
..
|
||
|
|
||
|
%__make %{?_smp_mflags} || %__make
|
||
|
|
||
|
|
||
|
%install
|
||
|
export PATH="%{tde_bindir}:${PATH}"
|
||
|
%__rm -rf %{?buildroot}
|
||
|
%__make install DESTDIR=%{?buildroot} -C build
|
||
|
|
||
|
%if 0%{?build_klaptopdaemon}
|
||
|
### Use consolehelper for 'klaptop_acpi_helper'
|
||
|
%if 0%{?with_consolehelper}
|
||
|
# Install configuration files
|
||
|
%__install -p -D -m 644 "%{SOURCE1}" "%{buildroot}%{_sysconfdir}/pam.d/klaptop_acpi_helper"
|
||
|
%__install -p -D -m 644 "%{SOURCE2}" "%{buildroot}%{_sysconfdir}/security/console.apps/klaptop_acpi_helper"
|
||
|
# Moves the actual binary from 'bin' to 'sbin'
|
||
|
%__mkdir_p "%{buildroot}%{tde_sbindir}" "%{buildroot}%{_sbindir}"
|
||
|
%__mv "%{buildroot}%{tde_bindir}/klaptop_acpi_helper" "%{buildroot}%{tde_sbindir}"
|
||
|
# Links to consolehelper
|
||
|
%__ln_s "%{_bindir}/consolehelper" "%{buildroot}%{tde_bindir}/klaptop_acpi_helper"
|
||
|
# Put another symlink under '/usr', otherwise consolehelper does not work
|
||
|
%if "%{tde_prefix}" != "/usr"
|
||
|
%__ln_s "%{tde_sbindir}/klaptop_acpi_helper" "%{?buildroot}%{_sbindir}/klaptop_acpi_helper"
|
||
|
%endif
|
||
|
%endif
|
||
|
|
||
|
# klaptop settings file
|
||
6 years ago
|
%__install -p -D -m 644 "%{SOURCE3}" "%{buildroot}%{tde_confdir}/kcmlaptoprc"
|
||
12 years ago
|
|
||
|
%else
|
||
|
|
||
12 years ago
|
# Klaptop's documentation is installed even if we did not build the program ...
|
||
12 years ago
|
%__rm -fr %{?buildroot}%{tde_tdedocdir}/HTML/en/kcontrol/kcmlowbatcrit/
|
||
|
%__rm -fr %{?buildroot}%{tde_tdedocdir}/HTML/en/kcontrol/kcmlowbatwarn/
|
||
|
%__rm -fr %{?buildroot}%{tde_tdedocdir}/HTML/en/kcontrol/laptop/
|
||
|
%__rm -fr %{?buildroot}%{tde_tdedocdir}/HTML/en/kcontrol/powerctrl/
|
||
|
|
||
|
%endif
|
||
|
|
||
6 years ago
|
# Fix desktop shortcut location
|
||
|
%__mv "%{?buildroot}%{tde_datadir}/applnk/Utilities/superkaramba.desktop" "%{?buildroot}%{tde_tdeappdir}/superkaramba.desktop"
|
||
|
|
||
10 years ago
|
# Updates applications categories for openSUSE
|
||
|
%if 0%{?suse_version}
|
||
6 years ago
|
%suse_update_desktop_file KEdit Utility TextEditor
|
||
|
%suse_update_desktop_file superkaramba Utility DesktopUtility
|
||
|
%suse_update_desktop_file KCharSelect Utility Accessibility
|
||
|
%suse_update_desktop_file khexedit Utility Editor
|
||
|
%suse_update_desktop_file Kjots Utility TimeUtility
|
||
|
%suse_update_desktop_file ktimer Utility TimeUtility
|
||
|
%suse_update_desktop_file kwikdisk System Applet
|
||
|
%suse_update_desktop_file kdf System Filesystem
|
||
|
%suse_update_desktop_file ark System Archiving
|
||
|
%suse_update_desktop_file kcalc Utility Calculator
|
||
|
%suse_update_desktop_file kgpg Utility Security
|
||
|
%suse_update_desktop_file irkick Applet
|
||
|
%suse_update_desktop_file tdewalletmanager Applet
|
||
|
%suse_update_desktop_file kregexpeditor Utility Editor
|
||
10 years ago
|
%suse_update_desktop_file kcmdf
|
||
|
%suse_update_desktop_file kcmlirc
|
||
10 years ago
|
%suse_update_desktop_file tdewalletconfig
|
||
10 years ago
|
%suse_update_desktop_file thinkpad
|
||
|
%suse_update_desktop_file kvaio
|
||
6 years ago
|
%suse_update_desktop_file KFloppy System Filesystem
|
||
|
%if 0%{?build_tdefilereplace}
|
||
|
%suse_update_desktop_file -r tdefilereplace System FileManager
|
||
|
%endif
|
||
10 years ago
|
%endif
|
||
12 years ago
|
|
||
10 years ago
|
# Icons from TDE Control Center should only be displayed in TDE
|
||
|
for i in %{?buildroot}%{tde_tdeappdir}/*.desktop ; do
|
||
|
if grep -q "^Categories=.*X-TDE-settings" "${i}"; then
|
||
|
if ! grep -q "OnlyShowIn=TDE" "${i}" ; then
|
||
|
echo "OnlyShowIn=TDE;" >>"${i}"
|
||
|
fi
|
||
|
fi
|
||
|
done
|
||
|
|
||
6 years ago
|
# Other TDE-only apps
|
||
|
echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/thinkpad.desktop"
|
||
|
echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/kcmlirc.desktop"
|
||
|
echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/kvaio.desktop"
|
||
|
echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/kcmdf.desktop"
|
||
|
echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/tdewalletconfig.desktop"
|
||
|
echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/khexedit.desktop"
|
||
|
echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/kregexpeditor.desktop"
|
||
|
echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/kgpg.desktop"
|
||
|
echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/Kjots.desktop"
|
||
|
|
||
|
# Links duplicate files
|
||
|
%fdupes "%{?buildroot}%{tde_datadir}"
|
||
|
|
||
10 years ago
|
|
||
12 years ago
|
%clean
|
||
|
%__rm -rf "%{?buildroot}"
|
||
|
|
||
|
|
||
|
%changelog
|