parent
270e590e7e
commit
5a59f6fc3a
@ -0,0 +1,195 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg adept
|
||||
%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: Package management suite for Trinity
|
||||
Version: 2.1.3
|
||||
Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
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-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
Requires: %{name}-manager = %{version}-%{release}
|
||||
Requires: %{name}-installer = %{version}-%{release}
|
||||
Requires: %{name}-updater = %{version}-%{release}
|
||||
Requires: %{name}-notifier = %{version}-%{release}
|
||||
Requires: %{name}-batch = %{version}-%{release}
|
||||
|
||||
|
||||
%description
|
||||
These packages belong to the adept suite:
|
||||
* adept-manager - package manager
|
||||
* adept-installer - application manager
|
||||
* adept-updater - system upgrade wizard
|
||||
* adept-notifier - systray notification of available updates
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS CHANGELOG ChangeLog COPYING
|
||||
|
||||
##########
|
||||
|
||||
%package common
|
||||
Requires: trinity-konsole
|
||||
Summary: Package manager for Trinity -- common files
|
||||
|
||||
%description common
|
||||
Icons and other common files for all adept components.
|
||||
|
||||
##########
|
||||
|
||||
%package manager
|
||||
Requires: %{name}-common = %{version}-%{release}
|
||||
Summary: package manager for Trinity
|
||||
|
||||
%description manager
|
||||
Adept Manager is a graphical user interface for package management.
|
||||
|
||||
Besides these basic functions the following features are provided:
|
||||
* Search and filter the list of available packages (also using debtags)
|
||||
* Perform smart system upgrades
|
||||
* Edit the list of used repositories (sources.list)
|
||||
* Configure packages through the debconf system
|
||||
|
||||
Please also install libtqt-perl if you want the 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/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--mandir=%{tde_mandir} \
|
||||
--disable-rpath \
|
||||
--enable-closure
|
||||
|
||||
%__make %{?_smp_mflags} -C adept
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
%find_lang adept
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 2.1.3-2
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 2.1.3-1
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
@ -0,0 +1,430 @@
|
||||
# Basic package informations
|
||||
%define tde_pkg amarok
|
||||
%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_tdeappdir %{tde_datadir}/applications/tde
|
||||
%define tde_tdedocdir %{tde_docdir}/tde
|
||||
%define tde_tdeincludedir %{tde_includedir}/tde
|
||||
%define tde_tdelibdir %{tde_libdir}/trinity
|
||||
|
||||
%define _docdir %{tde_docdir}
|
||||
|
||||
|
||||
Name: trinity-%{tde_pkg}
|
||||
Summary: Media player
|
||||
Version: 1.4.10
|
||||
Release: %{?!preversion:10}%{?preversion:9_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
Group: Applications/Multimedia
|
||||
License: GPLv2+
|
||||
Url: http://amarok.kde.org
|
||||
|
||||
Prefix: %{tde_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
||||
|
||||
Patch3: amarok-3.5.13.1-fix_rhel4_libs.patch
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: trinity-konqueror-devel >= %{tde_version}
|
||||
|
||||
BuildRequires: alsa-lib-devel
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: esound-devel
|
||||
BuildRequires: gettext
|
||||
BuildRequires: pcre-devel
|
||||
BuildRequires: taglib-devel
|
||||
|
||||
BuildRequires: libtool
|
||||
%if 0%{?fedora} > 4 || 0%{?rhel} > 4
|
||||
BuildRequires: libtool-ltdl-devel
|
||||
%endif
|
||||
BuildRequires: libusb-devel
|
||||
BuildRequires: mysql-devel
|
||||
BuildRequires: postgresql-devel
|
||||
BuildRequires: SDL-devel
|
||||
BuildRequires: taglib-devel
|
||||
BuildRequires: sqlite-devel
|
||||
# not used anymore, in favor of libvisual ? -- Rex
|
||||
#{?fedora:BuildRequires: xmms-devel}
|
||||
|
||||
|
||||
# DBUS support
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: dbus-1-devel
|
||||
%else
|
||||
BuildRequires: dbus-devel
|
||||
%endif
|
||||
|
||||
# DBUS-(T)QT support
|
||||
%if 0%{?rhel} == 4
|
||||
BuildRequires: dbus-qt
|
||||
%else
|
||||
BuildRequires: trinity-dbus-tqt-devel >= %{tde_version}
|
||||
%endif
|
||||
|
||||
# IFP support
|
||||
# IFP package is broken under PCLinuxOS.
|
||||
%if 0%{?pclinuxos} == 0
|
||||
%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
|
||||
%define with_ifp 1
|
||||
BuildRequires: libifp-devel
|
||||
%endif
|
||||
%endif
|
||||
|
||||
# KARMA support
|
||||
%if 0%{?mgaversion} || 0%{?mdkversion}
|
||||
%if 0%{?pclinuxos} == 0
|
||||
%define with_karma 1
|
||||
BuildRequires: libkarma-devel
|
||||
BuildRequires: karma-sharp
|
||||
%endif
|
||||
%endif
|
||||
|
||||
# GPOD (ipod) support
|
||||
%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
|
||||
%define with_gpod 1
|
||||
BuildRequires: libgpod-devel >= 0.4.2
|
||||
%endif
|
||||
|
||||
# MTP players
|
||||
%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
|
||||
%define with_mtp 1
|
||||
BuildRequires: libmtp-devel
|
||||
BuildRequires: libmusicbrainz-devel
|
||||
%endif
|
||||
|
||||
# Creative Nomad Jukebox
|
||||
%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} >= 1220
|
||||
%define with_njb 1
|
||||
BuildRequires: libnjb-devel
|
||||
%endif
|
||||
|
||||
# VISUAL support
|
||||
%if 0%{?rhel} >= 4 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
|
||||
%define with_libvisual 1
|
||||
BuildRequires: libvisual-devel
|
||||
%endif
|
||||
|
||||
# TUNEPIMP support
|
||||
%if 0%{?mgaversion} && 0%{?mgaversion} <= 2
|
||||
BuildRequires: libtunepimp-devel
|
||||
%endif
|
||||
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?suse_version}
|
||||
BuildRequires: libtunepimp-devel
|
||||
%endif
|
||||
|
||||
# INOTIFY support
|
||||
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
|
||||
%define with_inotify 1
|
||||
%if 0%{?mgaversion} || 0%{?mdkversion}
|
||||
BuildRequires: %{_lib}inotifytools-devel
|
||||
%endif
|
||||
%endif
|
||||
|
||||
# XINE support
|
||||
%if 0%{?rhel} >= 4 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
|
||||
%define with_xine 1
|
||||
%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
|
||||
BuildRequires: libxine-devel
|
||||
%endif
|
||||
%if 0%{?rhel} || 0%{?fedora}
|
||||
BuildRequires: xine-lib-devel
|
||||
%endif
|
||||
%endif
|
||||
|
||||
# YAUAP support
|
||||
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
|
||||
%define with_yauap 1
|
||||
%endif
|
||||
|
||||
# AKODE support
|
||||
%if 0
|
||||
%define with_akode 1
|
||||
BuildRequires: trinity-akode-devel
|
||||
%endif
|
||||
|
||||
# MP4V2 support
|
||||
%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
|
||||
%define with_mp4v2 1
|
||||
BuildRequires: libmp4v2-devel
|
||||
%endif
|
||||
|
||||
# ruby
|
||||
BuildRequires: ruby
|
||||
BuildRequires: ruby-devel
|
||||
|
||||
# To open the selected browser, works with Patch2
|
||||
Requires: xdg-utils
|
||||
Requires(post): xdg-utils
|
||||
Requires(postun): xdg-utils
|
||||
|
||||
|
||||
%description
|
||||
Amarok is a multimedia player with:
|
||||
- fresh playlist concept, very fast to use, with drag and drop
|
||||
- plays all formats supported by the various engines
|
||||
- audio effects, like reverb and compressor
|
||||
- compatible with the .m3u and .pls formats for playlists
|
||||
- nice GUI, integrates into the TDE look, but with a unique touch
|
||||
|
||||
%files -f amarok.lang
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING AUTHORS ChangeLog README
|
||||
%{tde_bindir}/amarok
|
||||
%{tde_bindir}/amarokapp
|
||||
%{tde_bindir}/amarokcollectionscanner
|
||||
%{tde_bindir}/amarok_proxy.rb
|
||||
%{tde_datadir}/apps/amarok/
|
||||
%{tde_datadir}/icons/hicolor/*/*/*
|
||||
%{tde_datadir}/applications/tde/*.desktop
|
||||
%{tde_datadir}/servicetypes/*.desktop
|
||||
%{tde_datadir}/apps/profiles/amarok.profile.xml
|
||||
%{tde_datadir}/config/amarokrc
|
||||
%{tde_datadir}/config.kcfg/*.kcfg
|
||||
%{tde_datadir}/services/amarokitpc.protocol
|
||||
%{tde_datadir}/services/amaroklastfm.protocol
|
||||
%{tde_datadir}/services/amarokpcast.protocol
|
||||
# -libs ? -- Rex
|
||||
%{tde_libdir}/libamarok.so.0
|
||||
%{tde_libdir}/libamarok.so.0.0.0
|
||||
# DAAP
|
||||
%{tde_bindir}/amarok_daapserver.rb
|
||||
%{tde_tdelibdir}/libamarok_daap-mediadevice.*
|
||||
%{tde_datadir}/services/amarok_daap-mediadevice.desktop
|
||||
# Mass-storage
|
||||
%{tde_datadir}/services/amarok_massstorage-device.desktop
|
||||
%{tde_tdelibdir}/libamarok_massstorage-device.*
|
||||
# NFS
|
||||
%{tde_datadir}/services/amarok_nfs-device.desktop
|
||||
%{tde_tdelibdir}/libamarok_nfs-device.*
|
||||
# SMB
|
||||
%{tde_datadir}/services/amarok_smb-device.desktop
|
||||
%{tde_tdelibdir}/libamarok_smb-device.*
|
||||
# IPod
|
||||
%if 0%{?with_gpod}
|
||||
%{tde_datadir}/services/amarok_ipod-mediadevice.desktop
|
||||
%{tde_tdelibdir}/libamarok_ipod-mediadevice.*
|
||||
%endif
|
||||
# VFAT
|
||||
%{tde_datadir}/services/amarok_generic-mediadevice.desktop
|
||||
%{tde_tdelibdir}/libamarok_generic-mediadevice.*
|
||||
# iRiver
|
||||
%if 0%{?with_ifp}
|
||||
%{tde_datadir}/services/amarok_ifp-mediadevice.desktop
|
||||
%{tde_tdelibdir}/libamarok_ifp-mediadevice.*
|
||||
%endif
|
||||
# Creative Zen
|
||||
%if 0%{?with_njb}
|
||||
%{tde_datadir}/services/amarok_njb-mediadevice.desktop
|
||||
%{tde_tdelibdir}/libamarok_njb-mediadevice.*
|
||||
%endif
|
||||
# MTP players
|
||||
%if 0%{?with_mtp}
|
||||
%{tde_datadir}/services/amarok_mtp-mediadevice.desktop
|
||||
%{tde_tdelibdir}/libamarok_mtp-mediadevice.*
|
||||
%endif
|
||||
# Rio Karma
|
||||
%if 0%{?with_karma}
|
||||
%{tde_datadir}/services/amarok_riokarma-mediadevice.desktop
|
||||
%{tde_tdelibdir}/libamarok_riokarma-mediadevice.*
|
||||
%endif
|
||||
# Void engine (noop)
|
||||
%{tde_datadir}/services/amarok_void-engine_plugin.desktop
|
||||
%{tde_tdelibdir}/libamarok_void-engine_plugin.*
|
||||
# Xine engine
|
||||
%if 0%{?with_xine}
|
||||
%{tde_datadir}/services/amarok_xine-engine.desktop
|
||||
%{tde_tdelibdir}/libamarok_xine-engine.*
|
||||
%endif
|
||||
## Gstreamer engine
|
||||
#%{tde_datadir}/services/amarok_gst10engine_plugin.desktop
|
||||
#%{tde_tdelibdir}/libamarok_gst10engine_plugin.*
|
||||
# YAUAP
|
||||
%if 0%{?with_yauap}
|
||||
%{tde_datadir}/services/amarok_yauap-engine_plugin.desktop
|
||||
%{tde_tdelibdir}/libamarok_yauap-engine_plugin.*
|
||||
%endif
|
||||
# AKODE
|
||||
%if 0%{?with_akode}
|
||||
%{tde_datadir}/services/amarok_aKode-engine.desktop
|
||||
%{tde_tdelibdir}/libamarok_aKode-engine.*
|
||||
%endif
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
xdg-icon-resource forceupdate --theme hicolor 2> /dev/null || :
|
||||
xdg-desktop-menu forceupdate 2> /dev/null || :
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
xdg-icon-resource forceupdate --theme hicolor 2> /dev/null || :
|
||||
xdg-desktop-menu forceupdate 2> /dev/null || :
|
||||
|
||||
|
||||
##########
|
||||
|
||||
%package ruby
|
||||
Summary: %{name} Ruby support
|
||||
Group: Applications/Multimedia
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
# For dir ownership and some default plugins (lyrics)
|
||||
Requires: ruby
|
||||
|
||||
%description ruby
|
||||
%{summary}.
|
||||
|
||||
%files ruby
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_libdir}/ruby_lib/*
|
||||
|
||||
##########
|
||||
|
||||
%package konqueror
|
||||
Summary: Amarok konqueror (service menus, sidebar) support
|
||||
Group: Applications/Multimedia
|
||||
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: trinity-konqueror
|
||||
|
||||
%description konqueror
|
||||
%{summary}.
|
||||
|
||||
%files konqueror
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_datadir}/apps/konqueror/servicemenus/*.desktop
|
||||
%{tde_tdelibdir}/konqsidebar_universalamarok.*
|
||||
%{tde_datadir}/apps/konqsidebartng/*/amarok.desktop
|
||||
|
||||
|
||||
##########
|
||||
|
||||
%if 0%{?with_libvisual}
|
||||
|
||||
%package visualisation
|
||||
Summary: Visualisation plugins for Amarok
|
||||
Group: Applications/Multimedia
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
# No plugins by default, we need libvisual-plugins
|
||||
#Requires: libvisual-plugins
|
||||
|
||||
%description visualisation
|
||||
Amarok can use visualisation plugins from different origins.
|
||||
Right now, only xmms is supported, which means that you can
|
||||
use any of xmms' visualisation plugins with Amarok.
|
||||
|
||||
%files visualisation
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_bindir}/amarok_libvisual
|
||||
|
||||
%endif
|
||||
|
||||
##########
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
##########
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
%if 0%{?rhel} == 4
|
||||
%patch3 -p1 -b .rhel4
|
||||
%endif
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
export CMAKE_INCLUDE_PATH="%{tde_includedir}::%{tde_tdeincludedir}"
|
||||
|
||||
# Specific path for RHEL4
|
||||
if [ -d /usr/X11R6 ]; then
|
||||
export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
|
||||
fi
|
||||
|
||||
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
|
||||
%__mkdir_p build
|
||||
cd build
|
||||
%endif
|
||||
|
||||
%cmake \
|
||||
-DBIN_INSTALL_DIR=%{tde_bindir} \
|
||||
-DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
|
||||
-DLIB_INSTALL_DIR=%{tde_libdir} \
|
||||
-DSHARE_INSTALL_PREFIX=%{tde_datadir} \
|
||||
-DCMAKE_SKIP_RPATH="OFF" \
|
||||
-DQT_LIBRARY_DIRS="${QTLIB:-${QTDIR}/%{_lib}}" \
|
||||
%{?with_libvisual:-DWITH_LIBVISUAL=ON} \
|
||||
-DWITH_KONQSIDEBAR=ON \
|
||||
%{?with_xine:-DWITH_XINE=ON} \
|
||||
%{?with_yauap:-DWITH_YAUAP=ON} \
|
||||
%{?with_akode:-DWITH_AKODE=ON} \
|
||||
%{?with_gpod:-DWITH_IPOD=ON} \
|
||||
%{?with_ifp:-DWITH_IFP=ON} \
|
||||
%{?with_njb:-DWITH_NJB=ON} \
|
||||
%{?with_mtp:-DWITH_MTP=ON} \
|
||||
%{?with_karma:-DWITH_RIOKARMA=ON} \
|
||||
-DWITH_DAAP=ON \
|
||||
%{?with_mp4v2:-DWITH_MP4V2=ON} \
|
||||
%{?with_inotify:-DWITH_INOTIFY=ON} \
|
||||
-DBUILD_ALL=ON \
|
||||
..
|
||||
|
||||
%__make %{?_smp_mflags} || %__make
|
||||
|
||||
%install
|
||||
%__rm -fr $RPM_BUILD_ROOT
|
||||
%__make install DESTDIR=$RPM_BUILD_ROOT -C build
|
||||
|
||||
|
||||
# unpackaged files
|
||||
%__rm -f $RPM_BUILD_ROOT%{tde_libdir}/lib*.la
|
||||
# Removes '.so' to avoid automatic -devel dependency
|
||||
%__rm -f $RPM_BUILD_ROOT%{tde_libdir}/libamarok.so
|
||||
|
||||
# Locales
|
||||
%find_lang amarok
|
||||
|
||||
# HTML
|
||||
for lang_dir in $RPM_BUILD_ROOT%{tde_tdedocdir}/HTML/* ; do
|
||||
if [ -d $lang_dir ]; then
|
||||
lang=$(basename $lang_dir)
|
||||
[ "$lang" == "en" ] && d=en/amarok || d=$lang
|
||||
echo "%lang($lang) %doc %{tde_tdedocdir}/HTML/$d" >> amarok.lang
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -fr $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 1.4.10-10
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.4.10-9
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Tue Oct 02 2012 Francois Andriot <francois.andriot@free.fr> - 1.4.10-8
|
||||
- Initial release for TDE 3.5.13.1
|
@ -0,0 +1,161 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg basket
|
||||
%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_tdeappdir %{tde_datadir}/applications/tde
|
||||
%define tde_tdedocdir %{tde_docdir}/tde
|
||||
%define tde_tdeincludedir %{tde_includedir}/tde
|
||||
%define tde_tdelibdir %{tde_libdir}/trinity
|
||||
|
||||
%define _docdir %{tde_docdir}
|
||||
|
||||
|
||||
Name: trinity-%{tde_pkg}
|
||||
Summary: Taking care of your ideas.
|
||||
Version: 1.0.3.1
|
||||
Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Prefix: %{tde_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
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
|
||||
|
||||
%description
|
||||
This application is mainly an all-purpose notes taker. It provide several baskets where
|
||||
to drop every sort of items: text, rich text, links, images, sounds, files, colors,
|
||||
application launcher... Objects can be edited, copied, dragged... So, you can arrange
|
||||
them as you want ! This application can be used to quickly drop web objects (link, text,
|
||||
images...) or notes, as well as to free your clutered desktop (if any). It is also useful
|
||||
to collect informations for a report. Those data can be shared with co-workers by exporting
|
||||
baskets to HTML.
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR 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} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--disable-rpath \
|
||||
--disable-static
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%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 crystalsvg ; do
|
||||
touch --no-create %{tde_datadir}/icons/${f} || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
|
||||
done
|
||||
/sbin/ldconfig
|
||||
|
||||
%postun
|
||||
for f in crystalsvg ; do
|
||||
touch --no-create %{tde_datadir}/icons/${f} || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
|
||||
done
|
||||
/sbin/ldconfig
|
||||
|
||||
|
||||
%files -f %{tde_pkg}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS COPYING
|
||||
%{tde_bindir}/basket
|
||||
%{tde_tdeappdir}/basket.desktop
|
||||
%{tde_datadir}/apps/basket/
|
||||
%{tde_datadir}/apps/kontact/ksettingsdialog/kontact_basketplugin.setdlg
|
||||
%{tde_libdir}/libbasketcommon.la
|
||||
%{tde_libdir}/libbasketcommon.so
|
||||
%{tde_tdelibdir}/basketthumbcreator.la
|
||||
%{tde_tdelibdir}/basketthumbcreator.so
|
||||
%{tde_tdelibdir}/kcm_basket.la
|
||||
%{tde_tdelibdir}/kcm_basket.so
|
||||
%{tde_tdelibdir}/libbasketpart.la
|
||||
%{tde_tdelibdir}/libbasketpart.so
|
||||
%{tde_tdelibdir}/libkontact_basket.la
|
||||
%{tde_tdelibdir}/libkontact_basket.so
|
||||
%{tde_datadir}/config/magic/basket.magic
|
||||
%{tde_datadir}/icons/crystalsvg/*/*/*
|
||||
%{tde_datadir}/mimelnk/application/x-basket-archive.desktop
|
||||
%{tde_datadir}/mimelnk/application/x-basket-template.desktop
|
||||
%{tde_datadir}/services/basket_config_apps.desktop
|
||||
%{tde_datadir}/services/basket_config_baskets.desktop
|
||||
%{tde_datadir}/services/basket_config_features.desktop
|
||||
%{tde_datadir}/services/basket_config_general.desktop
|
||||
%{tde_datadir}/services/basket_config_new_notes.desktop
|
||||
%{tde_datadir}/services/basket_config_notes.desktop
|
||||
%{tde_datadir}/services/basket_config_notes_appearance.desktop
|
||||
%{tde_datadir}/services/basket_part.desktop
|
||||
%{tde_datadir}/services/basketthumbcreator.desktop
|
||||
%{tde_datadir}/services/kontact/basket.desktop
|
||||
%{tde_datadir}/services/kontact/basket_v4.desktop
|
||||
%{tde_tdedocdir}/HTML/en/basket/
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 1.0.3.1-5
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.0.3.1-4
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Tue Oct 02 2012 Francois Andriot <francois.andriot@free.fr> - 1.0.3.1-3
|
||||
- Initial release for TDE 3.5.13.1
|
@ -0,0 +1,155 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg bibletime
|
||||
%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_tdeappdir %{tde_datadir}/applications/tde
|
||||
%define tde_tdedocdir %{tde_docdir}/tde
|
||||
%define tde_tdeincludedir %{tde_includedir}/tde
|
||||
%define tde_tdelibdir %{tde_libdir}/trinity
|
||||
|
||||
%define _docdir %{tde_docdir}
|
||||
|
||||
|
||||
Name: trinity-%{tde_pkg}
|
||||
Summary: A bible study tool for Trinity
|
||||
Version: 1.6.6.0
|
||||
Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
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-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: trinity-arts-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
# Requires: clucene
|
||||
%if 0%{?fedora} || 0%{?suse_version}
|
||||
BuildRequires: clucene-core-devel
|
||||
%endif
|
||||
%if 0%{?mgaversion} || 0%{?mdkversion}
|
||||
BuildRequires: %{_lib}clucene-devel
|
||||
%endif
|
||||
|
||||
# Requires: sword
|
||||
BuildRequires: sword-devel
|
||||
Requires: sword
|
||||
|
||||
%description
|
||||
BibleTime is a free and easy to use bible study tool for UNIX systems.
|
||||
It requires a working 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%{?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/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--disable-rpath \
|
||||
--with-extra-includes=
|
||||
|
||||
# Not SMP safe !
|
||||
%__make -C bibletime/frontend
|
||||
|
||||
# SMP safe !
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
%__chmod 644 %{buildroot}%{tde_datadir}/apps/bibletime/pics/*
|
||||
%__chmod 644 %{buildroot}%{tde_datadir}/apps/bibletime/bibletimeui.rc
|
||||
%__chmod 644 %{buildroot}%{tde_datadir}/apps/bibletime/tips
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
/sbin/ldconfig || :
|
||||
|
||||
%postun
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
/sbin/ldconfig || :
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_bindir}/bibletime
|
||||
%{tde_tdeincludedir}/bibletimeinterface.h
|
||||
%{tde_datadir}/applications/bibletime.desktop
|
||||
%{tde_datadir}/apps/bibletime/
|
||||
%{tde_datadir}/icons/hicolor/*/*/*.png
|
||||
%{tde_tdedocdir}/HTML/en/bibletime/
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 1.6.6.0-5
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.6.6.0-4
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 1.6.6.0-3
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 1.6.6.0-2
|
||||
- Fix compilation on RHEL 5
|
||||
- Fix compilation with GCC 4.7
|
||||
|
||||
* Tue Nov 29 2011 Francois Andriot <francois.andriot@free.fr> - 1.6.6.0-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
@ -0,0 +1,343 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg digikam
|
||||
%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_tdeappdir %{tde_datadir}/applications/tde
|
||||
%define tde_tdedocdir %{tde_docdir}/tde
|
||||
%define tde_tdeincludedir %{tde_includedir}/tde
|
||||
%define tde_tdelibdir %{tde_libdir}/trinity
|
||||
|
||||
%define _docdir %{tde_docdir}
|
||||
|
||||
|
||||
Name: trinity-%{tde_pkg}
|
||||
Summary: digital photo management application for TDE [Trinity]
|
||||
Version: 0.9.6
|
||||
Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Prefix: %{_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
||||
|
||||
# [Digikam] Revert PNG support to libpng12 (for RHEL4)
|
||||
Patch1: digikam-3.5.13.2-fix_png12_support.patch
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-arts-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: trinity-libkexiv2-devel >= %{tde_version}
|
||||
BuildRequires: trinity-libkdcraw-devel >= %{tde_version}
|
||||
BuildRequires: trinity-libkipi-devel >= %{tde_version}
|
||||
%if 0%{?rhel} == 4 || 0%{?rhel} == 5 || 0%{?mgaversion} || 0%{?mdkversion}
|
||||
BuildRequires: gphoto2-devel
|
||||
%else
|
||||
BuildRequires: libgphoto2-devel
|
||||
%endif
|
||||
BuildRequires: libtiff-devel
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
# JASPER support
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: libjasper-devel
|
||||
%else
|
||||
BuildRequires: jasper-devel
|
||||
%endif
|
||||
|
||||
# EXIV2 support
|
||||
%if 0%{?mgaversion} || 0%{?mdkversion}
|
||||
BuildRequires: %{_lib}exiv2-devel
|
||||
%endif
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: libexiv2-devel
|
||||
%endif
|
||||
%if 0%{?rhel} || 0%{?fedora}
|
||||
BuildRequires: exiv2-devel
|
||||
%endif
|
||||
|
||||
Requires: trinity-libkexiv2 >= 3.5.13.1
|
||||
Requires: trinity-libkdcraw >= 3.5.13.1
|
||||
Requires: trinity-libkipi >= 3.5.13.1
|
||||
|
||||
%description
|
||||
An easy to use and powerful digital photo management
|
||||
application, which makes importing, organizing and manipulating
|
||||
digital photos a "snap". An interface is provided to connect to
|
||||
your digital camera, preview the images and download and/or
|
||||
delete them.
|
||||
|
||||
The digiKam built-in image editor makes the common photo correction
|
||||
a simple task. The image editor is extensible via plugins and,
|
||||
the digikamimageplugins project has been merged to digiKam core
|
||||
since release 0.9.2, all useful image editor plugins are available
|
||||
in the base installation.
|
||||
|
||||
digiKam can also make use of the KIPI image handling plugins to
|
||||
extend its capabilities even further for photo manipulations,
|
||||
import and export, etc. The kipi-plugins package contains many
|
||||
very useful extentions.
|
||||
|
||||
digiKam is based in part on the work of the Independent JPEG Group.
|
||||
|
||||
|
||||
%package devel
|
||||
Group: Development/Libraries
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
%description devel
|
||||
%{summary}
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
%if 0%{?rhel} == 4
|
||||
%patch1 -p1 -b .png12
|
||||
%endif
|
||||
|
||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_tdeincludedir}"
|
||||
export TDEDIR="%{tde_prefix}"
|
||||
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--mandir=%{tde_mandir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--disable-rpath \
|
||||
--with-extra-includes=%{tde_tdeincludedir}/tqt \
|
||||
--enable-closure
|
||||
|
||||
%__make %{?_smp_mflags} || %__make
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
|
||||
%find_lang %{tde_pkg}
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
/sbin/ldconfig
|
||||
update-desktop-database %{tde_appdir} 2> /dev/null || :
|
||||
|
||||
%postun
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
/sbin/ldconfig
|
||||
update-desktop-database %{tde_appdir} 2> /dev/null || :
|
||||
|
||||
%post devel
|
||||
/sbin/ldconfig || :
|
||||
|
||||
%postun devel
|
||||
/sbin/ldconfig || :
|
||||
|
||||
|
||||
%files -f %{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/showfoto/
|
||||
%{tde_datadir}/icons/hicolor/*/apps/digikam.png
|
||||
%{tde_datadir}/icons/hicolor/*/apps/showfoto.png
|
||||
%{tde_datadir}/services/digikamalbums.protocol
|
||||
%{tde_datadir}/services/digikamdates.protocol
|
||||
%{tde_datadir}/services/digikamimageplugin_adjustcurves.desktop
|
||||
%{tde_datadir}/services/digikamimageplugin_adjustlevels.desktop
|
||||
%{tde_datadir}/services/digikamimageplugin_antivignetting.desktop
|
||||
%{tde_datadir}/services/digikamimageplugin_blurfx.desktop
|
||||
%{tde_datadir}/services/digikamimageplugin_border.desktop
|
||||
%{tde_datadir}/services/digikamimageplugin_channelmixer.desktop
|
||||
%{tde_datadir}/services/digikamimageplugin_charcoal.desktop
|
||||
%{tde_datadir}/services/digikamimageplugin_colorfx.desktop
|
||||
%{tde_datadir}/services/digikamimageplugin_core.desktop
|
||||
%{tde_datadir}/services/digikamimageplugin_distortionfx.desktop
|
||||
%{tde_datadir}/services/digikamimageplugin_emboss.desktop
|
||||
%{tde_datadir}/services/digikamimageplugin_filmgrain.desktop
|
||||
%{tde_datadir}/services/digikamimageplugin_freerotation.desktop
|
||||
%{tde_datadir}/services/digikamimageplugin_hotpixels.desktop
|
||||
%{tde_datadir}/services/digikamimageplugin_infrared.desktop
|
||||
%{tde_datadir}/services/digikamimageplugin_inpainting.desktop
|
||||
%{tde_datadir}/services/digikamimageplugin_inserttext.desktop
|
||||
%{tde_datadir}/services/digikamimageplugin_lensdistortion.desktop
|
||||
%{tde_datadir}/services/digikamimageplugin_noisereduction.desktop
|
||||
%{tde_datadir}/services/digikamimageplugin_oilpaint.desktop
|
||||
%{tde_datadir}/services/digikamimageplugin_perspective.desktop
|
||||
%{tde_datadir}/services/digikamimageplugin_raindrop.desktop
|
||||
%{tde_datadir}/services/digikamimageplugin_restoration.desktop
|
||||
%{tde_datadir}/services/digikamimageplugin_sheartool.desktop
|
||||
%{tde_datadir}/services/digikamimageplugin_superimpose.desktop
|
||||
%{tde_datadir}/services/digikamimageplugin_texture.desktop
|
||||
%{tde_datadir}/services/digikamimageplugin_whitebalance.desktop
|
||||
%{tde_datadir}/services/digikamsearch.protocol
|
||||
%{tde_datadir}/services/digikamtags.protocol
|
||||
%{tde_datadir}/services/digikamthumbnail.protocol
|
||||
%{tde_datadir}/servicetypes/digikamimageplugin.desktop
|
||||
%{tde_mandir}/man*/*
|
||||
#%{tde_tdedocdir}/HTML/en/digikam-apidocs/
|
||||
|
||||
|
||||
%files devel
|
||||
%{tde_tdeincludedir}/digikam_export.h
|
||||
%{tde_tdeincludedir}/digikam/
|
||||
%{tde_libdir}/libdigikam.so
|
||||
%{tde_libdir}/libdigikam.la
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.9.6-6
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.9.6-5
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.9.6-4
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Fri Aug 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.9.6-3
|
||||
- Add support for Mageia 2 and Mandriva 2011
|
||||
- Removes old patches, adds GIT patches.
|
||||
- Fix digikam FTBFS due to jpeg code [Commit #b9419cd5]
|
||||
- Fix FTBFS due to png code [Bug #595] [Commit #3e27b07f]
|
||||
- Remove version.h. Cruft from an older version prior to 0.9.6.
|
||||
- Fix usage of obsolete libpng jmpbuf member [Commit #7d0d82b7]
|
||||
- GCC 4.7 fix. [Bug #958] [Commit #a9489034]
|
||||
- GCC 4.7 fix. [Bug #958] [Commit #a209c81b]
|
||||
- Fix 'format not a string literal' error [Commit #029218cd]
|
||||
- Update patch in GIT hash a9489034 to use reinterpret_cast. [Commit #5a043853]
|
||||
- Fix FTBFS on png >= 0.15 [Commit #18ecd512]
|
||||
|
||||
* Sun Jul 08 2012 Francois Andriot <francois.andriot@free.fr> - 0.9.6-3
|
||||
- Fix man directory location
|
||||
- Fix postinstall
|
||||
- Fix description
|
||||
- Add "BuildRequires: exiv2-devel"
|
||||
|
||||
* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 0.9.6-2
|
||||
- gcc 4.7 + libpng 1.5 patch for digikam (consolidated) [Bug #958]
|
||||
|
||||
* Sun Nov 06 2011 Francois Andriot <francois.andriot@free.fr> - 0.9.6-1
|
||||
- Initial release for RHEL 6, RHEL 5 and Fedora 15
|
||||
|
@ -0,0 +1,167 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg dolphin
|
||||
%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_tdeappdir %{tde_datadir}/applications/tde
|
||||
%define tde_tdedocdir %{tde_docdir}/tde
|
||||
%define tde_tdeincludedir %{tde_includedir}/tde
|
||||
%define tde_tdelibdir %{tde_libdir}/trinity
|
||||
|
||||
%define _docdir %{tde_docdir}
|
||||
|
||||
|
||||
Name: trinity-%{tde_pkg}
|
||||
Summary: File manager for TDE focusing on usability
|
||||
Version: 0.9.2
|
||||
Release: %{?!preversion:8}%{?preversion:7_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
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-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
|
||||
%description
|
||||
Dolphin focuses on being only a file manager.
|
||||
This approach allows to optimize the user
|
||||
interface for the task of file management.
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR 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} \
|
||||
--docdir=%{tde_tdedocdir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--disable-rpath
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
|
||||
# Makes 'media_safelyremove.desktop' an alternative
|
||||
%__mv -f %{buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop %{buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_d3lphin
|
||||
%__ln_s %{_sysconfdir}/alternatives/media_safelyremove.desktop_d3lphin %{buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop
|
||||
%__mkdir_p %{?buildroot}%{_sysconfdir}/alternatives
|
||||
%__ln_s %{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop %{?buildroot}%{_sysconfdir}/alternatives/media_safelyremove.desktop_d3lphin
|
||||
|
||||
%find_lang d3lphin
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
update-alternatives --install \
|
||||
%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop \
|
||||
media_safelyremove.desktop_d3lphin \
|
||||
%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_d3lphin \
|
||||
15
|
||||
|
||||
%preun
|
||||
if [ $1 -eq 0 ]; then
|
||||
update-alternatives --remove \
|
||||
media_safelyremove.desktop_d3lphin \
|
||||
%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_d3lphin
|
||||
fi
|
||||
|
||||
%postun
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
|
||||
|
||||
%files -f d3lphin.lang
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS ChangeLog COPYING TODO
|
||||
%{tde_bindir}/d3lphin
|
||||
%{tde_tdeappdir}/d3lphin.desktop
|
||||
%{tde_datadir}/apps/d3lphin/
|
||||
%{tde_datadir}/icons/hicolor/*/apps/d3lphin.png
|
||||
%lang(en) %{tde_tdedocdir}/HTML/en/d3lphin/
|
||||
%{_sysconfdir}/alternatives/media_safelyremove.desktop_d3lphin
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.9.2-8
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.9.2-7
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.9.2-6
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Sun Jul 08 2012 Francois Andriot <francois.andriot@free.fr> - 0.9.2-5
|
||||
- Add alternatives with 'kio-umountwrapper'
|
||||
|
||||
* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 0.9.2-4
|
||||
- Rebuild for Fedora 17
|
||||
- Fix HTML installation directory
|
||||
|
||||
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 0.9.2-3
|
||||
- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15
|
||||
|
||||
* Wed Sep 14 2011 Francois Andriot <francois.andriot@free.fr> - 0.9.2-2
|
||||
- Import to GIT
|
||||
|
||||
* Mon Aug 22 2011 Francois Andriot <francois.andriot@free.fr> - 0.9.2-1
|
||||
- Correct macro to install under "/opt", if desired
|
||||
|
||||
* Thu Jun 30 2011 Francois Andriot <francois.andriot@free.fr> - 0.9.2-0
|
||||
- Initial release for RHEL 6.0
|
||||
- Based on FC7 'Dolphin 0.8.2-2" SPEC file.
|
||||
|
@ -0,0 +1,159 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg filelight
|
||||
%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_tdeappdir %{tde_datadir}/applications/tde
|
||||
%define tde_tdedocdir %{tde_docdir}/tde
|
||||
%define tde_tdeincludedir %{tde_includedir}/tde
|
||||
%define tde_tdelibdir %{tde_libdir}/trinity
|
||||
|
||||
%define _docdir %{tde_docdir}
|
||||
|
||||
|
||||
Name: trinity-%{tde_pkg}
|
||||
Summary: Graphical disk usage display
|
||||
Version: 1.0
|
||||
Release: %{?!preversion:7}%{?preversion:6_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
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-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
Obsoletes: filelight-l10n < %{version}-%{release}
|
||||
Provides: filelight-l10n = %{version}-%{release}
|
||||
|
||||
%description
|
||||
Filelight creates a complex, but data-rich graphical representation of the files and
|
||||
directories on your computer.
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR 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} \
|
||||
--docdir=%{tde_tdedocdir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--disable-rpath \
|
||||
--with-extra-includes=
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
%find_lang %{tde_pkg} --with-kde
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
for f in crystalsvg hicolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/${f} || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
|
||||
done
|
||||
|
||||
%postun
|
||||
for f in crystalsvg hicolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/${f} || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
|
||||
done
|
||||
|
||||
|
||||
%files -f %{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_datadir}/config/filelightrc
|
||||
%{tde_datadir}/services/*.desktop
|
||||
%{tde_tdelibdir}/libfilelight.so
|
||||
%{tde_tdelibdir}/libfilelight.la
|
||||
%lang(da) %{tde_tdedocdir}/HTML/da/filelight/
|
||||
%lang(en) %{tde_tdedocdir}/HTML/en/filelight/
|
||||
%lang(es) %{tde_tdedocdir}/HTML/es/filelight/
|
||||
%lang(et) %{tde_tdedocdir}/HTML/et/filelight/
|
||||
%lang(it) %{tde_tdedocdir}/HTML/it/filelight/
|
||||
%lang(pt) %{tde_tdedocdir}/HTML/pt/filelight/
|
||||
%lang(ru) %{tde_tdedocdir}/HTML/ru/filelight/
|
||||
%lang(sv) %{tde_tdedocdir}/HTML/sv/filelight/
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 1.0-7
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.0-6
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 1.0-5
|
||||
- Initial release for TDE 3.5.13.1
|
||||
- Obsoletes package 'filelight-l10n'
|
||||
|
||||
* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 1.0-4
|
||||
- Rebuilt for Fedora 17
|
||||
- Fix HTML directory location
|
||||
|
||||
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 1.0-3
|
||||
- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15
|
||||
|
||||
* Tue Sep 14 2011 Francois Andriot <francois.andriot@free.fr> - 1.0-2
|
||||
- Import to GIT
|
||||
|
||||
* Wed Aug 24 2011 Francois Andriot <francois.andriot@free.fr> - 1.0-1
|
||||
- Correct macro to install under "/opt", if desired
|
||||
|
||||
* Sun Aug 14 2011 Francois Andriot <francois.andriot@free.fr> - 1.0-0
|
||||
- Initial release for RHEL 6.0
|
||||
|
@ -0,0 +1,151 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg gtk-qt-engine
|
||||
%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: theme engine using Qt for GTK+ 2.x and Trinity
|
||||
Version: 0.8
|
||||
Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
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-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
|
||||
%description
|
||||
The GTK-Qt Theme Engine (also known as gtk-qt-engine) is a GTK 2 theme engine
|
||||
that calls Qt to do the actual drawing. This makes your GTK 2 applications
|
||||
look almost like real Qt applications and gives you a more unified desktop
|
||||
experience.
|
||||
|
||||
Please note that this package is targeted at Trinity users and therefore provides
|
||||
a way to configure it from within KControl.
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
# Renames the '.po' files
|
||||
for f in po/*/*.po; do
|
||||
pushd ${f%/*}
|
||||
mv -f *.po gtk-qt-engine.po
|
||||
popd
|
||||
done
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
|
||||
|
||||
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
|
||||
%__mkdir_p build
|
||||
cd build
|
||||
%endif
|
||||
|
||||
%cmake \
|
||||
-DCMAKE_INSTALL_PREFIX=%{tde_prefix} \
|
||||
-DDATA_INSTALL_DIR=%{tde_datadir} \
|
||||
-DLIB_INSTALL_DIR=%{tde_libdir} \
|
||||
-DSHARE_INSTALL_PREFIX=%{tde_datadir} \
|
||||
..
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot} -C build
|
||||
|
||||
%find_lang %{tde_pkg}
|
||||
|
||||
# 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 %{tde_pkg}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS ChangeLog COPYING NEWS README TODO
|
||||
%{tde_tdelibdir}/kcm_kcmgtk.la
|
||||
%{tde_tdelibdir}/kcm_kcmgtk.so
|
||||
%{tde_appdir}/kcmgtk.desktop
|
||||
%{tde_datadir}/kgtk/gtk-qt-engine.rc.sh
|
||||
%{tde_datadir}/kgtk/.gtkrc-2.0-kde4
|
||||
%{tde_datadir}/kgtk/.gtkrc-2.0-kde-kde4
|
||||
|
||||
# The following files are outside TDE's directory
|
||||
%{_libdir}/gtk-2.0/2.10.0/engines/libqtengine.so
|
||||
%{_datadir}/themes/Qt/gtk-2.0/gtkrc
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.8-6
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.8-5
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.8-4
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Mon Aug 27 2012 Francois Andriot <francois.andriot@free.fr> - 0.8-3
|
||||
- Add missing gtkrc files
|
||||
|
||||
* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 0.8-2
|
||||
- Rebuilt for Fedora 17
|
||||
- Fix FTBFS with newer glib
|
||||
- Removes useless post and postun
|
||||
|
||||
* Sun Nov 20 2011 Francois Andriot <francois.andriot@free.fr> - 0.8-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
@ -0,0 +1,122 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg gtk3-tqt-engine
|
||||
%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: GTK3 theme engine for TDE
|
||||
Version: 0.5
|
||||
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Prefix: %{_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
||||
Patch0: gtk3-tqt-engine-14.0.0-ftbfs.patch
|
||||
Patch1: gtk3-tqt-engine-14.0.0-libsuffix.patch
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
BuildRequires: gtk+3.0-devel
|
||||
|
||||
%description
|
||||
GTK3 style engine which uses the active TDE style to draw its widgets
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
%patch0 -p1 -b .ftbfs
|
||||
%if "%_lib" == "lib64"
|
||||
%patch1 -p1 -b .libsuffix
|
||||
%endif
|
||||
|
||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--docdir=%{tde_tdedocdir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--disable-rpath
|
||||
|
||||
%__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 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
|
||||
%{_datadir}/themes/tdegtk/gtk-3.0/gtk.css
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.5-1
|
||||
- Initial release for TDE 14.0.0
|
@ -0,0 +1,181 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg gwenview-i18n
|
||||
%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: Gwenview is an image viewer for TDE.
|
||||
Version: 1.4.2
|
||||
Release: %{?!preversion:3}%{?preversion:2_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Prefix: %{_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
||||
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-arts-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
# EXIV2 support
|
||||
%if 0%{?mgaversion} || 0%{?mdkversion}
|
||||
BuildRequires: %{_lib}exiv2-devel
|
||||
%endif
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: libexiv2-devel
|
||||
%endif
|
||||
%if 0%{?rhel} || 0%{?fedora}
|
||||
BuildRequires: exiv2-devel
|
||||
%endif
|
||||
|
||||
%if "%{?tde_prefix}" == "/usr"
|
||||
Conflicts: kdegraphics
|
||||
%endif
|
||||
|
||||
|
||||
%description
|
||||
Gwenview is a fast and easy to use image viewer/browser for TDE.
|
||||
All common image formats are supported, such as PNG(including transparency),
|
||||
JPEG(including EXIF tags and lossless transformations), GIF, XCF (Gimp
|
||||
image format), BMP, XPM and others. Standard features include slideshow,
|
||||
fullscreen view, image thumbnails, drag'n'drop, image zoom, full network
|
||||
transparency using the KIO framework, including basic file operations and
|
||||
browsing in compressed archives, non-blocking GUI with adjustable views.
|
||||
Gwenview also provides image and directory KParts components for use e.g. in
|
||||
Konqueror. Additional features, such as image renaming, comparing,
|
||||
converting, and batch processing, HTML gallery and others are provided by the
|
||||
KIPI image framework.
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
export TDEDIR="%{tde_prefix}"
|
||||
|
||||
./configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--docdir=%{tde_tdedocdir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--mandir=%{tde_mandir} \
|
||||
--disable-rpath \
|
||||
--enable-closure
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
|
||||
|
||||
|
||||
## File lists
|
||||
%find_lang gwenview
|
||||
|
||||
# HTML (1.0)
|
||||
HTML_DIR=$(tde-config --expandvars --install html)
|
||||
if [ -d %{buildroot}$HTML_DIR ]; then
|
||||
for lang_dir in %{buildroot}$HTML_DIR/* ; do
|
||||
if [ -d $lang_dir ]; then
|
||||
lang=$(basename $lang_dir)
|
||||
echo "%lang($lang) $HTML_DIR/$lang/*" >> gwenview.lang
|
||||
# replace absolute symlinks with relative ones
|
||||
pushd $lang_dir
|
||||
for i in *; do
|
||||
[ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common
|
||||
done
|
||||
popd
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
|
||||
# Removes useless files (-devel ?)
|
||||
%__rm -f %{?buildroot}%{tde_libdir}/libgwenviewcore.so
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
for f in crystalsvg hicolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/${f} || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
|
||||
done
|
||||
/sbin/ldconfig
|
||||
|
||||
%postun
|
||||
for f in crystalsvg hicolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/${f} || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
|
||||
done
|
||||
/sbin/ldconfig
|
||||
|
||||
%files -f gwenview.lang
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS ChangeLog COPYING TODO
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 1.4.2-3
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.4.2-2
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 1.4.2-1
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
@ -0,0 +1,243 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg gwenview
|
||||
%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: Gwenview is an image viewer for TDE.
|
||||
Version: 1.4.2
|
||||
Release: %{?!preversion:11}%{?preversion:10_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
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-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-arts-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
# EXIV2 support
|
||||
%if 0%{?mgaversion} || 0%{?mdkversion}
|
||||
BuildRequires: %{_lib}exiv2-devel
|
||||
%endif
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: libexiv2-devel
|
||||
%endif
|
||||
%if 0%{?rhel} || 0%{?fedora}
|
||||
BuildRequires: exiv2-devel
|
||||
%endif
|
||||
|
||||
%if "%{?tde_prefix}" == "/usr"
|
||||
Conflicts: kdegraphics
|
||||
%endif
|
||||
|
||||
|
||||
%description
|
||||
Gwenview is a fast and easy to use image viewer/browser for TDE.
|
||||
All common image formats are supported, such as PNG(including transparency),
|
||||
JPEG(including EXIF tags and lossless transformations), GIF, XCF (Gimp
|
||||
image format), BMP, XPM and others. Standard features include slideshow,
|
||||
fullscreen view, image thumbnails, drag'n'drop, image zoom, full network
|
||||
transparency using the KIO framework, including basic file operations and
|
||||
browsing in compressed archives, non-blocking GUI with adjustable views.
|
||||
Gwenview also provides image and directory KParts components for use e.g. in
|
||||
Konqueror. Additional features, such as image renaming, comparing,
|
||||
converting, and batch processing, HTML gallery and others are provided by the
|
||||
KIPI image framework.
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR 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} \
|
||||
--docdir=%{tde_tdedocdir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--mandir=%{tde_mandir} \
|
||||
--disable-rpath \
|
||||
--enable-closure
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
|
||||
|
||||
## File lists
|
||||
# HTML (1.0)
|
||||
HTML_DIR=$(tde-config --expandvars --install html)
|
||||
if [ -d %{buildroot}$HTML_DIR ]; then
|
||||
for lang_dir in %{buildroot}$HTML_DIR/* ; do
|
||||
if [ -d $lang_dir ]; then
|
||||
lang=$(basename $lang_dir)
|
||||
echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
|
||||
# replace absolute symlinks with relative ones
|
||||
pushd $lang_dir
|
||||
for i in *; do
|
||||
[ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common
|
||||
done
|
||||
popd
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
# Removes useless files (-devel ?)
|
||||
%__rm -f %{?buildroot}%{tde_libdir}/libgwenviewcore.so
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
for f in crystalsvg hicolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/${f} || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
|
||||
done
|
||||
/sbin/ldconfig
|
||||
|
||||
%postun
|
||||
for f in crystalsvg hicolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/${f} || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
|
||||
done
|
||||
/sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS COPYING
|
||||
%{tde_bindir}/gwenview
|
||||
%{tde_libdir}/libgwenviewcore.la
|
||||
%{tde_libdir}/libgwenviewcore.so.1
|
||||
%{tde_libdir}/libgwenviewcore.so.1.0.0
|
||||
%{tde_libdir}/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/
|
||||
%{tde_datadir}/apps/gvdirpart/gvdirpart.rc
|
||||
%{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
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 1.4.2-11
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.4.2-10
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 1.4.2-9
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Sat Aug 04 2012 Francois Andriot <francois.andriot@free.fr> - 1.4.2-8
|
||||
- Add support for Mageia 2 and Mandriva 2011
|
||||
- Define QT_CLEAN_NAMESPACE during libmng checks [Commit #59c7639f]
|
||||
|
||||
* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 1.4.2-7
|
||||
- Rebuilt for Fedora 17
|
||||
- Fix post and postun
|
||||
- Adds patches from GIT
|
||||
|
||||
* Fri Nov 25 2011 Francois Andriot <francois.andriot@free.fr> - 1.4.2-6
|
||||
- Fix HTML directory location
|
||||
|
||||
* Fri Nov 04 2011 Francois Andriot <francois.andriot@free.fr> - 1.4.2-5
|
||||
- Adds missing files
|
||||
|
||||
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 1.4.2-4
|
||||
- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15
|
||||
|
||||
* Tue Sep 14 2011 Francois Andriot <francois.andriot@free.fr> - 1.4.2-3
|
||||
- Import to GIT
|
||||
|
||||
* Wed Aug 24 2011 Francois Andriot <francois.andriot@free.fr> - 1.4.2-2
|
||||
- Add fix for Fedora 15
|
||||
|
||||
* Mon Aug 22 2011 Francois Andriot <francois.andriot@free.fr> - 1.4.2-1
|
||||
- Correct macro to install under "/opt", if desired
|
||||
|
||||
* Sat Aug 13 2011 Francois Andriot <francois.andriot@free.fr> - 1.4.2-0
|
||||
- Initial release for RHEL 6.0
|
||||
|
@ -0,0 +1,328 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg abakus
|
||||
%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-k3b-i18n
|
||||
Summary: Locale files for K3B
|
||||
Version: 1.0.5
|
||||
Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
# Speed build options
|
||||
%define debug_package %{nil}
|
||||
%define __spec_install_post %{nil}
|
||||
AutoReq: no
|
||||
|
||||
Prefix: %{_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Group: Applications/Archiving
|
||||
License: GPLv2+
|
||||
|
||||
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
||||
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
Requires(post): coreutils
|
||||
Requires(postun): coreutils
|
||||
|
||||
Requires: trinity-k3b
|
||||
|
||||
|
||||
%description
|
||||
K3b provides a comfortable user interface to perform most CD/DVD
|
||||
burning tasks. While the experienced user can take influence in all
|
||||
steps of the burning process the beginner may find comfort in the
|
||||
automatic settings and the reasonable k3b defaults which allow a quick
|
||||
start.
|
||||
|
||||
%package da
|
||||
Group: Applications/Archiving
|
||||
Requires: trinity-k3b
|
||||
Summary: Danish (da) translations for K3B [Trinity]
|
||||
%description da
|
||||
This package contains the Danish translations for K3B.
|
||||
|
||||
%package de
|
||||
Group: Applications/Archiving
|
||||
Requires: trinity-k3b
|
||||
Summary: German (de) translations for K3B [Trinity]
|
||||
%description de
|
||||
This package contains the German translations for K3B.
|
||||
|
||||
%package el
|
||||
Group: Applications/Archiving
|
||||
Requires: trinity-k3b >= %{version}
|
||||
Summary: Greek (el) translations for K3B [Trinity]
|
||||
%description el
|
||||
This package contains the greek translations for K3B.
|
||||
|
||||
%package es
|
||||
Group: Applications/Archiving
|
||||
Requires: trinity-k3b
|
||||
Summary: Spanish (es) translations for K3B [Trinity]
|
||||
%description es
|
||||
This package contains the Spanish translations for K3B.
|
||||
|
||||
%package et
|
||||
Group: Applications/Archiving
|
||||
Requires: trinity-k3b
|
||||
Summary: Estonian (et) translations for K3B [Trinity]
|
||||
%description et
|
||||
This package contains the Estonian translations for K3B.
|
||||
|
||||
%package fr
|
||||
Group: Applications/Archiving
|
||||
Requires: trinity-k3b
|
||||
Summary: French (fr) translations for K3B [Trinity]
|
||||
%description fr
|
||||
This package contains the French translations for K3B.
|
||||
|
||||
%package it
|
||||
Group: Applications/Archiving
|
||||
Requires: trinity-k3b
|
||||
Summary: Italian (it) translations for K3B [Trinity]
|
||||
%description it
|
||||
This package contains the Italian translations for K3B.
|
||||
|
||||
%package nl
|
||||
Group: Applications/Archiving
|
||||
Requires: trinity-k3b
|
||||
Summary: Dutch (nl) translations for K3B [Trinity]
|
||||
%description nl
|
||||
This package contains the Dutch translations for K3B.
|
||||
|
||||
%package pl
|
||||
Group: Applications/Archiving
|
||||
Requires: trinity-k3b
|
||||
Summary: Polish (pl) translations for K3B [Trinity]
|
||||
%description pl
|
||||
This package contains the Polish translations for K3B.
|
||||
|
||||
%package pt
|
||||
Group: Applications/Archiving
|
||||
Requires: trinity-k3b
|
||||
Summary: Portuguese (pt) translations for K3B [Trinity]
|
||||
%description pt
|
||||
This package contains the Portuguese translations for K3B.
|
||||
|
||||
%package ptbr
|
||||
Group: Applications/Archiving
|
||||
Requires: trinity-k3b
|
||||
Summary: Brazilian Portuguese (pt_BR) translations for K3B [Trinity]
|
||||
%description ptbr
|
||||
This package contains the Brazilian Portuguese translations for K3B.
|
||||
|
||||
%package ru
|
||||
Group: Applications/Archiving
|
||||
Requires: trinity-k3b
|
||||
Summary: Russian (ru) translations for K3B [Trinity]
|
||||
%description ru
|
||||
This package contains the Russian translations for K3B.
|
||||
|
||||
%package sv
|
||||
Group: Applications/Archiving
|
||||
Requires: trinity-k3b
|
||||
Summary: Swedish (sv) translations for K3B [Trinity]
|
||||
%description sv
|
||||
This package contains the Swedish translations for K3B.
|
||||
|
||||
%package uk
|
||||
Group: Applications/Archiving
|
||||
Requires: trinity-k3b
|
||||
Summary: Ukrainian (uk) translations for K3B [Trinity]
|
||||
%description uk
|
||||
This package contains the Ukrainian translations for K3B.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
|
||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR 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} \
|
||||
--docdir=%{tde_tdedocdir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--mandir=%{tde_mandir} \
|
||||
--disable-rpath \
|
||||
--enable-closure
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
%__rm -rf %{buildroot}%{tde_datadir}/locale/af
|
||||
%__rm -rf %{buildroot}%{tde_datadir}/locale/ar
|
||||
%__rm -rf %{buildroot}%{tde_datadir}/locale/bg
|
||||
%__rm -rf %{buildroot}%{tde_datadir}/locale/br
|
||||
%__rm -rf %{buildroot}%{tde_datadir}/locale/bs
|
||||
%__rm -rf %{buildroot}%{tde_datadir}/locale/ca
|
||||
%__rm -rf %{buildroot}%{tde_datadir}/locale/cs
|
||||
%__rm -rf %{buildroot}%{tde_datadir}/locale/cy
|
||||
%__rm -rf %{buildroot}%{tde_datadir}/locale/en_GB
|
||||
%__rm -rf %{buildroot}%{tde_datadir}/locale/eu
|
||||
%__rm -rf %{buildroot}%{tde_datadir}/locale/fa
|
||||
%__rm -rf %{buildroot}%{tde_datadir}/locale/fi
|
||||
%__rm -rf %{buildroot}%{tde_datadir}/locale/ga
|
||||
%__rm -rf %{buildroot}%{tde_datadir}/locale/gl
|
||||
%__rm -rf %{buildroot}%{tde_datadir}/locale/he
|
||||
%__rm -rf %{buildroot}%{tde_datadir}/locale/hi
|
||||
%__rm -rf %{buildroot}%{tde_datadir}/locale/hu
|
||||
%__rm -rf %{buildroot}%{tde_datadir}/locale/is
|
||||
%__rm -rf %{buildroot}%{tde_datadir}/locale/ja
|
||||
%__rm -rf %{buildroot}%{tde_datadir}/locale/ka
|
||||
%__rm -rf %{buildroot}%{tde_datadir}/locale/km
|
||||
%__rm -rf %{buildroot}%{tde_datadir}/locale/lt
|
||||
%__rm -rf %{buildroot}%{tde_datadir}/locale/mk
|
||||
%__rm -rf %{buildroot}%{tde_datadir}/locale/ms
|
||||
%__rm -rf %{buildroot}%{tde_datadir}/locale/nb
|
||||
%__rm -rf %{buildroot}%{tde_datadir}/locale/nds
|
||||
%__rm -rf %{buildroot}%{tde_datadir}/locale/ne
|
||||
%__rm -rf %{buildroot}%{tde_datadir}/locale/nn
|
||||
%__rm -rf %{buildroot}%{tde_datadir}/locale/pa
|
||||
%__rm -rf %{buildroot}%{tde_datadir}/locale/rw
|
||||
%__rm -rf %{buildroot}%{tde_datadir}/locale/se
|
||||
%__rm -rf %{buildroot}%{tde_datadir}/locale/sk
|
||||
%__rm -rf %{buildroot}%{tde_datadir}/locale/sr
|
||||
%__rm -rf %{buildroot}%{tde_datadir}/locale/sr@Latn
|
||||
%__rm -rf %{buildroot}%{tde_datadir}/locale/ta
|
||||
%__rm -rf %{buildroot}%{tde_datadir}/locale/tr
|
||||
%__rm -rf %{buildroot}%{tde_datadir}/locale/uz
|
||||
%__rm -rf %{buildroot}%{tde_datadir}/locale/uz@cyrillic
|
||||
%__rm -rf %{buildroot}%{tde_datadir}/locale/zh_CN
|
||||
%__rm -rf %{buildroot}%{tde_datadir}/locale/zh_TW
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%files da
|
||||
%defattr(-,root,root,-)
|
||||
%lang(da) %{tde_tdedocdir}/HTML/da/k3b
|
||||
%lang(da) %{tde_datadir}/locale/da/LC_MESSAGES/*.mo
|
||||
|
||||
%files de
|
||||
%defattr(-,root,root,-)
|
||||
%lang(de) %{tde_tdedocdir}/HTML/de/k3b
|
||||
%lang(de) %{tde_datadir}/locale/de/LC_MESSAGES/*.mo
|
||||
|
||||
%files el
|
||||
%defattr(-,root,root,-)
|
||||
#%lang(el) %{tde_tdedocdir}/HTML/el/k3b
|
||||
%lang(el) %{tde_datadir}/locale/el/LC_MESSAGES/*.mo
|
||||
|
||||
%files es
|
||||
%defattr(-,root,root,-)
|
||||
%lang(es) %{tde_tdedocdir}/HTML/es/k3b
|
||||
%lang(es) %{tde_datadir}/locale/es/LC_MESSAGES/*.mo
|
||||
|
||||
%files et
|
||||
%defattr(-,root,root,-)
|
||||
%lang(et) %{tde_tdedocdir}/HTML/et/k3b
|
||||
%lang(et) %{tde_datadir}/locale/et/LC_MESSAGES/*.mo
|
||||
|
||||
%files fr
|
||||
%defattr(-,root,root,-)
|
||||
%lang(fr) %{tde_tdedocdir}/HTML/fr/k3b
|
||||
%lang(fr) %{tde_datadir}/locale/fr/LC_MESSAGES/*.mo
|
||||
|
||||
%files it
|
||||
%defattr(-,root,root,-)
|
||||
%lang(it) %{tde_tdedocdir}/HTML/it/k3b
|
||||
%lang(it) %{tde_datadir}/locale/it/LC_MESSAGES/*.mo
|
||||
|
||||
%files nl
|
||||
%defattr(-,root,root,-)
|
||||
%lang(nl) %{tde_tdedocdir}/HTML/nl/k3b
|
||||
%lang(nl) %{tde_datadir}/locale/nl/LC_MESSAGES/*.mo
|
||||
|
||||
%files pl
|
||||
%defattr(-,root,root,-)
|
||||
%lang(pl) %{tde_tdedocdir}/HTML/pl/k3b
|
||||
%lang(pl) %{tde_datadir}/locale/pl/LC_MESSAGES/*.mo
|
||||
|
||||
%files pt
|
||||
%defattr(-,root,root,-)
|
||||
%lang(pt) %{tde_tdedocdir}/HTML/pt/k3b
|
||||
%lang(pt) %{tde_datadir}/locale/pt/LC_MESSAGES/*.mo
|
||||
|
||||
%files ptbr
|
||||
%defattr(-,root,root,-)
|
||||
%lang(pt_BR) %{tde_tdedocdir}/HTML/pt_BR/k3b
|
||||
%lang(pt_BR) %{tde_datadir}/locale/pt_BR/LC_MESSAGES/*.mo
|
||||
|
||||
%files ru
|
||||
%defattr(-,root,root,-)
|
||||
%lang(ru) %{tde_tdedocdir}/HTML/ru/k3b
|
||||
%lang(ru) %{tde_datadir}/locale/ru/LC_MESSAGES/*.mo
|
||||
|
||||
%files sv
|
||||
%defattr(-,root,root,-)
|
||||
%lang(sv) %{tde_tdedocdir}/HTML/sv/k3b
|
||||
%lang(sv) %{tde_datadir}/locale/sv/LC_MESSAGES/*.mo
|
||||
|
||||
%files uk
|
||||
%defattr(-,root,root,-)
|
||||
%lang(uk) %{tde_tdedocdir}/HTML/uk/k3b
|
||||
%lang(uk) %{tde_datadir}/locale/uk/LC_MESSAGES/*.mo
|
||||
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 1.0.5-4
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.0.5-3
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 1.0.5-2
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Thu May 10 2012 Francois Andriot <francois.andriot@free.fr> - 1.0.5-1
|
||||
- Initial release for TDE 3.5.13
|
@ -0,0 +1,485 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg abakus
|
||||
%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-k3b
|
||||
Summary: CD/DVD burning application
|
||||
Version: 14.0.0
|
||||
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Prefix: %{tde_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Group: Applications/Archiving
|
||||
License: GPLv2+
|
||||
|
||||
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
||||
Source2: k3brc
|
||||
|
||||
# Legacy RedHat / Fedora patches
|
||||
# manual bufsize (upstream?)
|
||||
Patch4: k3b-1.0.4-manualbufsize.patch
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-arts-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: alsa-lib-devel
|
||||
BuildRequires: audiofile-devel
|
||||
BuildRequires: gettext
|
||||
BuildRequires: libmpcdec-devel
|
||||
BuildRequires: libmusicbrainz-devel
|
||||
BuildRequires: libvorbis-devel
|
||||
BuildRequires: taglib-devel
|
||||
BuildRequires: zlib-devel
|
||||
|
||||
Requires(post): coreutils
|
||||
Requires(postun): coreutils
|
||||
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
Requires: %{name}-common = %{version}-%{release}
|
||||
|
||||
Requires: cdrecord mkisofs
|
||||
Requires: dvd+rw-tools
|
||||
|
||||
# CDRDAO support
|
||||
%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 5
|
||||
Requires: cdrdao
|
||||
%endif
|
||||
|
||||
# DBUS support
|
||||
# TQT bindings not available for RHEL4
|
||||
%if 0%{?rhel} == 4
|
||||
# Dbus bindings were rebuilt with Qt support
|
||||
BuildRequires: dbus-devel >= 0.22-12.EL.9p1
|
||||
Requires: dbus-qt
|
||||
%else
|
||||
BuildRequires: trinity-dbus-tqt-devel
|
||||
Requires: trinity-dbus-tqt >= %{version}
|
||||
%endif
|
||||
|
||||
# SNDFILE support
|
||||
%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 4
|
||||
%define with_sndfile 1
|
||||
BuildRequires: libsndfile-devel
|
||||
%endif
|
||||
|
||||
# SAMPLERATE support
|
||||
%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 4
|
||||
%define with_samplerate 1
|
||||
BuildRequires: libsamplerate-devel
|
||||
%endif
|
||||
|
||||
# DVDREAD support
|
||||
%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 4
|
||||
%define with_dvdread 1
|
||||
%if 0%{?mdkversion} || 0%{?mgaversion}
|
||||
BuildRequires: %{_lib}dvdread-devel
|
||||
%else
|
||||
BuildRequires: libdvdread-devel
|
||||
%endif
|
||||
%endif
|
||||
|
||||
# FLAC support
|
||||
%if 0%{?mgaversion} || 0%{?mdkversion}
|
||||
%if 0%{?pclinuxos}
|
||||
BuildRequires: libflac-devel
|
||||
BuildRequires: libflac++-devel
|
||||
%else
|
||||
BuildRequires: %{_lib}flac-devel
|
||||
BuildRequires: %{_lib}flac++-devel
|
||||
%endif
|
||||
%else
|
||||
BuildRequires: flac-devel
|
||||
%endif
|
||||
|
||||
# MAD support
|
||||
%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel}
|
||||
%define with_libmad 1
|
||||
%if 0%{?mdkversion} || 0%{?mgaversion}
|
||||
BuildRequires: %{_lib}mad-devel
|
||||
%endif
|
||||
%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel}
|
||||
BuildRequires: libmad-devel
|
||||
%endif
|
||||
%endif
|
||||
|
||||
# LAME support
|
||||
%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel}
|
||||
%define with_lame 1
|
||||
%if 0%{?mgaversion} || 0%{?mdkversion}
|
||||
%if 0%{?pclinuxos}
|
||||
BuildRequires: liblame-devel
|
||||
%else
|
||||
BuildRequires: %{_lib}lame-devel
|
||||
%endif
|
||||
%endif
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: libmp3lame-devel
|
||||
%endif
|
||||
%if 0%{?fedora} || 0%{?rhel}
|
||||
BuildRequires: lame-devel
|
||||
%endif
|
||||
%endif
|
||||
|
||||
# FFMPEG support
|
||||
%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel}
|
||||
%define with_ffmpeg 1
|
||||
%if 0%{?mdkversion} || 0%{?mgaversion}
|
||||
BuildRequires: %{_lib}ffmpeg-devel
|
||||
%endif
|
||||
%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel}
|
||||
BuildRequires: ffmpeg-devel
|
||||
%endif
|
||||
%endif
|
||||
|
||||
|
||||
%description
|
||||
K3b provides a comfortable user interface to perform most CD/DVD
|
||||
burning tasks. While the experienced user can take influence in all
|
||||
steps of the burning process the beginner may find comfort in the
|
||||
automatic settings and the reasonable k3b defaults which allow a quick
|
||||
start.
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS README COPYING TODO ChangeLog
|
||||
%{tde_bindir}/k3b
|
||||
%{tde_tdelibdir}/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} = %{version}-%{release}
|
||||
%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion}
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
%description common
|
||||
%{summary}.
|
||||
|
||||
%files common
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_tdeappdir}/k3b.desktop
|
||||
%{tde_datadir}/applnk/.hidden/k3b-cue.desktop
|
||||
%{tde_datadir}/applnk/.hidden/k3b-iso.desktop
|
||||
%{tde_datadir}/apps/k3b/
|
||||
%{tde_datadir}/apps/konqsidebartng/virtual_folders/services/videodvd.desktop
|
||||
%{tde_datadir}/apps/konqueror/servicemenus/k3b_audiocd_rip.desktop
|
||||
%{tde_datadir}/apps/konqueror/servicemenus/k3b_cd_copy.desktop
|
||||
%{tde_datadir}/apps/konqueror/servicemenus/k3b_dvd_copy.desktop
|
||||
%{tde_datadir}/apps/konqueror/servicemenus/k3b_handle_empty_cd.desktop
|
||||
%{tde_datadir}/apps/konqueror/servicemenus/k3b_handle_empty_dvd.desktop
|
||||
%{tde_datadir}/apps/konqueror/servicemenus/k3b_videodvd_rip.desktop
|
||||
%{tde_datadir}/config/k3brc
|
||||
%{tde_datadir}/mimelnk/application/x-k3b.desktop
|
||||
%{tde_datadir}/icons/hicolor/*/apps/k3b.png
|
||||
%{tde_datadir}/services/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
|
||||
|
||||
|
||||
%post common
|
||||
touch --no-create %{tde_datadir}/icons/hicolor ||:
|
||||
|
||||
%postun common
|
||||
if [ $1 -eq 0 ] ; then
|
||||
touch --no-create %{tde_datadir}/icons/hicolor &> /dev/null
|
||||
gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || :
|
||||
update-desktop-database %{tde_appdir} -q &> /dev/null
|
||||
fi
|
||||
|
||||
%posttrans common
|
||||
gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || :
|
||||
update-desktop-database %{tde_appdir} -q &> /dev/null
|
||||
|
||||
##########
|
||||
|
||||
%package libs
|
||||
Summary: Runtime libraries for %{name}
|
||||
Group: System Environment/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description libs
|
||||
%{summary}.
|
||||
|
||||
%files libs
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_libdir}/libk3b.so.3
|
||||
%{tde_libdir}/libk3b.so.3.0.0
|
||||
%{tde_libdir}/libk3bdevice.so.5
|
||||
%{tde_libdir}/libk3bdevice.so.5.0.0
|
||||
|
||||
%post libs
|
||||
/sbin/ldconfig
|
||||
|
||||
%postun libs
|
||||
/sbin/ldconfig
|
||||
|
||||
##########
|
||||
|
||||
%package devel
|
||||
Summary: Files for the development of applications which will use %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
%{summary}.
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_tdeincludedir}/*.h
|
||||
%{tde_libdir}/libk3b.so
|
||||
%{tde_libdir}/libk3bdevice.so
|
||||
|
||||
%post devel
|
||||
/sbin/ldconfig
|
||||
|
||||
%postun devel
|
||||
/sbin/ldconfig
|
||||
|
||||
##########
|
||||
|
||||
%if 0%{?with_libmad}
|
||||
%package plugin-mad
|
||||
Summary: The MAD plugin for K3B
|
||||
Group: System Environment/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description plugin-mad
|
||||
%{summary}.
|
||||
|
||||
MAD is a high-quality MPEG audio decoder. It currently supports MPEG-1
|
||||
and the MPEG-2 extension to Lower Sampling Frequencies, as well as the
|
||||
so-called MPEG 2.5 format. All three audio layers (Layer I, Layer II,
|
||||
and Layer III a.k.a. MP3) are fully implemented.
|
||||
|
||||
%files plugin-mad
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_tdelibdir}/libk3bmaddecoder.la
|
||||
%{tde_tdelibdir}/libk3bmaddecoder.so
|
||||
%endif
|
||||
|
||||
##########
|
||||
|
||||
%if 0%{?with_lame}
|
||||
%package plugin-lame
|
||||
Summary: The LAME plugin for K3B
|
||||
Group: System Environment/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description plugin-lame
|
||||
%{summary}.
|
||||
|
||||
Personal and commercial use of compiled versions of LAME (or any other mp3
|
||||
encoder) requires a patent license in some countries.
|
||||
|
||||
This package is in tainted, as MP3 encoding is covered by software patents.
|
||||
|
||||
%files plugin-lame
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_tdelibdir}/libk3blameencoder.la
|
||||
%{tde_tdelibdir}/libk3blameencoder.so
|
||||
%endif
|
||||
|
||||
##########
|
||||
|
||||
%if 0%{?with_ffmpeg}
|
||||
%package plugin-ffmpeg
|
||||
Summary: The FFMPEG plugin for K3B
|
||||
Group: System Environment/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description plugin-ffmpeg
|
||||
%{summary}.
|
||||
|
||||
ffmpeg is a hyper fast realtime audio/video encoder, a streaming server
|
||||
and a generic audio and video file converter.
|
||||
|
||||
%files plugin-ffmpeg
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_tdelibdir}/libk3bffmpegdecoder.la
|
||||
%{tde_tdelibdir}/libk3bffmpegdecoder.so
|
||||
%endif
|
||||
|
||||
##########
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
##########
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
# set in k3brc too
|
||||
%patch4 -p1 -b .manualbufsize
|
||||
|
||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
|
||||
|
||||
# FFMPEG trick ...
|
||||
if [ -d /usr/include/ffmpeg ]; then
|
||||
export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/include/ffmpeg"
|
||||
fi
|
||||
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--mandir=%{tde_mandir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--disable-rpath \
|
||||
--enable-new-ldflags \
|
||||
--disable-debug --disable-warnings \
|
||||
--disable-dependency-tracking --enable-final \
|
||||
--with-k3bsetup=no \
|
||||
--without-cdrecord-suid-root \
|
||||
--with-oggvorbis \
|
||||
--with-flac \
|
||||
%{?with_samplerate:--with-external-libsamplerate} \
|
||||
%{?with_dvdread:--with-libdvdread} %{?!with_dvdread:--without-libdvdread} \
|
||||
--with-musicbrainz \
|
||||
%{?with_sndfile:--with-sndfile} %{?!with_sndfile:--without-sndfile} \
|
||||
%{?with_ffmpeg:--with-ffmpeg} %{?!with_ffmpeg:--without-ffmpeg} \
|
||||
%{?with_lame:--with-lame} %{?!with_lame:--without-lame} \
|
||||
%{?with_libmad:--with-libmad} %{?!with_libmad:--without-libmad} \
|
||||
--with-musepack \
|
||||
--without-resmgr \
|
||||
--without-hal \
|
||||
--with-extra-includes=%{tde_includedir}
|
||||
|
||||
# Strange behaviour on RHEL4 ...
|
||||
%if 0%{?rhel} == 4
|
||||
%__sed -i "libk3b/jobs/Makefile" -e "/^am_libjobs_la_final_OBJECTS/ s/ lo//g"
|
||||
%__mkdir_p "libk3bdevice/.libs"
|
||||
%__ln_s . "libk3bdevice/.libs/.libs"
|
||||
%endif
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
%__install -D -m 644 -p %{SOURCE2} %{buildroot}%{tde_datadir}/config/k3brc
|
||||
|
||||
# remove the .la files
|
||||
%__rm -f %{buildroot}%{tde_libdir}/libk3b*.la
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 14.0.0-1
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Sun Jan 06 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.1-2
|
||||
- Enables FFMPEG support
|
||||
- Enables LAME support
|
||||
- Enables MAD support
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13.1-1
|
||||
- Initial release for TDE 3.5.13.1
|
||||
- Remove requirement for resmgr
|
||||
|
||||
* Sat Aug 04 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13-5
|
||||
- Add support for Mageia 2 and Mandriva 2011
|
||||
- Fix DBUS-TQT detection that prevented HAL support
|
||||
- Adds requirement for resmgr
|
||||
|
||||
* Wed May 09 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13-4
|
||||
- Removes i18 files (built separately)
|
||||
|
||||
* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13-3
|
||||
- Rebuilt for Fedora 17
|
||||
- Fix compilation with GCC 4.7 [Bug #958]
|
||||
|
||||
* Sat Nov 05 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-2
|
||||
- Updates BuildRequires
|
||||
|
||||
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-1
|
||||
- Initial release for RHEL 6, RHEL 5 and Fedora 15
|
||||
|
||||
* Sun Sep 11 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-0
|
||||
- Import to GIT
|
@ -0,0 +1,157 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg k9copy
|
||||
%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: DVD backup tool for Trinity
|
||||
Version: 1.2.3
|
||||
Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
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
|
||||
|
||||
Patch1: k9copy-3.5.13.2-fix_k3b_link.patch
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: trinity-arts-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
# Warning: the target distribution must have ffmpeg !
|
||||
BuildRequires: ffmpeg-devel
|
||||
Requires: ffmpeg
|
||||
|
||||
%description
|
||||
k9copy is a tabbed tool that allows to copy of one or more titles from a DVD9
|
||||
to a DVD5, in thesame way than DVDShrink for Microsoft Windows (R).
|
||||
This is the Trinity version
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
#patch1 -p1 -b .ftbfs
|
||||
|
||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
|
||||
# FFMPEG ...
|
||||
if [ -d /usr/include/ffmpeg ]; then
|
||||
export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/include/ffmpeg"
|
||||
fi
|
||||
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--disable-rpath \
|
||||
--enable-closure \
|
||||
--disable-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}
|
||||
|
||||
|
||||
%post
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
update-desktop-database %{tde_appdir} &> /dev/null
|
||||
|
||||
%postun
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
update-desktop-database %{tde_appdir} &> /dev/null
|
||||
|
||||
|
||||
%files -f %{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
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 1.2.3-5
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.2.3-4
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 1.2.3-3
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Sat Aug 04 2012 Francois Andriot <francois.andriot@free.fr> - 1.2.3-2
|
||||
- Add support for MGA2 and MDV2011
|
||||
- Fix 'format not a string literal' error. Clean up warning. [Commit #3bfc84b0]
|
||||
- Fix FTBFS [Commit #62acebb7]
|
||||
- Fix 'format not a string literal' error [Commit #d9ed8b32]
|
||||
- Fix remaining string format errors [Commit #a8e98ad9]
|
||||
- Fix another string format error [Commit #b3bb8a8f]
|
||||
- Fix FTBFS [Commit #ca864ede]
|
||||
- Fix format string error [Commit #a016df82]
|
||||
|
||||
* Fri Nov 25 2011 Francois Andriot <francois.andriot@free.fr> - 1.2.3-2
|
||||
- Fix HTML directory location
|
||||
|
||||
* Sat Nov 19 2011 Francois Andriot <francois.andriot@free.fr> - 1.2.3-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
@ -0,0 +1,140 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg kaffeine-mozilla
|
||||
%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: mozilla plugin that lanches kaffeine for supported media types [Trinity]
|
||||
Version: 0.4.3.1
|
||||
Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Multimedia
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
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: trinity-tqtinterface-devel >= %{tde_version}
|
||||
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} || 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
|
||||
unset QTDIR QTINC QTLIB
|
||||
%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/config/ltmain.sh" "ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
|
||||
%configure \
|
||||
--disable-rpath \
|
||||
--enable-closure \
|
||||
--prefix=%{_libdir}/mozilla
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
# Remove useless filess
|
||||
%__rm -f %{?buildroot}%{_libdir}/mozilla/plugins/kaffeineplugin.a
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
/sbin/ldconfig || :
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig || :
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS ChangeLog COPYING README
|
||||
# These files are installed outside TDE prefix
|
||||
%{_libdir}/mozilla/plugins/kaffeineplugin.la
|
||||
%{_libdir}/mozilla/plugins/kaffeineplugin.so
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.4.3.1-5
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.4.3.1-4
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.4.3.1-3
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Thu Apr 26 2012 Francois Andriot <francois.andriot@free.fr> - 0.4.3.1-2
|
||||
- Rebuild with nicer patch.
|
||||
|
||||
* Sat Dec 03 2011 Francois Andriot <francois.andriot@free.fr> - 0.4.3.1.dfsg-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
||||
|
@ -0,0 +1,301 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg kaffeine
|
||||
%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_tdeappdir %{tde_datadir}/applications/tde
|
||||
%define tde_tdedocdir %{tde_docdir}/tde
|
||||
%define tde_tdeincludedir %{tde_includedir}/tde
|
||||
%define tde_tdelibdir %{tde_libdir}/trinity
|
||||
|
||||
%define _docdir %{tde_docdir}
|
||||
|
||||
Name: trinity-%{tde_pkg}
|
||||
Summary: Xine-based media player
|
||||
|
||||
Version: 0.8.8
|
||||
Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Multimedia
|
||||
URL: http://kaffeine.sourceforge.net/
|
||||
|
||||
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: gettext
|
||||
BuildRequires: libvorbis-devel
|
||||
BuildRequires: libcdio-devel
|
||||
|
||||
%if 0%{?mgaversion} || 0%{?mdkversion}
|
||||
BuildRequires: libcdda-devel
|
||||
BuildRequires: %{_lib}xext%{?mgaversion:6}-devel
|
||||
BuildRequires: %{_lib}xtst%{?mgaversion:6}-devel
|
||||
BuildRequires: %{_lib}xinerama%{?mgaversion:1}-devel
|
||||
# dvb
|
||||
%if 0%{?pclinuxos} == 0
|
||||
BuildRequires: kernel-headers
|
||||
%endif
|
||||
BuildRequires: libgstreamer-devel >= 0.10
|
||||
BuildRequires: libgstreamer-plugins-base-devel >= 0.10
|
||||
%else
|
||||
BuildRequires: cdparanoia
|
||||
BuildRequires: cdparanoia-devel
|
||||
%if 0%{?suse_version} >= 1220
|
||||
BuildRequires: libcdio-paranoia-devel
|
||||
%endif
|
||||
|
||||
# X11 stuff
|
||||
%if 0%{?rhel} || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} >= 1220
|
||||
%if 0%{?rhel} == 4
|
||||
BuildRequires: xorg-x11-devel
|
||||
%else
|
||||
BuildRequires: libXext-devel
|
||||
BuildRequires: libXtst-devel
|
||||
BuildRequires: libXinerama-devel
|
||||
%endif
|
||||
%endif
|
||||
|
||||
# dvb
|
||||
BuildRequires: gstreamer-devel
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: gstreamer-0_10-plugins-base-devel
|
||||
%endif
|
||||
%if 0%{?rhel} == 4
|
||||
BuildRequires: gstreamer-devel
|
||||
BuildRequires: gstreamer-plugins-devel
|
||||
%endif
|
||||
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
|
||||
BuildRequires: gstreamer-plugins-base-devel >= 0.10
|
||||
BuildRequires: glibc-kernheaders
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15
|
||||
BuildRequires: libxcb-devel
|
||||
%endif
|
||||
|
||||
# xine-lib
|
||||
%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
|
||||
BuildRequires: libxine-devel
|
||||
%endif
|
||||
%if 0%{?rhel} || 0%{?fedora}
|
||||
BuildRequires: xine-lib-devel
|
||||
%endif
|
||||
|
||||
# LAME
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: libmp3lame-devel
|
||||
%else
|
||||
BuildRequires: lame-devel
|
||||
%endif
|
||||
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
|
||||
%description
|
||||
Kaffeine is a xine-based media player for 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
|
||||
%{tde_datadir}/apps/gstreamerpart/
|
||||
%{tde_datadir}/apps/kaffeine/
|
||||
%{tde_datadir}/apps/konqueror/servicemenus/*.desktop
|
||||
%{tde_datadir}/apps/profiles/
|
||||
%{tde_datadir}/icons/hicolor/*/*/*
|
||||
%{tde_datadir}/mimelnk/*/*.desktop
|
||||
%{tde_datadir}/service*/*.desktop
|
||||
%{tde_tdedocdir}/HTML/en/kaffeine/
|
||||
|
||||
%post
|
||||
touch --no-create %{tde_datadir}/icons/hicolor ||:
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
|
||||
update-desktop-database >& /dev/null ||:
|
||||
/sbin/ldconfig || :
|
||||
|
||||
%postun
|
||||
touch --no-create %{_datadir}/icons/hicolor ||:
|
||||
gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
|
||||
update-desktop-database >& /dev/null ||:
|
||||
/sbin/ldconfig || :
|
||||
|
||||
##########
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
Requires: trinity-tdelibs-devel
|
||||
|
||||
%description devel
|
||||
%{summary}.
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_tdeincludedir}/kaffeine/
|
||||
%{tde_libdir}/lib*.so
|
||||
%exclude %{tde_libdir}/libkaffeinepart.so
|
||||
|
||||
%post devel
|
||||
/sbin/ldconfig || :
|
||||
|
||||
%postun devel
|
||||
/sbin/ldconfig || :
|
||||
|
||||
##########
|
||||
|
||||
%package libs
|
||||
Summary: %{name} runtime libraries
|
||||
Group: System Environment/Libraries
|
||||
|
||||
# include to be paranoid, installing libs-only is still mostly untested -- Rex
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description libs
|
||||
%{summary}.
|
||||
|
||||
%files libs
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_libdir}/lib*.so.*
|
||||
|
||||
%post libs
|
||||
/sbin/ldconfig || :
|
||||
|
||||
%postun libs
|
||||
/sbin/ldconfig || :
|
||||
|
||||
##########
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
export TDEDIR=%{tde_prefix}
|
||||
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--mandir=%{tde_mandir} \
|
||||
--enable-new-ldflags \
|
||||
--disable-debug --disable-warnings \
|
||||
--disable-dependency-tracking --enable-final \
|
||||
--disable-rpath \
|
||||
--with-xinerama \
|
||||
--with-gstreamer \
|
||||
--with-lame \
|
||||
--with-extra-libs=%{_prefix}/%{_lib} \
|
||||
--enable-closure \
|
||||
%if 0%{?rhel} > 0 && 0%{?rhel} <= 5
|
||||
--without-dvb \
|
||||
%endif
|
||||
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf $RPM_BUILD_ROOT
|
||||
%__make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
## File lists
|
||||
# locale's
|
||||
%find_lang %{tde_pkg}
|
||||
# HTML (1.0)
|
||||
HTML_DIR=$(tde-config --expandvars --install html)
|
||||
if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then
|
||||
for lang_dir in $RPM_BUILD_ROOT$HTML_DIR/* ; do
|
||||
if [ -d $lang_dir ]; then
|
||||
lang=$(basename $lang_dir)
|
||||
echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
|
||||
# replace absolute symlinks with relative ones
|
||||
pushd $lang_dir
|
||||
for i in *; do
|
||||
[ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common
|
||||
done
|
||||
popd
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
# Unpackaged files
|
||||
rm -f $RPM_BUILD_ROOT%{tde_libdir}/lib*.la
|
||||
rm -f $RPM_BUILD_ROOT%{tde_datadir}/mimelnk/application/x-mplayer2.desktop
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.8.8-6
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.8.8-5
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.8.8-4
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Fri Aug 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.8.8-3
|
||||
- Add support for Mageia 2 and Mandriva 2011
|
||||
- Added automake initialization with proper program name and version [Bug #858] [Commit #4e982fa3]
|
||||
- Fixed online hyperlink to win32 codecs download location. [Commit #5086f358]
|
||||
|
||||
* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 0.8.8-2
|
||||
- Rebuilt for Fedora 17
|
||||
- Adds more patches from GIT.
|
||||
|
||||
* Mon Apr 23 2012 Francois Andriot <francois.andriot@free.fr> - 0.8.8-1
|
||||
- Updates version to 0.8.8
|
||||
- Fix nominal "tqt" typos and fix slow DVB start. [Bug #729, #899]
|
||||
- Change location where Kaffeine stores temporary pipe files from $HOME to the more appropriate $TDEHOME/tmp-$HOSTNAME.
|
||||
- Work around Xine crash when displaying still logo image by creating a small movie file to replace it [Bug #511, #559]
|
||||
- Add man page
|
||||
|
||||
* Sun Dec 04 2011 Francois Andriot <francois.andriot@free.fr> - 0.8.6-2
|
||||
- Disable 'libxcb-devel' for RHEL 5 compilation
|
||||
- Fix HTML directory location
|
||||
|
||||
* Wed Nov 09 2011 Francois Andriot <francois.andriot@free.fr> - 0.8.6-1
|
||||
- Spec file based on Fedora 8 'kaffeine-0.8.6-3'
|
@ -0,0 +1,196 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg katapult
|
||||
%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: Faster access to applications, bookmarks, and other items.
|
||||
Version: 0.3.2.1
|
||||
Release: %{?!preversion:7}%{?preversion:6_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Prefix: %{tde_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
||||
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
%description
|
||||
Katapult is an application for TDE, designed to allow faster access to
|
||||
applications, bookmarks, and other items. It is plugin-based, so it can
|
||||
launch anything that is has a plugin for. Its display is driven by
|
||||
plugins as well, so its appearance is completely customizable. It was
|
||||
inspired by Quicksilver for OS X.
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f admin/Makefile.common
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--disable-rpath \
|
||||
--enable-closure
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
%find_lang %{tde_pkg}
|
||||
|
||||
# Removes useless files (-devel ?)
|
||||
%__rm -f %{?buildroot}%{tde_libdir}/*.so
|
||||
%__rm -f %{?buildroot}%{tde_libdir}/*.la
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
for f in crystalsvg hicolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/${f} || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
|
||||
done
|
||||
/sbin/ldconfig || :
|
||||
update-desktop-database %{tde_appdir} &> /dev/null
|
||||
|
||||
%postun
|
||||
for f in crystalsvg hicolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/${f} || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
|
||||
done
|
||||
/sbin/ldconfig || :
|
||||
update-desktop-database %{tde_appdir} &> /dev/null
|
||||
|
||||
|
||||
%files -f %{tde_pkg}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS COPYING
|
||||
%{tde_bindir}/katapult
|
||||
%{tde_libdir}/libkatapult.so.2
|
||||
%{tde_libdir}/libkatapult.so.2.0.0
|
||||
%{tde_tdelibdir}/katapult_amarokcatalog.la
|
||||
%{tde_tdelibdir}/katapult_amarokcatalog.so
|
||||
%{tde_tdelibdir}/katapult_bookmarkcatalog.la
|
||||
%{tde_tdelibdir}/katapult_bookmarkcatalog.so
|
||||
%{tde_tdelibdir}/katapult_calculatorcatalog.la
|
||||
%{tde_tdelibdir}/katapult_calculatorcatalog.so
|
||||
%{tde_tdelibdir}/katapult_documentcatalog.la
|
||||
%{tde_tdelibdir}/katapult_documentcatalog.so
|
||||
%{tde_tdelibdir}/katapult_execcatalog.la
|
||||
%{tde_tdelibdir}/katapult_execcatalog.so
|
||||
%{tde_tdelibdir}/katapult_glassdisplay.la
|
||||
%{tde_tdelibdir}/katapult_glassdisplay.so
|
||||
%{tde_tdelibdir}/katapult_googlecatalog.la
|
||||
%{tde_tdelibdir}/katapult_googlecatalog.so
|
||||
%{tde_tdelibdir}/katapult_o2display.la
|
||||
%{tde_tdelibdir}/katapult_o2display.so
|
||||
%{tde_tdelibdir}/katapult_programcatalog.la
|
||||
%{tde_tdelibdir}/katapult_programcatalog.so
|
||||
%{tde_tdelibdir}/katapult_puredisplay.la
|
||||
%{tde_tdelibdir}/katapult_puredisplay.so
|
||||
%{tde_tdelibdir}/katapult_spellcatalog.la
|
||||
%{tde_tdelibdir}/katapult_spellcatalog.so
|
||||
%{tde_tdeappdir}/katapult.desktop
|
||||
%{tde_datadir}/icons/crystalsvg/128x128/actions/katapultspellcheck.png
|
||||
%{tde_datadir}/icons/crystalsvg/scalable/actions/katapultspellcheck.svgz
|
||||
%{tde_datadir}/icons/hicolor/128x128/actions/checkmark.png
|
||||
%{tde_datadir}/icons/hicolor/128x128/actions/no.png
|
||||
%{tde_datadir}/icons/hicolor/128x128/apps/xcalc.png
|
||||
%{tde_datadir}/icons/hicolor/*/apps/katapult.png
|
||||
%{tde_datadir}/icons/hicolor/scalable/apps/katapult.svgz
|
||||
%{tde_datadir}/services/katapult_amarokcatalog.desktop
|
||||
%{tde_datadir}/services/katapult_bookmarkcatalog.desktop
|
||||
%{tde_datadir}/services/katapult_calculatorcatalog.desktop
|
||||
%{tde_datadir}/services/katapult_documentcatalog.desktop
|
||||
%{tde_datadir}/services/katapult_execcatalog.desktop
|
||||
%{tde_datadir}/services/katapult_glassdisplay.desktop
|
||||
%{tde_datadir}/services/katapult_googlecatalog.desktop
|
||||
%{tde_datadir}/services/katapult_o2display.desktop
|
||||
%{tde_datadir}/services/katapult_programcatalog.desktop
|
||||
%{tde_datadir}/services/katapult_puredisplay.desktop
|
||||
%{tde_datadir}/services/katapult_spellcatalog.desktop
|
||||
%{tde_datadir}/servicetypes/katapultcatalog.desktop
|
||||
%{tde_datadir}/servicetypes/katapultdisplay.desktop
|
||||
%{tde_tdedocdir}/HTML/en/katapult/
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.3.2.1-7
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.3.2.1-6
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.3.2.1-5
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 0.3.2.1-4
|
||||
- Rebuilt for Fedora 17
|
||||
- Fix post and postun
|
||||
|
||||
* Fri Nov 25 2011 Francois Andriot <francois.andriot@free.fr> - 0.3.2.1-3
|
||||
- Fix HTML directory location
|
||||
|
||||
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 0.3.2.1-2
|
||||
- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15
|
||||
|
||||
* Tue Sep 14 2011 Francois Andriot <francois.andriot@free.fr> - 0.3.2.1-1
|
||||
- Initial release for RHEL 6.0
|
||||
- Import to GIT
|
||||
|
@ -0,0 +1,161 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg kbarcode
|
||||
%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: barcode and label printing application for Trinity
|
||||
Version: 2.0.6
|
||||
Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.kbarcode.net
|
||||
|
||||
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-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
|
||||
%description
|
||||
KBarcode is a barcode and label printing application for Trinity. It can be used
|
||||
to print everything from simple business cards up to complex labels with
|
||||
several barcodes (e.g. article descriptions).
|
||||
|
||||
KBarcode comes with an easy to use WYSIWYG label designer, a setup wizard,
|
||||
batch import of data for batch printing labels (directly from the delivery
|
||||
note), thousands of predefined labels, database management tools and
|
||||
translations in many languages. Even printing more than 10.000 labels in one
|
||||
go is no problem for KBarcode. Data for printing can be imported from several
|
||||
different data sources, including SQL databases, CSV files and the TDE address
|
||||
book.
|
||||
|
||||
Additionally it is a simple barcode generator (similar to the old xbarcode you
|
||||
might know). All major types of barcodes like EAN, UPC, CODE39 and ISBN are
|
||||
supported. Even complex 2D barcodes are supported using third party tools. The
|
||||
generated barcodes can be directly printed or you can export them into images
|
||||
to use them in another application.
|
||||
|
||||
|
||||
%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/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--disable-rpath \
|
||||
--with-extra-includes=:%{_includedir}/pcre
|
||||
|
||||
# SMP safe !
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
|
||||
%find_lang %{tde_pkg} || touch %{tde_pkg}.lang
|
||||
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
update-desktop-database %{tde_appdir} &> /dev/null
|
||||
|
||||
%postun
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
update-desktop-database %{tde_appdir} &> /dev/null
|
||||
|
||||
|
||||
%files -f %{tde_pkg}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS ChangeLog COPYING NEWS README TODO
|
||||
%{tde_bindir}/kbarcode
|
||||
%{tde_tdelibdir}/tdefile_kbarcode.la
|
||||
%{tde_tdelibdir}/tdefile_kbarcode.so
|
||||
%{tde_tdeappdir}/kbarcode-batch.desktop
|
||||
%{tde_tdeappdir}/kbarcode-editor.desktop
|
||||
%{tde_tdeappdir}/kbarcode-label.desktop
|
||||
%{tde_tdeappdir}/kbarcode-single.desktop
|
||||
%{tde_tdeappdir}/kbarcode.desktop
|
||||
%{tde_datadir}/apps/kbarcode/
|
||||
%{tde_datadir}/icons/hicolor/*/actions/barcode.png
|
||||
%{tde_datadir}/icons/hicolor/*/actions/kbarcodeellipse.png
|
||||
%{tde_datadir}/icons/hicolor/*/actions/kbarcodegrid.png
|
||||
%{tde_datadir}/icons/hicolor/*/actions/kbarcodelinetool.png
|
||||
%{tde_datadir}/icons/hicolor/*/actions/kbarcoderect.png
|
||||
%{tde_datadir}/icons/hicolor/*/apps/kbarcode.png
|
||||
%{tde_datadir}/services/tdefile_kbarcode.desktop
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 2.0.6-4
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 2.0.6-3
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 2.0.6-2
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Wed Nov 30 2011 Francois Andriot <francois.andriot@free.fr> - 2.0.6-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
@ -0,0 +1,179 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg kbfx
|
||||
%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: an alternative to K-Menu for TDE [Trinity]
|
||||
Version: 0.4.9.3.1
|
||||
Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Prefix: %{tde_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
||||
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
%description
|
||||
KBFX is an alternative to the classical K-Menu button and its menu.
|
||||
It improves the user experience by enabling him to set a bigger (and thus more
|
||||
visible) start button and by finally replacing the Win95-like K-Menu.
|
||||
If you still want the old menu, because you're used to it, it is still
|
||||
available as an option in kbfx. We recommend, however, that you give the Spinx
|
||||
bar a try.
|
||||
|
||||
Homepage: http://www.kbfx.org
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
# Fix TDE executable path in 'CMakeLists.txt' ...
|
||||
%__sed -i "CMakeLists.txt" \
|
||||
-e "s|/usr/bin/uic-tqt|%{tde_bindir}/uic-tqt|" \
|
||||
-e "s|/usr/bin/tmoc|%{tde_bindir}/tmoc|" \
|
||||
-e "s|/usr/include/tqt||"
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
|
||||
export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_tdeincludedir}"
|
||||
|
||||
# Shitty hack for RHEL4 ...
|
||||
if [ -d "/usr/X11R6" ]; then
|
||||
export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH}:/usr/X11R6/include:/usr/X11R6/%{_lib}"
|
||||
export CFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
|
||||
export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
|
||||
fi
|
||||
|
||||
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
|
||||
%__mkdir_p build
|
||||
cd build
|
||||
%endif
|
||||
|
||||
%cmake \
|
||||
-DCMAKE_INSTALL_PREFIX=%{tde_prefix} \
|
||||
-DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
|
||||
-DDATA_INSTALL_DIR=%{tde_datadir}/apps \
|
||||
-DMIME_INSTALL_DIR=%{tde_datadir}/mimelnk \
|
||||
-DXDG_APPS_INSTALL_DIR=%{tde_tdeappdir} \
|
||||
-DDOC_INSTALL_DIR=%{tde_tdedocdir} \
|
||||
-DLIB_INSTALL_DIR=%{tde_libdir} \
|
||||
-DUSE_STRIGI=OFF \
|
||||
-DUSE_MENUDRAKE=OFF \
|
||||
-DBUILD_DOC=ON \
|
||||
-DBUILD_ALL=OFF \
|
||||
..
|
||||
|
||||
# Not SMP safe !
|
||||
%__make
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot} -C build VERBOSE=1
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
update-desktop-database %{tde_appdir} &> /dev/null
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
update-desktop-database %{tde_appdir} &> /dev/null
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_bindir}/kbfxconfigapp
|
||||
%{tde_tdeincludedir}/kbfx/
|
||||
%{tde_libdir}/kbfx/plugins/libkbfxplasmadataplasmoid.la
|
||||
%{tde_libdir}/kbfx/plugins/libkbfxplasmadataplasmoid.so
|
||||
%{tde_libdir}/kbfx/plugins/libkbfxplasmadatasettings.la
|
||||
%{tde_libdir}/kbfx/plugins/libkbfxplasmadatasettings.so
|
||||
%{tde_libdir}/kbfx/plugins/libkbfxplasmadatastub.la
|
||||
%{tde_libdir}/kbfx/plugins/libkbfxplasmadatastub.so
|
||||
%{tde_libdir}/kbfx/plugins/libkbfxplasmarecentstuff.la
|
||||
%{tde_libdir}/kbfx/plugins/libkbfxplasmarecentstuff.so
|
||||
%{tde_libdir}/libkbfxcommon.la
|
||||
%{tde_libdir}/libkbfxcommon.so
|
||||
%{tde_libdir}/libkbfxdata.la
|
||||
%{tde_libdir}/libkbfxdata.so
|
||||
%{tde_tdelibdir}/kbfxspinx.la
|
||||
%{tde_tdelibdir}/kbfxspinx.so
|
||||
%{tde_tdeappdir}/kbfx_theme.desktop
|
||||
%{tde_tdeappdir}/kbfxconfigapp.desktop
|
||||
%{tde_datadir}/apps/kbfx/skins/*/*
|
||||
%{tde_datadir}/apps/kbfxconfigapp/kbfxconfigappui.rc
|
||||
%{tde_datadir}/apps/kicker/applets/kbfxspinx.desktop
|
||||
%{tde_datadir}/apps/konqueror/servicemenus/kbfx_install_theme.desktop
|
||||
%{tde_datadir}/apps/konqueror/servicemenus/kbfx_prepare_theme.desktop
|
||||
#%{tde_tdedocdir}/HTML/en/common/kbfx-*.jpg
|
||||
#%{tde_tdedocdir}/HTML/en/kbfxconfigapp/
|
||||
%{tde_tdedocdir}/kbfx/
|
||||
%{tde_datadir}/icons/hicolor/*/apps/kbfx.png
|
||||
%{tde_datadir}/icons/hicolor/*/apps/kbfxconfigapp.png
|
||||
#%{tde_datadir}/locale/*/LC_MESSAGES/kbfxconfigapp.mo
|
||||
%{tde_datadir}/mimelnk/application/x-kbfxtheme.desktop
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.4.9.3.1-4
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.4.9.3.1-3
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.4.9.3.1-2
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Sun Nov 20 2011 Francois Andriot <francois.andriot@free.fr> - 0.4.9.3.1-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
@ -0,0 +1,156 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg kbookreader
|
||||
%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: eBook reader for Trinity.
|
||||
Version: 0.2.0
|
||||
Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
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-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-arts-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
|
||||
%description
|
||||
kbookreader is an application which allows you to view eBooks
|
||||
within the Trinity Desktop Environment.
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f admin/Makefile.common
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--disable-rpath \
|
||||
--enable-closure
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
|
||||
|
||||
## File lists
|
||||
# HTML (1.0)
|
||||
HTML_DIR=$(tde-config --expandvars --install html)
|
||||
if [ -d %{buildroot}$HTML_DIR ]; then
|
||||
for lang_dir in %{buildroot}$HTML_DIR/* ; do
|
||||
if [ -d $lang_dir ]; then
|
||||
lang=$(basename $lang_dir)
|
||||
echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
|
||||
# replace absolute symlinks with relative ones
|
||||
pushd $lang_dir
|
||||
for i in *; do
|
||||
[ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common
|
||||
done
|
||||
popd
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
|
||||
%postun
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS COPYING
|
||||
%{tde_bindir}/bookreader
|
||||
%{tde_bindir}/bookreader_client
|
||||
%{tde_datadir}/applnk/Utilities/bookreader.desktop
|
||||
%{tde_datadir}/apps/bookreader/
|
||||
%{tde_datadir}/config.kcfg/bookreader.kcfg
|
||||
%{tde_tdedocdir}/HTML/en/bookreader/
|
||||
%{tde_datadir}/icons/hicolor/*/apps/bookreader.png
|
||||
|
||||
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.2.0-5
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.2.0-4
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.2.0-3
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 0.2.0-2
|
||||
- Rebuilt for Fedora 17
|
||||
- Fix post and postun
|
||||
- Fix HTML directory location
|
||||
|
||||
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 0.2.0-1
|
||||
- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15
|
@ -0,0 +1,160 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg kchmviewer
|
||||
%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: CHM viewer for Trinity
|
||||
Version: 3.1.2
|
||||
Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
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-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
%description
|
||||
KchmViewer is a chm (MS HTML help file format) viewer, written in C++.
|
||||
Unlike most existing CHM viewers for Unix, it uses Trolltech Qt widget
|
||||
library, and does not depend on 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%{?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/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{_includedir}"
|
||||
|
||||
# Specific path for RHEL4
|
||||
if [ -d /usr/X11R6 ]; then
|
||||
export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
|
||||
fi
|
||||
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--disable-rpath \
|
||||
--with-x \
|
||||
--with-kde \
|
||||
--with-extra-includes=%{_includedir}/tqt \
|
||||
--enable-closure
|
||||
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
%find_lang %{tde_pkg}
|
||||
|
||||
# Removes useless files
|
||||
%__rm -f %{?buildroot}%{tde_libdir}/*.a
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
touch --no-create %{tde_datadir}/icons/crystalsvg || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || :
|
||||
|
||||
%postun
|
||||
touch --no-create %{tde_datadir}/icons/crystalsvg || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || :
|
||||
|
||||
|
||||
%files -f %{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_datadir}/applnk/kchmviewer.desktop
|
||||
%{tde_datadir}/icons/crystalsvg/*/apps/kchmviewer.png
|
||||
%{tde_datadir}/services/msits.protocol
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 3.1.2-5
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.1.2-4
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 3.1.2-3
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 3.1.2-2
|
||||
- Rebuilt for Fedora 17
|
||||
- Fix post and postun
|
||||
- Fix HTML directory location
|
||||
|
||||
* Sat Nov 19 2011 Francois Andriot <francois.andriot@free.fr> - 3.1.2-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
@ -0,0 +1,122 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg kchmviewer
|
||||
%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-kcmautostart
|
||||
Summary: Manage applications automatic startup.
|
||||
Version: 1.0
|
||||
Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Prefix: %{_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
||||
|
||||
# [kcmautostart] kcmautostart crash on exit
|
||||
Patch3: kcmautostart-3.5.13-fix_crash_on_exit.patch
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-arts-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gcc-c++
|
||||
|
||||
Requires: trinity-kdebase
|
||||
|
||||
%description
|
||||
%{summary}
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
%patch3 -p1 -b .crash_on_exit
|
||||
|
||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--disable-rpath \
|
||||
--disable-static
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
%find_lang autostart
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%files -f autostart.lang
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README TODO
|
||||
%{tde_tdelibdir}/kcm_autostart.la
|
||||
%{tde_tdelibdir}/kcm_autostart.so
|
||||
%{tde_tdeappdir}/autostart.desktop
|
||||
%{tde_tdedocdir}/HTML/en/autostart/
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 1.0-4
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Sat Jan 19 2013 Francois Andriot <francois.andriot@free.fr> - 1.0-3
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 1.0-2
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Thu May 10 2012 Francois Andriot <francois.andriot@free.fr> - 1.0-1
|
||||
- Initial release for TDE 3.5.13
|
@ -0,0 +1,153 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg kcmldap
|
||||
%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_tdeappdir %{tde_datadir}/applications/tde
|
||||
%define tde_tdedocdir %{tde_docdir}/tde
|
||||
%define tde_tdeincludedir %{tde_includedir}/tde
|
||||
%define tde_tdelibdir %{tde_libdir}/trinity
|
||||
|
||||
%define _docdir %{tde_docdir}
|
||||
|
||||
|
||||
Name: trinity-%{tde_pkg}
|
||||
Summary: Kerberos control module for the TDE control center
|
||||
Version: 0.5
|
||||
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
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-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
BuildRequires: trinity-libtdeldap-devel >= %{tde_version}
|
||||
|
||||
Requires: trinity-tde-ldap-cert-updater = %{version}-%{release}
|
||||
Requires: trinity-kcontrol-ldap-bonding = %{version}-%{release}
|
||||
|
||||
%description
|
||||
This is a meta-package that installs all kcmldap related packages.
|
||||
|
||||
%files
|
||||
|
||||
##########
|
||||
|
||||
%package -n trinity-kcontrol-ldap-bonding
|
||||
Summary: Kerberos control module for the TDE control center
|
||||
Group: Applications/Utilities
|
||||
Requires: trinity-tde-ldap-cert-updater = %{version}-%{release}
|
||||
|
||||
%description -n trinity-kcontrol-ldap-bonding
|
||||
This is a TDE control center module to manage TDE connections to Kerberos realms.
|
||||
|
||||
%post -n trinity-kcontrol-ldap-bonding
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
|
||||
%postun -n trinity-kcontrol-ldap-bonding
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
|
||||
%files -n trinity-kcontrol-ldap-bonding -f %{tde_pkg}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS ChangeLog COPYING
|
||||
%{tde_bindir}/tdeldapbonding
|
||||
%{tde_tdelibdir}/kcm_ldapbonding.la
|
||||
%{tde_tdelibdir}/kcm_ldapbonding.so
|
||||
%{tde_tdeappdir}/ldapbonding.desktop
|
||||
%{tde_datadir}/pixmaps/kcmldapbonding_step1.png
|
||||
%{tde_datadir}/pixmaps/kcmldapbonding_step3.png
|
||||
|
||||
##########
|
||||
|
||||
%package -n trinity-tde-ldap-cert-updater
|
||||
Summary: Service to keep LDAP certificates up-to-date
|
||||
Group: Applications/Utilities
|
||||
Requires: trinity-kcontrol-ldap-bonding = %{version}-%{release}
|
||||
|
||||
%description -n trinity-tde-ldap-cert-updater
|
||||
This is a small daemon which keeps the LDAP root certificate up to date with the LDAP server
|
||||
|
||||
%post -n trinity-tde-ldap-cert-updater
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
|
||||
%postun -n trinity-tde-ldap-cert-updater
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
|
||||
%files -n trinity-tde-ldap-cert-updater -f %{tde_pkg}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS ChangeLog COPYING
|
||||
%{tde_bindir}/tdeldapcertupdater
|
||||
|
||||
##########
|
||||
|
||||
%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/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--docdir=%{tde_tdedocdir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--disable-rpath
|
||||
|
||||
%__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
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.5-1
|
||||
- Initial release for TDE 14.0.0
|
@ -0,0 +1,133 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg kcmldapcontroller
|
||||
%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_tdeappdir %{tde_datadir}/applications/tde
|
||||
%define tde_tdedocdir %{tde_docdir}/tde
|
||||
%define tde_tdeincludedir %{tde_includedir}/tde
|
||||
%define tde_tdelibdir %{tde_libdir}/trinity
|
||||
|
||||
%define _docdir %{tde_docdir}
|
||||
|
||||
|
||||
Name: trinity-%{tde_pkg}
|
||||
Summary: Kerberos control module for the TDE control center
|
||||
Version: 0.5
|
||||
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
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-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
BuildRequires: trinity-libtdeldap-devel >= %{tde_version}
|
||||
|
||||
Requires: trinity-kcontrol-ldap-controller = %{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.
|
||||
|
||||
%post -n trinity-kcontrol-ldap-controller
|
||||
update-desktop-database %{tde_tdeappdir} > /dev/null
|
||||
|
||||
%postun -n trinity-kcontrol-ldap-controller
|
||||
update-desktop-database %{tde_tdeappdir} > /dev/null
|
||||
|
||||
%files -n trinity-kcontrol-ldap-controller -f %{tde_pkg}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS ChangeLog COPYING
|
||||
%{tde_bindir}/primaryrccertupdater
|
||||
%{tde_libdir}/slapi-acl-manager.la
|
||||
%{tde_libdir}/slapi-acl-manager.so
|
||||
%{tde_tdelibdir}/kcm_ldapcontroller.la
|
||||
%{tde_tdelibdir}/kcm_ldapcontroller.so
|
||||
%{tde_tdeappdir}/ldapcontroller.desktop
|
||||
%{tde_datadir}/apps/kcmldapcontroller/skel/
|
||||
%{tde_datadir}/pixmaps/kcmldapcontroller_step1.png
|
||||
%{tde_datadir}/pixmaps/kcmldapcontroller_step4.png
|
||||
|
||||
##########
|
||||
|
||||
%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/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--docdir=%{tde_tdedocdir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--disable-rpath
|
||||
|
||||
%__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
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.5-1
|
||||
- Initial release for TDE 14.0.0
|
@ -0,0 +1,128 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg kcmldapmanager
|
||||
%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_tdeappdir %{tde_datadir}/applications/tde
|
||||
%define tde_tdedocdir %{tde_docdir}/tde
|
||||
%define tde_tdeincludedir %{tde_includedir}/tde
|
||||
%define tde_tdelibdir %{tde_libdir}/trinity
|
||||
|
||||
%define _docdir %{tde_docdir}
|
||||
|
||||
|
||||
Name: trinity-%{tde_pkg}
|
||||
Summary: Kerberos control module for the TDE control center
|
||||
Version: 0.5
|
||||
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
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-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
BuildRequires: trinity-libtdeldap-devel >= %{tde_version}
|
||||
|
||||
Requires: trinity-kcontrol-ldap-manager = %{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.
|
||||
|
||||
%post -n trinity-kcontrol-ldap-manager
|
||||
update-desktop-database %{tde_tdeappdir} > /dev/null
|
||||
|
||||
%postun -n trinity-kcontrol-ldap-manager
|
||||
update-desktop-database %{tde_tdeappdir} > /dev/null
|
||||
|
||||
%files -n trinity-kcontrol-ldap-manager -f %{tde_pkg}.lang
|
||||
%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%{?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/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--docdir=%{tde_tdedocdir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--disable-rpath
|
||||
|
||||
%__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
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.5-1
|
||||
- Initial release for TDE 14.0.0
|
@ -0,0 +1,140 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg kcpuload
|
||||
%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: a CPU meter for Kicker [Trinity]
|
||||
Version: 2.00
|
||||
Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
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-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
|
||||
%description
|
||||
KCPULoad is a small program for Kicker (the TDE panel). It shows a
|
||||
recent history of CPU usage in the form of one or two configurable
|
||||
diagrams in the system tray. These diagrams have settings for colours
|
||||
and various different styles.
|
||||
|
||||
KCPULoad has support for SMP and separate user/system loads.
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--disable-rpath \
|
||||
--with-extra-includes=
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
for f in crystalsvg locolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/${f} || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
|
||||
done
|
||||
|
||||
%postun
|
||||
for f in crystalsvg locolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/${f} || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
|
||||
done
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_bindir}/kcpuload
|
||||
%{tde_datadir}/applnk/System/kcpuload.desktop
|
||||
%{tde_datadir}/apps/kcpuload/icons/*/*/*/*.png
|
||||
%{tde_datadir}/icons/crystalsvg/*/apps/kcpuload.png
|
||||
%{tde_datadir}/icons/locolor/*/apps/kcpuload.png
|
||||
%{tde_tdedocdir}/HTML/en/kcpuload/
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 2.00-5
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 2.00-4
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 2.00-3
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 2.00-2
|
||||
- Rebuilt for Fedora 17
|
||||
- Fix post and postun
|
||||
- Fix HTML directory location
|
||||
|
||||
* Sat Nov 19 2011 Francois Andriot <francois.andriot@free.fr> - 2.00-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
@ -0,0 +1,129 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg kdbusnotification
|
||||
%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: a DBUS notification service [Trinity]
|
||||
|
||||
Version: 0.1
|
||||
Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Prefix: %{tde_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-arts-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gtk2-devel
|
||||
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: dbus-1-glib-devel
|
||||
%else
|
||||
BuildRequires: dbus-glib-devel
|
||||
%endif
|
||||
|
||||
%description
|
||||
kdbusnotification is a small program for Trinity that displays
|
||||
DBUS notifications via unobtrusive, easily dismissed passive popups.
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR 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} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--disable-rpath \
|
||||
--enable-closure
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_bindir}/notification-daemon-tde
|
||||
%{tde_datadir}/autostart/kdbusnotification-autostart.desktop
|
||||
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.1-5
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.1-4
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.1-3
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 0.1-2
|
||||
- Rebuilt for Fedora 17
|
||||
- Fix HTML directory location
|
||||
- Removes post and postun
|
||||
|
||||
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 0.1-1
|
||||
- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15
|
@ -0,0 +1,165 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg kdiff3
|
||||
%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: KDiff3 is a utility for comparing and/or merging two or three text files or directories.
|
||||
Version: 0.9.91
|
||||
Release: %{?!preversion:7}%{?preversion:6_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Prefix: %{tde_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-arts-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
%description
|
||||
Shows the differences line by line and character by character (!).
|
||||
Provides an automatic merge-facility and
|
||||
an integrated editor for comfortable solving of merge-conflicts.
|
||||
Supports KIO on TDE (allows accessing ftp, sftp, fish, smb etc.).
|
||||
Unicode & UTF-8 support
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR 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-rpath \
|
||||
--enable-closure
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
# Unwanted files
|
||||
%__rm -rf %{?buildroot}%{tde_tdedocdir}/HTML/kdiff3/
|
||||
|
||||
%find_lang %{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} &>/dev/null || :
|
||||
done
|
||||
|
||||
%postun
|
||||
for f in hicolor locolor; do
|
||||
touch --no-create %{tde_datadir}/icons/${f} || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} &>/dev/null || :
|
||||
done
|
||||
|
||||
|
||||
%files -f %{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
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.9.91-7
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.9.91-6
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.9.91-5
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 0.9.91-4
|
||||
- Rebuilt for Fedora 17
|
||||
- Fix HTML directory location
|
||||
- Fix post and postun
|
||||
- Rename old tq methods that no longer need a unique name [Commit #c7e29c46]
|
||||
- Remove additional unneeded tq method conversions [Commit #9b57232f]
|
||||
- Rename obsolete tq methods to standard names [Commit #d654b107]
|
||||
|
||||
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 0.9.91-3
|
||||
- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15
|
||||
|
||||
* Tue Sep 14 2011 Francois Andriot <francois.andriot@free.fr> - 0.9.91-2
|
||||
- Import to GIT
|
||||
|
||||
* Wed Aug 24 2011 Francois Andriot <francois.andriot@free.fr> - 0.9.91-1
|
||||
- Correct macro to install under "/opt", if desired
|
||||
|
||||
* Sun Aug 14 2011 Francois Andriot <francois.andriot@free.fr> - 0.9.91-0
|
||||
- Initial release for RHEL 6.0
|
||||
|
@ -0,0 +1,149 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg kdirstat
|
||||
%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: graphical disk usage display with cleanup facilities [Trinity]
|
||||
Version: 2.4.4
|
||||
Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org
|
||||
|
||||
Prefix: %{tde_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
|
||||
%description
|
||||
KDirStat (TDE Directory Statistics) is a small utility program that sums
|
||||
up disk usage for directory trees, very much like the Unix 'du' command.
|
||||
It displays the disk space used up by a directory tree, both numerically
|
||||
and graphically. It is network transparent (i.e., you can use it to sum
|
||||
up FTP servers), and comes with predefined and user configurable cleanup
|
||||
actions. You can directly open a directory branch in Konqueror or the
|
||||
shell of your choice, compress it to a .tar.bz2 archive, or define your
|
||||
own cleanup actions.
|
||||
|
||||
|
||||
%if 0%{?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/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--mandir=%{tde_mandir} \
|
||||
--disable-rpath \
|
||||
--with-extra-includes=:%{tde_includedir}
|
||||
|
||||
# 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}
|
||||
|
||||
|
||||
%post
|
||||
for f in hicolor locolor; do
|
||||
touch --no-create %{tde_datadir}/icons/${f} || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
|
||||
done
|
||||
|
||||
%postun
|
||||
for f in hicolor locolor; do
|
||||
touch --no-create %{tde_datadir}/icons/${f} || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
|
||||
done
|
||||
|
||||
|
||||
%files -f %{tde_pkg}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_bindir}/kdirstat
|
||||
%{tde_datadir}/applnk/Utilities/kdirstat.desktop
|
||||
%{tde_datadir}/apps/tdeconf_update/fix_move_to_trash_bin.pl
|
||||
%{tde_datadir}/apps/tdeconf_update/kdirstat.upd
|
||||
%{tde_datadir}/apps/kdirstat/
|
||||
%{tde_tdedocdir}/HTML/en/kdirstat/
|
||||
%{tde_datadir}/icons/hicolor/*/apps/kdirstat.png
|
||||
%{tde_datadir}/icons/locolor/*/apps/kdirstat.png
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 2.4.4-5
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 2.4.4-4
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 2.4.4-3
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 2.4.4-2
|
||||
- Rebuilt for Fedora 17
|
||||
- Fix post and postun
|
||||
|
||||
* Wed Nov 30 2011 Francois Andriot <francois.andriot@free.fr> - 2.4.4-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
@ -0,0 +1,140 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg keep
|
||||
%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: backup system for TDE [Trinity]
|
||||
Version: 0.4.0
|
||||
Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Prefix: %{tde_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
Requires: rdiff-backup
|
||||
|
||||
%description
|
||||
Keep is an automatic backup program that allows users to set the parameters of
|
||||
the backup, including the frequency and the number of backups.
|
||||
|
||||
Homepage: http://jr.falleri.free.fr/keep
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR 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-rpath \
|
||||
--with-extra-includes=
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
%find_lang %{tde_pkg}
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
update-desktop-database %{tde_appdir} &> /dev/null
|
||||
|
||||
%postun
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
update-desktop-database %{tde_appdir} &> /dev/null
|
||||
|
||||
|
||||
%files -f %{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
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.4.0-5
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.4.0-4
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.4.0-3
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 0.4.0-2
|
||||
- Rebuilt for Fedora 17
|
||||
|
||||
* Thu Nov 24 2011 Francois Andriot <francois.andriot@free.fr> - 0.4.0-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
@ -0,0 +1,121 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg kerberostray
|
||||
%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_tdeappdir %{tde_datadir}/applications/tde
|
||||
%define tde_tdedocdir %{tde_docdir}/tde
|
||||
%define tde_tdeincludedir %{tde_includedir}/tde
|
||||
%define tde_tdelibdir %{tde_libdir}/trinity
|
||||
|
||||
%define _docdir %{tde_docdir}
|
||||
|
||||
|
||||
Name: trinity-%{tde_pkg}
|
||||
Summary: Kerberos ticket manager
|
||||
Version: 0.5
|
||||
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
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-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
BuildRequires: trinity-libtdeldap-devel >= %{tde_version}
|
||||
|
||||
%description
|
||||
Kerberos ticket manager which sits in the system tray and allows viewing/control of Kerberos tickets
|
||||
|
||||
##########
|
||||
|
||||
%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/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--docdir=%{tde_tdedocdir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--disable-rpath
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
%find_lang %{tde_pkg}
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
touch --no-create %{tde_datadir}/icons/crystalsvg || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || :
|
||||
update-desktop-database %{tde_tdeappdir} > /dev/null
|
||||
|
||||
|
||||
%postun
|
||||
touch --no-create %{tde_datadir}/icons/crystalsvg || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || :
|
||||
update-desktop-database %{tde_tdeappdir} > /dev/null
|
||||
|
||||
|
||||
%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
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.5-1
|
||||
- Initial release for TDE 14.0.0
|
@ -0,0 +1,159 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg kerry
|
||||
%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: a TDE frontend for the Beagle desktop search daemon [Trinity]
|
||||
Version: 0.2.1
|
||||
Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
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-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/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--mandir=%{tde_mandir} \
|
||||
--disable-rpath \
|
||||
--with-extra-includes=:%{tde_includedir}
|
||||
|
||||
%__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}
|
||||
|
||||
|
||||
%post
|
||||
/sbin/ldconfig || :
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
update-desktop-database %{tde_appdir} &> /dev/null
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig || :
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
update-desktop-database %{tde_appdir} &> /dev/null
|
||||
|
||||
|
||||
%files -f %{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
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.2.1-4
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.2.1-3
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.2.1-2
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Fri Nov 25 2011 Francois Andriot <francois.andriot@free.fr> - 0.2.1-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
@ -0,0 +1,144 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg kgtk-qt3
|
||||
%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: Use TDE dialogs in Gtk apps
|
||||
Version: 0.10.2
|
||||
Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org
|
||||
|
||||
Prefix: %{tde_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
|
||||
%description
|
||||
This is an LD_PRELOAD hack that allows most GTK
|
||||
applications to use Trinity's file dialogs when run under Trinity.
|
||||
|
||||
The Gtk file chooser functions have been overridden to communicate
|
||||
with this TDE module/application.
|
||||
|
||||
This package includes the kqt3-wrapper
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir} -L${QTLIB} -lX11"
|
||||
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
|
||||
|
||||
export CMAKE_INCLUDE_PATH="%{tde_tdeincludedir}"
|
||||
|
||||
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
|
||||
%__mkdir_p build
|
||||
cd build
|
||||
%endif
|
||||
|
||||
|
||||
%cmake \
|
||||
-DCMAKE_INSTALL_PREFIX=%{tde_prefix} \
|
||||
-DBIN_INSTALL_DIR=%{tde_bindir} \
|
||||
-DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
|
||||
-DLIB_INSTALL_DIR=%{tde_libdir} \
|
||||
-DSHARE_INSTALL_PREFIX=%{tde_datadir} \
|
||||
-DCMAKE_SKIP_RPATH="OFF" \
|
||||
-DBUILD_ALL=ON \
|
||||
..
|
||||
|
||||
# SMP safe !
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot} -C build
|
||||
|
||||
# The "preload" file is used by "startkde" script
|
||||
%__install -d -m 755 "%{buildroot}%{tde_datadir}/kgtk"
|
||||
echo "%{tde_libdir}/kgtk/libkgtk2.so" >"%{buildroot}%{tde_datadir}/kgtk/preload"
|
||||
|
||||
%find_lang kgtk
|
||||
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%files -f kgtk.lang
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS ChangeLog COPYING README TODO
|
||||
%{tde_bindir}/kdialogd-wrapper
|
||||
%{tde_bindir}/kdialogd3
|
||||
%{tde_bindir}/kgtk-wrapper
|
||||
%{tde_bindir}/kgtk2-wrapper
|
||||
%{tde_bindir}/kqt3-wrapper
|
||||
%{tde_libdir}/kgtk/libkgtk2.so
|
||||
%{tde_libdir}/kgtk/libkqt3.so
|
||||
%{tde_datadir}/kgtk/preload
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.10.2-6
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.10.2-5
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.10.2-4
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Sun Aug 26 2012 Francois Andriot <francois.andriot@free.fr> - 0.10.2-3
|
||||
- Add 'preload' file for startkde script
|
||||
|
||||
* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 0.10.2-2
|
||||
- Rebuilt for Fedora 17
|
||||
- Removes post and postun
|
||||
|
||||
* Thu Dec 01 2011 Francois Andriot <francois.andriot@free.fr> - 0.10.2-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
@ -0,0 +1,211 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg kile
|
||||
%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: TDE Integrated LaTeX Environment [Trinity]
|
||||
Version: 2.0.2
|
||||
Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Publishing
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Prefix: %{tde_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
Obsoletes: %{name}-i18n-ar
|
||||
Obsoletes: %{name}-i18n-bg
|
||||
Obsoletes: %{name}-i18n-br
|
||||
Obsoletes: %{name}-i18n-ca
|
||||
Obsoletes: %{name}-i18n-cs
|
||||
Obsoletes: %{name}-i18n-cy
|
||||
Obsoletes: %{name}-i18n-da
|
||||
Obsoletes: %{name}-i18n-de
|
||||
Obsoletes: %{name}-i18n-el
|
||||
Obsoletes: %{name}-i18n-engb
|
||||
Obsoletes: %{name}-i18n-es
|
||||
Obsoletes: %{name}-i18n-et
|
||||
Obsoletes: %{name}-i18n-eu
|
||||
Obsoletes: %{name}-i18n-fi
|
||||
Obsoletes: %{name}-i18n-fr
|
||||
Obsoletes: %{name}-i18n-ga
|
||||
Obsoletes: %{name}-i18n-gl
|
||||
Obsoletes: %{name}-i18n-hi
|
||||
Obsoletes: %{name}-i18n-hu
|
||||
Obsoletes: %{name}-i18n-is
|
||||
Obsoletes: %{name}-i18n-it
|
||||
Obsoletes: %{name}-i18n-ja
|
||||
Obsoletes: %{name}-i18n-lt
|
||||
Obsoletes: %{name}-i18n-ms
|
||||
Obsoletes: %{name}-i18n-mt
|
||||
Obsoletes: %{name}-i18n-nb
|
||||
Obsoletes: %{name}-i18n-nds
|
||||
Obsoletes: %{name}-i18n-nl
|
||||
Obsoletes: %{name}-i18n-nn
|
||||
Obsoletes: %{name}-i18n-pa
|
||||
Obsoletes: %{name}-i18n-pl
|
||||
Obsoletes: %{name}-i18n-pt
|
||||
Obsoletes: %{name}-i18n-ptbr
|
||||
Obsoletes: %{name}-i18n-ro
|
||||
Obsoletes: %{name}-i18n-ru
|
||||
Obsoletes: %{name}-i18n-rw
|
||||
Obsoletes: %{name}-i18n-sk
|
||||
Obsoletes: %{name}-i18n-sr
|
||||
Obsoletes: %{name}-i18n-srlatin
|
||||
Obsoletes: %{name}-i18n-sv
|
||||
Obsoletes: %{name}-i18n-ta
|
||||
Obsoletes: %{name}-i18n-th
|
||||
Obsoletes: %{name}-i18n-tr
|
||||
Obsoletes: %{name}-i18n-uk
|
||||
Obsoletes: %{name}-i18n-zhcn
|
||||
|
||||
|
||||
%description
|
||||
Kile is a user-friendly LaTeX source editor and TeX shell for TDE.
|
||||
|
||||
The source editor is a multi-document editor designed for .tex and .bib
|
||||
files. Menus, wizards and auto-completion are provided to assist with
|
||||
tag insertion and code generation. A structural view of the document
|
||||
assists with navigation within source files.
|
||||
|
||||
The TeX shell integrates the various tools required for TeX processing.
|
||||
It assists with LaTeX compilation, DVI and postscript document viewing,
|
||||
generation of bibliographies and indices and other common tasks.
|
||||
|
||||
Kile can support large projects consisting of several smaller files.
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR 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-rpath \
|
||||
--with-extra-includes=
|
||||
|
||||
%__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}
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
update-desktop-database %{tde_appdir} > /dev/null
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
|
||||
%postun
|
||||
update-desktop-database %{tde_appdir} > /dev/null
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
|
||||
|
||||
%files -f %{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
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 2.0.2-6
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 2.0.2-5
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 2.0.2-4
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 2.0.2-3
|
||||
- Rebuilt for Fedora 17
|
||||
- Removes the XPM icon
|
||||
|
||||
* Fri Apr 20 2012 Francois Andriot <francois.andriot@free.fr> - 2.0.2-2
|
||||
- Fix file conflict with trinity-kdelibs
|
||||
|
||||
* Fri Nov 25 2011 Francois Andriot <francois.andriot@free.fr> - 2.0.2-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
@ -0,0 +1,128 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg kima
|
||||
%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: kicker monitoring applet [Trinity]
|
||||
Version: 0.7.3.2
|
||||
Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.elliptique.net/~ken/kima/
|
||||
|
||||
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-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
|
||||
%description
|
||||
This applet monitors various temperature,
|
||||
frequency and fan sources in your kicker
|
||||
panel.
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR 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-rpath \
|
||||
--with-extra-includes=:%{tde_tdeincludedir}
|
||||
|
||||
# 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
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.7.3.2-5
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.7.3.2-4
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.7.3.2-3
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 0.7.3.2-2
|
||||
- Rebuilt for Fedora 17
|
||||
- Fix post and postun
|
||||
|
||||
* Wed Nov 30 2011 Francois Andriot <francois.andriot@free.fr> - 0.7.3.2-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
@ -0,0 +1,160 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg kiosktool
|
||||
%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}
|
||||
Version: 1.0
|
||||
Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
|
||||
Summary: tool to configure the TDE kiosk framework
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Multimedia
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
|
||||
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: gettext
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
|
||||
|
||||
%description
|
||||
A Point&Click tool for system administrators to enable
|
||||
TDE's KIOSK features or otherwise preconfigure TDE for
|
||||
groups of users.
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
|
||||
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--mandir=%{tde_mandir} \
|
||||
--disable-rpath \
|
||||
--enable-new-ldflags \
|
||||
--disable-debug --disable-warnings \
|
||||
--disable-dependency-tracking --enable-final \
|
||||
--enable-closure \
|
||||
--with-extra-includes=
|
||||
|
||||
|
||||
%__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}
|
||||
# HTML (1.0)
|
||||
HTML_DIR=$(tde-config --expandvars --install html)
|
||||
if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then
|
||||
for lang_dir in $RPM_BUILD_ROOT$HTML_DIR/* ; do
|
||||
if [ -d $lang_dir ]; then
|
||||
lang=$(basename $lang_dir)
|
||||
echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
|
||||
# replace absolute symlinks with relative ones
|
||||
pushd $lang_dir
|
||||
for i in *; do
|
||||
[ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common
|
||||
done
|
||||
popd
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%post
|
||||
touch --no-create %{tde_datadir}/icons/crystalsvg ||:
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/crystalsvg 2> /dev/null ||:
|
||||
update-desktop-database >& /dev/null ||:
|
||||
|
||||
%postun
|
||||
touch --no-create %{tde_datadir}/icons/crystalsvg ||:
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/crystalsvg 2> /dev/null ||:
|
||||
update-desktop-database >& /dev/null ||:
|
||||
|
||||
|
||||
|
||||
%files -f %{tde_pkg}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%doc ChangeLog COPYING README TODO
|
||||
%{tde_bindir}/kiosktool
|
||||
%{tde_bindir}/kiosktool-tdedirs
|
||||
%{tde_tdeappdir}/kiosktool.desktop
|
||||
%{tde_datadir}/apps/kiosktool/*.png
|
||||
%{tde_tdedocdir}/HTML/en/kiosktool/
|
||||
%{tde_datadir}/icons/crystalsvg/*/apps/kiosktool.png
|
||||
%{tde_datadir}/apps/kiosktool/kiosk_data.xml
|
||||
%{tde_datadir}/apps/kiosktool/kiosktoolui.rc
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 1.0-5
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.0-4
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 1.0-3
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Wed May 02 2012 Francois Andriot <francois.andriot@free.fr> - 1.0-2
|
||||
- Rebuilt for Fedora 17
|
||||
- Fix post and postun
|
||||
|
||||
* Sat Nov 19 2011 Francois Andriot <francois.andriot@free.fr> - 1.0-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
@ -0,0 +1,249 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg kmplayer
|
||||
%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: media player for Trinity
|
||||
Version: 0.10.0c
|
||||
Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Multimedia
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://kmplayer.kde.org
|
||||
|
||||
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-dbus-tqt-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
|
||||
%if 0%{?mgaversion} || 0%{?mdkversion}
|
||||
%if 0%{?pclinuxos}
|
||||
BuildRequires: libgstreamer0.10-devel
|
||||
%else
|
||||
BuildRequires: %{_lib}gstreamer0.10-devel
|
||||
%endif
|
||||
BuildRequires: %{_lib}gstreamer-plugins-base0.10-devel
|
||||
BuildRequires: libxv-devel
|
||||
%endif
|
||||
%if 0%{?rhel} || 0%{?fedora}
|
||||
BuildRequires: gstreamer-devel
|
||||
BuildRequires: gstreamer-plugins-base-devel
|
||||
BuildRequires: libXv-devel
|
||||
%endif
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: gstreamer-devel
|
||||
BuildRequires: gstreamer-0_10-plugins-base-devel
|
||||
%if 0%{?suse_version} == 1140
|
||||
BuildRequires: xorg-x11-libXv-devel
|
||||
%else
|
||||
BuildRequires: libXv-devel
|
||||
%endif
|
||||
%endif
|
||||
|
||||
Requires: %{name}-base
|
||||
|
||||
%description
|
||||
A basic audio/video viewer application for Trinity.
|
||||
|
||||
KMPlayer can:
|
||||
* play DVD (DVDNav only with the Xine player)
|
||||
* play VCD
|
||||
* let the backend players play from a pipe (read from stdin)
|
||||
* play from a TV device (experimental)
|
||||
* show backend player's console output
|
||||
* launch ffserver (only 0.4.8 works) when viewing from a v4l device
|
||||
* DCOP KMediaPlayer interface support
|
||||
* VDR viewer frontend (with *kxvplayer), configure VDR keys with standard TDE
|
||||
shortcut configure window
|
||||
* Lots of configurable shortcuts. Highly recommended for the VDR keys
|
||||
(if you have VDR) and volume increase/decrease
|
||||
|
||||
|
||||
%package base
|
||||
Group: Applications/Multimedia
|
||||
Summary: Base files for KMPlayer [Trinity]
|
||||
|
||||
%description base
|
||||
Core files needed for KMPlayer.
|
||||
|
||||
|
||||
%package konq-plugins
|
||||
Group: Applications/Multimedia
|
||||
Requires: trinity-kmplayer-base, trinity-kdebase
|
||||
Summary: KMPlayer plugin for KHTML/Konqueror [Trinity]
|
||||
|
||||
%description konq-plugins
|
||||
This plugin enables audio/video playback inside konqueror, using Xine (with
|
||||
*kxineplayer) or GStreamer (with *kgstplayer), such as movie trailers, web
|
||||
tv or radio. It mimics QuickTime, MS Media Player and RealPlayer plugin
|
||||
browser plugins.
|
||||
|
||||
|
||||
%package doc
|
||||
Group: Applications/Multimedia
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Summary: Handbook for KMPlayer [Trinity]
|
||||
|
||||
%description doc
|
||||
Documention for KMPlayer, a basic audio/video viewer application for TDE.
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
|
||||
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--mandir=%{tde_mandir} \
|
||||
--disable-rpath \
|
||||
--enable-closure
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%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
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
/sbin/ldconfig || :
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig || :
|
||||
|
||||
%post base
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
/sbin/ldconfig || :
|
||||
|
||||
%postun base
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
/sbin/ldconfig || :
|
||||
|
||||
|
||||
%files -f %{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
|
||||
%{tde_datadir}/apps/kmplayer
|
||||
%{tde_datadir}/services/kmplayer_part.desktop
|
||||
|
||||
%files base
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_libdir}/libkmplayercommon.la
|
||||
%{tde_libdir}/libkmplayercommon.so
|
||||
%{tde_bindir}/kgstplayer
|
||||
%{tde_bindir}/kxineplayer
|
||||
%{tde_datadir}/config/kmplayerrc
|
||||
%{tde_datadir}/apps/kmplayer/bookmarks.xml
|
||||
%{tde_datadir}/apps/kmplayer/noise.gif
|
||||
%{tde_datadir}/apps/kmplayer/pluginsinfo
|
||||
%{tde_datadir}/icons/hicolor/*/apps/kmplayer.png
|
||||
%{tde_datadir}/icons/hicolor/*/apps/kmplayer.svgz
|
||||
%{tde_datadir}/mimelnk/application/x-kmplayer.desktop
|
||||
%{tde_datadir}/mimelnk/video/x-ms-wmp.desktop
|
||||
|
||||
|
||||
%files doc
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_tdedocdir}/HTML/*/kmplayer
|
||||
|
||||
%files konq-plugins
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_tdelibdir}/libkmplayerpart.la
|
||||
%{tde_tdelibdir}/libkmplayerpart.so
|
||||
%{tde_datadir}/apps/kmplayer/kmplayerpartui.rc
|
||||
%{tde_datadir}/apps/kmplayer/pluginsinfo
|
||||
%{tde_datadir}/services/kmplayer_part.desktop
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.10.0c-6
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.10.0c-5
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Sat Nov 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.10.0c-4
|
||||
- Fix xine 1.2 support (openSUSE 12.2 only)
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.10.0c-3
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Wed May 02 2012 Francois Andriot <francois.andriot@free.fr> - 0.10.0c-2
|
||||
- Fix compilation with GCC 4.7 [Commit #5106117b]
|
||||
|
||||
* Sat Dec 03 2011 Francois Andriot <francois.andriot@free.fr> - 0.10.0c-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
||||
|
@ -0,0 +1,208 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg kmyfirewall
|
||||
%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: iptables based firewall configuration tool for TDE [Trinity]
|
||||
Version: 1.1.1
|
||||
Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Prefix: %{tde_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
|
||||
%description
|
||||
KMyFirewall attempts to make it easier to setup iptables based firewalls on
|
||||
Linux systems. It will be the right tool if you like to have a so called
|
||||
"Personal Firewall" running on your Linux box, but don't have the time and/or
|
||||
the interest to spend hours in front of the iptables manual just to setup a
|
||||
Firewall that keeps the "bad" people out.
|
||||
|
||||
There is also the possibility to save entire rule sets, so you only have to
|
||||
configure your rule set one time and then you can use it on several computers
|
||||
giving each of them a similar configuration (p.e. school networks, office,
|
||||
university etc.)
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
%{summary}
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--mandir=%{tde_mandir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--disable-rpath \
|
||||
--enable-closure
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
update-desktop-database %{tde_appdir} > /dev/null
|
||||
for f in hicolor locolor; do
|
||||
touch --no-create %{tde_datadir}/icons/${f} || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
|
||||
done
|
||||
/sbin/ldconfig || :
|
||||
|
||||
%postun
|
||||
update-desktop-database %{tde_appdir} > /dev/null
|
||||
for f in hicolor locolor; do
|
||||
touch --no-create %{tde_datadir}/icons/${f} || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
|
||||
done
|
||||
/sbin/ldconfig || :
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS ChangeLog COPYING COPYING-DOCS README TODO
|
||||
%{tde_bindir}/kmyfirewall
|
||||
%{tde_libdir}/libkmfcore.so.*
|
||||
%{tde_libdir}/libkmfwidgets.so.*
|
||||
%{tde_tdelibdir}/libkmfcompiler_ipt.la
|
||||
%{tde_tdelibdir}/libkmfcompiler_ipt.so
|
||||
%{tde_tdelibdir}/libkmfgenericinterfacepart.la
|
||||
%{tde_tdelibdir}/libkmfgenericinterfacepart.so
|
||||
%{tde_tdelibdir}/libkmfinstaller_linux.la
|
||||
%{tde_tdelibdir}/libkmfinstaller_linux.so
|
||||
%{tde_tdelibdir}/libkmfinstallerplugin.la
|
||||
%{tde_tdelibdir}/libkmfinstallerplugin.so
|
||||
%{tde_tdelibdir}/libkmfipteditorpart.la
|
||||
%{tde_tdelibdir}/libkmfipteditorpart.so
|
||||
%{tde_tdelibdir}/libkmfruleoptionedit_custom.la
|
||||
%{tde_tdelibdir}/libkmfruleoptionedit_custom.so
|
||||
%{tde_tdelibdir}/libkmfruleoptionedit_interface.la
|
||||
%{tde_tdelibdir}/libkmfruleoptionedit_interface.so
|
||||
%{tde_tdelibdir}/libkmfruleoptionedit_ip.la
|
||||
%{tde_tdelibdir}/libkmfruleoptionedit_ip.so
|
||||
%{tde_tdelibdir}/libkmfruleoptionedit_limit.la
|
||||
%{tde_tdelibdir}/libkmfruleoptionedit_limit.so
|
||||
%{tde_tdelibdir}/libkmfruleoptionedit_mac.la
|
||||
%{tde_tdelibdir}/libkmfruleoptionedit_mac.so
|
||||
%{tde_tdelibdir}/libkmfruleoptionedit_protocol.la
|
||||
%{tde_tdelibdir}/libkmfruleoptionedit_protocol.so
|
||||
%{tde_tdelibdir}/libkmfruleoptionedit_state.la
|
||||
%{tde_tdelibdir}/libkmfruleoptionedit_state.so
|
||||
%{tde_tdelibdir}/libkmfruleoptionedit_tos.la
|
||||
%{tde_tdelibdir}/libkmfruleoptionedit_tos.so
|
||||
%{tde_tdelibdir}/libkmfruletargetoptionedit_log.la
|
||||
%{tde_tdelibdir}/libkmfruletargetoptionedit_log.so
|
||||
%{tde_tdelibdir}/libkmfruletargetoptionedit_mark.la
|
||||
%{tde_tdelibdir}/libkmfruletargetoptionedit_mark.so
|
||||
%{tde_tdelibdir}/libkmfruletargetoptionedit_nat.la
|
||||
%{tde_tdelibdir}/libkmfruletargetoptionedit_nat.so
|
||||
%{tde_tdelibdir}/libkmfruletargetoptionedit_tos.la
|
||||
%{tde_tdelibdir}/libkmfruletargetoptionedit_tos.so
|
||||
%{tde_tdeappdir}/kmyfirewall.desktop
|
||||
%{tde_datadir}/apps/kmfgenericinterfacepart/kmfgenericinterfacepartui.rc
|
||||
%{tde_datadir}/apps/kmfipteditorpart/kmfipteditorpartui.rc
|
||||
%{tde_datadir}/apps/kmfsystray
|
||||
%{tde_datadir}/apps/kmyfirewall
|
||||
%{tde_datadir}/config.kcfg/kmfconfig.kcfg
|
||||
%{tde_datadir}/config/kmyfirewallrc
|
||||
%{tde_tdedocdir}/HTML/en/kmyfirewall/
|
||||
%{tde_datadir}/icons/hicolor/*/apps/kmyfirewall.png
|
||||
%{tde_datadir}/icons/locolor/*/apps/kmyfirewall.png
|
||||
%{tde_datadir}/mimelnk/application/kmfgrs.desktop
|
||||
%{tde_datadir}/mimelnk/application/kmfnet.desktop
|
||||
%{tde_datadir}/mimelnk/application/kmfpkg.desktop
|
||||
%{tde_datadir}/mimelnk/application/kmfrs.desktop
|
||||
%{tde_datadir}/services/kmf*.desktop
|
||||
%{tde_datadir}/servicetypes/kmf*.desktop
|
||||
|
||||
%files devel
|
||||
%{tde_tdeincludedir}/kmyfirewall
|
||||
%{tde_libdir}/libkmfcore.la
|
||||
%{tde_libdir}/libkmfcore.so
|
||||
%{tde_libdir}/libkmfwidgets.la
|
||||
%{tde_libdir}/libkmfwidgets.so
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 1.1.1-5
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.1.1-4
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 1.1.1-3
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Wed May 02 2012 Francois Andriot <francois.andriot@free.fr> - 1.1.1-2
|
||||
- GCC 4.7 fixes. [Commit #88d2d2a7]
|
||||
|
||||
* Sat Dec 03 2011 Francois Andriot <francois.andriot@free.fr> - 1.1.1-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
||||
|
@ -0,0 +1,260 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg kmymoney
|
||||
%define tde_version 14.0.0
|
||||
|
||||
# Required for Mageia 2: removes the ldflag '--no-undefined'
|
||||
%define _disable_ld_no_undefined 1
|
||||
|
||||
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
|
||||
%if "%{?tde_prefix}" != "/usr"
|
||||
%define _variant .opt
|
||||
%endif
|
||||
|
||||
# TDE specific building variables
|
||||
%define tde_bindir %{tde_prefix}/bin
|
||||
%define tde_datadir %{tde_prefix}/share
|
||||
%define tde_docdir %{tde_datadir}/doc
|
||||
%define tde_includedir %{tde_prefix}/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: personal finance manager for TDE
|
||||
|
||||
Version: 1.0.5
|
||||
Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
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
|
||||
Source1: kmymoneytitlelabel.png
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-arts-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
BuildRequires: recode
|
||||
BuildRequires: libofx-devel
|
||||
|
||||
# OPENSP support
|
||||
%if 0%{?mgaversion} || 0%{?pclinuxos} || 0%{?mdkversion}
|
||||
%if 0%{?mgaversion} || 0%{?pclinuxos}
|
||||
BuildRequires: %{_lib}OpenSP5-devel
|
||||
%else
|
||||
BuildRequires: opensp-devel
|
||||
%endif
|
||||
%endif
|
||||
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version}
|
||||
BuildRequires: opensp-devel
|
||||
%endif
|
||||
%if 0%{?rhel} == 4
|
||||
BuildRequires: openjade-devel
|
||||
%endif
|
||||
|
||||
Requires: %{name}-common == %{version}
|
||||
|
||||
%description
|
||||
KMyMoney is the Personal Finance Manager for TDE. It operates similar to
|
||||
MS-Money and Quicken, supports different account types, categorisation of
|
||||
expenses, QIF import/export, multiple currencies and initial online banking
|
||||
support.
|
||||
|
||||
|
||||
%package common
|
||||
Summary: KMyMoney architecture independent files
|
||||
Group: Applications/Utilities
|
||||
Requires: %{name} == %{version}
|
||||
|
||||
%description common
|
||||
This package contains architecture independent files needed for KMyMoney to
|
||||
run properly. It also provides KMyMoney documentation. Therefore, unless you
|
||||
have '%{name}' package installed, you will hardly find this package useful.
|
||||
|
||||
|
||||
%package devel
|
||||
Summary: KMyMoney development files
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} == %{version}
|
||||
|
||||
%description devel
|
||||
This package contains development files needed for KMyMoney plugins.
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
%if 0%{?mgaversion} >= 3 || 0%{?pclinuxos} >= 2013
|
||||
%__cp /usr/share/automake-1.13/test-driver admin/
|
||||
%endif
|
||||
|
||||
%__install -m644 %{SOURCE1} kmymoney2/widgets/
|
||||
|
||||
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
|
||||
|
||||
# Fix strange FTBFS on RHEL4
|
||||
%if 0%{?rhel} == 4
|
||||
grep -v "^#~" po/it.po >/tmp/it.po && mv -f /tmp/it.po po/it.po
|
||||
%endif
|
||||
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--mandir=%{tde_mandir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--disable-rpath \
|
||||
--enable-closure \
|
||||
--disable-pdf-docs \
|
||||
--enable-ofxplugin \
|
||||
--enable-ofxbanking \
|
||||
--enable-qtdesigner \
|
||||
--disable-sqlite3 \
|
||||
--with-qmake=%{_bindir}/tqmake \
|
||||
--with-qt-dir=%{_libdir}/tqt3
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
|
||||
## File lists
|
||||
# HTML (1.0)
|
||||
HTML_DIR=$(tde-config --expandvars --install html)
|
||||
if [ -d %{buildroot}$HTML_DIR ]; then
|
||||
for lang_dir in %{buildroot}$HTML_DIR/* ; do
|
||||
if [ -d $lang_dir ]; then
|
||||
lang=$(basename $lang_dir)
|
||||
echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
|
||||
# replace absolute symlinks with relative ones
|
||||
pushd $lang_dir
|
||||
for i in *; do
|
||||
[ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common
|
||||
done
|
||||
popd
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
%find_lang kmymoney2
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
update-desktop-database %{tde_appdir} > /dev/null
|
||||
/sbin/ldconfig
|
||||
for f in hicolor locolor Tango oxygen; do
|
||||
touch --no-create %{tde_datadir}/icons/${f} || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
|
||||
done
|
||||
|
||||
%postun
|
||||
update-desktop-database %{tde_appdir} > /dev/null
|
||||
/sbin/ldconfig
|
||||
for f in hicolor locolor Tango oxygen; do
|
||||
touch --no-create %{tde_datadir}/icons/${f} || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
|
||||
done
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_bindir}/kmymoney
|
||||
%{tde_bindir}/kmymoney2
|
||||
%{tde_tdeappdir}/kmymoney2.desktop
|
||||
%{tde_datadir}/mimelnk/application/x-kmymoney2.desktop
|
||||
%{tde_datadir}/servicetypes/kmymoneyimporterplugin.desktop
|
||||
%{tde_datadir}/servicetypes/kmymoneyplugin.desktop
|
||||
%{tde_libdir}/*.so.*
|
||||
%{tde_tdelibdir}/kmm_ofximport.la
|
||||
%{tde_tdelibdir}/kmm_ofximport.so
|
||||
%{_libdir}/tqt3/plugins/designer/libkmymoney.so
|
||||
|
||||
%files common -f kmymoney2.lang
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_datadir}/apps/kmymoney2/html/
|
||||
%{tde_datadir}/apps/kmymoney2/icons/*/*/*/*.png
|
||||
%{tde_datadir}/apps/kmymoney2/kmymoney2ui.rc
|
||||
%{tde_datadir}/apps/kmymoney2/misc/financequote.pl
|
||||
%{tde_datadir}/apps/kmymoney2/pics/*.png
|
||||
%{tde_datadir}/apps/kmymoney2/templates/*/*.kmt
|
||||
%{tde_datadir}/apps/kmymoney2/tips
|
||||
%{tde_datadir}/config.kcfg/kmymoney2.kcfg
|
||||
%{tde_datadir}/icons/hicolor/*/*/*.png
|
||||
%{tde_datadir}/icons/Tango/*/*/*.png
|
||||
%{tde_datadir}/icons/Tango/scalable/*.svgz
|
||||
%{tde_datadir}/icons/locolor/*/*/*.png
|
||||
%{tde_datadir}/icons/oxygen/*/*/*.png
|
||||
%{tde_datadir}/icons/oxygen/scalable/*.svgz
|
||||
%{tde_tdedocdir}/HTML/en/kmymoney2/
|
||||
%{tde_mandir}/man1/kmymoney2.*
|
||||
%{tde_datadir}/apps/kmm_ofximport/kmm_ofximport.rc
|
||||
%{tde_datadir}/services/kmm_ofximport.desktop
|
||||
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_tdeincludedir}/kmymoney/*.h
|
||||
%{tde_libdir}/libkmm_kdchart.la
|
||||
%{tde_libdir}/libkmm_mymoney.la
|
||||
%{tde_libdir}/libkmm_plugin.la
|
||||
%{tde_libdir}/*.so
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 1.0.5-5
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.0.5-4
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 1.0.5-3
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Wed May 02 2012 Francois Andriot <francois.andriot@free.fr> - 1.0.5-2
|
||||
- Rebuild for Fedora 17
|
||||
- Fix compilation with GCC 4.7 [Bug #958]
|
||||
|
||||
* Sun Jan 15 2012 Francois Andriot <francois.andriot@free.fr> - 1.0.5-1
|
||||
- Updates to upstream 1.0.5
|
||||
|
||||
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 1.0.4-1
|
||||
- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15
|
@ -0,0 +1,148 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg knemo
|
||||
%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: network interfaces monitor for the Trinity systray
|
||||
Version: 0.4.8
|
||||
Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://beta.smileaf.org/projects
|
||||
|
||||
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-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
%if 0%{?fedora} >= 18
|
||||
BuildRequires: net-tools
|
||||
%endif
|
||||
|
||||
|
||||
%description
|
||||
KNemo displays an icon in the systray for every network interface.
|
||||
Tooltips and an info dialog provide further information about the
|
||||
interface. Passive popups inform about interface changes.
|
||||
A traffic plotter is also integrated.
|
||||
|
||||
knemo polls the network interface status every second using the
|
||||
ifconfig, route and iwconfig tools.
|
||||
|
||||
Homepage: http://extragear.kde.org/apps/knemo/
|
||||
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--mandir=%{tde_mandir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--disable-rpath \
|
||||
--with-extra-includes=
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
update-desktop-database %{tde_appdir} > /dev/null
|
||||
touch --no-create %{tde_datadir}/icons/crystalsvg || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || :
|
||||
|
||||
%postun
|
||||
update-desktop-database %{tde_appdir} > /dev/null
|
||||
touch --no-create %{tde_datadir}/icons/crystalsvg || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || :
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_tdelibdir}/kcm_knemo.la
|
||||
%{tde_tdelibdir}/kcm_knemo.so
|
||||
%{tde_tdelibdir}/kded_knemod.la
|
||||
%{tde_tdelibdir}/kded_knemod.so
|
||||
%{tde_tdeappdir}/kcm_knemo.desktop
|
||||
%{tde_datadir}/apps/knemo/eventsrc
|
||||
%{tde_datadir}/icons/crystalsvg/*/*/*.png
|
||||
%{tde_datadir}/locale/*/LC_MESSAGES/knemod.mo
|
||||
%{tde_datadir}/locale/*/LC_MESSAGES/kcm_knemo.mo
|
||||
%{tde_datadir}/services/kded/knemod.desktop
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.4.8-5
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.4.8-4
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.4.8-3
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Wed May 02 2012 Francois Andriot <francois.andriot@free.fr> - 0.4.8-2
|
||||
- Rebuild for Fedora 17
|
||||
|
||||
* Fri Nov 25 2011 Francois Andriot <francois.andriot@free.fr> - 0.4.8-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
@ -0,0 +1,145 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg knetload
|
||||
%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: a network meter for Kicker [Trinity]
|
||||
Version: 2.3
|
||||
Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org
|
||||
|
||||
Prefix: %{tde_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
|
||||
%description
|
||||
KNetLoad is a small network meter for Kicker (the TDE panel). It shows
|
||||
a recent history of network usage in the form of two configurable
|
||||
diagrams in the system tray, one for incoming and one for outgoing
|
||||
data. These diagrams have settings for colours and various different
|
||||
styles.
|
||||
|
||||
KNetLoad can monitor just about any network device.
|
||||
|
||||
|
||||
%if 0%{?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/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--mandir=%{tde_mandir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--disable-rpath \
|
||||
--with-extra-includes=
|
||||
|
||||
# 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}
|
||||
|
||||
|
||||
%post
|
||||
update-desktop-database %{tde_appdir} > /dev/null
|
||||
for f in crystalsvg locolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/${f} || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
|
||||
done
|
||||
|
||||
%postun
|
||||
update-desktop-database %{tde_appdir} > /dev/null
|
||||
for f in crystalsvg locolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/${f} || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
|
||||
done
|
||||
|
||||
|
||||
%files -f %{tde_pkg}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_bindir}/knetload
|
||||
%{tde_tdeappdir}/knetload.desktop
|
||||
%{tde_datadir}/apps/knetload
|
||||
%{tde_datadir}/icons/crystalsvg/*/apps/knetload.png
|
||||
%{tde_datadir}/icons/locolor/*/apps/knetload.png
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 2.3-5
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 2.3-4
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 2.3-3
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Wed May 02 2012 Francois Andriot <francois.andriot@free.fr> - 2.3-2
|
||||
- Rebuild for Fedora 17
|
||||
|
||||
* Wed Nov 30 2011 Francois Andriot <francois.andriot@free.fr> - 2.3-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
@ -0,0 +1,133 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg knetstats
|
||||
%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: network interfaces monitor for the Trinity systray
|
||||
Version: 1.6.1
|
||||
Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org
|
||||
|
||||
Prefix: %{tde_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
|
||||
%description
|
||||
A simple TDE network monitor that show rx/tx LEDs of any
|
||||
network interface on a system tray icon
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--mandir=%{tde_mandir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--disable-rpath \
|
||||
--with-extra-includes=
|
||||
|
||||
# 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}
|
||||
|
||||
|
||||
%post
|
||||
update-desktop-database %{tde_appdir} > /dev/null
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
|
||||
%postun
|
||||
update-desktop-database %{tde_appdir} > /dev/null
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
|
||||
|
||||
%files -f %{tde_pkg}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_bindir}/knetstats
|
||||
%{tde_tdeappdir}/knetstats.desktop
|
||||
%{tde_datadir}/apps/knetstats
|
||||
%{tde_tdedocdir}/HTML/en/knetstats/
|
||||
%{tde_datadir}/icons/hicolor/*/apps/knetstats.png
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 1.6.1-4
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.6.1-3
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 1.6.1-2
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Wed Nov 30 2011 Francois Andriot <francois.andriot@free.fr> - 1.6.1-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
@ -0,0 +1,193 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg knetworkmanager
|
||||
%define tde_version 14.0.0
|
||||
%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion}
|
||||
%define version 0.9
|
||||
%else
|
||||
%define version 0.8
|
||||
%endif
|
||||
|
||||
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
|
||||
%if "%{?tde_prefix}" != "/usr"
|
||||
%define _variant .opt
|
||||
%endif
|
||||
|
||||
# TDE specific building variables
|
||||
%define tde_bindir %{tde_prefix}/bin
|
||||
%define tde_datadir %{tde_prefix}/share
|
||||
%define tde_docdir %{tde_datadir}/doc
|
||||
%define tde_includedir %{tde_prefix}/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_tdedocdir}
|
||||
|
||||
|
||||
Name: trinity-%{tde_pkg}
|
||||
Version: %{?version}
|
||||
Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
Summary: Trinity applet for Network Manager
|
||||
|
||||
Group: Applications/Internet
|
||||
License: GPLv2+
|
||||
URL: http://en.opensuse.org/Projects/KNetworkManager
|
||||
|
||||
%if "%{?version}" == "0.9"
|
||||
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
||||
%else
|
||||
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
||||
%endif
|
||||
|
||||
Patch0: knetworkmanager-3.5.13-missing_includes.patch
|
||||
|
||||
# For knetworkmanager 0.9 only !
|
||||
Patch10: knetworkmanager-3.5.13-subdir_version.patch
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
#Requires: kde-filesystem
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
%if 0%{?rhel} || 0%{?fedora}
|
||||
Requires: NetworkManager-gnome
|
||||
%else
|
||||
Requires: networkmanager
|
||||
%endif
|
||||
|
||||
BuildRequires: trinity-dbus-1-tqt-devel
|
||||
BuildRequires: trinity-dbus-tqt-devel
|
||||
BuildRequires: NetworkManager-glib-devel
|
||||
|
||||
%description
|
||||
KNetworkManager is a system tray applet for controlling network
|
||||
connections on systems that use the NetworkManager daemon.
|
||||
|
||||
|
||||
%package devel
|
||||
Summary: Common data shared among the MySQL GUI Suites
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
Development headers for knetworkmanager
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%if "%{?version}" == "0.9"
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
%else
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
%endif
|
||||
|
||||
%if "%{?version}" == "0.9"
|
||||
%patch10 -p1
|
||||
%endif
|
||||
|
||||
cd knetworkmanager-0.*/src
|
||||
%patch0 -p3
|
||||
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
|
||||
export CMAKE_INCLUDE_PATH="%{tde_includedir}"
|
||||
export LD_LIBRARY_PATH="%{tde_libdir}"
|
||||
|
||||
# Missing TDE macros
|
||||
%__mkdir_p cmake
|
||||
%__ln_s %{tde_datadir}/cmake cmake/modules
|
||||
|
||||
%if 0%{?rhel} || 0%{?fedora}
|
||||
%__mkdir_p build
|
||||
cd build
|
||||
%endif
|
||||
|
||||
%cmake \
|
||||
-DCMAKE_INSTALL_PREFIX=%{tde_prefix} \
|
||||
-DBIN_INSTALL_DIR=%{tde_bindir} \
|
||||
-DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
|
||||
-DLIB_INSTALL_DIR=%{tde_libdir} \
|
||||
-DSHARE_INSTALL_PREFIX=%{tde_datadir} \
|
||||
-DCMAKE_SKIP_RPATH="OFF" \
|
||||
..
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%__rm -rf $RPM_BUILD_ROOT
|
||||
%__make install DESTDIR=%{?buildroot} -C build
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%post
|
||||
update-desktop-database %{tde_appdir} > /dev/null
|
||||
/sbin/ldconfig
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
|
||||
%postun
|
||||
update-desktop-database %{tde_appdir} > /dev/null
|
||||
/sbin/ldconfig
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
|
||||
%post devel
|
||||
/sbin/ldconfig
|
||||
|
||||
%postun devel
|
||||
/sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_bindir}/knetworkmanager
|
||||
%{tde_libdir}/*.la
|
||||
%{tde_libdir}/*.so
|
||||
%{_sysconfdir}/dbus-1/system.d/knetworkmanager.conf
|
||||
%{tde_tdeappdir}/knetworkmanager.desktop
|
||||
%{tde_datadir}/apps/knetworkmanager
|
||||
%{tde_datadir}/icons/hicolor/*/apps/knetworkmanager*
|
||||
%{tde_datadir}/servicetypes/knetworkmanager_plugin.desktop
|
||||
%{tde_datadir}/servicetypes/knetworkmanager_vpnplugin.desktop
|
||||
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_tdeincludedir}/*.h
|
||||
%{tde_tdelibdir}/*.la
|
||||
%{tde_tdelibdir}/*.so
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - %{?version}-6
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - %{?version}-5
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - %{?version}-4
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Wed May 02 2012 Francois Andriot <francois.andriot@free.fr> - 0.8-3 / 0.9-3
|
||||
- Rebuild for Fedora 17
|
||||
|
||||
* Sat Nov 13 2011 Francois Andriot <francois.andriot@free.fr> - 0.8-2 / 0.9-2
|
||||
- Remove faulty patch for WPA authentication
|
||||
|
||||
* Tue Nov 11 2011 Francois Andriot <francois.andriot@free.fr> - 0.8-1 / 0.9-1
|
||||
- Initial release
|
@ -0,0 +1,157 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg knetworkmanager9
|
||||
%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_tdedocdir}
|
||||
|
||||
|
||||
Name: trinity-%{tde_pkg}
|
||||
Version: 0.9
|
||||
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
Summary: Trinity applet for Network Manager
|
||||
|
||||
Group: Applications/Internet
|
||||
License: GPLv2+
|
||||
URL: http://en.opensuse.org/Projects/KNetworkManager
|
||||
|
||||
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
%if 0%{?rhel} || 0%{?fedora}
|
||||
Requires: NetworkManager-gnome
|
||||
%else
|
||||
Requires: networkmanager
|
||||
%endif
|
||||
|
||||
BuildRequires: trinity-dbus-1-tqt-devel
|
||||
BuildRequires: trinity-dbus-tqt-devel
|
||||
BuildRequires: NetworkManager-glib-devel
|
||||
|
||||
%description
|
||||
KNetworkManager is a system tray applet for controlling network
|
||||
connections on systems that use the NetworkManager daemon.
|
||||
|
||||
|
||||
%package devel
|
||||
Summary: Common data shared among the MySQL GUI Suites
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
Development headers for knetworkmanager
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%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"
|
||||
export CMAKE_INCLUDE_PATH="%{tde_includedir}"
|
||||
export LD_LIBRARY_PATH="%{tde_libdir}"
|
||||
|
||||
%if 0%{?rhel} || 0%{?fedora}
|
||||
%__mkdir_p build
|
||||
cd build
|
||||
%endif
|
||||
|
||||
%cmake \
|
||||
-DCMAKE_INSTALL_PREFIX=%{tde_prefix} \
|
||||
-DBIN_INSTALL_DIR=%{tde_bindir} \
|
||||
-DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
|
||||
-DLIB_INSTALL_DIR=%{tde_libdir} \
|
||||
-DSHARE_INSTALL_PREFIX=%{tde_datadir} \
|
||||
-DCMAKE_SKIP_RPATH="OFF" \
|
||||
..
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
%__rm -rf $RPM_BUILD_ROOT
|
||||
%__make install DESTDIR=%{?buildroot} -C build
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%post
|
||||
update-desktop-database %{tde_appdir} > /dev/null
|
||||
/sbin/ldconfig
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
|
||||
%postun
|
||||
update-desktop-database %{tde_appdir} > /dev/null
|
||||
/sbin/ldconfig
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
|
||||
%post devel
|
||||
/sbin/ldconfig
|
||||
|
||||
%postun devel
|
||||
/sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_bindir}/tdenetworkmanager
|
||||
%{tde_libdir}/*.la
|
||||
%{tde_libdir}/*.so
|
||||
%{_sysconfdir}/dbus-1/system.d/tdenetworkmanager.conf
|
||||
%{tde_tdeappdir}/tdenetworkmanager.desktop
|
||||
%{tde_datadir}/apps/tdenetworkmanager
|
||||
%{tde_datadir}/icons/hicolor/*/apps/tdenetworkmanager*
|
||||
%{tde_datadir}/servicetypes/tdenetworkmanager_plugin.desktop
|
||||
%{tde_datadir}/servicetypes/tdenetworkmanager_vpnplugin.desktop
|
||||
%{tde_datadir}/autostart/tdenetworkmanager.desktop
|
||||
%{tde_datadir}/services/tdenetman_openvpn.desktop
|
||||
%{tde_datadir}/services/tdenetman_pptp.desktop
|
||||
%{tde_datadir}/services/tdenetman_strongswan.desktop
|
||||
%{tde_datadir}/services/tdenetman_vpnc.desktop
|
||||
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_tdeincludedir}/*.h
|
||||
%{tde_tdelibdir}/*.la
|
||||
%{tde_tdelibdir}/*.so
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.9-1
|
||||
- Initial release for TDE 14.0.0
|
@ -0,0 +1,146 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg knights
|
||||
%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: A chess interface for the K Desktop Environment [Trinity]
|
||||
Version: 0.6
|
||||
Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Amusements/Games
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Prefix: %{tde_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
Requires: gnuchess
|
||||
|
||||
%description
|
||||
Knights aims to be the ultimate chess resource on your computer.
|
||||
Written for the K Desktop Environment, it's designed to be both friendly
|
||||
to new chess players and functional for Grand Masters.
|
||||
|
||||
Here's a quick list of Knights' key features:
|
||||
* Play against yourself, against computer opponents,
|
||||
or against others over the Internet.
|
||||
* Customize your board and pieces with over 30 different themes,
|
||||
or make your own!
|
||||
* Audio cues help alert you to important events.
|
||||
* Novice players can preview potential moves.
|
||||
* Save your unfinished matches and play them again later.
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--mandir=%{tde_mandir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--disable-rpath \
|
||||
--with-extra-includes=:%{tde_includedir}
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
%find_lang %{tde_pkg}
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
|
||||
%postun
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
|
||||
|
||||
%files -f %{tde_pkg}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_bindir}/knights
|
||||
%{tde_datadir}/applnk/Games/Board/knights.desktop
|
||||
%{tde_datadir}/apps/knights
|
||||
%{tde_tdedocdir}/HTML/*/knights
|
||||
%{tde_datadir}/icons/hicolor/*/*/*.png
|
||||
%{tde_datadir}/mimelnk/application/pgn.desktop
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.6-6
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.6-5
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.6-4
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Wed May 02 2012 Francois Andriot <francois.andriot@free.fr> - 0.6-3
|
||||
- Rebuild for Fedora 17
|
||||
|
||||
* Fri Nov 25 2011 Francois Andriot <francois.andriot@free.fr> - 0.6-2
|
||||
- Fix HTML directory location
|
||||
|
||||
* Sun Nov 20 2011 Francois Andriot <francois.andriot@free.fr> - 0.6-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
@ -0,0 +1,143 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg knowit
|
||||
%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: Tool for managing notes [Trinity]
|
||||
Version: 0.10
|
||||
Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org
|
||||
|
||||
Prefix: %{tde_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
|
||||
%description
|
||||
KnowIt is a tool for managing notes which are organized in
|
||||
tree-like hierarchy. It is similar to TuxCards,
|
||||
but TDE-based, and requires Trinity.
|
||||
|
||||
|
||||
%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/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--mandir=%{tde_mandir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--disable-rpath \
|
||||
--with-extra-includes=
|
||||
|
||||
# SMP safe !
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
%__mkdir_p %{buildroot}%{tde_tdeappdir}
|
||||
%__mv %{buildroot}%{tde_datadir}/applnk/Applications/knowit.desktop %{buildroot}%{tde_tdeappdir}/knowit.desktop
|
||||
%__rm -r %{buildroot}%{tde_datadir}/applnk
|
||||
|
||||
|
||||
%find_lang %{tde_pkg}
|
||||
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
update-desktop-database %{tde_appdir} > /dev/null
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
|
||||
%postun
|
||||
update-desktop-database %{tde_appdir} > /dev/null
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
|
||||
|
||||
%files -f %{tde_pkg}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_bindir}/knowit
|
||||
%{tde_tdeappdir}/knowit.desktop
|
||||
%{tde_datadir}/apps/knowit/knowitui.rc
|
||||
%{tde_datadir}/apps/knowit/tips
|
||||
%{tde_tdedocdir}/HTML/en/knowit/common
|
||||
%{tde_tdedocdir}/HTML/en/knowit/index.cache.bz2
|
||||
%{tde_tdedocdir}/HTML/en/knowit/index.docbook
|
||||
%{tde_tdedocdir}/HTML/en/knowit/screenshot.png
|
||||
%{tde_datadir}/icons/hicolor/*/apps/knowit.png
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.10-4
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.10-3
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.10-2
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Wed Nov 30 2011 Francois Andriot <francois.andriot@free.fr> - 0.10-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
@ -0,0 +1,141 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg knutclient
|
||||
%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: A TDE GUI that displays UPS statistics from NUT's upsd [Trinity]
|
||||
Version: 0.9.5
|
||||
Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.knut.noveradsl.cz/knutclient/
|
||||
|
||||
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-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
|
||||
%description
|
||||
KNutClient monitors UPS statistics through the NUT (Network UPS Tools,
|
||||
http://www.networkupstools.org/) framework on Linux and other systems. This
|
||||
information, presented in a nice visual format, can be invaluable on
|
||||
stations using an UPS.
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--mandir=%{tde_mandir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--disable-rpath \
|
||||
--enable-closure
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%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
|
||||
|
||||
%postun
|
||||
for f in hicolor locolor; do
|
||||
touch --no-create %{tde_datadir}/icons/${f} || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
|
||||
done
|
||||
|
||||
|
||||
%files -f %{tde_pkg}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS ChangeLog COPYING NEWS README TODO
|
||||
%{tde_bindir}/knutclient
|
||||
%{tde_datadir}/applnk/Utilities/knutclient.desktop
|
||||
%{tde_datadir}/apps/knutclient/knutclientui.rc
|
||||
%{tde_datadir}/apps/knutclient
|
||||
%{tde_tdedocdir}/HTML/cs/knutclient
|
||||
%{tde_tdedocdir}/HTML/en/knutclient
|
||||
%{tde_datadir}/icons/hicolor/*/apps/*.png
|
||||
%{tde_datadir}/icons/locolor/*/apps/*.png
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.9.5-5
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.9.5-4
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.9.5-3
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Wed May 02 2012 Francois Andriot <francois.andriot@free.fr> - 0.9.5-2
|
||||
- Rebuild for Fedora 17
|
||||
|
||||
* Sat Dec 03 2011 Francois Andriot <francois.andriot@free.fr> - 0.9.5-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,158 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg kopete-otr
|
||||
%define tde_version 14.0.0
|
||||
|
||||
# Required for Mageia 2: removes the ldflag '--no-undefined'
|
||||
%define _disable_ld_no_undefined 1
|
||||
|
||||
# Under Mageia 3, we require "libotr3" package
|
||||
|
||||
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
|
||||
%if "%{?tde_prefix}" != "/usr"
|
||||
%define _variant .opt
|
||||
%endif
|
||||
|
||||
# TDE specific building variables
|
||||
%define tde_bindir %{tde_prefix}/bin
|
||||
%define tde_datadir %{tde_prefix}/share
|
||||
%define tde_docdir %{tde_datadir}/doc
|
||||
%define tde_includedir %{tde_prefix}/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: Off-The-Record encryption for Kopete [Trinity]
|
||||
Version: 0.7
|
||||
Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Prefix: %{tde_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdenetwork-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
# Kopete is provided by kdenetwork
|
||||
Requires: trinity-kopete >= %{tde_version}
|
||||
%if 0%{?suse_version} >= 1230
|
||||
BuildRequires: libotr2-devel
|
||||
%else
|
||||
BuildRequires: libotr-devel
|
||||
%endif
|
||||
|
||||
%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%{?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/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--mandir=%{tde_mandir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--disable-rpath \
|
||||
--enable-closure
|
||||
|
||||
%__make %{_smp_mflags}
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
# Unwanted files
|
||||
%__rm -f %{?buildroot}%{tde_libdir}/libkotr.so
|
||||
|
||||
%find_lang kopete_otr
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
touch --no-create %{tde_datadir}/icons/crystalsvg || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || :
|
||||
/sbin/ldconfig || :
|
||||
|
||||
%postun
|
||||
touch --no-create %{tde_datadir}/icons/crystalsvg || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || :
|
||||
/sbin/ldconfig || :
|
||||
|
||||
|
||||
%files -f kopete_otr.lang
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS ChangeLog COPYING README TODO
|
||||
%{tde_libdir}/libkotr.la
|
||||
%{tde_libdir}/libkotr.so.0
|
||||
%{tde_libdir}/libkotr.so.0.0.0
|
||||
%{tde_tdelibdir}/kcm_kopete_otr.la
|
||||
%{tde_tdelibdir}/kcm_kopete_otr.so
|
||||
%{tde_tdelibdir}/kopete_otr.la
|
||||
%{tde_tdelibdir}/kopete_otr.so
|
||||
%{tde_datadir}/apps/kopete_otr
|
||||
%{tde_datadir}/config.kcfg/kopete_otr.kcfg
|
||||
%{tde_tdedocdir}/HTML/en/kopete_otr/
|
||||
%{tde_datadir}/icons/crystalsvg/16x16/apps/kopete_otr.png
|
||||
%{tde_datadir}/services/tdeconfiguredialog/kopete_otr_config.desktop
|
||||
%{tde_datadir}/services/kopete_otr.desktop
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.7-5
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.7-4
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.7-3
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Wed May 02 2012 Francois Andriot <francois.andriot@free.fr> - 0.7-2
|
||||
- Rebuild for Fedora 17
|
||||
|
||||
* Sat Dec 03 2011 Francois Andriot <francois.andriot@free.fr> - 0.7-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
||||
|
@ -0,0 +1,136 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg kpicosim
|
||||
%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: IDE and simulator for the Xilinx PicoBlaze-3 [Trinity]
|
||||
Version: 0.6a
|
||||
Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org
|
||||
|
||||
Prefix: %{tde_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
|
||||
%description
|
||||
kpicosim is a development environment for the Xilinx
|
||||
PicoBlaze-3 soft-core processor for the TDE Desktop (Linux).
|
||||
The environment has an editor with syntax highlighting, compiler,
|
||||
simulator and export functions to VHDL, HEX and MEM files.
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--mandir=%{tde_mandir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--disable-rpath \
|
||||
--with-extra-includes=:%{tde_tdeincludedir}
|
||||
|
||||
# SMP safe !
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
|
||||
%find_lang %{tde_pkg} || touch %{tde_pkg}.lang
|
||||
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
|
||||
%postun
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
|
||||
|
||||
%files -f %{tde_pkg}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS ChangeLog COPYING NEWS README
|
||||
%{tde_bindir}/kpicosim
|
||||
%{tde_datadir}/applnk/Development/kpicosim.desktop
|
||||
%{tde_datadir}/apps/katepart/syntax/psm.xml
|
||||
%{tde_datadir}/apps/kpicosim
|
||||
%{tde_tdedocdir}/HTML/en/kpicosim
|
||||
%{tde_datadir}/icons/hicolor/*/apps/kpicosim.png
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.6a-4
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.6a-3
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.6a-2
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Wed Nov 30 2011 Francois Andriot <francois.andriot@free.fr> - 0.6a-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
@ -0,0 +1,185 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg kpilot
|
||||
%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: TDE Palm Pilot hot-sync tool
|
||||
Version: 0.7
|
||||
Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org
|
||||
|
||||
Prefix: %{tde_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
||||
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
BuildRequires: pilot-link-devel
|
||||
BuildRequires: trinity-kdepim-devel
|
||||
|
||||
%description
|
||||
KPilot is an application that synchronizes your Palm Pilot or similar device
|
||||
(like the Handspring Visor) with your TDE desktop, much like the Palm HotSync
|
||||
software does for Windows. KPilot can back-up and restore your Palm Pilot
|
||||
and synchronize the built-in applications with their TDE counterparts.
|
||||
|
||||
|
||||
%if 0%{?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/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--mandir=%{tde_mandir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--disable-rpath \
|
||||
--with-extra-includes=:%{tde_tdeincludedir}
|
||||
|
||||
# SMP safe !
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
# Unwanted files
|
||||
%__rm -f %{?buildroot}%{tde_libdir}/libkpilot.so
|
||||
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
update-desktop-database %{tde_appdir} > /dev/null
|
||||
for f in hicolor locolor crystalsvg; do
|
||||
touch --no-create %{tde_datadir}/icons/${f} || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
|
||||
done
|
||||
/sbin/ldconfig || :
|
||||
|
||||
%postun
|
||||
update-desktop-database %{tde_appdir} > /dev/null
|
||||
for f in hicolor locolor crystalsvg; do
|
||||
touch --no-create %{tde_datadir}/icons/${f} || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
|
||||
done
|
||||
/sbin/ldconfig || :
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_bindir}/kpalmdoc
|
||||
%{tde_bindir}/kpilot
|
||||
%{tde_bindir}/kpilotDaemon
|
||||
%{tde_tdeincludedir}/kpilot
|
||||
%{tde_libdir}/libkpilot.la
|
||||
%{tde_libdir}/libkpilot.so.0
|
||||
%{tde_libdir}/libkpilot.so.0.0.0
|
||||
%{tde_tdelibdir}/conduit_address.la
|
||||
%{tde_tdelibdir}/conduit_address.so
|
||||
%{tde_tdelibdir}/conduit_doc.la
|
||||
%{tde_tdelibdir}/conduit_doc.so
|
||||
%{tde_tdelibdir}/conduit_knotes.la
|
||||
%{tde_tdelibdir}/conduit_knotes.so
|
||||
%{tde_tdelibdir}/conduit_memofile.la
|
||||
%{tde_tdelibdir}/conduit_memofile.so
|
||||
%{tde_tdelibdir}/conduit_notepad.la
|
||||
%{tde_tdelibdir}/conduit_notepad.so
|
||||
%{tde_tdelibdir}/conduit_popmail.la
|
||||
%{tde_tdelibdir}/conduit_popmail.so
|
||||
%{tde_tdelibdir}/conduit_sysinfo.la
|
||||
%{tde_tdelibdir}/conduit_sysinfo.so
|
||||
%{tde_tdelibdir}/conduit_time.la
|
||||
%{tde_tdelibdir}/conduit_time.so
|
||||
%{tde_tdelibdir}/conduit_todo.la
|
||||
%{tde_tdelibdir}/conduit_todo.so
|
||||
%{tde_tdelibdir}/conduit_vcal.la
|
||||
%{tde_tdelibdir}/conduit_vcal.so
|
||||
%{tde_tdelibdir}/kcm_kpilot.la
|
||||
%{tde_tdelibdir}/kcm_kpilot.so
|
||||
%{tde_tdeappdir}/kpalmdoc.desktop
|
||||
%{tde_tdeappdir}/kpilot.desktop
|
||||
%{tde_tdeappdir}/kpilotdaemon.desktop
|
||||
%{tde_datadir}/apps/kaddressbook/contacteditorpages/KPilotCustomFieldEditor.ui
|
||||
%{tde_datadir}/apps/tdeconf_update/kpalmdoc.upd
|
||||
%{tde_datadir}/apps/tdeconf_update/kpilot.upd
|
||||
%{tde_datadir}/apps/kpilot
|
||||
%{tde_datadir}/config.kcfg/*.kcfg
|
||||
%{tde_datadir}/icons/crystalsvg/*/apps/*.png
|
||||
%{tde_datadir}/icons/hicolor/*/apps/*.png
|
||||
%{tde_datadir}/icons/locolor/*/apps/*.png
|
||||
%{tde_datadir}/services/*.desktop
|
||||
%{tde_datadir}/servicetypes/kpilotconduit.desktop
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.7-5
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.7-4
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.7-3
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Wed May 02 2012 Francois Andriot <francois.andriot@free.fr> - 0.7-2
|
||||
- Rebuild for Fedora 17
|
||||
|
||||
* Wed Nov 30 2011 Francois Andriot <francois.andriot@free.fr> - 0.7-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
@ -0,0 +1,168 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg kpowersave
|
||||
%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}
|
||||
Version: 0.7.3
|
||||
Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
|
||||
Summary: HAL based power management applet for Trinityfiles or directories.
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Prefix: %{tde_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
||||
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: hal-devel
|
||||
BuildRequires: trinity-dbus-tqt-devel
|
||||
|
||||
|
||||
%description
|
||||
KPowersave is a TDE systray applet which allows to control the power
|
||||
management settings and policies of your computer.
|
||||
It relies on HAL to do the heavy lifting.
|
||||
|
||||
Current feature list:
|
||||
* support for ACPI, APM and PMU
|
||||
* trigger suspend to disk/ram and standby
|
||||
* switch cpu frequency policy (between: performance, dynamic and powersave)
|
||||
* applet icon with information about AC state, battery fill and battery
|
||||
(warning) states
|
||||
* applet tooltip with information about battery fill and remaining battery
|
||||
time/percentage
|
||||
* autosuspend (to suspend the machine if the user has been inactive for a
|
||||
defined time)
|
||||
* a global configurable blacklist with programs which prevent autosuspend
|
||||
(e.g. videoplayer and cd burning tools)
|
||||
* trigger lock screen and select the lock method
|
||||
* KNotify support
|
||||
* online help
|
||||
* localisations for many languages
|
||||
|
||||
KPowersave supports schemes with following configurable specific
|
||||
settings for:
|
||||
* screensaver
|
||||
* DPMS
|
||||
* autosuspend
|
||||
* scheme specific blacklist for autosuspend
|
||||
* notification settings
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{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_INSTALL_PREFIX=%{tde_prefix} \
|
||||
-DBIN_INSTALL_DIR=%{tde_bindir} \
|
||||
-DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
|
||||
-DLIB_INSTALL_DIR=%{tde_libdir} \
|
||||
-DSHARE_INSTALL_PREFIX=%{tde_datadir} \
|
||||
-DCMAKE_SKIP_RPATH="OFF" \
|
||||
..
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot} -C build
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
update-desktop-database %{tde_appdir} > /dev/null
|
||||
/sbin/ldconfig
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
|
||||
%postun
|
||||
update-desktop-database %{tde_appdir} > /dev/null
|
||||
/sbin/ldconfig
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS ChangeLog COPYING NEWS README TODO
|
||||
%{tde_bindir}/kpowersave
|
||||
%{tde_libdir}/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
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.7.3-5
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.7.3-4
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.7.3-3
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Sat Nov 26 2011 Francois Andriot <francois.andriot@free.fr> - 0.7.3-2
|
||||
- Add missing /sbin/ldconfig
|
||||
- Add missing doc file
|
||||
|
||||
* Sat Nov 19 2011 Francois Andriot <francois.andriot@free.fr> - 0.7.3-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
@ -0,0 +1,151 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg krename
|
||||
%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: A TDE batch file renaming utility.
|
||||
Version: 3.0.14
|
||||
Release: %{?!preversion:7}%{?preversion:6_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Prefix: %{tde_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
%description
|
||||
KRename is a powerful batch renamer for TDE. It allows you to easily rename hundreds or
|
||||
even more files in one go. The filenames can be created by parts of the original filename,
|
||||
numbering the files or accessing hundreds of informations about the file, like creation date
|
||||
or Exif informations of an image.
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--mandir=%{tde_mandir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--disable-rpath \
|
||||
--enable-closure
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%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
|
||||
update-desktop-database %{tde_appdir} &> /dev/null
|
||||
|
||||
%postun
|
||||
for f in hicolor locolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/${f} || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
|
||||
done
|
||||
update-desktop-database %{tde_appdir} &> /dev/null
|
||||
|
||||
%files -f %{tde_pkg}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS COPYING
|
||||
%{tde_bindir}/krename
|
||||
%{tde_tdeappdir}/krename.desktop
|
||||
%{tde_datadir}/apps/konqueror/servicemenus/krename_dir.desktop
|
||||
%{tde_datadir}/apps/konqueror/servicemenus/krenameservicemenu.desktop
|
||||
%{tde_datadir}/apps/krename/
|
||||
%{tde_tdedocdir}/HTML/en/krename/
|
||||
%{tde_datadir}/icons/hicolor/*/apps/krename.png
|
||||
%{tde_datadir}/icons/locolor/*/apps/krename.png
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 3.0.14-7
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.0.14-6
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 3.0.14-5
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Wed May 02 2012 Francois Andriot <francois.andriot@free.fr> - 3.0.14-4
|
||||
- Rebuild for Fedora 17
|
||||
- Fix HTML directory location
|
||||
|
||||
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 3.0.14-3
|
||||
- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15
|
||||
|
||||
* Tue Sep 14 2011 Francois Andriot <francois.andriot@free.fr> - 3.0.14-2
|
||||
- Import to GIT
|
||||
|
||||
* Wed Aug 24 2011 Francois Andriot <francois.andriot@free.fr> - 3.0.14-1
|
||||
- Correct macro to install under "/opt", if desired
|
||||
|
||||
* Sun Aug 14 2011 Francois Andriot <francois.andriot@free.fr> - 3.0.14-0
|
||||
- Initial release for RHEL 6.0
|
||||
|
@ -0,0 +1,165 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg krusader
|
||||
%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: twin-panel (commander-style) file manager for TDE (and other desktops)
|
||||
Version: 1.90.0
|
||||
Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Prefix: %{tde_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebindings-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
|
||||
%description
|
||||
Krusader is a simple, easy, powerful, twin-panel (commander-style) file
|
||||
manager for TDE and other desktops, similar to Midnight Commander (C) or Total
|
||||
Commander (C).
|
||||
|
||||
It provides all the file management features you could possibly want.
|
||||
|
||||
Plus: extensive archive handling, mounted filesystem support, FTP,
|
||||
advanced search module, viewer/editor, directory synchronisation,
|
||||
file content comparisons, powerful batch renaming and much much more.
|
||||
|
||||
It supports archive formats: ace, arj, bzip2, deb, iso, lha, rar, rpm, tar,
|
||||
zip and 7-zip.
|
||||
|
||||
It handles KIOSlaves such as smb:// or fish://.
|
||||
|
||||
Almost completely customizable, Krusader is very user friendly, fast and looks
|
||||
great on your desktop.
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--mandir=%{tde_mandir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--disable-rpath \
|
||||
--with-extra-includes=
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
%find_lang %{tde_pkg}
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
update-desktop-database %{tde_appdir} > /dev/null
|
||||
for f in crystalsvg locolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/${f} || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
|
||||
done
|
||||
|
||||
%postun
|
||||
update-desktop-database %{tde_appdir} > /dev/null
|
||||
for f in crystalsvg locolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/${f} || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
|
||||
done
|
||||
|
||||
|
||||
%files -f %{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_tdedocdir}/HTML/en/krusader/
|
||||
%lang(ru) %{tde_tdedocdir}/HTML/ru/krusader/
|
||||
%{tde_datadir}/icons/crystalsvg/*/apps/*.png
|
||||
%{tde_datadir}/icons/locolor/*/apps/*.png
|
||||
%{tde_datadir}/services/krarc.protocol
|
||||
%{tde_datadir}/services/virt.protocol
|
||||
%{tde_mandir}/man1/krusader.1
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 1.90.0-5
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.90.0-4
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 1.90.0-3
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Wed May 02 2012 Francois Andriot <francois.andriot@free.fr> - 1.90.0-2
|
||||
- Rebuild for Fedora 17
|
||||
- GCC 4.7 fixes. [Commit #fdf6d340]
|
||||
|
||||
* Sat Dec 03 2011 Francois Andriot <francois.andriot@free.fr> - 1.90.0-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
||||
|
@ -0,0 +1,135 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg ksplash-engine-moodin
|
||||
%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: fading splash screen engine for Trinity
|
||||
Version: 0.4.2
|
||||
Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Prefix: %{tde_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
|
||||
%description
|
||||
Heavily customizable engine for various types of themes.
|
||||
|
||||
Features:
|
||||
* scale cache
|
||||
* fading images
|
||||
* use current icon set or custom images
|
||||
* unlimited Custom text labels
|
||||
* set fading delay and length
|
||||
* custom image arrangement
|
||||
* resolution independent themes
|
||||
|
||||
This TDE splash screen engine is based upon Linspire's
|
||||
engine by Sean Meiners <Sean.Meiners@LinspireInc.com>
|
||||
|
||||
Homepage: http://moodwrod.com
|
||||
|
||||
|
||||
%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/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--mandir=%{tde_mandir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--disable-rpath \
|
||||
--with-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,-)
|
||||
%{tde_tdelibdir}/ksplashmoodin.la
|
||||
%{tde_tdelibdir}/ksplashmoodin.so
|
||||
%{tde_datadir}/apps/ksplash/Themes/FingerPrint/
|
||||
%{tde_datadir}/apps/ksplash/Themes/MoodinKDE/
|
||||
%{tde_datadir}/services/ksplashmoodin.desktop
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.4.2-5
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.4.2-4
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.4.2-3
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Wed May 02 2012 Francois Andriot <francois.andriot@free.fr> - 0.4.2-2
|
||||
- Rebuild for Fedora 17
|
||||
- Removes post and postun
|
||||
|
||||
* Sat Nov 19 2011 Francois Andriot <francois.andriot@free.fr> - 0.4.2-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
@ -0,0 +1,160 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg ksquirrel
|
||||
%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: Powerful Trinity image viewer
|
||||
Version: 0.8.0
|
||||
Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Amusements/Games
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Prefix: %{tde_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
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: libkexif-devel
|
||||
|
||||
%description
|
||||
KSquirrel is an image viewer for TDE with disk navigator, file tree,
|
||||
multiple directory view, thumbnails, extended thumbnails, dynamic
|
||||
format support, DCOP interface, KEXIF and KIPI plugins support.
|
||||
|
||||
KSquirrel is a fast and convenient image viewer for TDE featuring
|
||||
OpenGL and dynamic format support.
|
||||
|
||||
|
||||
%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/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
|
||||
# Specific path for RHEL4
|
||||
if [ -d /usr/X11R6 ]; then
|
||||
export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
|
||||
fi
|
||||
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--mandir=%{tde_mandir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--disable-rpath \
|
||||
--with-extra-includes=
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
%find_lang %{tde_pkg}
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
update-desktop-database %{tde_appdir} > /dev/null
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
|
||||
%postun
|
||||
update-desktop-database %{tde_appdir} > /dev/null
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
|
||||
|
||||
%files -f %{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
|
||||
%{tde_datadir}/apps/dolphin/servicemenus/dolphksquirrel-dir.desktop
|
||||
%{tde_datadir}/apps/konqueror/servicemenus/konqksquirrel-dir.desktop
|
||||
%{tde_datadir}/apps/ksquirrel/
|
||||
%{tde_datadir}/apps/ksquirrelpart/ksquirrelpart.rc
|
||||
%{tde_datadir}/config/magic/x-ras.magic
|
||||
%{tde_datadir}/config/magic/x-sun.magic
|
||||
%{tde_datadir}/config/magic/x-utah.magic
|
||||
%{tde_tdedocdir}/HTML/*/ksquirrel
|
||||
%{tde_datadir}/icons/hicolor/*/apps/ksquirrel.png
|
||||
%{tde_datadir}/mimelnk/image/*.desktop
|
||||
%{tde_datadir}/services/ksquirrelpart.desktop
|
||||
%{tde_datadir}/locale/*/LC_MESSAGES/ksquirrel.mo
|
||||
%{tde_mandir}/man1/ksquirrel.1
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.8.0-5
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.8.0-4
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.8.0-3
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Wed May 02 2012 Francois Andriot <francois.andriot@free.fr> - 0.8.1-2
|
||||
- Rebuild for Fedora 17
|
||||
- Fix HTML directory location
|
||||
|
||||
* Sun Nov 20 2011 Francois Andriot <francois.andriot@free.fr> - 0.8.0-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
@ -0,0 +1,129 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg kstreamripper
|
||||
%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: TDE frontend for streamripper
|
||||
|
||||
Version: 0.3.4
|
||||
Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Prefix: %{tde_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-arts-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: scons
|
||||
|
||||
|
||||
%description
|
||||
KStreamRipper is a small frontend for the streamripper command
|
||||
line utility. Streamripper captures internet shoutcast radio streams
|
||||
on your harddisk and splits them up in mp3 files. KStreamRipper helps
|
||||
you with managing/ripping your preferred streams.
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
|
||||
export QTDIR=/usr
|
||||
scons -Q -j4
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
|
||||
|
||||
## File lists
|
||||
# HTML (1.0)
|
||||
HTML_DIR=$(tde-config --expandvars --install html)
|
||||
if [ -d %{buildroot}$HTML_DIR ]; then
|
||||
for lang_dir in %{buildroot}$HTML_DIR/* ; do
|
||||
if [ -d $lang_dir ]; then
|
||||
lang=$(basename $lang_dir)
|
||||
echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
|
||||
# replace absolute symlinks with relative ones
|
||||
pushd $lang_dir
|
||||
for i in *; do
|
||||
[ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common
|
||||
done
|
||||
popd
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_bindir}/kstreamripper
|
||||
%{tde_datadir}/applnk/Utilities/kstreamripper.desktop
|
||||
%{tde_datadir}/apps/kstreamripper/kstreamripperui.rc
|
||||
%{tde_tdedocdir}/HTML/en/kstreamripper/
|
||||
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.3.4-4
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.3.4-3
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.3.4-2
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Wed Nov 02 2011 Francois Andriot <francois.andriot@free.fr> - 0.3.4-1
|
||||
- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15
|
@ -0,0 +1,134 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg ksystemlog
|
||||
%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: system log viewer tool for Trinity
|
||||
Version: 0.3.2
|
||||
Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/System
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://ksystemlog.forum-software.org
|
||||
|
||||
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-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
|
||||
%description
|
||||
ksystemlog is a system log viewer tool for Trinity.
|
||||
|
||||
This program is developed for being used by beginner users, which don't know
|
||||
how to find information about their Linux system, and how the log files are in
|
||||
their computer. But it is also designed for advanced users, who want to
|
||||
quickly see problems occuring on their server.
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--mandir=%{tde_mandir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--disable-rpath \
|
||||
--enable-closure
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
|
||||
%postun
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS ChangeLog COPYING README
|
||||
%{tde_bindir}/ksystemlog
|
||||
%{tde_datadir}/applnk/Utilities/ksystemlog.desktop
|
||||
%{tde_datadir}/apps/ksystemlog/ksystemlogui.rc
|
||||
%{tde_datadir}/config.kcfg/ksystemlog.kcfg
|
||||
%{tde_datadir}/icons/hicolor/*/apps/ksystemlog.png
|
||||
%{tde_datadir}/icons/hicolor/*/apps/ksystemlog.svgz
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.3.2-4
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.3.2-3
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.3.2-2
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Sat Dec 03 2011 Francois Andriot <francois.andriot@free.fr> - 0.3.2-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
||||
|
@ -0,0 +1,142 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg ktechlab
|
||||
%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: circuit simulator for microcontrollers and electronics [Trinity]
|
||||
Version: 0.3
|
||||
Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Prefix: %{tde_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
|
||||
%description
|
||||
KTechlab is a circuit simulator with a nice, clickable and discoverable
|
||||
interface. It supports many discrete components, logic circuits as well
|
||||
as PIC programming in its own Basic dialect and some form of assembler.
|
||||
|
||||
Homepage: http://ktechlab.org/
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR 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} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--mandir=%{tde_mandir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--disable-rpath \
|
||||
--with-extra-includes=
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
%find_lang %{tde_pkg}
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
|
||||
%postun
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
|
||||
|
||||
%files -f %{tde_pkg}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_bindir}/ktechlab
|
||||
%{tde_bindir}/microbe
|
||||
%{tde_datadir}/applnk/Development/ktechlab.desktop
|
||||
%{tde_datadir}/apps/katepart/syntax/microbe.xml
|
||||
%{tde_datadir}/apps/ktechlab
|
||||
%{tde_datadir}/config.kcfg/ktechlab.kcfg
|
||||
%{tde_tdedocdir}/HTML/en/ktechlab/
|
||||
%{tde_datadir}/icons/hicolor/*/*/*.png
|
||||
%{tde_datadir}/mimelnk/application/x-circuit.desktop
|
||||
%{tde_datadir}/mimelnk/application/x-flowcode.desktop
|
||||
%{tde_datadir}/mimelnk/application/x-ktechlab.desktop
|
||||
%{tde_datadir}/mimelnk/application/x-microbe.desktop
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.3-5
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.3-4
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.3-3
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Fri Nov 25 2011 Francois Andriot <francois.andriot@free.fr> - 0.3-2
|
||||
- Fix HTML directory location
|
||||
|
||||
* Thu Nov 24 2011 Francois Andriot <francois.andriot@free.fr> - 0.3-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
||||
- Fix list of icons to install [Bug #990]
|
@ -0,0 +1,182 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg ktorrent
|
||||
%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: BitTorrent client for Trinity
|
||||
Version: 2.2.8
|
||||
Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://ktorrent.org
|
||||
|
||||
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-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
|
||||
%description
|
||||
KTorrent is a BitTorrent program for Trinity. Its features include speed capping
|
||||
(both down and up), integrated searching, UDP tracker support, preview of
|
||||
certain file types (video and audio) and integration into the TDE Panel
|
||||
enabling background downloading.
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR 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}" \
|
||||
--libdir="%{tde_libdir}" \
|
||||
--mandir="%{tde_mandir}" \
|
||||
--includedir="%{tde_tdeincludedir}" \
|
||||
--disable-rpath \
|
||||
--with-extra-includes=""
|
||||
|
||||
|
||||
# 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}"
|
||||
|
||||
|
||||
%post
|
||||
update-desktop-database %{tde_appdir} > /dev/null
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
/sbin/ldconfig || :
|
||||
|
||||
%postun
|
||||
update-desktop-database %{tde_appdir} > /dev/null
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
/sbin/ldconfig || :
|
||||
|
||||
|
||||
%files -f %{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
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 2.2.8-4
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 2.2.8-3
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 2.2.8-2
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Sat May 05 2012 Francois Andriot <francois.andriot@free.fr> - 2.2.8-1
|
||||
- Rename old tq methods that no longer need a unique name [Commit #a90eb215]
|
||||
- Remove additional unneeded tq method conversions [Commit #bb37c405]
|
||||
- Rename obsolete tq methods to standard names [Commit #0d48fca8]
|
||||
- Rename a few stragglers [Commit #c3480dfe]
|
||||
- Fix inadvertent "TQ" changes. [Commit #445a5152]
|
||||
- Fix configure output message to clarify that missing avahi support is caused by missing avahi-tqt package as well as avahi-client. [Commit #03d0c794]
|
||||
- Update ktorrent package to 2.2.8 and fix internal geoip database. [Bug #363] [Commit #5af9907f]
|
||||
- Change default configuration to use external geoip database when found and use internal database only when external database is not found. [Bug #443] [Commit #355c6b69]
|
||||
|
||||
* Tue Nov 29 2011 Francois Andriot <francois.andriot@free.fr> - 2.2.6-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
@ -0,0 +1,226 @@
|
||||
# REMOVE TDELIBS4-DEVEL before building !!!!
|
||||
|
||||
# Default version for this component
|
||||
%define tde_pkg kvirc
|
||||
%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: Trinity based next generation IRC client with module support
|
||||
Version: 3.4.0
|
||||
Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://kvirc.net/
|
||||
|
||||
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-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
Requires: %{name}-data = %{version}-%{release}
|
||||
|
||||
%description
|
||||
A highly configurable graphical IRC client with an MDI interface,
|
||||
built-in scripting language, support for IRC DCC, drag & drop file
|
||||
browsing, and much more. KVIrc uses the 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} = %{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 K Desktop Environment version 3.
|
||||
|
||||
%package devel
|
||||
Group: Development/Libraries
|
||||
Summary: Development files for KVIrc
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
This package contains KVIrc libraries and include files you need if you
|
||||
want to develop plugins for KVIrc.
|
||||
|
||||
KVIrc is a graphical IRC client based on the TDE widget set which integrates
|
||||
with the K Desktop Environment version 3.
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
# Hardcoded absolute PATH to TDEDIR in source code ! That sucks !
|
||||
%__sed -i "src/kvirc/kernel/kvi_app_fs.cpp" \
|
||||
-e "s|/opt/kde3/lib|%{tde_prefix}/%{_lib}|g"
|
||||
%__sed -i "src/kvirc/kernel/kvi_app_setup.cpp" \
|
||||
-e "s|/opt/kde3|%{tde_prefix}|g"
|
||||
|
||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
./autogen.sh
|
||||
|
||||
# Fix Q_OBJECT => TQ_OBJECT
|
||||
#%__sed -i src/*/*/*.h src/*/*/*.sh \
|
||||
# -e "s|Q_OBJECT|TQ_OBJECT|"
|
||||
|
||||
|
||||
%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} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--mandir=%{tde_mandir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--with-big-channels \
|
||||
--enable-perl --with-pic --enable-wall \
|
||||
--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}/tqmoc
|
||||
|
||||
# Symbolic links must exist prior to parallel building
|
||||
%__make symlinks -C src/kvilib/build
|
||||
%__make symlinks -C src/kvirc/build
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
# Debian maintainer has renamed 'COPYING' file to 'EULA', so we do the same ...
|
||||
%__mv \
|
||||
%{?buildroot}%{tde_datadir}/kvirc/3.4/license/COPYING \
|
||||
%{?buildroot}%{tde_datadir}/kvirc/3.4/license/EULA
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc ChangeLog FAQ README TODO
|
||||
%{tde_bindir}/kvirc
|
||||
%{tde_libdir}/*.so.*
|
||||
#%{tde_libdir}/kvirc/*/modules/*.so
|
||||
|
||||
%files data
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_bindir}/kvi_run_netscape
|
||||
%{tde_bindir}/kvi_search_help
|
||||
#%{tde_libdir}/kvirc/*/modules/caps/
|
||||
%{tde_datadir}/applnk/Internet/kvirc.desktop
|
||||
%{tde_datadir}/icons/hicolor/*/*/*.png
|
||||
%{tde_datadir}/icons/hicolor/*/*/*.svgz
|
||||
%{tde_datadir}/icons/hicolor/*/*/*.xpm
|
||||
%{tde_datadir}/kvirc
|
||||
%{tde_datadir}/mimelnk/text/*.desktop
|
||||
%{tde_datadir}/services/*.protocol
|
||||
%{tde_mandir}/man1/kvirc.1
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_bindir}/kvirc-config
|
||||
%{tde_includedir}/kvirc/
|
||||
%{tde_libdir}/*.la
|
||||
%{tde_libdir}/*.so
|
||||
#%{tde_libdir}/kvirc/*/modules/*.la
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 3.4.0-5
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.4.0-4
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 3.4.0-3
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Sat May 05 2012 Francois Andriot <francois.andriot@free.fr> - 3.4.0-2
|
||||
- Rebuilt for Fedora 17
|
||||
- Fix HTML directory location
|
||||
- Rename old tq methods that no longer need a unique name [Commit #32a249ba]
|
||||
- Remove additional unneeded tq method conversions [Commit #f9114981]
|
||||
- Rename obsolete tq methods to standard names [Commit #2dd6d32b]
|
||||
- Rename a few stragglers [Commit #1c00d6ff]
|
||||
- Fix FTBFS [Commits #ff96f491, #2285efe5]
|
||||
- Fix linear alphabet string errors [Commit #51bbe9e5]
|
||||
- Fix inadvertent "TQ" changes. [Commit #a24a8595]
|
||||
- Fix "acinclude.m4" file [Bug #980]
|
||||
|
||||
* Fri Nov 25 2011 Francois Andriot <francois.andriot@free.fr> - 3.4.0-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
@ -0,0 +1,128 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg kvkbd
|
||||
%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: Virtual keyboard for TDE [Trinity]
|
||||
Version: 0.4.8
|
||||
Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/System
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://pan4os.info/main/index.php
|
||||
|
||||
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-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
|
||||
%description
|
||||
Virtual keyboard for TDE for use with accessibility. Application contains
|
||||
a systray widget as well as a dockwidget.
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR 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} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--mandir=%{tde_mandir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--disable-rpath \
|
||||
--enable-closure
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
|
||||
%postun
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS ChangeLog COPYING NEWS README TODO
|
||||
%{tde_bindir}/kvkbd
|
||||
%{tde_datadir}/applnk/Utilities/kvkbd.desktop
|
||||
%{tde_datadir}/apps/kvkbd/pics/dock.png
|
||||
%{tde_datadir}/apps/kvkbd/pics/tray.png
|
||||
%{tde_datadir}/icons/hicolor/*/apps/kvkbd.png
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.4.8-4
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.4.8-3
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.4.8-2
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Sat Dec 03 2011 Francois Andriot <francois.andriot@free.fr> - 0.4.8-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
||||
|
@ -0,0 +1,136 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg kvpnc
|
||||
%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: vpn clients frontend for TDE
|
||||
Version: 0.9.6a
|
||||
Release: %{?!preversion:7}%{?preversion:6_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
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-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: trinity-arts-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
%description
|
||||
KVpnc is a TDE frontend for various vpn clients.
|
||||
|
||||
It supports :
|
||||
* Cisco-compatible VPN client (vpnc)
|
||||
* IPSec (freeswan, openswan, racoon)
|
||||
* Point-to-Point Tunneling Protocol (PPTP) client (pptp-linux)
|
||||
* Virtual Private Network daemon (openvpn)
|
||||
|
||||
|
||||
%if 0%{?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/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--mandir=%{tde_mandir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--disable-rpath \
|
||||
--enable-closure
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
export PATH="%{_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
|
||||
update-desktop-database %{tde_appdir} -q &> /dev/null ||:
|
||||
|
||||
%postun
|
||||
for f in hicolor locolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/${f} || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
|
||||
done
|
||||
update-desktop-database %{tde_appdir} -q &> /dev/null ||:
|
||||
|
||||
|
||||
%files -f %{tde_pkg}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS ChangeLog COPYING README TODO
|
||||
%{tde_bindir}/kvpnc
|
||||
%{tde_datadir}/applnk/kvpnc.desktop
|
||||
%{tde_datadir}/apps/kvpnc/
|
||||
%lang(de) %{tde_datadir}/doc/tde/HTML/de/kvpnc/
|
||||
%lang(en) %{tde_datadir}/doc/tde/HTML/en/kvpnc/
|
||||
%lang(fr) %{tde_datadir}/doc/tde/HTML/fr/kvpnc/
|
||||
%{tde_datadir}/doc/tde/HTML/kvpnc/
|
||||
%lang(sv) %{tde_datadir}/doc/tde/HTML/sv/kvpnc/
|
||||
%{tde_datadir}/icons/hicolor/*/apps/kvpnc.png
|
||||
%{tde_datadir}/icons/locolor/*/apps/kvpnc.png
|
||||
|
||||
|
||||
%Changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.9.6a-1
|
||||
- Initial release for TDE 14.0.0
|
||||
|
@ -1,113 +0,0 @@
|
||||
# Default version for this component
|
||||
%define kdecomp kvpnc
|
||||
%define version 0.9.6a
|
||||
%define release 1
|
||||
|
||||
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
|
||||
%if "%{?_prefix}" != "/usr"
|
||||
%define _variant .opt
|
||||
%define _docdir %{_prefix}/share/doc
|
||||
%endif
|
||||
|
||||
# TDE 3.5.13 specific building variables
|
||||
BuildRequires: autoconf automake libtool m4
|
||||
%define tde_docdir %{_docdir}/kde
|
||||
%define tde_includedir %{_includedir}/kde
|
||||
%define tde_libdir %{_libdir}/trinity
|
||||
|
||||
|
||||
Name: trinity-%{kdecomp}
|
||||
Summary: vpn clients frontend for TDE
|
||||
Version: %{?version}
|
||||
Release: %{?release}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Prefix: %{_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{kdecomp}-master.tar.gz
|
||||
Source1: admin-master.tar.gz
|
||||
|
||||
BuildRequires: tqtinterface-devel
|
||||
BuildRequires: trinity-kdelibs-devel
|
||||
BuildRequires: trinity-kdebase-devel
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
%description
|
||||
KVpnc is a TDE frontend for various vpn clients.
|
||||
|
||||
It supports :
|
||||
* Cisco-compatible VPN client (vpnc)
|
||||
* IPSec (freeswan, openswan, racoon)
|
||||
* Point-to-Point Tunneling Protocol (PPTP) client (pptp-linux)
|
||||
* Virtual Private Network daemon (openvpn)
|
||||
|
||||
|
||||
%prep
|
||||
unset QTDIR; . /etc/profile.d/qt.sh
|
||||
%setup -q -n %{kdecomp}-master
|
||||
|
||||
# 'admin' folder from GIT
|
||||
%setup -q -n %{kdecomp}-master -a 1
|
||||
%__rm -rf admin
|
||||
%__mv -f admin-master admin
|
||||
|
||||
# Ugly hack to modify TQT include directory inside autoconf files.
|
||||
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
|
||||
%__sed -i admin/acinclude.m4.in \
|
||||
-e "s,/usr/include/tqt,%{_includedir}/tqt,g" \
|
||||
-e "s,kde_htmldir='.*',kde_htmldir='%{tde_docdir}/HTML',g"
|
||||
|
||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{_libdir} -I%{_includedir}"
|
||||
|
||||
%configure \
|
||||
--disable-rpath \
|
||||
--with-extra-includes=%{_includedir}/tqt \
|
||||
--enable-closure
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
touch --no-create %{_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
||||
/sbin/ldconfig || :
|
||||
|
||||
%postun
|
||||
touch --no-create %{_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
||||
/sbin/ldconfig || :
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS ChangeLog COPYING README TODO
|
||||
|
||||
|
||||
|
||||
%Changelog
|
||||
* Sat Dec 10 2011 Francois Andriot <francois.andriot@free.fr> - 0.9.6a-1
|
||||
- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
||||
|
@ -0,0 +1,158 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg piklab
|
||||
%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_tdedocdir}
|
||||
|
||||
|
||||
Name: trinity-%{tde_pkg}
|
||||
Summary: IDE for PIC-microcontroller development [Trinity]
|
||||
Version: 0.15.2
|
||||
Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Prefix: %{tde_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
BuildRequires: readline-devel
|
||||
|
||||
%description
|
||||
Piklab is an integrated development environment for applications based on
|
||||
Microchip PIC and dsPIC microcontrollers similar to the MPLAB environment.
|
||||
|
||||
Support for several compiler and assembler toolchains is integrated. The
|
||||
GPSim simulator, the ICD1 programmer, the ICD2 debugger, the PICkit1 and
|
||||
PICkit2 programmers, the PicStart+ programmer, and most direct programmers
|
||||
are supported. A command-line programmer and debugger are also available.
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR 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} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--mandir=%{tde_mandir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--disable-rpath \
|
||||
--with-extra-includes=
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
# Incorrect extension on manpage
|
||||
%__mv -f %{buildroot}%{tde_mandir}/man1/piklab.1x %{buildroot}%{tde_mandir}/man1/piklab.1
|
||||
|
||||
%find_lang %{tde_pkg}
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
update-desktop-database %{tde_appdir} > /dev/null
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
|
||||
%postun
|
||||
update-desktop-database %{tde_appdir} > /dev/null
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
|
||||
|
||||
%files -f %{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
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.15.2-6
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.15.2-5
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.15.2-4
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Sun Apr 06 2012 Francois Andriot <francois.andriot@free.fr> - 0.15.2-3
|
||||
- Fix MAN directory location
|
||||
- Fix compilation with GCC 4.7 [Bug #958]
|
||||
|
||||
* Fri Nov 25 2011 Francois Andriot <francois.andriot@free.fr> - 0.15.2-2
|
||||
- Fix HTML directory location
|
||||
|
||||
* Thu Nov 24 2011 Francois Andriot <francois.andriot@free.fr> - 0.15.2-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
@ -0,0 +1,134 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg potracegui
|
||||
%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_tdedocdir}
|
||||
|
||||
|
||||
Name: trinity-%{tde_pkg}
|
||||
Summary: TDE frontend for potrace [Trinity]
|
||||
Version: 1.3
|
||||
Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Multimedia
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://potracegui.sourceforge.net
|
||||
|
||||
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-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
|
||||
%description
|
||||
A TDE interface for the commandline tracing tools potrace and/or autotrace. It
|
||||
supports drag and drop as well as all image types recognized by TDE, which are
|
||||
a lot more than the 4 recognized by the potrace commandline tool. Loading of
|
||||
remote files (web, ftp, ...) is also supported.
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR 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} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--mandir=%{tde_mandir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--disable-rpath \
|
||||
--enable-closure
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
|
||||
%postun
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS ChangeLog COPYING NEWS README TODO
|
||||
%{tde_bindir}/potracegui
|
||||
%{tde_datadir}/applnk/Utilities/potracegui.desktop
|
||||
%{tde_datadir}/apps/potracegui/potraceguiui.rc
|
||||
%{tde_tdedocdir}/HTML/en/potracegui/common
|
||||
%{tde_tdedocdir}/HTML/en/potracegui/index.cache.bz2
|
||||
%{tde_tdedocdir}/HTML/en/potracegui/index.docbook
|
||||
%{tde_datadir}/icons/hicolor/16x16/apps/potracegui.png
|
||||
%{tde_datadir}/icons/hicolor/32x32/apps/potracegui.png
|
||||
%lang(de) %{tde_datadir}/locale/de/LC_MESSAGES/potracegui.mo
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 1.3-4
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.3-3
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 1.3-2
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Sat Dec 03 2011 Francois Andriot <francois.andriot@free.fr> - 1.3-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
||||
|
@ -0,0 +1,108 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg qt4-tqt-theme-engine
|
||||
%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: TDE theme engine for Qt4
|
||||
Version: 0.1
|
||||
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
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-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
BuildRequires: qt4-devel
|
||||
|
||||
%description
|
||||
TDE theme engine for Qt4
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%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 += /opt/trinity/include/tde|"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
|
||||
|
||||
# Use QT4's qmake
|
||||
%{_bindir}/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
|
||||
%{_qt4_plugindir}/styles/libsimplestyleplugin.so
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.1-1
|
||||
- Initial release for TDE 14.0.0
|
@ -0,0 +1,222 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg rosegarden
|
||||
%define tde_version 14.0.0
|
||||
|
||||
# Required for Mageia 2: removes the ldflag '--no-undefined'
|
||||
%define _disable_ld_no_undefined 1
|
||||
|
||||
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
|
||||
%if "%{?tde_prefix}" != "/usr"
|
||||
%define _variant .opt
|
||||
%endif
|
||||
|
||||
# TDE specific building variables
|
||||
%define tde_bindir %{tde_prefix}/bin
|
||||
%define tde_datadir %{tde_prefix}/share
|
||||
%define tde_docdir %{tde_datadir}/doc
|
||||
%define tde_includedir %{tde_prefix}/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_tdedocdir}
|
||||
|
||||
|
||||
Name: trinity-%{tde_pkg}
|
||||
Summary: music editor and MIDI/audio sequencer [Trinity]
|
||||
Version: 1.7.0
|
||||
Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Multimedia
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.rosegardenmusic.com/
|
||||
|
||||
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-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
BuildRequires: fftw-devel
|
||||
BuildRequires: dssi-devel
|
||||
BuildRequires: liblo-devel
|
||||
BuildRequires: fontconfig-devel
|
||||
|
||||
# LRDF support
|
||||
%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?suse_version}
|
||||
BuildRequires: liblrdf-devel
|
||||
%endif
|
||||
|
||||
# JACK support
|
||||
%if 0%{?mgaversion} || 0%{?mdkversion}
|
||||
BuildRequires: %{_lib}jack-devel
|
||||
%else
|
||||
BuildRequires: jack-audio-connection-kit-devel
|
||||
%endif
|
||||
|
||||
# LIRC support
|
||||
%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
|
||||
%define with_lirc 1
|
||||
BuildRequires: lirc-devel
|
||||
%endif
|
||||
|
||||
Requires: lilypond
|
||||
Requires: perl-XML-Twig
|
||||
|
||||
%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
|
||||
Requires: libsndfile-progs
|
||||
%else
|
||||
%if 0%{?rhel}
|
||||
Requires: libsndfile
|
||||
%else
|
||||
Requires: libsndfile-utils
|
||||
%endif
|
||||
%endif
|
||||
|
||||
|
||||
Requires: %{name}-data == %{version}-%{release}
|
||||
|
||||
%description
|
||||
Rosegarden is a 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} == %{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%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
export CMAKE_INCLUDE_PATH="%{tde_includedir}::%{tde_tdeincludedir}"
|
||||
|
||||
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
|
||||
%__mkdir_p build
|
||||
cd build
|
||||
%endif
|
||||
|
||||
%cmake \
|
||||
-DCMAKE_INSTALL_PREFIX=%{tde_prefix} \
|
||||
-DBIN_INSTALL_DIR=%{tde_bindir} \
|
||||
-DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
|
||||
-DLIB_INSTALL_DIR=%{tde_libdir} \
|
||||
-DSHARE_INSTALL_PREFIX=%{tde_datadir} \
|
||||
-DCMAKE_SKIP_RPATH="OFF" \
|
||||
-DWANT_DEBUG=OFF \
|
||||
-DWANT_FULLDBG=OFF \
|
||||
-DWANT_SOUND=ON \
|
||||
-DWANT_JACK=ON \
|
||||
-DWANT_DSSI=ON \
|
||||
%{?with_lirc:-DWANT_LIRC=ON} %{?!with_lirc:-DWANT_LIRC=OFF} \
|
||||
-DWANT_PCH=OFF \
|
||||
-DWANT_TEST=OFF \
|
||||
-DBUILD_ALL=ON \
|
||||
..
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot} -C build
|
||||
|
||||
# Unwanted files
|
||||
%__rm -f %{?buildroot}%{tde_libdir}/*.a
|
||||
|
||||
%find_lang %{tde_pkg}
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
update-desktop-database %{tde_appdir} > /dev/null
|
||||
for f in hicolor locolor; do
|
||||
touch --no-create %{tde_datadir}/icons/${f} || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
|
||||
done
|
||||
|
||||
%postun
|
||||
update-desktop-database %{tde_appdir} > /dev/null
|
||||
for f in hicolor locolor; do
|
||||
touch --no-create %{tde_datadir}/icons/${f} || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
|
||||
done
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_bindir}/rosegarden
|
||||
%{tde_bindir}/rosegarden-audiofile-importer
|
||||
%{tde_bindir}/rosegarden-lilypondview
|
||||
%{tde_bindir}/rosegarden-project-package
|
||||
%{tde_bindir}/rosegardensequencer
|
||||
|
||||
%files data -f %{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
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 1.7.0-5
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.7.0-4
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 1.7.0-3
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Sun Apr 06 2012 Francois Andriot <francois.andriot@free.fr> - 1.7.0-2
|
||||
- Updated to build with gcc 4.7. [Commit #15276f36]
|
||||
- Enables JACK support
|
||||
|
||||
* Sat Nov 26 2011 Francois Andriot <francois.andriot@free.fr> - 1.7.0-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
@ -0,0 +1,155 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg smartcardauth
|
||||
%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_tdedocdir}
|
||||
|
||||
|
||||
Name: trinity-%{tde_pkg}
|
||||
Summary: SmartCard Login and LUKS Decrypt, Setup Utility
|
||||
Version: 1.0
|
||||
Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/System
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Prefix: %{tde_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
#BuildRequires: perl-PAR-Packer
|
||||
%if 0%{?mgaversion} || 0%{?mdkversion}
|
||||
Requires: perl-pcsc-perl
|
||||
%endif
|
||||
%if 0%{?rhel} || 0%{?fedora}
|
||||
Requires: pcsc-perl
|
||||
%endif
|
||||
%if 0%{?suse_version}
|
||||
Requires: perl-pcsc
|
||||
%endif
|
||||
|
||||
%description
|
||||
This utility will allow you to set up your computer to accept a SmartCard as an authentication source for:
|
||||
- Your encrypted LUKS partition
|
||||
- TDE3.x, including automatic login, lock, and unlock features
|
||||
|
||||
It is designed to work with any ISO 7816-1,2,3,4 compliant smartcard
|
||||
Examples of such cards are:
|
||||
- The Schlumberger MultiFlex
|
||||
- The ACS ACOS5 / ACOS6 series of cryptographic ISO 7816 cards
|
||||
|
||||
If a card is chosen that has PKSC support, such as the ACOS cards, this utility can run
|
||||
simultaneously with the certificate reading program(s) to provide single sign on
|
||||
in addition to the PKCS certificate functionality
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
unset QTDIR QTINC QTLIB
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
%__sed -i "Makefile" \
|
||||
-e "s|/usr/lib/perl5/Chipcard|/usr/lib64/perl5/vendor_perl/Chipcard|g"
|
||||
|
||||
%build
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
|
||||
./build_ckpasswd
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
%__install -D -m 755 scriptor_standalone.pl %{buildroot}%{tde_bindir}/scriptor.pl
|
||||
%__install -D -m 755 src/ckpasswd %{buildroot}%{tde_bindir}/smartauthckpasswd
|
||||
#%__install -D -m 755 src/ckpasswd %{buildroot}%{tde_bindir}/smartauthmon
|
||||
%__ln_s smartauthckpasswd %{buildroot}%{tde_bindir}/smartauthmon
|
||||
%__cp -Rp usr/* %{buildroot}%{tde_prefix}
|
||||
|
||||
%__mkdir_p %{buildroot}%{_sysconfdir}
|
||||
%__cp -Rp etc/* %{buildroot}%{_sysconfdir}
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
update-desktop-database %{tde_appdir} > /dev/null
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
|
||||
%postun
|
||||
update-desktop-database %{tde_appdir} > /dev/null
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc gpl.txt
|
||||
%{_sysconfdir}/init/smartauthlogin.conf
|
||||
%{_sysconfdir}/smartauth/smartauth.sh.in
|
||||
%{_sysconfdir}/smartauth/smartauthmon.sh.in
|
||||
%{tde_bindir}/cryptosmartcard.sh
|
||||
%{tde_bindir}/scriptor.pl
|
||||
%{tde_bindir}/setupcard.sh
|
||||
%{tde_bindir}/setupslavecard.sh
|
||||
%{tde_bindir}/smartauth.sh
|
||||
%{tde_bindir}/smartauthckpasswd
|
||||
%{tde_bindir}/smartauthmon
|
||||
%{tde_datadir}/applications/smartcardauth.desktop
|
||||
%{tde_datadir}/applications/smartcardrestrict.desktop
|
||||
%{tde_datadir}/icons/hicolor/16x16/apps/smartcardauth.png
|
||||
%{tde_datadir}/icons/hicolor/32x32/apps/smartcardauth.png
|
||||
%{tde_datadir}/initramfs-tools/hooks/cryptlukssc
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 1.0-4
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.0-3
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 1.0-2
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Sat Dec 03 2011 Francois Andriot <francois.andriot@free.fr> - 1.0-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
||||
|
@ -0,0 +1,189 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg smb4k
|
||||
%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_tdedocdir}
|
||||
|
||||
|
||||
Name: trinity-%{tde_pkg}
|
||||
Summary: A Samba (SMB) share advanced browser for Trinity
|
||||
Version: 0.9.4
|
||||
Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org
|
||||
|
||||
Prefix: %{tde_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-arts-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
|
||||
%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/smb4k_shell.rc
|
||||
%{tde_datadir}/apps/smb4knetworkbrowserpart/smb4knetworkbrowser_part.rc
|
||||
%{tde_datadir}/apps/smb4ksharesiconviewpart/smb4ksharesiconview_part.rc
|
||||
%{tde_datadir}/apps/smb4kshareslistviewpart/smb4kshareslistview_part.rc
|
||||
%{tde_datadir}/config.kcfg/smb4k.kcfg
|
||||
%{tde_datadir}/icons/crystalsvg/*/apps/smb4k.png
|
||||
%{tde_tdedocdir}/HTML/en/smb4k/
|
||||
|
||||
%post
|
||||
update-desktop-database %{tde_appdir} > /dev/null
|
||||
touch --no-create %{tde_datadir}/icons/crystalsvg || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || :
|
||||
/sbin/ldconfig || :
|
||||
|
||||
%postun
|
||||
update-desktop-database %{tde_appdir} > /dev/null
|
||||
touch --no-create %{tde_datadir}/icons/crystalsvg || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || :
|
||||
/sbin/ldconfig || :
|
||||
|
||||
##########
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
%{summary}
|
||||
|
||||
%files devel
|
||||
%{tde_tdeincludedir}/*.h
|
||||
%{tde_libdir}/libsmb4kcore.la
|
||||
%{tde_libdir}/libsmb4kcore.so
|
||||
|
||||
%post devel
|
||||
/sbin/ldconfig || :
|
||||
|
||||
%postun devel
|
||||
/sbin/ldconfig || :
|
||||
|
||||
##########
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
|
||||
export TDEDIR="%{tde_prefix}"
|
||||
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--mandir=%{tde_mandir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--disable-rpath \
|
||||
--enable-closure
|
||||
|
||||
# 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}
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.9.4-5
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.9.4-4
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.9.4-3
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Sun Apr 08 2012 Francois Andriot <francois.andriot@free.fr> - 0.9.4-2
|
||||
- Rebuild for Fedora 17
|
||||
- Fix compilation with GCC 4.7 |Commit #b4c7fd48]
|
||||
|
||||
* Wed Nov 30 2011 Francois Andriot <francois.andriot@free.fr> - 0.9.4-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
@ -0,0 +1,182 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg soundkonverter
|
||||
%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_tdedocdir}
|
||||
|
||||
|
||||
Name: trinity-%{tde_pkg}
|
||||
Summary: audio converter frontend for Trinity
|
||||
Version: 0.3.8
|
||||
Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Application/Multimedia
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://potracegui.sourceforge.net
|
||||
|
||||
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-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
|
||||
%description
|
||||
soundKonverter is a frontend to various audio converters.
|
||||
|
||||
The key features are:
|
||||
- Audio conversion
|
||||
- Replay Gain calculation
|
||||
- CD ripping
|
||||
|
||||
soundKonverter supports reading and writing tags for many formats, so the tags
|
||||
are preserved when converting files.
|
||||
|
||||
It comes with an Amarok script.
|
||||
|
||||
See 'soundkonverter-amarok' package for more informations.
|
||||
|
||||
See README.Debian for more informations on supported formats.
|
||||
|
||||
|
||||
%package amarok
|
||||
Summary: audio converter frontend for Trinity (Amarok script)
|
||||
Group: Application/Multimedia
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: trinity-amarok
|
||||
|
||||
%description amarok
|
||||
Amarok script for soundKonverter. It allows you to easily transcode files when
|
||||
transferring them to your media device.
|
||||
|
||||
See the 'soundkonverter-trinity' package for more information.
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR 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} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--mandir=%{tde_mandir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--disable-rpath \
|
||||
--with-extra-includes=:/usr/include/cdda \
|
||||
--enable-closure
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
%find_lang %{tde_pkg}
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
update-desktop-database %{tde_appdir} > /dev/null
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
|
||||
%postun
|
||||
update-desktop-database %{tde_appdir} > /dev/null
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
|
||||
|
||||
%files -f %{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/README
|
||||
%exclude %{tde_datadir}/apps/soundkonverter/amarokscript/soundKonverter.rb
|
||||
%{tde_tdedocdir}/HTML/en/soundkonverter/common
|
||||
%{tde_tdedocdir}/HTML/en/soundkonverter/index.cache.bz2
|
||||
%{tde_tdedocdir}/HTML/en/soundkonverter/index.docbook
|
||||
%{tde_datadir}/icons/hicolor/*/apps/soundkonverter*.png
|
||||
%{tde_datadir}/mimelnk/application/x-la.soundkonverter.desktop
|
||||
%{tde_datadir}/mimelnk/application/x-ofc.soundkonverter.desktop
|
||||
%{tde_datadir}/mimelnk/application/x-ofr.soundkonverter.desktop
|
||||
%{tde_datadir}/mimelnk/application/x-ofs.soundkonverter.desktop
|
||||
%{tde_datadir}/mimelnk/application/x-shorten.soundkonverter.desktop
|
||||
%{tde_datadir}/mimelnk/audio/amr.soundkonverter.desktop
|
||||
%{tde_datadir}/mimelnk/audio/x-ape.soundkonverter.desktop
|
||||
%{tde_datadir}/mimelnk/audio/x-bonk.soundkonverter.desktop
|
||||
%{tde_datadir}/mimelnk/audio/x-pac.soundkonverter.desktop
|
||||
%{tde_datadir}/mimelnk/audio/x-tta.soundkonverter.desktop
|
||||
%{tde_datadir}/mimelnk/audio/x-wavpack-correction.soundkonverter.desktop
|
||||
%{tde_datadir}/mimelnk/audio/x-wavpack.soundkonverter.desktop
|
||||
%{tde_datadir}/mimelnk/video/x-flv.soundkonverter.desktop
|
||||
|
||||
%files amarok
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_datadir}/apps/soundkonverter/amarokscript/README
|
||||
%{tde_datadir}/apps/soundkonverter/amarokscript/soundKonverter.rb
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.3.8-4
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.3.8-3
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.3.8-2
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Sat Dec 03 2011 Francois Andriot <francois.andriot@free.fr> - 0.3.8-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
||||
|
@ -0,0 +1,439 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg abakus
|
||||
%define tde_version 14.0.0
|
||||
|
||||
# REMOVE TDELIBS4-DEVEL before building !!!!
|
||||
|
||||
%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||
|
||||
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
|
||||
%if "%{?tde_prefix}" != "/usr"
|
||||
%define _variant .opt
|
||||
%endif
|
||||
|
||||
# TDE specific building variables
|
||||
%define tde_bindir %{tde_prefix}/bin
|
||||
%define tde_datadir %{tde_prefix}/share
|
||||
%define tde_docdir %{tde_datadir}/doc
|
||||
%define tde_includedir %{tde_prefix}/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}
|
||||
|
||||
%define __arch_install_post %{nil}
|
||||
|
||||
Name: trinity-tde-guidance
|
||||
Summary: A collection of system administration tools for Trinity
|
||||
Version: 0.8.0svn20080103
|
||||
Release: %{?!preversion:7}%{?preversion:6_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.simonzone.com/software/guidance
|
||||
|
||||
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-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
BuildRequires: trinity-pytdeextensions
|
||||
BuildRequires: trinity-libpythonize0-devel
|
||||
BuildRequires: trinity-python-trinity
|
||||
BuildRequires: chrpath
|
||||
BuildRequires: gcc-c++
|
||||
|
||||
# SIP support
|
||||
%if 0%{?mgaversion} || 0%{?mdkversion}
|
||||
BuildRequires: python-sip
|
||||
%endif
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: python-sip-devel
|
||||
%endif
|
||||
%if 0%{?rhel} == 5
|
||||
BuildRequires: trinity-sip-devel
|
||||
%endif
|
||||
%if 0%{?rhel} >= 6 || 0%{?fedora}
|
||||
BuildRequires: sip-devel
|
||||
%endif
|
||||
|
||||
# PYTHON-QT support
|
||||
BuildRequires: trinity-python-tqt-devel
|
||||
BuildRequires: trinity-python-trinity-devel
|
||||
BuildRequires: trinity-pytqt-tools
|
||||
|
||||
Requires: trinity-python-tqt
|
||||
|
||||
Requires: trinity-python-trinity
|
||||
Requires: trinity-pytdeextensions
|
||||
Requires: %{name}-backends = %{version}-%{release}
|
||||
Requires: python
|
||||
%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
|
||||
Requires: hwdata
|
||||
%endif
|
||||
|
||||
|
||||
%if "%{tde_prefix}" == "/usr"
|
||||
Conflicts: guidance-power-manager
|
||||
Conflicts: kde-guidance-powermanager
|
||||
%endif
|
||||
|
||||
Obsoletes: trinity-guidance < %{version}-%{release}
|
||||
Provides: trinity-guidance = %{version}-%{release}
|
||||
|
||||
%description
|
||||
Guidance currently consists of four programs designed to help you
|
||||
look after your system:
|
||||
o userconfig - User and Group administration
|
||||
o serviceconfig - Service/daemon administration
|
||||
o mountconfig - Disk and filesystem administration
|
||||
o wineconfig - Wine configuration
|
||||
|
||||
These tools are available in Trinity Control Center, System Settings
|
||||
or can be run as standalone applications.
|
||||
|
||||
|
||||
|
||||
%package backends
|
||||
Group: Applications/Utilities
|
||||
Summary: collection of system administration tools for GNU/Linux [Trinity]
|
||||
%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
|
||||
Requires: hwdata
|
||||
%endif
|
||||
Requires: python
|
||||
|
||||
Obsoletes: trinity-guidance-backends < %{version}-%{release}
|
||||
Provides: trinity-guidance-backends = %{version}-%{release}
|
||||
|
||||
%description backends
|
||||
This package contains the platform neutral backends used in the
|
||||
Guidance configuration tools.
|
||||
|
||||
|
||||
%package powermanager
|
||||
Group: Applications/Utilities
|
||||
Summary: HAL based power manager applet [Trinity]
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
Obsoletes: trinity-guidance-powermanager < %{version}-%{release}
|
||||
Provides: trinity-guidance-powermanager = %{version}-%{release}
|
||||
|
||||
%description powermanager
|
||||
A power management applet to indicate battery levels and perform hibernate or
|
||||
suspend using HAL.
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
export TDEDIR=%{tde_prefix}
|
||||
|
||||
# Avoids 'error: byte-compiling is disabled.' on Mandriva/Mageia
|
||||
export PYTHONDONTWRITEBYTECODE=
|
||||
|
||||
# FTBFS on PCLOS ...
|
||||
export CXXFLAGS="${RPM_OPT_FLAGS} -I%{tde_tdeincludedir} -I%{tde_includedir}"
|
||||
|
||||
# Specific path for RHEL4
|
||||
if [ -d /usr/X11R6 ]; then
|
||||
export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
|
||||
%__sed -i "setup.py" -e "s|/usr/X11R6/lib|/usr/X11R6/%{_lib}|g"
|
||||
fi
|
||||
|
||||
./setup.py build
|
||||
|
||||
|
||||
%install
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
export EXTRA_MODULE_DIR="%{python_sitearch}/%{name}"
|
||||
|
||||
# For RHEL4 only
|
||||
export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/trinity-PyQt
|
||||
|
||||
# For Mageia/Mandriva: Avoids 'error: byte-compiling must be disabled.
|
||||
export PYTHONDONTWRITEBYTECODE=
|
||||
|
||||
%__rm -rf %{buildroot}
|
||||
./setup.py install \
|
||||
--prefix=%{tde_prefix} \
|
||||
--root=%{buildroot}
|
||||
|
||||
# Fix temporary build directories remaining inside .py files
|
||||
for f in %{buildroot}%{tde_datadir}/apps/guidance/*.py; do
|
||||
%__sed -i "${f}" -e "s|%{buildroot}||g"
|
||||
done
|
||||
|
||||
##### MAIN PACKAGE INSTALLATION (based on Debian/Ubuntu packaging rules)
|
||||
# install icons to right place
|
||||
%__mkdir_p %{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps
|
||||
%__mv -f %{buildroot}%{tde_datadir}/apps/guidance/pics/hi32-app-daemons.png \
|
||||
%{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps/daemons.png
|
||||
%__mv -f %{buildroot}%{tde_datadir}/apps/guidance/pics/kcmpartitions.png \
|
||||
%{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps/disksfilesystems.png
|
||||
%__mv -f %{buildroot}%{tde_datadir}/apps/guidance/pics/hi32-user.png \
|
||||
%{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps/userconfig.png
|
||||
%__mv -f %{buildroot}%{tde_datadir}/apps/guidance/pics/hi32-display.png \
|
||||
%{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps/displayconfig.png
|
||||
%__mv -f %{buildroot}%{tde_datadir}/apps/guidance/pics/32-wine.png \
|
||||
%{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps/wineconfig.png
|
||||
%__install -D -p -m0644 kde/wineconfig/pics/16x16/wineconfig.png \
|
||||
%{buildroot}%{tde_datadir}/icons/crystalsvg/16x16/apps/wineconfig.png
|
||||
|
||||
# fix binary-or-shlib-defines-rpath
|
||||
chrpath -d %{buildroot}%{tde_tdelibdir}/kcm_*.so
|
||||
|
||||
# fix executable-not-elf-or-script
|
||||
%__chmod 0644 %{buildroot}%{tde_datadir}/apps/guidance/pics/kdewinewizard.png
|
||||
|
||||
# move python modules in %{python_sitearch} (/usr/lib/pythonXX/site-packages)
|
||||
%__mkdir_p %{buildroot}%{python_sitearch}/%{name}
|
||||
%__mv -f %{buildroot}%{tde_datadir}/apps/guidance/*.py* %{buildroot}%{python_sitearch}/%{name}
|
||||
|
||||
# fix the link properly
|
||||
%__rm -f %{buildroot}%{tde_bindir}/*
|
||||
#%__ln_s -f %{python_sitearch}/%{name}/displayconfig.py %{buildroot}%{tde_bindir}/displayconfig
|
||||
%__ln_s -f %{python_sitearch}/%{name}/mountconfig.py %{buildroot}%{tde_bindir}/mountconfig
|
||||
%__ln_s -f %{python_sitearch}/%{name}/serviceconfig.py %{buildroot}%{tde_bindir}/serviceconfig
|
||||
%__ln_s -f %{python_sitearch}/%{name}/userconfig.py %{buildroot}%{tde_bindir}/userconfig
|
||||
%__ln_s -f %{python_sitearch}/%{name}/wineconfig.py %{buildroot}%{tde_bindir}/wineconfig
|
||||
%__ln_s -f %{python_sitearch}/%{name}/grubconfig.py %{buildroot}%{tde_bindir}/grubconfig
|
||||
|
||||
# (obsolete) put this here since gnome people probably don't want it by default
|
||||
#%__ln_s -f %{_python_sitearch}/%{name}/displayconfig-restore.py %{buildroot}%{tde_bindir}/displayconfig-restore
|
||||
|
||||
# fix script-not-executable
|
||||
%__chmod 0755 %{buildroot}%{python_sitearch}/%{name}/fuser.py
|
||||
%__chmod 0755 %{buildroot}%{python_sitearch}/%{name}/grubconfig.py
|
||||
|
||||
%__mv -f %{buildroot}%{tde_datadir}/applications/tde/displayconfig.desktop %{buildroot}%{tde_datadir}/applications/tde/guidance-displayconfig.desktop
|
||||
|
||||
##### BACKENDS INSTALLATION
|
||||
# install displayconfig-hwprobe.py script
|
||||
%__install -D -p -m0755 displayconfig/displayconfig-hwprobe.py \
|
||||
%{buildroot}%{python_sitearch}/%{name}/displayconfig-hwprobe.py
|
||||
|
||||
# The xf86misc stuff should not go under /opt/trinity bur under /usr !!!
|
||||
%__mv -f %{buildroot}%{tde_libdir}/python*/site-packages/ixf86misc.so %{buildroot}%{python_sitearch}
|
||||
%__mv -f %{buildroot}%{tde_libdir}/python*/site-packages/xf86misc.py* %{buildroot}%{python_sitearch}/%{name}
|
||||
|
||||
%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
|
||||
%__rm -f %{buildroot}%{tde_datadir}/apps/guidance/MonitorsDB
|
||||
%__ln_s -f /usr/share/hwdata/MonitorsDB %{buildroot}%{tde_datadir}/apps/guidance/MonitorsDB
|
||||
%endif
|
||||
|
||||
|
||||
##### POWERMANAGER INSTALLATION
|
||||
# install icon to right place
|
||||
%__install -D -p -m0644 kde/powermanager/pics/battery-charging-100.png \
|
||||
%{buildroot}%{tde_datadir}/icons/hicolor/22x22/apps/power-manager.png
|
||||
%__install -D -p -m0644 kde/powermanager/pics/*.png \
|
||||
%{buildroot}%{tde_datadir}/apps/guidance/pics/
|
||||
|
||||
# install desktop file
|
||||
%__install -D -p -m0644 powermanager/guidance-power-manager.desktop \
|
||||
%{buildroot}%{tde_datadir}/autostart/guidance-power-manager.desktop
|
||||
|
||||
# copy python modules in PYSUPPORT_PATH
|
||||
%__cp powermanager/guidance_power_manager_ui.py %{buildroot}%{python_sitearch}/%{name}
|
||||
%__cp powermanager/notify.py %{buildroot}%{python_sitearch}/%{name}
|
||||
%__cp powermanager/tooltip.py %{buildroot}%{python_sitearch}/%{name}
|
||||
|
||||
# generate guidance-power-manager script
|
||||
cat <<EOF >%{buildroot}%{tde_bindir}/guidance-power-manager
|
||||
#!/bin/sh
|
||||
export PYTHONPATH=%{python_sitearch}/%{name}
|
||||
%{python_sitearch}/%{name}/guidance-power-manager.py &
|
||||
EOF
|
||||
chmod +x %{buildroot}%{tde_bindir}/guidance-power-manager
|
||||
|
||||
# fix script-not-executable
|
||||
chmod 0755 %{buildroot}%{python_sitearch}/%{name}/powermanage.py
|
||||
chmod 0755 %{buildroot}%{python_sitearch}/%{name}/gpmhelper.py
|
||||
|
||||
|
||||
# Replace all '#!' calls to python with /usr/bin/python
|
||||
# and make them executable
|
||||
for i in `find %{buildroot} -type f`; do
|
||||
sed '1s,#!.*python[^ ]*\(.*\),#! /usr/bin/python\1,' \
|
||||
$i > $i.temp;
|
||||
if cmp --quiet $i $i.temp; then
|
||||
rm -f $i.temp;
|
||||
else
|
||||
mv -f $i.temp $i;
|
||||
chmod 755 $i;
|
||||
echo "fixed interpreter: $i";
|
||||
fi;
|
||||
done
|
||||
|
||||
# Removes useless files
|
||||
find %{buildroot} -name "*.egg-info" -exec rm -f {} \;
|
||||
find %{buildroot}%{tde_libdir} -name "*.a" -exec rm -f {} \;
|
||||
|
||||
# Removes obsolete display config manager
|
||||
%__rm -f %{?buildroot}/etc/X11/Xsession.d/40guidance-displayconfig_restore
|
||||
%__rm -f %{?buildroot}%{tde_tdelibdir}/kcm_displayconfig.*
|
||||
%__rm -f %{?buildroot}%{python_sitearch}/%{name}/displayconfig.py*
|
||||
%__rm -f %{?buildroot}%{python_sitearch}/%{name}/displayconfigwidgets.py*
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
touch --no-create %{tde_datadir}/icons/crystalsvg || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || :
|
||||
/sbin/ldconfig || :
|
||||
|
||||
%postun
|
||||
touch --no-create %{tde_datadir}/icons/crystalsvg || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || :
|
||||
/sbin/ldconfig || :
|
||||
|
||||
%post powermanager
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
|
||||
%postun powermanager
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc ChangeLog COPYING README TODO
|
||||
#%{tde_bindir}/displayconfig
|
||||
#%{tde_bindir}/displayconfig-restore
|
||||
%{tde_bindir}/grubconfig
|
||||
%{tde_bindir}/mountconfig
|
||||
%{tde_bindir}/serviceconfig
|
||||
%{tde_bindir}/userconfig
|
||||
%{tde_bindir}/wineconfig
|
||||
%attr(0644,root,root) %{tde_tdelibdir}/*.so
|
||||
%attr(0644,root,root) %{tde_tdelibdir}/*.la
|
||||
%{tde_datadir}/apps/guidance/
|
||||
%{tde_datadir}/applications/tde/*.desktop
|
||||
%{tde_datadir}/icons/crystalsvg/*/*/*.png
|
||||
%{tde_datadir}/icons/crystalsvg/*/*/*.svg
|
||||
%{python_sitearch}/%{name}/SMBShareSelectDialog.py*
|
||||
%{python_sitearch}/%{name}/SimpleCommandRunner.py*
|
||||
%{python_sitearch}/%{name}/fuser.py*
|
||||
%{python_sitearch}/%{name}/fuser_ui.py*
|
||||
%{python_sitearch}/%{name}/grubconfig.py*
|
||||
%{python_sitearch}/%{name}/ktimerdialog.py*
|
||||
%{python_sitearch}/%{name}/mountconfig.py*
|
||||
%{python_sitearch}/%{name}/servertestdialog.py*
|
||||
%{python_sitearch}/%{name}/serviceconfig.py*
|
||||
%{python_sitearch}/%{name}/sizeview.py*
|
||||
%{python_sitearch}/%{name}/unixauthdb.py*
|
||||
%{python_sitearch}/%{name}/userconfig.py*
|
||||
%{python_sitearch}/%{name}/wineconfig.py*
|
||||
%{tde_tdedocdir}/HTML/en/guidance/
|
||||
|
||||
# Files from backends
|
||||
%exclude %{tde_datadir}/apps/guidance/vesamodes
|
||||
%exclude %{tde_datadir}/apps/guidance/extramodes
|
||||
%exclude %{tde_datadir}/apps/guidance/widescreenmodes
|
||||
%exclude %{tde_datadir}/apps/guidance/Cards+
|
||||
%exclude %{tde_datadir}/apps/guidance/pcitable
|
||||
%exclude %{tde_datadir}/apps/guidance/MonitorsDB
|
||||
|
||||
# Files from powermanager
|
||||
%exclude %{tde_datadir}/icons/hicolor/22x22/apps/power-manager.png
|
||||
%exclude %{tde_datadir}/apps/guidance/pics/ac-adapter.png
|
||||
%exclude %{tde_datadir}/apps/guidance/pics/battery*.png
|
||||
%exclude %{tde_datadir}/apps/guidance/pics/processor.png
|
||||
|
||||
%files backends
|
||||
%defattr(-,root,root,-)
|
||||
%{python_sitearch}/%{name}/MicroHAL.py*
|
||||
%{python_sitearch}/%{name}/ScanPCI.py*
|
||||
%{python_sitearch}/%{name}/infimport.py*
|
||||
%{python_sitearch}/%{name}/displayconfigabstraction.py*
|
||||
%{python_sitearch}/%{name}/displayconfig-hwprobe.py*
|
||||
%{python_sitearch}/%{name}/displayconfig-restore.py*
|
||||
%{python_sitearch}/%{name}/drivedetect.py*
|
||||
%{python_sitearch}/%{name}/execwithcapture.py*
|
||||
%{python_sitearch}/%{name}/wineread.py*
|
||||
%{python_sitearch}/%{name}/winewrite.py*
|
||||
%{python_sitearch}/%{name}/xf86misc.py*
|
||||
%{python_sitearch}/%{name}/xorgconfig.py*
|
||||
%{python_sitearch}/ixf86misc.so
|
||||
%{tde_datadir}/apps/guidance/vesamodes
|
||||
%{tde_datadir}/apps/guidance/extramodes
|
||||
%{tde_datadir}/apps/guidance/widescreenmodes
|
||||
%{tde_datadir}/apps/guidance/Cards+
|
||||
%{tde_datadir}/apps/guidance/pcitable
|
||||
%{tde_datadir}/apps/guidance/MonitorsDB
|
||||
|
||||
|
||||
|
||||
%files powermanager
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_bindir}/guidance-power-manager
|
||||
%{python_sitearch}/%{name}/MicroHAL.py*
|
||||
%{python_sitearch}/%{name}/guidance-power-manager.py*
|
||||
%{python_sitearch}/%{name}/powermanage.py*
|
||||
%{python_sitearch}/%{name}/gpmhelper.py*
|
||||
%{python_sitearch}/%{name}/powermanager_ui.py*
|
||||
%{python_sitearch}/%{name}/guidance_power_manager_ui.py*
|
||||
%{python_sitearch}/%{name}/notify.py*
|
||||
%{python_sitearch}/%{name}/tooltip.py*
|
||||
%{tde_datadir}/icons/hicolor/22x22/apps/power-manager.png
|
||||
%{tde_datadir}/apps/guidance/pics/ac-adapter.png
|
||||
%{tde_datadir}/apps/guidance/pics/battery*.png
|
||||
%{tde_datadir}/apps/guidance/pics/processor.png
|
||||
%{tde_datadir}/autostart/guidance-power-manager.desktop
|
||||
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.8.0svn20080103-7
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Thu Jun 27 2013 Francois Andriot <francois.andriot@free.fr> - 0.8.0svn20080103-6
|
||||
- Work around mountconfig incorrectly handling LABEL tag
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.8.0svn20080103-5
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.8.0svn20080103-4
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Fri May 11 2012 Francois Andriot <francois.andriot@free.fr> - 0.8.0svn20080103-3
|
||||
- Fix Python search dir
|
||||
|
||||
* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 0.8.0svn20080103-2
|
||||
- Rebuilt for Fedora 17
|
||||
- Fix post and postun
|
||||
- Fix library locations
|
||||
|
||||
* Thu Dec 01 2011 Francois Andriot <francois.andriot@free.fr> - 0.8.0svn20080103-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
@ -0,0 +1,133 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg tde-style-lipstik
|
||||
%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-style-lipstik
|
||||
Summary: Lipstik style for TDE
|
||||
Version: 2.2.3
|
||||
Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
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
|
||||
|
||||
Obsoletes: trinity-kde-style-lipstik < %{version}-%{release}
|
||||
Provides: trinity-kde-style-lipstik = %{version}-%{release}
|
||||
Obsoletes: trinity-style-lipstik < %{version}-%{release}
|
||||
Provides: trinity-style-lipstik = %{version}-%{release}
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
|
||||
%description
|
||||
Based on the plastik style, Lipstik is a purified style with many options to
|
||||
tune your desktop look.
|
||||
|
||||
Lipstik also provides Lipstik-color-schemes
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--disable-rpath \
|
||||
--with-extra-includes=
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS COPYING
|
||||
%{tde_tdelibdir}/kstyle_lipstik_config.la
|
||||
%{tde_tdelibdir}/kstyle_lipstik_config.so
|
||||
%{tde_tdelibdir}/plugins/styles/lipstik.la
|
||||
%{tde_tdelibdir}/plugins/styles/lipstik.so
|
||||
%{tde_datadir}/apps/tdedisplay/color-schemes/lipstiknoble.kcsrc
|
||||
%{tde_datadir}/apps/tdedisplay/color-schemes/lipstikstandard.kcsrc
|
||||
%{tde_datadir}/apps/tdedisplay/color-schemes/lipstikwhite.kcsrc
|
||||
%{tde_datadir}/apps/kstyle/themes/lipstik.themerc
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 2.2.3-5
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 2.2.3-4
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 2.2.3-3
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 2.2.3-2
|
||||
- Rebuilt for Fedora 17
|
||||
- Fix HTML directory location
|
||||
- Removes post and postun
|
||||
|
||||
* Sat Nov 19 2011 Francois Andriot <francois.andriot@free.fr> - 2.2.3-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
@ -0,0 +1,156 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg tde-style-qtcurve
|
||||
%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-style-qtcurve
|
||||
Summary: This is a set of widget styles for Trinity based apps
|
||||
Version: 0.55.2
|
||||
Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Prefix: %{tde_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
Obsoletes: trinity-kde-style-qtcurve < %{version}-%{release}
|
||||
Provides: trinity-kde-style-qtcurve = %{version}-%{release}
|
||||
Obsoletes: trinity-style-qtcurve < %{version}-%{release}
|
||||
Provides: trinity-style-qtcurve = %{version}-%{release}
|
||||
|
||||
%description
|
||||
This package together with gtk2-engines-qtcurve aim to provide a unified look
|
||||
and feel on the desktop when using TDE and Gnome applications.
|
||||
|
||||
This package is most useful when installed together with
|
||||
gtk2-engines-qtcurve.
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
|
||||
export TDEDIR="%{tde_prefix}"
|
||||
|
||||
export CXXFLAGS="-I${QTINC} -I%{tde_tdeincludedir} ${CXXFLAGS}"
|
||||
|
||||
# Shitty hack for RHEL4 ...
|
||||
if [ -d "/usr/X11R6" ]; then
|
||||
export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH}:/usr/X11R6/include:/usr/X11R6/%{_lib}"
|
||||
export CFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
|
||||
export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
|
||||
fi
|
||||
|
||||
# Error in "po/tr.po"
|
||||
%if 0%{?rhel} == 4
|
||||
%__rm -f "po/tr.po"
|
||||
%endif
|
||||
|
||||
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
|
||||
%__mkdir_p build
|
||||
cd build
|
||||
%endif
|
||||
|
||||
%cmake \
|
||||
-DBIN_INSTALL_DIR=%{tde_bindir} \
|
||||
-DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
|
||||
-DLIB_INSTALL_DIR=%{tde_libdir} \
|
||||
-DSHARE_INSTALL_PREFIX=%{tde_datadir} \
|
||||
-DCMAKE_SKIP_RPATH="OFF" \
|
||||
-DTDE_INCLUDE_DIR=%{tde_tdeincludedir} \
|
||||
-DQTC_QT_ONLY=false \
|
||||
-DQTC_STYLE_SUPPORT=true \
|
||||
-DBUILD_ALL=on \
|
||||
..
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot} -C build
|
||||
|
||||
%find_lang qtcurve || touch qtcurve.lang
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
|
||||
%files -f qtcurve.lang
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS COPYING
|
||||
%{tde_tdelibdir}/kstyle_qtcurve_config.la
|
||||
%{tde_tdelibdir}/kstyle_qtcurve_config.so
|
||||
%{tde_tdelibdir}/plugins/styles/qtcurve.so
|
||||
%{tde_tdelibdir}/plugins/styles/qtcurve.la
|
||||
%{tde_datadir}/apps/tdedisplay/color-schemes/QtCurve.kcsrc
|
||||
%{tde_datadir}/apps/kstyle/themes/qtcurve.themerc
|
||||
%{tde_datadir}/apps/QtCurve/*.qtcurve
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.55.2-6
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.55.2-5
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.55.2-4
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Sun Sep 09 2012 Francois Andriot <francois.andriot@free.fr> - 0.55.2-3
|
||||
- Switch to v3.5.13-sru branch
|
||||
|
||||
* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 0.55.2-2
|
||||
- Rebuilt for Fedora 17
|
||||
- Removes post and postun
|
||||
|
||||
* Sat Nov 19 2011 Francois Andriot <francois.andriot@free.fr> - 0.55.2-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
@ -0,0 +1,165 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg tde-systemsettings
|
||||
%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
|
||||
# Currently, menu files under /etc/xdg conflict with TDE4
|
||||
%define tde_sysconfdir %{tde_prefix}/etc
|
||||
%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-systemsettings
|
||||
Summary: easy to use control centre for TDE
|
||||
Version: 0.0svn20070312
|
||||
Release: %{?!preversion:8}%{?preversion:7_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
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
|
||||
Source1: kde-settings-laptops.directory
|
||||
|
||||
Provides: trinity-kde-systemsettings = %{version}-%{release}
|
||||
Obsoletes: trinity-kde-systemsettings < %{version}-%{release}
|
||||
Provides: trinity-systemsettings = %{version}-%{release}
|
||||
Obsoletes: trinity-systemsettings < %{version}-%{release}
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
Requires: trinity-guidance
|
||||
|
||||
%description
|
||||
System preferences is a replacement for the TDE
|
||||
Control Centre with an improved user interface.
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
export TDEDIR="%{tde_prefix}"
|
||||
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--sysconfdir=%{tde_sysconfdir} \
|
||||
--disable-rpath \
|
||||
--enable-closure
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
%__install -D -m 644 %{SOURCE1} %{buildroot}%{tde_datadir}/desktop-directories/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
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
touch --no-create %{tde_datadir}/icons/crystalsvg || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || :
|
||||
xdg-user-dirs-update
|
||||
|
||||
%postun
|
||||
touch --no-create %{tde_datadir}/icons/crystalsvg || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || :
|
||||
xdg-user-dirs-update
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README TODO
|
||||
%{tde_sysconfdir}/xdg/menus/applications-merged/system-settings-merge.menu
|
||||
%{tde_sysconfdir}/xdg/menus/system-settings.menu
|
||||
%{tde_bindir}/systemsettings
|
||||
%{tde_datadir}/applications/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/systemsettingsui.rc
|
||||
%{tde_datadir}/config/systemsettingsrc
|
||||
%{tde_datadir}/desktop-directories/*.directory
|
||||
%{tde_datadir}/icons/crystalsvg/*/apps/systemsettings.png
|
||||
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.0svn20070312-8
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Sat Jun 29 2013 Francois Andriot <francois.andriot@free.fr> - 0.0svn20070312-7
|
||||
- Rebuild
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.0svn20070312-6
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.0svn20070312-5
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Wed Jul 11 2012 Francois Andriot <francois.andriot@free.fr> - 0.0svn20070312-4
|
||||
- Fix XDG menu directory location (again)
|
||||
|
||||
* Sun Jul 08 2012 Francois Andriot <francois.andriot@free.fr> - 0.0svn20070312-3
|
||||
- Updates 'Requires: trinity-guidance' to reflect package renaming
|
||||
|
||||
* Wed Dec 14 2011 Francois Andriot <francois.andriot@free.fr> - 0.0svn20070312-2
|
||||
- Fix XDG menu directory location
|
||||
|
||||
* Sat Dec 03 2011 Francois Andriot <francois.andriot@free.fr> - 0.0svn20070312-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
||||
|
@ -0,0 +1,124 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg tdeio-apt
|
||||
%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: An apt-cache ioslave for Trinity
|
||||
Version: 0.13.2
|
||||
Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
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-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
|
||||
%description
|
||||
tdeio-apt is an ioslave which provides the apt:/ protocol. It
|
||||
integrates apt-cache functionalities into Konqueror, making
|
||||
browsing the packages easier. It provides:
|
||||
- apt-cache search: apt:/search?expression
|
||||
- apt-cache show: apt:/show?package . The show? target
|
||||
prints the policy too.
|
||||
- apt-cache policy: apt:/policy?package
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--mandir=%{tde_mandir} \
|
||||
--disable-rpath \
|
||||
--enable-closure
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
%find_lang kio-apt
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%files -f kio-apt.lang
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS CHANGELOG ChangeLog COPYING
|
||||
%{tde_tdelibdir}/tdeio_apt.la
|
||||
%{tde_tdelibdir}/tdeio_apt.so
|
||||
%{tde_datadir}/apps/tdeio_apt/kdedeb_logo.png
|
||||
%{tde_datadir}/apps/tdeio_apt/tdeio_apt.css
|
||||
%{tde_datadir}/services/apt+http.protocol
|
||||
%{tde_datadir}/services/apt.protocol
|
||||
%{tde_datadir}/services/searchproviders/apt-file.desktop
|
||||
%{tde_datadir}/services/searchproviders/apt-files.desktop
|
||||
%{tde_datadir}/services/searchproviders/apt-search.desktop
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.13.2-2
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.13.2-1
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
@ -0,0 +1,147 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg tdeio-locate
|
||||
%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: kio-slave for the locate command [Trinity]
|
||||
Version: 0.4.5
|
||||
Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org
|
||||
|
||||
Prefix: %{tde_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
BuildRequires: cmake >= 2.8
|
||||
|
||||
Obsoletes: trinity-kio-locate < %{version}-%{release}
|
||||
Provides: trinity-kio-locate = %{version}-%{release}
|
||||
|
||||
%description
|
||||
Adds support for the "locate" and "locater:"
|
||||
protocols to Konqueror and other TDE applications.
|
||||
|
||||
This enables you to perform locate searches as you
|
||||
would in a terminal. The result is displayed just
|
||||
as a directory.
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
|
||||
|
||||
export CMAKE_INCLUDE_PATH="%{tde_tdeincludedir}"
|
||||
|
||||
# Shitty hack for RHEL4 ...
|
||||
if [ -d "/usr/X11R6" ]; then
|
||||
export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH}:/usr/X11R6/include:/usr/X11R6/%{_lib}"
|
||||
export CFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
|
||||
export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
|
||||
fi
|
||||
|
||||
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
|
||||
%__mkdir_p build
|
||||
cd build
|
||||
%endif
|
||||
|
||||
|
||||
%cmake \
|
||||
-DCMAKE_INSTALL_PREFIX=%{tde_prefix} \
|
||||
-DBIN_INSTALL_DIR=%{tde_bindir} \
|
||||
-DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
|
||||
-DLIB_INSTALL_DIR=%{tde_libdir} \
|
||||
-DSHARE_INSTALL_PREFIX=%{tde_datadir} \
|
||||
-DCMAKE_SKIP_RPATH="OFF" \
|
||||
-DBUILD_ALL=ON \
|
||||
..
|
||||
|
||||
# SMP safe !
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot} -C build
|
||||
|
||||
%find_lang kio-locate
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
|
||||
%files -f kio-locate.lang
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS ChangeLog COPYING TODO
|
||||
%{tde_tdelibdir}/tdeio_locate.la
|
||||
%{tde_tdelibdir}/tdeio_locate.so
|
||||
%{tde_tdedocdir}/HTML/en/kio-locate/
|
||||
%{tde_datadir}/services/locate.protocol
|
||||
%{tde_datadir}/services/locater.protocol
|
||||
%{tde_datadir}/services/rlocate.protocol
|
||||
%{tde_datadir}/services/searchproviders/locate.desktop
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.4.5-5
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.4.5-4
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.4.5-3
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 0.4.5-2
|
||||
- Rebuilt for Fedora 17
|
||||
- Removes post and postun
|
||||
- Fix compilation with GCC 4.7
|
||||
|
||||
* Sat Dec 03 2011 Francois Andriot <francois.andriot@free.fr> - 0.4.5-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
||||
|
@ -0,0 +1,151 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg tdeio-umountwrapper
|
||||
%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: progress dialog for safely removing devices in Trinity.
|
||||
Version: 0.2
|
||||
Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://frode.kde.no/misc/tdeio_umountwrapper/
|
||||
|
||||
Prefix: %{tde_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
||||
Source1: media_safelyremove.desktop
|
||||
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
Obsoletes: trinity-kio-umountwrapper < %{version}-%{release}
|
||||
Provides: trinity-kio-umountwrapper = %{version}-%{release}
|
||||
|
||||
%description
|
||||
Wrapper around tdeio_media_mountwrapper.
|
||||
Provides a progress dialog for Safely Removing of devices in Trinity.
|
||||
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--mandir=%{tde_mandir} \
|
||||
--disable-rpath \
|
||||
--enable-closure
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
%__install -D -m 644 %{SOURCE1} %{?buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_kio-umountwrapper
|
||||
#%__install -D -m 644 %{SOURCE1} %{?buildroot}%{tde_datadir}/apps/dolphin/servicemenus/media_safelyremove.desktop_kio-umountwrapper
|
||||
%__install -D -m 644 %{SOURCE1} %{?buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_kio-umountwrapper
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
%post
|
||||
for f in konqueror d3lphin; do
|
||||
update-alternatives --install \
|
||||
%{tde_datadir}/apps/${f}/servicemenus/media_safelyremove.desktop \
|
||||
media_safelyremove.desktop_${f} \
|
||||
%{tde_datadir}/apps/${f}/servicemenus/media_safelyremove.desktop_kio-umountwrapper \
|
||||
20
|
||||
done
|
||||
|
||||
|
||||
%postun
|
||||
if [ $1 -eq 0 ]; then
|
||||
for f in konqueror d3lphin; do
|
||||
update-alternatives --remove \
|
||||
media_safelyremove.desktop_${f} \
|
||||
%{tde_datadir}/apps/${f}/servicemenus/media_safelyremove.desktop_kio-umountwrapper
|
||||
done
|
||||
fi
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS ChangeLog COPYING NEWS README TODO
|
||||
%{tde_bindir}/tdeio_umountwrapper
|
||||
%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_kio-umountwrapper
|
||||
#%{tde_datadir}/apps/dolphin/servicemenus/media_safelyremove.desktop_kio-umountwrapper
|
||||
%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_kio-umountwrapper
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.2-6
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.2-5
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.2-4
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Sun Jul 08 2012 Francois Andriot <francois.andriot@free.fr> - 0.2-3
|
||||
- Add 'desktop' file, to make this program useful :-)
|
||||
|
||||
* Wed May 02 2012 Francois Andriot <francois.andriot@free.fr> - 0.2-2
|
||||
- Rebuilt for Fedora 17
|
||||
- Removes post and postun
|
||||
|
||||
* Sat Dec 03 2011 Francois Andriot <francois.andriot@free.fr> - 0.2-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
||||
|
@ -0,0 +1,192 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg tderadio
|
||||
%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}
|
||||
|
||||
%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
|
||||
%define with_lirc 1
|
||||
%endif
|
||||
|
||||
Name: trinity-%{tde_pkg}
|
||||
Summary: Comfortable Radio Application for TDE [Trinity]
|
||||
Version: 0.1.1.1
|
||||
Release: %{?!preversion:7}%{?preversion:6_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Prefix: %{tde_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: trinity-arts-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
BuildRequires: libsndfile-devel
|
||||
%{?with_lirc:BuildRequires: lirc-devel}
|
||||
|
||||
%if 0%{?mgaversion} || 0%{?mdkversion}
|
||||
BuildRequires: %{_lib}twolame-devel
|
||||
%endif
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: libtwolame-devel
|
||||
%endif
|
||||
%if 0%{?rhel} || 0%{?fedora}
|
||||
BuildRequires: lame-devel
|
||||
%endif
|
||||
|
||||
Obsoletes: trinity-kradio < %{version}-%{release}
|
||||
Provides: trinity-kradio = %{version}-%{release}
|
||||
|
||||
%description
|
||||
KRadio is a comfortable radio application for Trinity with support for
|
||||
V4L and V4L2 radio cards drivers.
|
||||
|
||||
KRadio currently provides
|
||||
|
||||
* V4L/V4L2 radio support
|
||||
%if 0%{?with_lirc}
|
||||
* Remote control support (LIRC)
|
||||
%endif
|
||||
* Alarms, sleep Countdown
|
||||
* Several GUI Controls (Docking Menu, Station Quickbar, Radio Display)
|
||||
* Recording capabilities, including MP3 and Ogg/Vorbis encoding
|
||||
* Timeshifter functionality
|
||||
* Extendable plugin architecture
|
||||
|
||||
This package also includes a growing collection of station preset
|
||||
files for many cities around the world contributed by KRadio users.
|
||||
|
||||
As KRadio is based on an extendable plugin architecture, contributions
|
||||
of new plugins (e.g. Internet Radio Streams, new cool GUIs) are welcome.
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--mandir=%{tde_mandir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--disable-rpath \
|
||||
%{?with_lirc:--enable-lirc} %{?!with_lirc:--disable-lirc} \
|
||||
--enable-v4l2 \
|
||||
--enable-lame \
|
||||
--enable-ogg \
|
||||
--enable-alsa \
|
||||
--enable-oss
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
%find_lang %{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
|
||||
update-desktop-database %{tde_appdir} -q &> /dev/null ||:
|
||||
|
||||
%postun
|
||||
for f in hicolor locolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/${f} || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
|
||||
done
|
||||
update-desktop-database %{tde_appdir} -q &> /dev/null ||:
|
||||
|
||||
|
||||
%files -f %{tde_pkg}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_bindir}/convert-presets
|
||||
%{tde_bindir}/tderadio
|
||||
%{tde_libdir}/tderadio/plugins/*.la
|
||||
%{tde_libdir}/tderadio/plugins/*.so
|
||||
%{tde_tdeappdir}/tderadio.desktop
|
||||
%{tde_datadir}/apps/tderadio/
|
||||
%{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
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.1.1.1-7
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.1.1.1-6
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Sat Dec 01 2012 Francois Andriot <francois.andriot@free.fr> - 0.1.1.1-5
|
||||
- Updates presets
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.1.1.1-4
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Sun Jul 08 2012 Francois Andriot <francois.andriot@free.fr> - 0.1.1.1-3
|
||||
- Rebuild for RHEL 5
|
||||
- Fix postinstall
|
||||
|
||||
* Wed May 02 2012 Francois Andriot <francois.andriot@free.fr> - 0.1.1.1-2
|
||||
- Rebuild for Fedora 17
|
||||
- Fix HTML directory location
|
||||
|
||||
* Sat Nov 19 2011 Francois Andriot <francois.andriot@free.fr> - 0.1.1.1-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
@ -0,0 +1,145 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg tdesudo
|
||||
%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: sudo frontend for Trinity
|
||||
|
||||
Version: 2.5.1
|
||||
Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
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-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-arts-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
Obsoletes: trinity-kdesudo < %{version}-%{release}
|
||||
Provides: trinity-kdesudo = %{version}-%{release}
|
||||
|
||||
Requires: sudo
|
||||
|
||||
%description
|
||||
TdeSudo is a graphical frontend for the sudo utility.
|
||||
It allows you to run programs as another user by entering your password.
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR 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} \
|
||||
--docdir=%{tde_docdir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--disable-rpath
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
|
||||
|
||||
## File lists
|
||||
# HTML (1.0)
|
||||
HTML_DIR=$(tde-config --expandvars --install html)
|
||||
if [ -d %{buildroot}$HTML_DIR ]; then
|
||||
for lang_dir in %{buildroot}$HTML_DIR/* ; do
|
||||
if [ -d $lang_dir ]; then
|
||||
lang=$(basename $lang_dir)
|
||||
echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
|
||||
# replace absolute symlinks with relative ones
|
||||
pushd $lang_dir
|
||||
for i in *; do
|
||||
[ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common
|
||||
done
|
||||
popd
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
%find_lang %{tde_pkg}
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
|
||||
%files -f %{tde_pkg}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_bindir}/tdesudo
|
||||
%{tde_tdedocdir}/HTML/en/tdesudo/
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 2.5.1-5
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 2.5.1-4
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 2.5.1-3
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 2.5.1-2
|
||||
- Rebuilt for Fedora 17
|
||||
- Fix HTML directory location
|
||||
- Removes post and postun
|
||||
|
||||
* Wed Nov 02 2011 Francois Andriot <francois.andriot@free.fr> - 2.5.1-1
|
||||
- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15
|
@ -0,0 +1,297 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg tdesvn
|
||||
%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: subversion client with tight TDE integration [Trinity]
|
||||
Version: 1.0.4
|
||||
Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.elliptique.net/~ken/kima/
|
||||
|
||||
Prefix: %{_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-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
BuildRequires: subversion-devel
|
||||
Requires: %{name}-tdeio-plugins = %{version}-%{release}
|
||||
|
||||
Obsoletes: trinity-kdesvn < %{version}-%{release}
|
||||
Provides: trinity-kdesvn = %{version}-%{release}
|
||||
|
||||
%description
|
||||
TDESvn is a graphical client for the subversion revision control
|
||||
system (svn).
|
||||
|
||||
Besides offering common and advanced svn operations, it features
|
||||
a tight integration into TDE and can be embedded into other TDE
|
||||
applications like konqueror via the TDE component technology KParts.
|
||||
|
||||
|
||||
%package -n trinity-libsvnqt
|
||||
Group: Development/Libraries
|
||||
Summary: Qt wrapper library for subversion [Trinity]
|
||||
|
||||
%description -n trinity-libsvnqt
|
||||
This package provides svnqt, a Qt wrapper library around the
|
||||
subversion library.
|
||||
|
||||
It is based on the RapidSvn SvnCpp library, a subversion client API
|
||||
written in C++.
|
||||
|
||||
%package -n trinity-libsvnqt-devel
|
||||
Group: Development/Libraries
|
||||
Requires: trinity-libsvnqt = %{version}-%{release}
|
||||
Requires: qt-devel
|
||||
Requires: subversion-devel
|
||||
Summary: Qt wrapper library for subversion (development files) [Trinity]
|
||||
|
||||
%description -n trinity-libsvnqt-devel
|
||||
This package contains the header files and symbolic links that developers
|
||||
using svnqt will need.
|
||||
|
||||
|
||||
%package tdeio-plugins
|
||||
Group: Development/Libraries
|
||||
Conflicts: trinity-kdesdk-tdeio-plugins
|
||||
Summary: subversion I/O slaves for Trinity
|
||||
|
||||
Obsoletes: trinity-kdesvn-kio-plugins < %{version}-%{release}
|
||||
Provides: trinity-kdesvn-kio-plugins = %{version}-%{release}
|
||||
Obsoletes: trinity-tdesvn-kio-plugins < %{version}-%{release}
|
||||
Provides: trinity-tdesvn-kio-plugins = %{version}-%{release}
|
||||
|
||||
%description tdeio-plugins
|
||||
This packages includes KIO slaves for svn, svn+file, svn+http,
|
||||
svn+https, svn+ssh. This allows you to access subversion repositories
|
||||
inside any KIO enabled TDE application.
|
||||
|
||||
This package is part of tdesvn-trinity.
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
# More ugly hack to add TQT include directory in CMakeLists.txt
|
||||
%__sed -i CMakeLists.txt \
|
||||
-e "s,^\(INCLUDE_DIRECTORIES (\)$,\1\n,"
|
||||
|
||||
# Moves HTML files to the correect location
|
||||
find . -name "*.cmake" -exec %__sed -i {} \
|
||||
-e "s,/doc/HTML,/doc/tde/HTML,g" \
|
||||
\;
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${QTDIR}/bin:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
|
||||
export CMAKE_INCLUDE_PATH="%{tde_tdeincludedir}"
|
||||
|
||||
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
|
||||
%__mkdir_p build
|
||||
cd build
|
||||
%endif
|
||||
|
||||
%cmake \
|
||||
-DCMAKE_INSTALL_PREFIX=%{tde_prefix} \
|
||||
-DBIN_INSTALL_DIR=%{tde_bindir} \
|
||||
-DINCLUDE_INSTALL_DIR=%{tde_includedir} \
|
||||
-DLIB_INSTALL_DIR=%{tde_libdir} \
|
||||
-DMAN_INSTALL_DIR=%{tde_mandir}/man1 \
|
||||
-DDATA_INSTALL_DIR=%{tde_datadir} \
|
||||
-DPKGCONFIG_INSTALL_DIR=%{tde_tdelibdir}/pkgconfig \
|
||||
-DSHARE_INSTALL_PREFIX=%{tde_datadir} \
|
||||
-DCMAKE_SKIP_RPATH="OFF" \
|
||||
..
|
||||
|
||||
# SMP safe !
|
||||
%__make %{?_smp_mflags} || %__make
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot} -C build
|
||||
|
||||
|
||||
%find_lang kdesvn
|
||||
|
||||
# Installs SVN protocols as alternatives
|
||||
%__mv -f %{?buildroot}%{tde_datadir}/services/svn+file.protocol %{?buildroot}%{tde_datadir}/services/svn+file.protocol_tdesvn
|
||||
%__mv -f %{?buildroot}%{tde_datadir}/services/svn+http.protocol %{?buildroot}%{tde_datadir}/services/svn+http.protocol_tdesvn
|
||||
%__mv -f %{?buildroot}%{tde_datadir}/services/svn+https.protocol %{?buildroot}%{tde_datadir}/services/svn+https.protocol_tdesvn
|
||||
%__mv -f %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol_tdesvn
|
||||
%__mv -f %{?buildroot}%{tde_datadir}/services/svn.protocol %{?buildroot}%{tde_datadir}/services/svn.protocol_tdesvn
|
||||
%__ln_s /etc/alternatives/svn+file.protocol %{?buildroot}%{tde_datadir}/services/svn+file.protocol
|
||||
%__ln_s /etc/alternatives/svn+http.protocol %{?buildroot}%{tde_datadir}/services/svn+http.protocol
|
||||
%__ln_s /etc/alternatives/svn+https.protocol %{?buildroot}%{tde_datadir}/services/svn+https.protocol
|
||||
%__ln_s /etc/alternatives/svn+ssh.protocol %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol
|
||||
%__ln_s /etc/alternatives/svn.protocol %{?buildroot}%{tde_datadir}/services/svn.protocol
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
|
||||
%postun
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
|
||||
%post -n trinity-libsvnqt
|
||||
/sbin/ldconfig || :
|
||||
|
||||
%post tdeio-plugins
|
||||
for proto in svn+file svn+http svn+https svn+ssh svn; do
|
||||
update-alternatives --install \
|
||||
%{tde_datadir}/services/${proto}.protocol \
|
||||
${proto}.protocol \
|
||||
%{tde_datadir}/services/${proto}.protocol_tdesvn \
|
||||
20
|
||||
done
|
||||
|
||||
%preun tdeio-plugins
|
||||
if [ $1 -eq 0 ]; then
|
||||
for proto in svn+file svn+http svn+https svn+ssh svn; do
|
||||
update-alternatives --remove \
|
||||
${proto}.protocol \
|
||||
%{tde_datadir}/services/${proto}.protocol_tdesvn
|
||||
done
|
||||
fi
|
||||
|
||||
|
||||
|
||||
%postun -n trinity-libsvnqt
|
||||
/sbin/ldconfig || :
|
||||
|
||||
|
||||
%files -f kdesvn.lang
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS ChangeLog COPYING NEWS README TODO
|
||||
%{tde_bindir}/tdesvn
|
||||
%{tde_bindir}/tdesvnaskpass
|
||||
%{tde_tdelibdir}/tdesvnpart.la
|
||||
%{tde_tdelibdir}/tdesvnpart.so
|
||||
%{tde_datadir}/applications/tde/tdesvn.desktop
|
||||
%{tde_datadir}/tdeconf_update/tdesvn-use-external-update.sh
|
||||
%{tde_datadir}/tdeconf_update/tdesvnpartrc-use-external.upd
|
||||
%{tde_datadir}/tdesvn/tdesvnui.rc
|
||||
%{tde_datadir}/tdesvnpart/tdesvn_part.rc
|
||||
%{tde_datadir}/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
|
||||
#%{tde_tdedocdir}/HTML/*/
|
||||
%{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
|
||||
%{tde_datadir}/tdesvn/icons/hicolor/*/apps/tdesvn.png
|
||||
%{tde_datadir}/tdesvn/icons/hicolor/scalable/apps/tdesvn.svgz
|
||||
|
||||
%files -n trinity-libsvnqt
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_libdir}/libsvnqt.so.4
|
||||
%{tde_libdir}/libsvnqt.so.4.2.2
|
||||
|
||||
%files -n trinity-libsvnqt-devel
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_includedir}/svnqt
|
||||
%{tde_libdir}/libsvnqt.so
|
||||
|
||||
%files tdeio-plugins
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_datadir}/services/kded/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
|
||||
%{tde_datadir}/services/svn+http.protocol
|
||||
%{tde_datadir}/services/svn+https.protocol
|
||||
%{tde_datadir}/services/svn+ssh.protocol
|
||||
%{tde_datadir}/services/svn.protocol
|
||||
%{tde_datadir}/services/svn+file.protocol_tdesvn
|
||||
%{tde_datadir}/services/svn+http.protocol_tdesvn
|
||||
%{tde_datadir}/services/svn+https.protocol_tdesvn
|
||||
%{tde_datadir}/services/svn+ssh.protocol_tdesvn
|
||||
%{tde_datadir}/services/svn.protocol_tdesvn
|
||||
%{tde_tdelibdir}/tdeio_ksvn.la
|
||||
%{tde_tdelibdir}/tdeio_ksvn.so
|
||||
%{tde_tdelibdir}/kded_tdesvnd.la
|
||||
%{tde_tdelibdir}/kded_tdesvnd.so
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 1.0.4-6
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.0.4-5
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 1.0.4-4
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Mon Jul 30 2012 Francois Andriot <francois.andriot@free.fr> - 1.0.4-3
|
||||
- Installs SVN protocols as alternative, avoids conlict with TDESDK
|
||||
|
||||
* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 1.0.4-2
|
||||
- Rebuilt for Fedora 17
|
||||
- Fix post and postun
|
||||
- Fix compilation with GCC 4.7
|
||||
|
||||
* Thu Dec 01 2011 Francois Andriot <francois.andriot@free.fr> - 1.0.4-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
@ -0,0 +1,137 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg tdmtheme
|
||||
%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: theme manager for TDM [Trinity]
|
||||
Version: 1.2.2
|
||||
Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://beta.smileaf.org/projects
|
||||
|
||||
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 >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
Obsoletes: trinity-kdmtheme < %{version}-%{release}
|
||||
Provides: trinity-kdmtheme = %{version}-%{release}
|
||||
|
||||
|
||||
%description
|
||||
kdmtheme is a theme manager for KDM. It provides a TDE Control Module (KCM)
|
||||
that allows you to easily install, remove and change your KDM themes.
|
||||
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR 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-rpath
|
||||
|
||||
%__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_tdmtheme.la
|
||||
%{tde_tdelibdir}/kcm_tdmtheme.so
|
||||
%{tde_tdeappdir}/tdmtheme.desktop
|
||||
%{tde_tdedocdir}/HTML/en/tdmtheme/
|
||||
|
||||
|
||||
%post
|
||||
update-desktop-database %{tde_appdir} &> /dev/null
|
||||
|
||||
%postun
|
||||
update-desktop-database %{tde_appdir} &> /dev/null
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 1.2.2-6
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Thu Jun 27 2013 Francois Andriot <francois.andriot@free.fr> - 1.2.2-5
|
||||
- Fix tdmtheme crash. This resolves Bug 1544
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.2.2-4
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 1.2.2-3
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 1.2.2-2
|
||||
- Rebuilt for Fedora 17
|
||||
- Removes post and postun
|
||||
- Removes the 'lintian' stuff from Debian
|
||||
|
||||
* Fri Nov 25 2011 Francois Andriot <francois.andriot@free.fr> - 1.2.2-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
@ -0,0 +1,231 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg tellico
|
||||
%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_tdedocdir}
|
||||
|
||||
|
||||
Name: trinity-%{tde_pkg}
|
||||
Summary: Icollection manager for books, videos, music [Trinity]
|
||||
Version: 1.3.2.1
|
||||
Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://periapsis.org/tellico/
|
||||
|
||||
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-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
%if 0%{?mgaversion} || 0%{?mdkversion}
|
||||
BuildRequires: yaz
|
||||
BuildRequires: %{_lib}yaz-devel
|
||||
%endif
|
||||
|
||||
Requires: %{name}-data = %{version}-%{release}
|
||||
Requires: %{name}-scripts = %{version}-%{release}
|
||||
|
||||
%description
|
||||
Tellico is a collection manager for TDE. It includes default collections for
|
||||
books, bibliographies, comic books, videos, music, coins, stamps, trading
|
||||
cards, and wines, and also allows custom collections; with unlimited
|
||||
user-defined fields allowed. Automatically formatted names, sorting by any
|
||||
property, filters, automatic ISBN validation and full customization for
|
||||
printing or display through XSLT files are some of the features present. It
|
||||
can import CSV, RIS, BibTeX, and BibTeXML files; and export CSV, HTML, BibTeX,
|
||||
BibTeXML, and PilotDB. Tellico can also import data from Amazon, IMDb, CDDB,
|
||||
or any US-MARC compliant z39.50 server.
|
||||
|
||||
The files are stored in XML format, avoiding the need for database server.
|
||||
It also makes it easy for other softwares to use the Tellico data.
|
||||
|
||||
|
||||
%package data
|
||||
Group: Applications/Utilities
|
||||
Summary: collection manager for books, videos, music [data] [Trinity]
|
||||
|
||||
%description data
|
||||
Tellico is a collection manager for TDE. It includes default collections for
|
||||
books, bibliographies, comic books, videos, music, coins, stamps, trading
|
||||
cards, and wines, and also allows custom collections; with unlimited
|
||||
user-defined fields allowed. Automatically formatted names, sorting by any
|
||||
property, filters, automatic ISBN validation and full customization for
|
||||
printing or display through XSLT files are some of the features present. It
|
||||
can import CSV, RIS, BibTeX, and BibTeXML files; and export CSV, HTML, BibTeX,
|
||||
BibTeXML, and PilotDB. Tellico can also import data from Amazon, IMDb, CDDB,
|
||||
or any US-MARC compliant z39.50 server.
|
||||
|
||||
The files are stored in XML format, avoiding the need for database server.
|
||||
It also makes it easy for other softwares to use the Tellico data.
|
||||
|
||||
This package contains the architecture independent files, such data files and
|
||||
documentation.
|
||||
|
||||
%package scripts
|
||||
Group: Applications/Utilities
|
||||
Summary: collection manager for books, videos, music [scripts] [Trinity]
|
||||
|
||||
%description scripts
|
||||
Tellico is a collection manager for TDE. It includes default collections for
|
||||
books, bibliographies, comic books, videos, music, coins, stamps, trading
|
||||
cards, and wines, and also allows custom collections; with unlimited
|
||||
user-defined fields allowed. Automatically formatted names, sorting by any
|
||||
property, filters, automatic ISBN validation and full customization for
|
||||
printing or display through XSLT files are some of the features present. It
|
||||
can import CSV, RIS, BibTeX, and BibTeXML files; and export CSV, HTML, BibTeX,
|
||||
BibTeXML, and PilotDB. Tellico can also import data from Amazon, IMDb, CDDB,
|
||||
or any US-MARC compliant z39.50 server.
|
||||
|
||||
The files are stored in XML format, avoiding the need for database server.
|
||||
It also makes it easy for other softwares to use the Tellico data.
|
||||
|
||||
This package contains the scripts to import data from external sources, such
|
||||
as websites. As the format of the data may change, these scripts are provided
|
||||
as a separate package which can be updated through debian-volatile.
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR 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} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--mandir=%{tde_mandir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--disable-rpath \
|
||||
--with-extra-includes=
|
||||
|
||||
%__make %{?_smp_mflags} || %__make
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
# Add svg icons to xdg directories
|
||||
%__install -D -c -p -m 644 icons/tellico.svg %{?buildroot}%{tde_datadir}/icons/hicolor/scalable/apps/tellico.svg
|
||||
%__install -D -c -p -m 644 icons/tellico_mime.svg %{?buildroot}%{tde_datadir}/icons/hicolor/scalable/mimetypes/application-x-tellico.svg
|
||||
|
||||
# Remove dead symlink from French translation
|
||||
%__rm %{?buildroot}%{tde_tdedocdir}/HTML/fr/tellico/common
|
||||
|
||||
|
||||
%find_lang %{tde_pkg}
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
|
||||
%postun
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
|
||||
|
||||
%files -f %{tde_pkg}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_bindir}/tellico
|
||||
#%{tde_datadir}/pixmaps
|
||||
%{tde_datadir}/applications
|
||||
%{tde_datadir}/config/tellicorc
|
||||
|
||||
%files data
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_datadir}/apps/tellico/*.xsl
|
||||
%{tde_datadir}/apps/tellico/*.xml
|
||||
%{tde_datadir}/apps/tellico/*.png
|
||||
%{tde_datadir}/apps/tellico/entry-templates
|
||||
%{tde_datadir}/apps/tellico/*.py*
|
||||
%{tde_datadir}/apps/tellico/pics
|
||||
%{tde_datadir}/apps/tellico/report-templates
|
||||
%{tde_datadir}/apps/tellico/tellico.dtd
|
||||
%{tde_datadir}/apps/tellico/tellico.tips
|
||||
%{tde_datadir}/apps/tellico/tellico2html.js
|
||||
%{tde_datadir}/apps/tellico/tellicoui.rc
|
||||
%{tde_datadir}/apps/tellico/welcome.html
|
||||
%{tde_datadir}/config.kcfg
|
||||
%{tde_tdedocdir}/HTML/*/tellico/
|
||||
%{tde_datadir}/icons
|
||||
%{tde_datadir}/apps/mime
|
||||
%{tde_datadir}/mimelnk
|
||||
%{tde_datadir}/apps/tdeconf_update/tellico-1-3-update.pl
|
||||
%{tde_datadir}/apps/tdeconf_update/tellico-rename.upd
|
||||
%{tde_datadir}/apps/tdeconf_update/tellico.upd
|
||||
|
||||
%files scripts
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_datadir}/apps/tellico/data-sources
|
||||
%{tde_datadir}/apps/tellico/z3950-servers.cfg
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 1.3.2.1-6
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.3.2.1-5
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 1.3.2.1-4
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Sat Dec 03 2011 Francois Andriot <francois.andriot@free.fr> - 1.3.2.1-3
|
||||
- Fix compilation with GCC 4.7 [Bug #958]
|
||||
|
||||
* Fri Nov 25 2011 Francois Andriot <francois.andriot@free.fr> - 1.3.2.1-2
|
||||
- Fix HTML directory location
|
||||
|
||||
* Thu Nov 24 2011 Francois Andriot <francois.andriot@free.fr> - 1.3.2.1-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
@ -0,0 +1,127 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg twin-style-crystal
|
||||
%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_tdedocdir}
|
||||
|
||||
|
||||
Name: trinity-%{tde_pkg}
|
||||
Summary: Semi transparant window decoration for Trinity.
|
||||
Version: 1.0.5
|
||||
Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Prefix: %{tde_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
Obsoletes: trinity-kwin-style-crystal < %{version}-%{release}
|
||||
Provides: trinity-kwin-style-crystal = %{version}-%{release}
|
||||
|
||||
%description
|
||||
Crystal offers you pseudo transparent titlebar, buttons and borders
|
||||
transparent, so you can see more of your lovely background image
|
||||
Transparancy and buttons can be costumized to match your wishes.
|
||||
Offers rounded corners as well
|
||||
|
||||
And it is of course nice to look at. Upstream says:
|
||||
"- Don't forget to breathe, while drooling."
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
||||
%__make -f "admin/Makefile.common"
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR 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-rpath \
|
||||
--with-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_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
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 1.0.5-4
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.0.5-3
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 1.0.5-2
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Sat Nov 19 2011 Francois Andriot <francois.andriot@free.fr> - 1.0.5-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
@ -0,0 +1,147 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg wlassistant
|
||||
%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_tdedocdir}
|
||||
|
||||
|
||||
Name: trinity-%{tde_pkg}
|
||||
Summary: User friendly TDE frontend for wireless network connection [Trinity]
|
||||
Version: 0.5.7
|
||||
Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://wlassistant.sourceforge.net/
|
||||
|
||||
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-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
BuildRequires: python
|
||||
BuildRequires: cmake >= 2.8
|
||||
|
||||
%description
|
||||
Wireless Assistant scans for wireless access points and displays link quality,
|
||||
encryption and other useful information. When user wants to connect to a
|
||||
network, Wireless Assistant opens up its wizards and guides the user through
|
||||
Wi-Fi settings. After a successful connection is made the settings are
|
||||
remembered so next time the user won't have to enter them again.
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
|
||||
# Shitty hack for RHEL4 ...
|
||||
if [ -d "/usr/X11R6" ]; then
|
||||
export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH}:/usr/X11R6/include:/usr/X11R6/%{_lib}"
|
||||
export CFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
|
||||
export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
|
||||
fi
|
||||
|
||||
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
|
||||
%__mkdir_p build
|
||||
cd build
|
||||
%endif
|
||||
|
||||
%cmake \
|
||||
-DBIN_INSTALL_DIR=%{tde_bindir} \
|
||||
-DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
|
||||
-DLIB_INSTALL_DIR=%{tde_libdir} \
|
||||
-DSHARE_INSTALL_PREFIX=%{tde_datadir} \
|
||||
-DBUILD_ALL=on \
|
||||
..
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot} -C build
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
|
||||
%postun
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc ChangeLog VERSION
|
||||
%{tde_bindir}/wlassistant
|
||||
%{tde_tdeappdir}/wlassistant.desktop
|
||||
%{tde_datadir}/icons/hicolor/16x16/apps/wlassistant.png
|
||||
%{tde_datadir}/icons/hicolor/32x32/apps/wlassistant.png
|
||||
%lang(ar) %{tde_datadir}/locale/ar/LC_MESSAGES/wlassistant.mo
|
||||
%lang(ca) %{tde_datadir}/locale/ca/LC_MESSAGES/wlassistant.mo
|
||||
%lang(es) %{tde_datadir}/locale/es/LC_MESSAGES/wlassistant.mo
|
||||
%lang(fr) %{tde_datadir}/locale/fr/LC_MESSAGES/wlassistant.mo
|
||||
%lang(nb) %{tde_datadir}/locale/nb/LC_MESSAGES/wlassistant.mo
|
||||
%lang(pl) %{tde_datadir}/locale/pl/LC_MESSAGES/wlassistant.mo
|
||||
%lang(pt) %{tde_datadir}/locale/pt_BR/LC_MESSAGES/wlassistant.mo
|
||||
%lang(sv) %{tde_datadir}/locale/sv/LC_MESSAGES/wlassistant.mo
|
||||
%lang(zh_CN) %{tde_datadir}/locale/zh_CN/LC_MESSAGES/wlassistant.mo
|
||||
%lang(zh_TW) %{tde_datadir}/locale/zh_TW/LC_MESSAGES/wlassistant.mo
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.5.7-4
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.5.7-3
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.5.7-2
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Tue Nov 29 2011 Francois Andriot <francois.andriot@free.fr> - 0.5.7-1
|
||||
- Initial release for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
Loading…
Reference in new issue