Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tde-packaging
commit
270e590e7e
@ -0,0 +1,127 @@
|
||||
# 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_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: Calculator for TDE
|
||||
Version: 0.91
|
||||
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-arts-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: cmake >= 2.8
|
||||
BuildRequires: bison
|
||||
|
||||
%description
|
||||
AbaKus is a complex calculator, which provides
|
||||
many different kinds of calculations.
|
||||
Think of it as bc (the command-line calculator) with a nice GUI.
|
||||
It also gives information about mathematical variables and
|
||||
has the user-friendly menu options of a normal TDE application.
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{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}"
|
||||
|
||||
# Specific path for RHEL4
|
||||
if [ -d "/usr/X11R6" ]; then
|
||||
export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
|
||||
fi
|
||||
|
||||
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
|
||||
%__mkdir_p build
|
||||
cd build
|
||||
%endif
|
||||
|
||||
%cmake \
|
||||
-DCMAKE_INSTALL_PREFIX=%{tde_prefix} \
|
||||
-DSHARE_INSTALL_PREFIX=%{tde_datadir} \
|
||||
-DBUILD_ALL=ON \
|
||||
..
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot} -C build
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
|
||||
%postun
|
||||
touch --no-create %{tde_datadir}/icons/hicolor || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS COPYING
|
||||
%{tde_bindir}/abakus
|
||||
%{tde_datadir}/apps/abakus/
|
||||
%{tde_datadir}/icons/hicolor/*/apps/abakus.png
|
||||
%{tde_tdedocdir}/HTML/en/abakus/
|
||||
%{tde_datadir}/applnk/Utilities/abakus.desktop
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.91-6
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.91-5
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Tue Oct 02 2012 Francois Andriot <francois.andriot@free.fr> - 0.91-4
|
||||
- Initial release for TDE 3.5.13.1
|
@ -0,0 +1,165 @@
|
||||
# Default version for this component
|
||||
%define tdecomp kpowersave-nohal
|
||||
%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-%{tdecomp}
|
||||
Version: 0.7.3
|
||||
Release: %{?!preversion:5}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
|
||||
Summary: 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-dbus-tqt-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
|
||||
%description
|
||||
KPowersave is a TDE systray applet which allows to control the power
|
||||
management settings and policies of your computer.
|
||||
|
||||
Current feature list:
|
||||
* support for ACPI, APM and PMU
|
||||
* trigger suspend to disk/ram and standby
|
||||
* switch cpu frequency policy (between: performance, dynamic and powersave)
|
||||
* applet icon with information about AC state, battery fill and battery
|
||||
(warning) states
|
||||
* applet tooltip with information about battery fill and remaining battery
|
||||
time/percentage
|
||||
* autosuspend (to suspend the machine if the user has been inactive for a
|
||||
defined time)
|
||||
* a global configurable blacklist with programs which prevent autosuspend
|
||||
(e.g. videoplayer and cd burning tools)
|
||||
* trigger lock screen and select the lock method
|
||||
* KNotify support
|
||||
* online help
|
||||
* localisations for many languages
|
||||
|
||||
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
|
||||
* Thu Jul 04 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 build 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 build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
|
@ -0,0 +1,134 @@
|
||||
# Default version for this component
|
||||
%define tde_pkg yakuake
|
||||
%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: Yakuake is a Quake-style terminal emulator based on TDE Konsole technology.
|
||||
Version: 2.8.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://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
|
||||
Yakuake is a Quake-style terminal emulator based on TDE Konsole technology.
|
||||
|
||||
%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 COPYING
|
||||
%{tde_bindir}/*
|
||||
%{tde_datadir}/applications/*/*.desktop
|
||||
%{tde_datadir}/apps/*/
|
||||
%{tde_datadir}/icons/hicolor/*/*/*
|
||||
%{tde_datadir}/locale/*/*/*.mo
|
||||
%{tde_datadir}/config.kcfg/*.kcfg
|
||||
|
||||
%changelog
|
||||
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 2.8.1-6
|
||||
- Initial release for TDE 14.0.0
|
||||
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 2.8.1-5
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 2.8.1-4
|
||||
- Initial release for TDE 3.5.13.1
|
||||
|
||||
* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 2.8.1-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> - 2.8.1-2
|
||||
- Import to GIT
|
||||
|
||||
* Mon Aug 22 2011 Francois Andriot <francois.andriot@free.fr> - 2.8.1-1
|
||||
- Correct macro to install under "/opt", if desired
|
||||
|
||||
* Sun Aug 14 2011 Francois Andriot <francois.andriot@free.fr> - 2.8.1-0
|
||||
- Initial release for RHEL 6.0
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- trinity-python-tqt-14.0.0~pre36+d3f27c3e/sip/qt/qobject.sip.ORI 2013-07-03 20:23:06.054830311 +0200
|
||||
+++ trinity-python-tqt-14.0.0~pre36+d3f27c3e/sip/qt/qobject.sip 2013-07-03 20:23:14.833911835 +0200
|
||||
@@ -2196,7 +2196,7 @@
|
||||
// See if it is a TQt signal.
|
||||
if (*sig == '2')
|
||||
{
|
||||
- pyqt3TQtSignal *tab;
|
||||
+ pyqt3QtSignal *tab;
|
||||
|
||||
// Search the table.
|
||||
for (tab = ((pyqt3ClassTypeDef *)((sipWrapperType *)(self->ob_type))->type)->qt3_emit; tab->st_name != NULL; ++tab)
|
@ -0,0 +1,172 @@
|
||||
%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||
%define tde_version 14.0.0
|
||||
|
||||
# Always install under standard prefix
|
||||
%define tde_prefix /usr
|
||||
|
||||
%define tde_bindir %{tde_prefix}/bin
|
||||
%define tde_includedir %{tde_prefix}/include
|
||||
%define tde_libdir %{tde_prefix}/%{_lib}
|
||||
|
||||
Name: trinity-python-tqt
|
||||
Version: 3.18.1
|
||||
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
|
||||
License: GPL
|
||||
|
||||
Summary: TQt bindings for Python
|
||||
Group: System Environment/Libraries
|
||||
|
||||
Obsoletes: trinity-PyQt
|
||||
Obsoletes: trinity-python-qt3
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
|
||||
Prefix: %{tde_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
||||
Patch0: python-tqt-14.0.0-ftbfs.patch
|
||||
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: python-sip
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{version}
|
||||
BuildRequires: trinity-tqscintilla-devel
|
||||
|
||||
# TDE specific building variables
|
||||
BuildRequires: cmake >= 2.8
|
||||
BuildRequires: trinity-tqt3-devel >= 3.5.0
|
||||
Requires: trinity-tqt3 >= 3.5.0
|
||||
|
||||
|
||||
%description
|
||||
Python binding module that allows use of TQt X Window toolkit v3.
|
||||
You can use it to create portable graphics-capable scripts (there
|
||||
are PyQt versions for Linux, Windows and MacOS X).
|
||||
|
||||
At this moment PyQt offers a vast subset of TQt API. There are
|
||||
some minor issues related to the differences between C++ and Python
|
||||
(types, etc), but usually you'll be able to write code pretty much the
|
||||
same way in both languages (with syntax differences, of course)
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc NEWS README
|
||||
%{python_sitearch}/qt.so
|
||||
%{python_sitearch}/qtcanvas.so
|
||||
%{python_sitearch}/qtnetwork.so
|
||||
%{python_sitearch}/qtsql.so
|
||||
%{python_sitearch}/qttable.so
|
||||
%{python_sitearch}/qtui.so
|
||||
%{python_sitearch}/qtxml.so
|
||||
|
||||
##########
|
||||
|
||||
%package gl
|
||||
Summary: TQt OpenGL bindings for Python
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description gl
|
||||
Python binding module that allows use of the OpenGL facilities
|
||||
offered by the TQt X Window toolkit v3. You can use it to create
|
||||
portable graphics-capable scripts (there are PyQt versions for
|
||||
Linux, Windows and MacOS X).
|
||||
|
||||
%files gl
|
||||
%defattr(-,root,root,-)
|
||||
%{python_sitearch}/qtgl.so
|
||||
|
||||
##########
|
||||
|
||||
%package tqtext
|
||||
Summary: TQt extensions for PyQt
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description tqtext
|
||||
PyQt Extensions. Contains:
|
||||
|
||||
* QScintilla: a featureful TQt source code editing component based
|
||||
on Scintilla.
|
||||
|
||||
%files tqtext
|
||||
%defattr(-,root,root,-)
|
||||
%{python_sitearch}/qtext.so
|
||||
|
||||
##########
|
||||
|
||||
%package -n trinity-pytqt-tools
|
||||
Summary: pyuic and pylupdate for TQt
|
||||
|
||||
%description -n trinity-pytqt-tools
|
||||
pyuic is the PyQt counterpart for TQt's uic. It takes an XML
|
||||
user interface file and generates Python code.
|
||||
|
||||
pylupdate is the counterpart for TQt's lupdate. It updates TQt
|
||||
Linguist translation files from Python code.
|
||||
|
||||
%files -n trinity-pytqt-tools
|
||||
%{_bindir}/pylupdate
|
||||
%{_bindir}/pyuic
|
||||
|
||||
##########
|
||||
|
||||
%package devel
|
||||
Summary: TQt bindings for Python - Development files
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
Development .sip files with definitions of PyQt classes. They
|
||||
are needed to build PyQt, but also as building blocks of other
|
||||
packages based on them, like PyKDE.
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{python_sitearch}/pyqtconfig.py
|
||||
%{_datadir}/sip/tqt/
|
||||
|
||||
##########
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
%patch0 -p1 -b .ftbfs
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
echo yes | python ../configure.py \
|
||||
-c -n %{_includedir}/tqscintilla \
|
||||
-q /usr/share/tqt3 \
|
||||
-y tqt-mt \
|
||||
-o %{_libdir} -u -j 10 \
|
||||
-d %{python_sitearch} \
|
||||
-v %{_datadir}/sip/tqt \
|
||||
-w \
|
||||
CXXFLAGS_RELEASE="" CXXFLAGS="${RPM_OPT_FLAGS} -I%{_includedir}/tqt" STRIP=""
|
||||
|
||||
%__make
|
||||
|
||||
|
||||
%install
|
||||
%__rm -rf %{?buildroot}
|
||||
%__make install DESTDIR=%{?buildroot} -C build
|
||||
|
||||
%__install -d %{?buildroot}%{_datadir}/sip/
|
||||
%__cp -rf sip/* %{?buildroot}%{_datadir}/sip/tqt/
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{?buildroot}
|
||||
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Feb 16 2012 Francois Andriot <francois.andriot@free.fr> - 14.0.0-1
|
||||
- Initial build for TDE R14, using 'tqt3' instead of 'qt3'
|
||||
|
@ -0,0 +1,15 @@
|
||||
--- trinity-tqscintilla-14.0.0~pre20+a3562a94/qt/qscintilla.pro.ORI 2013-07-02 19:27:56.391143562 +0200
|
||||
+++ trinity-tqscintilla-14.0.0~pre20+a3562a94/qt/qscintilla.pro 2013-07-02 19:30:59.279346578 +0200
|
||||
@@ -211,10 +211,10 @@
|
||||
qscintilla_ru.ts
|
||||
|
||||
|
||||
-header.path = $(QTDIR)/include
|
||||
+header.path = /usr/include/tqt3
|
||||
header.files = qextscintilla*.h
|
||||
|
||||
-trans.path = $(QTDIR)/translations
|
||||
+trans.path = /usr/share/tqt3/translations
|
||||
trans.files = qscintilla_*.qm
|
||||
|
||||
INSTALLS += header trans
|
@ -0,0 +1,178 @@
|
||||
# Default version for this component
|
||||
%define tdecomp tqscintilla
|
||||
%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/kde
|
||||
%define tde_tdedocdir %{tde_docdir}/tde
|
||||
%define tde_tdeincludedir %{tde_includedir}/tde
|
||||
%define tde_tdelibdir %{tde_libdir}/trinity
|
||||
|
||||
%define _docdir %{tde_docdir}
|
||||
|
||||
|
||||
Name: trinity-%{tdecomp}
|
||||
Summary: TQt source code editing component based on Scintilla
|
||||
Version: 1.7.1
|
||||
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Development/Tools
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
Url: http://www.riverbankcomputing.co.uk/qscintilla/
|
||||
|
||||
Prefix: %{_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
||||
|
||||
# Fix FTBFS when using TQT3
|
||||
Patch0: tqscintilla-14.0.0-ftbfs.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
|
||||
|
||||
%description
|
||||
Scintilla is a free source code editing component. It has features found
|
||||
in standard editing components, as well as features especially useful
|
||||
when editing and debugging source code.
|
||||
|
||||
TQScintilla is a port or Scintilla to the TQt GUI toolkit.
|
||||
|
||||
|
||||
%package designer
|
||||
Summary: TQScintilla designer plugin
|
||||
Group: Development/Tools
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: trinity-tqt3-designer
|
||||
|
||||
%description designer
|
||||
%{summary}.
|
||||
|
||||
%package devel
|
||||
Summary: TQScintilla Development Files
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: trinity-tqt3-devel
|
||||
|
||||
%description devel
|
||||
%{summary}.
|
||||
|
||||
%package doc
|
||||
Summary: TQScintilla Documentation
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description doc
|
||||
%{summary}.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
%patch0 -p1 -b .ftbfs
|
||||
|
||||
%__sed -i "designer/designer.pro" \
|
||||
-e "s|\$(QTDIR)|%{_libdir}/tqt3|" \
|
||||
-e "s|# DESTDIR|DESTDIR|"
|
||||
|
||||
( cd qt; tqmake "DESTDIR=$PWD/../tmplib" )
|
||||
( cd designer; tqmake )
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
|
||||
%__make %{?_smp_mflags} -C qt
|
||||
%__make %{?_smp_mflags} -C designer
|
||||
|
||||
|
||||
%install
|
||||
unset QTDIR QTINC QTLIB
|
||||
export QTDIR=%{_libdir}/tqt3
|
||||
%__rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
# Installs the QT part
|
||||
%__make INSTALL_ROOT=$RPM_BUILD_ROOT -C qt install
|
||||
|
||||
# Installs supplementary headers
|
||||
for i in include/*.h; do
|
||||
%__install -D -m 644 $i %{buildroot}${QTINC}/private/${i##*/}
|
||||
done
|
||||
|
||||
# Installs the HTML documentation
|
||||
for i in doc/html/*; do
|
||||
%__install -D -m 644 $i %{buildroot}%{tde_docdir}/HTML/en/%{name}/${i##*/}
|
||||
done
|
||||
|
||||
# Installs the Designer plugin
|
||||
for i in designer/*.so; do
|
||||
%__install -D -m 644 $i %{buildroot}${QTDIR}/plugins/designer/${i##*/}
|
||||
done
|
||||
|
||||
# Installs libraries
|
||||
%__mkdir_p %{buildroot}%{_libdir}
|
||||
%__mv -f tmplib/* %{buildroot}%{_libdir}
|
||||
|
||||
# Fix private headers location
|
||||
%__mv -f %{buildroot}/private %{buildroot}%{_includedir}/tqt3
|
||||
%__mv -f %{buildroot}%{_includedir}/tqt3 %{buildroot}%{_includedir}/tqscintilla
|
||||
|
||||
%clean
|
||||
%__rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
|
||||
%post devel
|
||||
/sbin/ldconfig
|
||||
|
||||
%postun devel
|
||||
/sbin/ldconfig
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc ChangeLog LICENSE NEWS README
|
||||
%{_libdir}/libqscintilla.so.*
|
||||
%{_datadir}/tqt3/translations/*.qm
|
||||
|
||||
%files designer
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/tqt3/plugins/designer/*.so
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%doc doc/html doc/Scintilla example
|
||||
%{_includedir}/tqscintilla/*.h
|
||||
%{_includedir}/tqscintilla/private/*.h
|
||||
%{_libdir}/libqscintilla.so
|
||||
|
||||
%files doc
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_docdir}/HTML/en/%{name}
|
||||
|
||||
%changelog
|
||||
* Tue Jul 02 2013 Francois Andriot <francois.andriot@free.fr> - 1.7.1-1
|
||||
- Initial build for TDE 14.0.0
|
@ -1,614 +0,0 @@
|
||||
--- tqscintilla-master/qt/qextscintillacommandset.cpp.ORI 2011-12-04 14:33:29.344201345 +0100
|
||||
+++ tqscintilla-master/qt/qextscintillacommandset.cpp 2011-12-04 14:35:03.180233103 +0100
|
||||
@@ -43,525 +43,525 @@
|
||||
QextScintillaBase::SCI_LINEDOWN,
|
||||
TQt::Key_Down,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Move down one line")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_LINEDOWNEXTEND,
|
||||
TQt::Key_Down | TQt::SHIFT,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Extend selection down one line")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_LINESCROLLDOWN,
|
||||
TQt::Key_Down | TQt::CTRL,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Scroll view down one line")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_LINEDOWNRECTEXTEND,
|
||||
TQt::Key_Down | TQt::ALT | TQt::SHIFT,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Extend rectangular selection down one line")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_LINEUP,
|
||||
TQt::Key_Up,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Move up one line")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_LINEUPEXTEND,
|
||||
TQt::Key_Up | TQt::SHIFT,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Extend selection up one line")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_LINESCROLLUP,
|
||||
TQt::Key_Up | TQt::CTRL,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Scroll view up one line")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_LINEUPRECTEXTEND,
|
||||
TQt::Key_Up | TQt::ALT | TQt::SHIFT,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Extend rectangular selection up one line")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_PARAUP,
|
||||
TQt::Key_BracketLeft | TQt::CTRL,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Move up one paragraph")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_PARAUPEXTEND,
|
||||
TQt::Key_BracketLeft | TQt::CTRL | TQt::SHIFT,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Extend selection up one paragraph")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_PARADOWN,
|
||||
TQt::Key_BracketRight | TQt::CTRL,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Move down one paragraph")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_PARADOWNEXTEND,
|
||||
TQt::Key_BracketRight | TQt::CTRL | TQt::SHIFT,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Extend selection down one paragraph")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_CHARLEFT,
|
||||
TQt::Key_Left,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Move left one character")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_CHARLEFTEXTEND,
|
||||
TQt::Key_Left | TQt::SHIFT,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Extend selection left one character")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_WORDLEFT,
|
||||
TQt::Key_Left | TQt::CTRL,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Move left one word")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_WORDLEFTEXTEND,
|
||||
TQt::Key_Left | TQt::SHIFT | TQt::CTRL,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Extend selection left one word")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_CHARLEFTRECTEXTEND,
|
||||
TQt::Key_Left | TQt::ALT | TQt::SHIFT,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Extend rectangular selection left one character")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_CHARRIGHT,
|
||||
TQt::Key_Right,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Move right one character")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_CHARRIGHTEXTEND,
|
||||
TQt::Key_Right | TQt::SHIFT,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Extend selection right one character")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_WORDRIGHT,
|
||||
TQt::Key_Right | TQt::CTRL,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Move right one word")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_WORDRIGHTEXTEND,
|
||||
TQt::Key_Right | TQt::CTRL | TQt::SHIFT,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Extend selection right one word")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_CHARRIGHTRECTEXTEND,
|
||||
TQt::Key_Right | TQt::ALT | TQt::SHIFT,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Extend rectangular selection right one character")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_WORDPARTLEFT,
|
||||
TQt::Key_Slash | TQt::CTRL,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Move left one word part")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_WORDPARTLEFTEXTEND,
|
||||
TQt::Key_Slash | TQt::CTRL | TQt::SHIFT,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Extend selection left one word part")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_WORDPARTRIGHT,
|
||||
TQt::Key_Backslash | TQt::CTRL,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Move right one word part")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_WORDPARTRIGHTEXTEND,
|
||||
TQt::Key_Backslash | TQt::CTRL | TQt::SHIFT,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Extend selection right one word part")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_VCHOME,
|
||||
TQt::Key_Home,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Move to first visible character in line")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_VCHOMEEXTEND,
|
||||
TQt::Key_Home | TQt::SHIFT,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Extend selection to first visible character in line")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_DOCUMENTSTART,
|
||||
TQt::Key_Home | TQt::CTRL,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Move to start of text")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_DOCUMENTSTARTEXTEND,
|
||||
TQt::Key_Home | TQt::CTRL | TQt::SHIFT,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Extend selection to start of text")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_HOMEDISPLAY,
|
||||
TQt::Key_Home | TQt::ALT,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Move to start of displayed line")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_HOMEDISPLAYEXTEND,
|
||||
0,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Extend selection to start of line")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_VCHOMERECTEXTEND,
|
||||
TQt::Key_Home | TQt::ALT | TQt::SHIFT,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Extend rectangular selection to first visible character in line")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_LINEEND,
|
||||
TQt::Key_End,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Move to end of line")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_LINEENDEXTEND,
|
||||
TQt::Key_End | TQt::SHIFT,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Extend selection to end of line")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_DOCUMENTEND,
|
||||
TQt::Key_End | TQt::CTRL,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Move to end of text")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_DOCUMENTENDEXTEND,
|
||||
TQt::Key_End | TQt::CTRL | TQt::SHIFT,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Extend selection to end of text")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_LINEENDDISPLAY,
|
||||
TQt::Key_End | TQt::ALT,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Move to end of displayed line")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_LINEENDDISPLAYEXTEND,
|
||||
0,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Extend selection to end of displayed line")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_LINEENDRECTEXTEND,
|
||||
TQt::Key_End | TQt::ALT | TQt::SHIFT,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Extend rectangular selection to end of line")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_PAGEUP,
|
||||
TQt::Key_Prior,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Move up one page")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_PAGEUPEXTEND,
|
||||
TQt::Key_Prior | TQt::SHIFT,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Extend selection up one page")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_PAGEUPRECTEXTEND,
|
||||
TQt::Key_Prior | TQt::ALT | TQt::SHIFT,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Extend rectangular selection up one page")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_PAGEDOWN,
|
||||
TQt::Key_Next,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Move down one page")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_PAGEDOWNEXTEND,
|
||||
TQt::Key_Next | TQt::SHIFT,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Extend selection down one page")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_PAGEDOWNRECTEXTEND,
|
||||
TQt::Key_Next | TQt::ALT | TQt::SHIFT,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Extend rectangular selection down one page")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_CLEAR,
|
||||
TQt::Key_Delete,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Delete current character")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_CUT,
|
||||
TQt::Key_X | TQt::CTRL,
|
||||
TQt::Key_Delete | TQt::SHIFT,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Cut selection")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_DELWORDRIGHT,
|
||||
TQt::Key_Delete | TQt::CTRL,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Delete word to right")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_DELLINERIGHT,
|
||||
TQt::Key_Delete | TQt::CTRL | TQt::SHIFT,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Delete line to right")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_EDITTOGGLEOVERTYPE,
|
||||
TQt::Key_Insert,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Toggle insert/overtype")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_PASTE,
|
||||
TQt::Key_V | TQt::CTRL,
|
||||
TQt::Key_Insert | TQt::SHIFT,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Paste")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_COPY,
|
||||
TQt::Key_C | TQt::CTRL,
|
||||
TQt::Key_Insert | TQt::CTRL,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Copy selection")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_CANCEL,
|
||||
TQt::Key_Escape,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Cancel")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_DELETEBACK,
|
||||
TQt::Key_Backspace,
|
||||
TQt::Key_Backspace | TQt::SHIFT,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Delete previous character")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_DELWORDLEFT,
|
||||
TQt::Key_Backspace | TQt::CTRL,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Delete word to left")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_UNDO,
|
||||
TQt::Key_Z | TQt::CTRL,
|
||||
TQt::Key_Backspace | TQt::ALT,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Undo the last command")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_DELLINELEFT,
|
||||
TQt::Key_Backspace | TQt::CTRL | TQt::SHIFT,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Delete line to left")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_REDO,
|
||||
TQt::Key_Y | TQt::CTRL,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Redo last command")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_SELECTALL,
|
||||
TQt::Key_A | TQt::CTRL,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Select all text")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_TAB,
|
||||
TQt::Key_Tab,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Indent one level")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_BACKTAB,
|
||||
TQt::Key_Tab | TQt::SHIFT,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Move back one indentation level")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_NEWLINE,
|
||||
TQt::Key_Return,
|
||||
TQt::Key_Return | TQt::SHIFT,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Insert new line")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_ZOOMIN,
|
||||
TQt::Key_Plus | TQt::CTRL,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Zoom in")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_ZOOMOUT,
|
||||
TQt::Key_Minus | TQt::CTRL,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Zoom out")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_SETZOOM,
|
||||
0,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Set zoom")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_FORMFEED,
|
||||
0,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Formfeed")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_LINECUT,
|
||||
TQt::Key_L | TQt::CTRL,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Cut current line")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_LINEDELETE,
|
||||
TQt::Key_L | TQt::CTRL | TQt::SHIFT,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Delete current line")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_LINECOPY,
|
||||
TQt::Key_T | TQt::CTRL | TQt::SHIFT,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Copy current line")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_LINETRANSPOSE,
|
||||
TQt::Key_T | TQt::CTRL,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Swap current and previous lines")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_SELECTIONDUPLICATE,
|
||||
TQt::Key_D | TQt::CTRL,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Duplicate selection")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_LOWERCASE,
|
||||
TQt::Key_U | TQt::CTRL,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Convert selection to lower case")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_UPPERCASE,
|
||||
TQt::Key_U | TQt::CTRL | TQt::SHIFT,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Convert selection to upper case")
|
||||
},
|
||||
{
|
||||
QextScintillaBase::SCI_DELETEBACKNOTLINE,
|
||||
0,
|
||||
0,
|
||||
- TQT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
+ QT_TRANSLATE_NOOP("QextScintillaCommand",
|
||||
"Delete previous character if not at line start")
|
||||
},
|
||||
};
|
||||
--- tqscintilla-master/designer/designer.pro.ORI 2011-12-04 14:41:08.714487484 +0100
|
||||
+++ tqscintilla-master/designer/designer.pro 2011-12-04 14:41:21.248222899 +0100
|
||||
@@ -5,7 +5,7 @@
|
||||
TARGET = qscintillaplugin
|
||||
# DESTDIR = $(QTDIR)/plugins/designer
|
||||
INCLUDEPATH = ../qt /usr/include/tqt
|
||||
-LIBPATH += ../tmplib
|
||||
+LIBPATH += ../tmplib ../qt
|
||||
CONFIG += qt warn_on release plugin
|
||||
|
||||
SOURCES += qscintillaplugin.cpp
|
@ -1,235 +0,0 @@
|
||||
# Default version for this component
|
||||
%define kdecomp libtqscintilla
|
||||
%define version 1.7.1
|
||||
%define release 1
|
||||
|
||||
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
|
||||
%if "%{?_prefix}" != "/usr"
|
||||
%define _variant .opt
|
||||
%define _docdir %{_prefix}/share/doc
|
||||
%endif
|
||||
|
||||
# TDE 3.5.13 specific building variables
|
||||
BuildRequires: autoconf automake libtool m4
|
||||
%define tde_docdir %{_docdir}/kde
|
||||
%define tde_includedir %{_includedir}/kde
|
||||
%define tde_libdir %{_libdir}/trinity
|
||||
|
||||
%global qtdir %(qmake -query QT_INSTALL_PREFIX)
|
||||
%global qtdata %(qmake -query QT_INSTALL_DATA)
|
||||
%global qtinc %{qtdir}/include
|
||||
%global qtlib %{qtdir}/lib
|
||||
|
||||
|
||||
Name: %{kdecomp}
|
||||
Summary: TQt source code editing component based on Scintilla
|
||||
Version: %{?version}
|
||||
Release: %{?release}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Development/Tools
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
Url: http://www.riverbankcomputing.co.uk/qscintilla/
|
||||
|
||||
Prefix: %{_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
# This file is a GIT snapshot
|
||||
Source0: tqscintilla-master.tar.gz
|
||||
|
||||
# Fix FTBFS
|
||||
Patch0: tqscintilla-ftbfs.patch
|
||||
|
||||
BuildRequires: tqtinterface-devel
|
||||
BuildRequires: trinity-kdelibs-devel
|
||||
BuildRequires: trinity-kdebase-devel
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
%description
|
||||
Scintilla is a free source code editing component. It has features found
|
||||
in standard editing components, as well as features especially useful
|
||||
when editing and debugging source code.
|
||||
|
||||
TQScintilla is a port or Scintilla to the TQt GUI toolkit.
|
||||
|
||||
|
||||
%package designer
|
||||
Summary: TQScintilla designer plugin
|
||||
Group: Development/Tools
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: qt-designer
|
||||
%description designer
|
||||
%{summary}.
|
||||
|
||||
%package devel
|
||||
Summary: TQScintilla Development Files
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: qt-devel
|
||||
%description devel
|
||||
%{summary}.
|
||||
|
||||
%package doc
|
||||
Summary: TQScintilla Documentation
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
%description doc
|
||||
%{summary}.
|
||||
|
||||
%prep
|
||||
%setup -q -n tqscintilla-master
|
||||
%patch0 -p1
|
||||
|
||||
# Ugly hack to modify TQT include directory inside autoconf files.
|
||||
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
|
||||
%__sed -i */*.pro \
|
||||
-e "s|/usr/include/tqt|%{_includedir}/tqt|g"
|
||||
|
||||
( cd qt; qmake "DESTDIR=$PWD/../tmplib" )
|
||||
( cd designer; qmake )
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR; . /etc/profile.d/qt.sh
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{_libdir} -I%{_includedir}"
|
||||
|
||||
%__make %{?_smp_mflags} -C qt
|
||||
%__make %{?_smp_mflags} -C designer
|
||||
|
||||
|
||||
%install
|
||||
%__rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
# Installs the QT part
|
||||
%__make INSTALL_ROOT=$RPM_BUILD_ROOT -C qt install
|
||||
|
||||
# Installs supplementary headers
|
||||
for i in include/*.h; do
|
||||
%__install -D -m 644 $i %{buildroot}${QTINC}/private/${i##*/}
|
||||
done
|
||||
|
||||
# Installs the HTML documentation
|
||||
for i in doc/html/*; do
|
||||
%__install -D -m 644 $i %{buildroot}%{tde_docdir}/HTML/en/%{name}/${i##*/}
|
||||
done
|
||||
|
||||
# Installs the Designer plugin
|
||||
for i in designer/*.so; do
|
||||
%__install -D -m 644 $i %{buildroot}${QTDIR}/plugins/designer/${i##*/}
|
||||
done
|
||||
|
||||
# Installs libraries
|
||||
%__mkdir_p %{buildroot}%{_libdir}
|
||||
%__mv -f tmplib/* %{buildroot}%{_libdir}
|
||||
|
||||
%clean
|
||||
%__rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc ChangeLog LICENSE NEWS README
|
||||
%{_libdir}/*.so.*
|
||||
%{qtdir}/translations/*.qm
|
||||
|
||||
%files designer
|
||||
%defattr(-,root,root,-)
|
||||
%{qtdir}/plugins/designer/*.so
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%doc doc/html doc/Scintilla example
|
||||
%{qtinc}/*.h
|
||||
%{qtinc}/private/*.h
|
||||
%{_libdir}/*.so
|
||||
|
||||
%files doc
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_docdir}/HTML/en/%{name}
|
||||
|
||||
%changelog
|
||||
* Sat Aug 25 2007 Rex Dieter <rdieter[AT]fedoraproject.org> - 1.7.1-3
|
||||
- respin (BuildID)
|
||||
|
||||
* Sat Aug 11 2007 Rex Dieter <rdieter[AT]fedoraproject.org> - 1.7.1-2
|
||||
- License: GPLv2+
|
||||
|
||||
* Mon Dec 11 2006 Rex Dieter <rexdieter[AT]users.sf.net> - 1.7.1-1
|
||||
- QScintilla-1.71-gpl-1.7.1
|
||||
|
||||
* Thu Nov 09 2006 Rex Dieter <rexdieter[AT]users.sf.net> - 1.7-1
|
||||
- QScintilla1-1.71-gpl-1.7 (#214192)
|
||||
|
||||
* Sun Sep 03 2006 Konstantin Ryabitsev <icon@fedoraproject.org> - 1.6-3.3
|
||||
- FC6 rebuild.
|
||||
- Export flags.
|
||||
|
||||
* Mon Feb 13 2006 Konstantin Ryabitsev <icon@fedoraproject.org> - 1.6-3.2
|
||||
- FC5 Rebuild.
|
||||
|
||||
* Tue Jan 31 2006 Konstantin Ryabitsev <icon@fedoraproject.org> - 1.6-3.1
|
||||
- Rebuild for FC5.
|
||||
|
||||
* Wed Sep 14 2005 Konstantin Ryabitsev <icon@linux.duke.edu> - 1.6-3
|
||||
- Fix permissions in prep, not in install.
|
||||
|
||||
* Tue Sep 13 2005 Konstantin Ryabitsev <icon@linux.duke.edu> - 1.6-2
|
||||
- Fix permissions on doc files to be 0644.
|
||||
|
||||
* Sun Sep 11 2005 Konstantin Ryabitsev <icon@linux.duke.edu> 1.6-1
|
||||
- Update to 1.65-gpl-1.6
|
||||
- Use the patch from Aurelien Bompard to build sanely in buildroot
|
||||
- Include docs and examples for the -devel package
|
||||
|
||||
* Sat Aug 27 2005 Konstantin Ryabitsev <icon@linux.duke.edu> 1.5.1-1
|
||||
- Adapt for Fedora Extras
|
||||
- Drop 0-Epoch
|
||||
- Make specfile simpler
|
||||
- Move .so to devel
|
||||
|
||||
* Mon Mar 09 2005 Rex Dieter 0:1.5.1-0.0.kde
|
||||
- 1.5.1
|
||||
|
||||
* Thu Sep 16 2004 Rex Dieter <rexdieter at sf.net> 0:1.4-0.1.kde
|
||||
- updated designer-incpath patch: don't require an already installed
|
||||
qscintilla-devel
|
||||
- BuildConflicts: qscintilla-devel != %%version
|
||||
|
||||
* Thu Sep 16 2004 Rex Dieter <rexdieter at sf.net> 0:1.4-0.0.kde
|
||||
- 1.4
|
||||
- include designer plugin
|
||||
- Prereq: %%qtdir
|
||||
|
||||
* Fri May 28 2004 Rex Dieter <rexdieter at sf.net> 0:1.3-0.fdr.0
|
||||
- 1.3
|
||||
|
||||
* Thu Mar 11 2004 Rex Dieter <rexdieter at sf.net> 0:1.2-0.fdr.6
|
||||
- dynamically determine version for qt dependancy.
|
||||
|
||||
* Wed Mar 10 2004 Rex Dieter <rexdieter at sf.net> 0:1.2-0.fdr.5
|
||||
- (re)build against qt-3.3.1
|
||||
|
||||
* Wed Dec 03 2003 Rex Dieter <rexdieter at sf.net> 0:1.2-0.fdr.4
|
||||
- remove extraneous macros
|
||||
- (re)build against qt-3.2.3
|
||||
|
||||
* Mon Nov 10 2003 Rex Dieter <rexdieter at sf.net> 0:1.2-0.fdr.3
|
||||
- (re)build against qt-3.2.2
|
||||
|
||||
* Wed Sep 17 2003 Rex Dieter <rexdieter at sf.net> 0:1.2-0.fdr.2
|
||||
- use Epoch's in Requires
|
||||
|
||||
* Tue Aug 19 2003 Rex Dieter <rexdieter at sf.net> 0:1.2-0.fdr.1
|
||||
- 1.2
|
||||
|
@ -0,0 +1,374 @@
|
||||
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
|
||||
%if "%{?tde_prefix}" != "/usr"
|
||||
%define _variant .opt
|
||||
%define _docdir %{_datadir}/doc
|
||||
%define tde_datadir %{tde_prefix}/share
|
||||
%endif
|
||||
|
||||
Name: trinity-desktop
|
||||
Version: 14.0.0
|
||||
Release: 1%{?dist}%{?_variant}
|
||||
License: GPL
|
||||
Summary: Meta-package to install TDE
|
||||
Group: User Interface/Desktops
|
||||
|
||||
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: trinity-3.5.13-fedora.repo
|
||||
Source1: trinity-3.5.13-rhel.repo
|
||||
Source2: RPM-GPG-KEY-trinity
|
||||
|
||||
Source11: pclinuxos201304-32.jpg
|
||||
Source12: pclinuxos201304-64.jpg
|
||||
|
||||
Requires: trinity-tdeaccessibility >= %{version}
|
||||
Requires: trinity-tdeaddons >= %{version}
|
||||
Requires: trinity-tdeadmin >= %{version}
|
||||
Requires: trinity-tdeartwork >= %{version}
|
||||
Requires: trinity-tdebase >= %{version}
|
||||
Requires: trinity-tdebindings >= %{version}
|
||||
Requires: trinity-tdeedu >= %{version}
|
||||
Requires: trinity-tdegames >= %{version}
|
||||
Requires: trinity-tdegraphics >= %{version}
|
||||
Requires: trinity-tdemultimedia >= %{version}
|
||||
Requires: trinity-tdenetwork >= %{version}
|
||||
Requires: trinity-tdepim >= %{version}
|
||||
Requires: trinity-tdeutils >= %{version}
|
||||
Requires: trinity-tdetoys >= %{version}
|
||||
|
||||
%if 0%{?rhel} || 0%{?fedora}
|
||||
# YUM configuration file
|
||||
Requires: trinity-repo >= %{version}
|
||||
%endif
|
||||
|
||||
%description
|
||||
The TDE project aims to keep the KDE3.5 computing style alive, as well as
|
||||
polish off any rough edges that were present as of KDE 3.5.10. Along
|
||||
the way, new useful features will be added to keep the environment
|
||||
up-to-date.
|
||||
Toward that end, significant new enhancements have already been made in
|
||||
areas such as display control, network connectivity, user
|
||||
authentication, and much more!
|
||||
|
||||
%files
|
||||
|
||||
##########
|
||||
|
||||
%package devel
|
||||
Group: User Interface/Desktops
|
||||
Summary: Meta-package to install TDE development tools
|
||||
|
||||
Obsoletes: trinity-desktop-dev < %{version}-%{release}
|
||||
Provides: trinity-desktop-dev = %{version}-%{release}
|
||||
|
||||
Requires: trinity-tdesdk >= %{version}
|
||||
Requires: trinity-tdevelop >= %{version}
|
||||
Requires: trinity-tdewebdev >= %{version}
|
||||
|
||||
%description devel
|
||||
%{summary}
|
||||
|
||||
%files devel
|
||||
|
||||
##########
|
||||
|
||||
%package applications
|
||||
Group: User Interface/Desktops
|
||||
Summary: Meta-package to install all TDE applications
|
||||
|
||||
# Some applications are disabled for now ...
|
||||
# Compiz-related stuff does not work (obsolete)
|
||||
#Requires: trinity-compizconfig-backend-kconfig
|
||||
#Requires: trinity-desktop-effects-kde
|
||||
#Requires: trinity-fusion-icon
|
||||
|
||||
# Obsolete l10n package
|
||||
#Requires: trinity-filelight-l10n
|
||||
|
||||
# Not even an RPM package ...
|
||||
#Requires: trinity-konstruct
|
||||
|
||||
# Debian/Ubuntu specific ...
|
||||
#Requires: trinity-adept
|
||||
|
||||
# Future R14 packages
|
||||
#Requires: trinity-kvpnc
|
||||
#Requires: trinity-qt4-tqt-theme-engine
|
||||
|
||||
# Warning, k9copy requires ffmpeg
|
||||
# Warning, tderadio requires libmp3lame
|
||||
Requires: trinity-abakus
|
||||
Requires: trinity-amarok
|
||||
Requires: trinity-basket
|
||||
Requires: trinity-bibletime
|
||||
Requires: trinity-digikam
|
||||
Requires: trinity-dolphin
|
||||
Requires: trinity-filelight
|
||||
Requires: trinity-gwenview
|
||||
Requires: trinity-gwenview-i18n
|
||||
Requires: trinity-k3b
|
||||
Requires: trinity-katapult
|
||||
Requires: trinity-kbarcode
|
||||
Requires: trinity-kbfx
|
||||
Requires: trinity-kbookreader
|
||||
Requires: trinity-kchmviewer
|
||||
Requires: trinity-kcpuload
|
||||
Requires: trinity-k9copy
|
||||
Requires: trinity-kdiff3
|
||||
Requires: trinity-kdirstat
|
||||
Requires: trinity-keep
|
||||
Requires: trinity-kile
|
||||
Requires: trinity-kiosktool
|
||||
Requires: trinity-kmyfirewall
|
||||
Requires: trinity-kmymoney
|
||||
Requires: trinity-knemo
|
||||
Requires: trinity-knetload
|
||||
Requires: trinity-knetstats
|
||||
Requires: trinity-knights
|
||||
Requires: trinity-knowit
|
||||
Requires: trinity-knutclient
|
||||
Requires: trinity-koffice-suite
|
||||
Requires: trinity-konversation
|
||||
Requires: trinity-kpicosim
|
||||
Requires: trinity-krename
|
||||
Requires: trinity-krusader
|
||||
Requires: trinity-ksplash-engine-moodin
|
||||
Requires: trinity-ksquirrel
|
||||
Requires: trinity-kstreamripper
|
||||
Requires: trinity-ksystemlog
|
||||
Requires: trinity-ktechlab
|
||||
Requires: trinity-ktorrent
|
||||
Requires: trinity-kuickshow
|
||||
Requires: trinity-kvirc
|
||||
Requires: trinity-kvkbd
|
||||
Requires: trinity-twin-style-crystal
|
||||
Requires: trinity-piklab
|
||||
Requires: trinity-potracegui
|
||||
Requires: trinity-smb4k
|
||||
Requires: trinity-smartcardauth
|
||||
Requires: trinity-soundkonverter
|
||||
Requires: trinity-tde-guidance
|
||||
Requires: trinity-tde-guidance-powermanager
|
||||
Requires: trinity-tde-style-lipstik
|
||||
Requires: trinity-tde-style-qtcurve
|
||||
Requires: trinity-tde-systemsettings
|
||||
Requires: trinity-tdeio-apt
|
||||
Requires: trinity-tdeio-locate
|
||||
Requires: trinity-tdeio-umountwrapper
|
||||
Requires: trinity-tderadio
|
||||
Requires: trinity-tdesudo
|
||||
Requires: trinity-tdmtheme
|
||||
Requires: trinity-tellico
|
||||
Requires: trinity-wlassistant
|
||||
Requires: trinity-yakuake
|
||||
|
||||
|
||||
# Disabled applications for RHEL5
|
||||
%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
|
||||
# On RHEL 5, HAL version is too old for kpowersave .
|
||||
Requires: trinity-kpowersave-nohal
|
||||
# On RHEL 5, GTK2 version is too old for GTK stuff ...
|
||||
Requires: trinity-gtk-qt-engine
|
||||
# On RHEL 5, lilypond is not available, so no rosegarden :'-(
|
||||
Requires: trinity-rosegarden
|
||||
# RHEL5: kpilot library is too old
|
||||
Requires: trinity-kpilot
|
||||
%endif
|
||||
|
||||
# This one causes several crashes . Obsolete.
|
||||
#Requires: trinity-kgtk-qt3
|
||||
Obsoletes: trinity-kgtk-qt3
|
||||
|
||||
# OBSOLETE: beagle does not exist anymore. Kerry is now useless.
|
||||
# RHEL, openSUSE 12: no Beagle library
|
||||
Obsoletes: trinity-kerry
|
||||
|
||||
# RHEL 6 only: knetworkmanager8
|
||||
# knetworkmanager9 is too unstable for now.
|
||||
%if 0%{?rhel} == 6
|
||||
Requires: trinity-knetworkmanager
|
||||
%endif
|
||||
|
||||
# RHEL 4
|
||||
%if 0%{?rhel} >= 5 || 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
|
||||
# HAL is too old
|
||||
Requires: trinity-kima
|
||||
Requires: trinity-kaffeine
|
||||
Requires: trinity-kaffeine-mozilla
|
||||
Requires: trinity-kmplayer
|
||||
# No OTR support
|
||||
Requires: trinity-kopete-otr
|
||||
# No DBUS support
|
||||
Requires: trinity-kdbusnotification
|
||||
# Subversion 1.1 is too old
|
||||
Requires: trinity-tdesvn
|
||||
%endif
|
||||
|
||||
%description applications
|
||||
%{summary}
|
||||
|
||||
%files applications
|
||||
|
||||
##########
|
||||
|
||||
%package extras
|
||||
Group: User Interface/Desktops
|
||||
Summary: Meta-package to install all extras (unofficial) TDE packages
|
||||
|
||||
Requires: trinity-akode
|
||||
Requires: trinity-kasablanca
|
||||
#Requires: trinity-kdebluetooth
|
||||
#Requires: trinity-kcheckgmail
|
||||
Requires: trinity-icons-crystalsvg-updated
|
||||
Requires: trinity-icons-kfaenza
|
||||
Requires: trinity-icons-oxygen
|
||||
Requires: trinity-kbibtex
|
||||
Requires: trinity-kbiff
|
||||
Requires: trinity-kcmautostart
|
||||
Requires: trinity-kftpgrabber
|
||||
Requires: trinity-kickoff-i18n
|
||||
Requires: trinity-knmap
|
||||
#Requires: trinity-knoda
|
||||
Requires: trinity-ksensors
|
||||
Requires: trinity-kshowmail
|
||||
Requires: trinity-mplayerthumbs
|
||||
Requires: trinity-style-ia-ora
|
||||
Requires: trinity-tdeio-ftps-plugin
|
||||
#Requires: trinity-tdeio-sysinfo-plugin
|
||||
Requires: trinity-theme-baghira
|
||||
Requires: trinity-tork
|
||||
|
||||
|
||||
# GLIBC too old on RHEL <= 5
|
||||
%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 6
|
||||
Requires: trinity-twinkle
|
||||
%endif
|
||||
|
||||
%description extras
|
||||
%{summary}
|
||||
|
||||
%files extras
|
||||
|
||||
##########
|
||||
|
||||
%package all
|
||||
Group: User Interface/Desktops
|
||||
Summary: Meta-package to install all TDE packages
|
||||
|
||||
Requires: %{name} = %{version}
|
||||
Requires: %{name}-applications = %{version}
|
||||
Requires: %{name}-devel = %{version}
|
||||
#Requires: %{name}-extras = %{version}
|
||||
|
||||
%description all
|
||||
%{summary}
|
||||
|
||||
%files all
|
||||
|
||||
##########
|
||||
|
||||
%if 0%{?rhel} || 0%{?fedora}
|
||||
%package -n trinity-repo
|
||||
Group: User Interface/Desktops
|
||||
Summary: Yum configuration files for Trinity
|
||||
|
||||
%description -n trinity-repo
|
||||
%{summary}
|
||||
|
||||
%pre -n trinity-repo
|
||||
# Make sure every Trinity related repository is deleted before installing new one.
|
||||
%__rm -f %{_sysconfdir}/yum.repos.d/trinity-*.repo
|
||||
|
||||
%files -n trinity-repo
|
||||
%defattr(-,root,root,-)
|
||||
%{_sysconfdir}/yum.repos.d/*.repo
|
||||
%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-trinity
|
||||
%endif
|
||||
|
||||
##########
|
||||
|
||||
%if 0%{?pclinuxos}
|
||||
%package -n trinity-wallpaper-theme-default
|
||||
Group: User Interface/Desktops
|
||||
Summary: Default wallpaper for Trinity
|
||||
|
||||
%description -n trinity-wallpaper-theme-default
|
||||
%{summary}
|
||||
|
||||
%files -n trinity-wallpaper-theme-default
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_datadir}/wallpapers/pclinuxos32.jpg
|
||||
%{tde_datadir}/wallpapers/pclinuxos64.jpg
|
||||
%endif
|
||||
|
||||
##########
|
||||
|
||||
%prep
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
%__rm -rf %{?buildroot}
|
||||
%__mkdir_p "%{?buildroot}%{_sysconfdir}/yum.repos.d"
|
||||
|
||||
# FEDORA configuration for YUM
|
||||
%if 0%{?fedora}
|
||||
%__sed %{SOURCE0} \
|
||||
-e 's/\$releasever/%{fedora}/g' \
|
||||
-e 's/-fedora/-f%{fedora}/g' \
|
||||
>"%{?buildroot}%{_sysconfdir}/yum.repos.d/trinity-3.5.13.repo"
|
||||
%endif
|
||||
|
||||
# RHEL configuration for YUM
|
||||
# $releasever is replaced with its value
|
||||
%if 0%{?rhel}
|
||||
%__sed %{SOURCE1} \
|
||||
-e 's/\$releasever/%{rhel}/g' \
|
||||
>"%{?buildroot}%{_sysconfdir}/yum.repos.d/trinity-3.5.13.repo"
|
||||
%endif
|
||||
|
||||
%if 0%{?fedora} || 0%{?rhel}
|
||||
%__chmod 644 %{?buildroot}%{_sysconfdir}/yum.repos.d/*.repo
|
||||
%endif
|
||||
|
||||
# RPM signing key
|
||||
%if 0%{?rhel} || 0%{?fedora}
|
||||
%__install -D -m 644 "%{SOURCE2}" "%{?buildroot}%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-trinity"
|
||||
%endif
|
||||
|
||||
# PCLinuxOS wallpaper
|
||||
%if 0%{?pclinuxos} == 2013
|
||||
%__install -D -m 644 "%{SOURCE11}" "%{?buildroot}%{tde_datadir}/wallpapers/pclinuxos32.jpg"
|
||||
%__install -D -m 644 "%{SOURCE12}" "%{?buildroot}%{tde_datadir}/wallpapers/pclinuxos64.jpg"
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
|
||||
- Update to version 3.5.13.2
|
||||
- Add GPG signing key
|
||||
|
||||
* Mon Oct 01 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13.1-1
|
||||
- Update to version 3.5.13.1
|
||||
|
||||
* Mon Aug 06 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13-6
|
||||
- Add 'applications' subpackage
|
||||
|
||||
* Wed Aug 01 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13-5
|
||||
- Updates to reflect new packages names
|
||||
- Add Mageia 2 support
|
||||
- Removes 'extras' packages
|
||||
|
||||
* Wed Jun 06 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13-4
|
||||
- Enable mirrorlist
|
||||
|
||||
* Wed Nov 30 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-3
|
||||
- Fix repo files name and content
|
||||
|
||||
* Sat Nov 12 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-2
|
||||
- Add 'repo' package
|
@ -0,0 +1,502 @@
|
||||
# Default version for this component
|
||||
%define tdecomp libksquirrel
|
||||
%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_datadsir}/applications
|
||||
|
||||
%define tde_tdeappdir %{tde_appdir}/kde
|
||||
%define tde_tdedocdir %{tde_docdir}/tde
|
||||
%define tde_tdeincludedir %{tde_includedir}/tde
|
||||
%define tde_tdelibdir %{tde_libdir}/trinity
|
||||
|
||||
%define _docdir %{tde_docdir}
|
||||
|
||||
|
||||
Name: trinity-%{tdecomp}
|
||||
Summary: Trinity image viewer
|
||||
Version: 14.0.0
|
||||
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Environment/Libraries
|
||||
|
||||
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}-%{version}%{?preversion:~%{preversion}}.tar.gz
|
||||
Patch0: libksquirrel-3.5.13-detect_netpbm.patch
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-arts-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
BuildRequires: gettext-devel
|
||||
BuildRequires: transfig
|
||||
BuildRequires: OpenEXR-devel
|
||||
BuildRequires: libtiff-devel
|
||||
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: giflib-devel
|
||||
%endif
|
||||
%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?rhel}
|
||||
BuildRequires: libungif-devel
|
||||
%endif
|
||||
|
||||
# DJVU support
|
||||
%if 0%{?fedora} || 0%{?rhel} >= 5 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
|
||||
%define with_djvu 1
|
||||
BuildRequires: djvulibre
|
||||
%endif
|
||||
|
||||
# XMEDCON support
|
||||
%if 0%{?fedora}
|
||||
%define with_xmedcon 1
|
||||
BuildRequires: xmedcon
|
||||
BuildRequires: xmedcon-devel
|
||||
%endif
|
||||
|
||||
# RSVG support
|
||||
%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
|
||||
%define with_svg 1
|
||||
%if 0%{?fedora} || 0%{?rhel}
|
||||
BuildRequires: librsvg2
|
||||
%endif
|
||||
%if 0%{?mgaversion} || 0%{?mdkversion}
|
||||
BuildRequires: librsvg
|
||||
%endif
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: rsvg-view
|
||||
BuildRequires: librsvg-devel
|
||||
%endif
|
||||
%endif
|
||||
|
||||
# JASPER support
|
||||
%if 0%{?rhel} >=4 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
|
||||
%define with_jasper 1
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: libjasper-devel
|
||||
%endif
|
||||
%if 0%{?mgaversion} || 0%{?mdkversion}
|
||||
BuildRequires: %{_lib}jasper-devel
|
||||
%endif
|
||||
%if 0%{?rhel} || 0%{?fedora}
|
||||
BuildRequires: jasper-devel
|
||||
%endif
|
||||
%endif
|
||||
|
||||
# FREETYPE support
|
||||
%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
|
||||
%define with_freetype 1
|
||||
%if 0%{?suse_version} == 1140
|
||||
BuildRequires: freetype2-devel
|
||||
%else
|
||||
BuildRequires: freetype-devel
|
||||
%endif
|
||||
%endif
|
||||
|
||||
# WMF support
|
||||
BuildRequires: libwmf-devel
|
||||
|
||||
%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
|
||||
BuildRequires: netpbm
|
||||
%else
|
||||
BuildRequires: netpbm-progs
|
||||
%endif
|
||||
|
||||
|
||||
%description
|
||||
Runtime libraries for KSquirrel.
|
||||
|
||||
|
||||
%package devel
|
||||
Group: Development/Libraries
|
||||
Summary: Trinity image viewer
|
||||
Requires: %{name}
|
||||
|
||||
%description devel
|
||||
Development libraries for KSquirrel.
|
||||
|
||||
|
||||
%package tools
|
||||
Summary: Trinity image viewer
|
||||
Group: Environment/Libraries
|
||||
Requires: %{name}
|
||||
|
||||
%description tools
|
||||
Tools for KSquirrel.
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
|
||||
%patch0 -p1 -b .netpbm
|
||||
|
||||
%__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_includedir} \
|
||||
--disable-rpath \
|
||||
%{?with_djvu:--enable-djvu}
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post
|
||||
/sbin/ldconfig || :
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig || :
|
||||
|
||||
%post devel
|
||||
/sbin/ldconfig || :
|
||||
|
||||
%postun devel
|
||||
/sbin/ldconfig || :
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS ChangeLog COPYING LICENSE README
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_avs.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_avs.so.0.8.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_bmp.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_bmp.so.0.8.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_camera.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_camera.so.0.8.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_cut.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_cut.so.0.8.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_dds.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_dds.so.0.8.0
|
||||
%if 0%{?with_xmedcon}
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_dicom.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_dicom.so.0.8.0
|
||||
%endif
|
||||
%if 0%{?with_djvu}
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_djvu.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_djvu.so.0.8.0
|
||||
%endif
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_eps.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_eps.so.0.8.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_fig.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_fig.so.0.8.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_fli.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_fli.so.0.8.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_gif.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_gif.so.0.8.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_hdr.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_hdr.so.0.8.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_ico.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_ico.so.0.8.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_iff.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_iff.so.0.8.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_jbig.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_jbig.so.0.8.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_jpeg.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_jpeg.so.0.8.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_jpeg2000.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_jpeg2000.so.0.8.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_koala.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_koala.so.0.8.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_leaf.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_leaf.so.0.8.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_lif.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_lif.so.0.8.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_ljpeg.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_ljpeg.so.0.8.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_mac.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_mac.so.0.8.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_mdl.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_mdl.so.0.8.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_mng.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_mng.so.0.8.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_mtv.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_mtv.so.0.8.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_neo.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_neo.so.0.8.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_openexr.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_openexr.so.0.8.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_pcx.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_pcx.so.0.8.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_pi1.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_pi1.so.0.8.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_pi3.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_pi3.so.0.8.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_pix.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_pix.so.0.8.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_png.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_png.so.0.8.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_pnm.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_pnm.so.0.8.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_psd.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_psd.so.0.8.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_psp.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_psp.so.0.8.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_pxr.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_pxr.so.0.8.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_ras.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_ras.so.0.8.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_rawrgb.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_rawrgb.so.0.8.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_sct.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_sct.so.0.8.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_sgi.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_sgi.so.0.8.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_sun.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_sun.so.0.8.0
|
||||
%if 0%{?with_svg}
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_svg.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_svg.so.0.8.0
|
||||
%endif
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_tga.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_tga.so.0.8.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_tiff.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_tiff.so.0.8.0
|
||||
%if 0%{?with_freetype}
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_ttf.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_ttf.so.0.8.0
|
||||
%endif
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_utah.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_utah.so.0.8.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_wal.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_wal.so.0.8.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_wbmp.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_wbmp.so.0.8.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_wmf.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_wmf.so.0.8.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_xbm.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_xbm.so.0.8.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_xcf.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_xcf.so.0.8.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_xcur.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_xcur.so.0.8.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_xim.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_xim.so.0.8.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_xpm.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_xpm.so.0.8.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_xwd.so.0
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_xwd.so.0.8.0
|
||||
%{tde_libdir}/libksquirrel-libs-png.so.0
|
||||
%{tde_libdir}/libksquirrel-libs-png.so.0.0.0
|
||||
%{tde_libdir}/libksquirrel-libs.so.0
|
||||
%{tde_libdir}/libksquirrel-libs.so.0.8.0
|
||||
%{tde_datadir}/ksquirrel-libs/libkls_camera.so.ui
|
||||
%if 0%{?with_djvu}
|
||||
%{tde_datadir}/ksquirrel-libs/libkls_djvu.so.ui
|
||||
%endif
|
||||
%if 0%{?with_svg}
|
||||
%{tde_datadir}/ksquirrel-libs/libkls_svg.so.ui
|
||||
%endif
|
||||
%{tde_datadir}/ksquirrel-libs/libkls_tiff.so.ui
|
||||
%{tde_datadir}/ksquirrel-libs/libkls_xcf.so.ui
|
||||
%{tde_datadir}/ksquirrel-libs/rgbmap
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_includedir}/ksquirrel-libs/error.h
|
||||
%{tde_includedir}/ksquirrel-libs/fileio.h
|
||||
%{tde_includedir}/ksquirrel-libs/fmt_codec_base.h
|
||||
%{tde_includedir}/ksquirrel-libs/fmt_defs.h
|
||||
%{tde_includedir}/ksquirrel-libs/fmt_types.h
|
||||
%{tde_includedir}/ksquirrel-libs/fmt_utils.h
|
||||
%{tde_includedir}/ksquirrel-libs/settings.h
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_avs.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_avs.so
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_bmp.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_bmp.so
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_camera.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_camera.so
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_cut.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_cut.so
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_dds.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_dds.so
|
||||
%if 0%{?with_xmedcon}
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_dicom.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_dicom.so
|
||||
%endif
|
||||
%if 0%{?with_djvu}
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_djvu.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_djvu.so
|
||||
%endif
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_eps.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_eps.so
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_fig.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_fig.so
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_fli.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_fli.so
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_gif.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_gif.so
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_hdr.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_hdr.so
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_ico.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_ico.so
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_iff.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_iff.so
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_jbig.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_jbig.so
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_jpeg.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_jpeg.so
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_jpeg2000.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_jpeg2000.so
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_koala.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_koala.so
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_leaf.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_leaf.so
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_lif.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_lif.so
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_ljpeg.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_ljpeg.so
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_mac.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_mac.so
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_mdl.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_mdl.so
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_mng.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_mng.so
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_mtv.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_mtv.so
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_neo.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_neo.so
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_openexr.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_openexr.so
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_pcx.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_pcx.so
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_pi1.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_pi1.so
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_pi3.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_pi3.so
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_pix.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_pix.so
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_png.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_png.so
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_pnm.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_pnm.so
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_psd.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_psd.so
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_psp.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_psp.so
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_pxr.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_pxr.so
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_ras.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_ras.so
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_rawrgb.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_rawrgb.so
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_sct.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_sct.so
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_sgi.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_sgi.so
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_sun.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_sun.so
|
||||
%if 0%{?with_svg}
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_svg.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_svg.so
|
||||
%endif
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_tga.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_tga.so
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_tiff.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_tiff.so
|
||||
%if 0%{?with_freetype}
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_ttf.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_ttf.so
|
||||
%endif
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_utah.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_utah.so
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_wal.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_wal.so
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_wbmp.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_wbmp.so
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_wmf.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_wmf.so
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_xbm.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_xbm.so
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_xcf.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_xcf.so
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_xcur.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_xcur.so
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_xim.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_xim.so
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_xpm.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_xpm.so
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_xwd.la
|
||||
%{tde_libdir}/ksquirrel-libs/libkls_xwd.so
|
||||
%{tde_libdir}/libksquirrel-libs-png.la
|
||||
%{tde_libdir}/libksquirrel-libs-png.so
|
||||
%{tde_libdir}/libksquirrel-libs.la
|
||||
%{tde_libdir}/libksquirrel-libs.so
|
||||
%{tde_libdir}/pkgconfig/ksquirrellibs.pc
|
||||
%{tde_docdir}/ksquirrel-libs/
|
||||
|
||||
%files tools
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_bindir}/ksquirrel-libs-camera2ppm
|
||||
%{tde_bindir}/ksquirrel-libs-dcraw
|
||||
%if 0%{?with_xmedcon}
|
||||
%{tde_bindir}/ksquirrel-libs-dicom2png
|
||||
%endif
|
||||
%{tde_bindir}/ksquirrel-libs-fig2ppm
|
||||
%{tde_bindir}/ksquirrel-libs-iff2ppm
|
||||
%{tde_bindir}/ksquirrel-libs-leaf2ppm
|
||||
%{tde_bindir}/ksquirrel-libs-ljpeg2ppm
|
||||
%{tde_bindir}/ksquirrel-libs-ljpeg2ppm-s
|
||||
%{tde_bindir}/ksquirrel-libs-mac2ppm
|
||||
%{tde_bindir}/ksquirrel-libs-neo2ppm
|
||||
%{tde_bindir}/ksquirrel-libs-pi12ppm
|
||||
%{tde_bindir}/ksquirrel-libs-pi32ppm
|
||||
%if 0%{?with_svg}
|
||||
%{tde_bindir}/ksquirrel-libs-svg2png
|
||||
%endif
|
||||
%if 0%{?with_freetype}
|
||||
%{tde_bindir}/ksquirrel-libs-ttf2pnm
|
||||
%endif
|
||||
%{tde_bindir}/ksquirrel-libs-utah2ppm
|
||||
%{tde_bindir}/ksquirrel-libs-xcf2pnm
|
||||
%{tde_bindir}/ksquirrel-libs-xim2ppm
|
||||
|
||||
|
||||
%Changelog
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
|
||||
- Initial build for TDE 3.5.13.2
|
@ -0,0 +1,11 @@
|
||||
--- trinity-libtdeldap-14.0.0~pre91+a257ac4f/src/Makefile.am.ORI 2013-07-04 19:29:13.674536933 +0200
|
||||
+++ trinity-libtdeldap-14.0.0~pre91+a257ac4f/src/Makefile.am 2013-07-04 19:29:33.216775942 +0200
|
||||
@@ -7,7 +7,7 @@
|
||||
include_HEADERS = libtdeldap.h ldappasswddlg.h
|
||||
|
||||
libtdeldap_la_SOURCES = libtdeldap.cpp ldaplogindlgbase.ui ldaplogindlg.cpp ldappasswddlg.cpp
|
||||
-libtdeldap_la_LIBADD = -ltdeio $(LIB_TDEUI) -lldap
|
||||
+libtdeldap_la_LIBADD = -ltdeio $(LIB_TDEUI) -lldap $(LIB_QT) $(LIB_TDECORE) -ltdesu -llber
|
||||
libtdeldap_la_LDFLAGS = -version-info $(lt_current):$(lt_revision):$(lt_age) -no-undefined \
|
||||
$(all_libraries)
|
||||
|
@ -0,0 +1,142 @@
|
||||
# Default version for this component
|
||||
%define tdecomp libtdeldap
|
||||
%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_datadsir}/applications
|
||||
|
||||
%define tde_tdeappdir %{tde_appdir}/kde
|
||||
%define tde_tdedocdir %{tde_docdir}/tde
|
||||
%define tde_tdeincludedir %{tde_includedir}/tde
|
||||
%define tde_tdelibdir %{tde_libdir}/trinity
|
||||
|
||||
%define _docdir %{tde_docdir}
|
||||
|
||||
|
||||
Name: trinity-%{tdecomp}
|
||||
Summary: LDAP interface library for TDE
|
||||
Version: 14.0.0
|
||||
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Environment/Libraries
|
||||
|
||||
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}-%{version}%{?preversion:~%{preversion}}.tar.gz
|
||||
Patch0: libtdeldap-14.0.0-ftbfs.patch
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-arts-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
BuildRequires: openldap-devel
|
||||
|
||||
|
||||
%description
|
||||
LDAP interface library for TDE management modules.
|
||||
|
||||
libtdeldap-trinity contains the library of libtdeldap.
|
||||
|
||||
%post
|
||||
/sbin/ldconfig || :
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig || :
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_libdir}/libtdeldap.so.1
|
||||
%{tde_libdir}/libtdeldap.so.1.0.0
|
||||
|
||||
##########
|
||||
|
||||
%package devel
|
||||
Group: Development/Libraries
|
||||
Summary: Trinity image viewer
|
||||
Requires: %{name}
|
||||
|
||||
%description devel
|
||||
LDAP interface library for TDE management modules.
|
||||
|
||||
libtdeldap-trinity-dev contains development files and documentation.
|
||||
|
||||
%post devel
|
||||
/sbin/ldconfig || :
|
||||
|
||||
%postun devel
|
||||
/sbin/ldconfig || :
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_tdeincludedir}/ldappasswddlg.h
|
||||
%{tde_tdeincludedir}/libtdeldap.h
|
||||
%{tde_libdir}/libtdeldap.la
|
||||
%{tde_libdir}/libtdeldap.so
|
||||
|
||||
##########
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
##########
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
|
||||
%patch0 -p1 -b .ftbfs
|
||||
|
||||
%__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
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%Changelog
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
|
||||
- Initial build for TDE 3.5.13.2
|
@ -0,0 +1,11 @@
|
||||
--- trinity-libtqt-perl-14.0.0~pre127+d5696aa6/configure.in.ORI 2013-07-04 19:50:09.707137994 +0200
|
||||
+++ trinity-libtqt-perl-14.0.0~pre127+d5696aa6/configure.in 2013-07-04 19:50:18.592226468 +0200
|
||||
@@ -43,7 +43,7 @@
|
||||
KDE_SET_PREFIX
|
||||
|
||||
dnl generate the config header
|
||||
-AM_CONFIG_HEADER(config.h) dnl at the distribution this done
|
||||
+AC_CONFIG_HEADER(config.h) dnl at the distribution this done
|
||||
|
||||
dnl Checks for programs.
|
||||
AC_PROG_CC
|
@ -0,0 +1,131 @@
|
||||
# Default version for this component
|
||||
%define tdecomp libtqt-perl
|
||||
%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_datadsir}/applications
|
||||
|
||||
%define tde_tdeappdir %{tde_appdir}/kde
|
||||
%define tde_tdedocdir %{tde_docdir}/tde
|
||||
%define tde_tdeincludedir %{tde_includedir}/tde
|
||||
%define tde_tdelibdir %{tde_libdir}/trinity
|
||||
|
||||
%define _docdir %{tde_docdir}
|
||||
|
||||
|
||||
Name: trinity-%{tdecomp}
|
||||
Summary: Perl bindings for the TQt library
|
||||
Version: 14.0.0
|
||||
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Environment/Libraries
|
||||
|
||||
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}-%{version}%{?preversion:~%{preversion}}.tar.gz
|
||||
Patch0: libtqt-perl-14.0.0-ftbfs.patch
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-arts-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
BuildRequires: trinity-libsmokeqt-devel
|
||||
|
||||
%description
|
||||
This module lets you use the TQt library from Perl.
|
||||
It provides an object-oriented interface and is easy to use.
|
||||
|
||||
|
||||
%post
|
||||
/sbin/ldconfig || :
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig || :
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_bindir}/puic
|
||||
%{tde_mandir}/man1/puic.1*
|
||||
%{_bindir}/pqtapi
|
||||
%{_bindir}/pqtsh
|
||||
%{perl_vendorarch}/TQt.pm
|
||||
%{perl_vendorarch}/TQt.pod
|
||||
%{perl_vendorarch}/TQt/GlobalSpace.pm
|
||||
%{perl_vendorarch}/TQt/attributes.pm
|
||||
%{perl_vendorarch}/TQt/constants.pm
|
||||
%{perl_vendorarch}/TQt/debug.pm
|
||||
%{perl_vendorarch}/TQt/enumerations.pm
|
||||
%{perl_vendorarch}/TQt/isa.pm
|
||||
%{perl_vendorarch}/TQt/properties.pm
|
||||
%{perl_vendorarch}/TQt/signals.pm
|
||||
%{perl_vendorarch}/TQt/slots.pm
|
||||
%{perl_vendorarch}/auto/TQt/TQt.so
|
||||
%{_mandir}/man3/TQt.3pm.*
|
||||
|
||||
##########
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
##########
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
|
||||
%patch0 -p1 -b .ftbfs
|
||||
|
||||
%__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
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%Changelog
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 14.0.0-1
|
||||
- Initial build for TDE 14.0.0
|
@ -0,0 +1,11 @@
|
||||
--- trinity-pytdeextensions-14.0.0~pre116+64c969d7/src/kdedistutils.py.ORI 2013-07-04 20:30:36.889883389 +0200
|
||||
+++ trinity-pytdeextensions-14.0.0~pre116+64c969d7/src/kdedistutils.py 2013-07-04 20:30:54.729085109 +0200
|
||||
@@ -539,7 +539,7 @@
|
||||
canidatepaths.append(os.path.join(tdedir,"include"))
|
||||
canidatepaths.append(os.path.join(install.prefix,"include"))
|
||||
canidatepaths.append('/opt/trinity/include')
|
||||
- canidatepaths.append('/opt/kde/include')
|
||||
+ canidatepaths.append('/opt/trinity/include/tde')
|
||||
self.kde_inc_dir = FindFileInPaths('tdeapplication.h',canidatepaths)
|
||||
if self.kde_inc_dir is None:
|
||||
raise SystemExit, "Failed to find the KDE header file directory."
|
@ -0,0 +1,208 @@
|
||||
%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||
|
||||
%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}/kde
|
||||
%define tde_tdedocdir %{tde_docdir}/tde
|
||||
%define tde_tdeincludedir %{tde_includedir}/tde
|
||||
%define tde_tdelibdir %{tde_libdir}/trinity
|
||||
|
||||
%define _docdir %{tde_docdir}
|
||||
|
||||
|
||||
Name: trinity-pytdeextensions
|
||||
Summary: Python packages to support TDE applications (scripts) [Trinity]
|
||||
Version: 0.4.0
|
||||
Release: %{?!preversion:5}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.simonzone.com/software/pykdeextensions
|
||||
|
||||
Prefix: %{tde_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
||||
|
||||
|
||||
# [pykdeextensions] Fix hardcoded path to Guidance python libraries [Bug #999]
|
||||
Patch2: pykdeextensions-3.5.13.2-fix_extra_module_dir.patch
|
||||
# [pykdeextensions] Fix include directory search location
|
||||
Patch5: pytdeextensions-14.0.0-fix_include_dir.patch
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
||||
BuildRequires: trinity-arts-devel >= %{tde_version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
BuildRequires: trinity-python-tqt-devel
|
||||
BuildRequires: trinity-python-trinity-devel
|
||||
|
||||
Requires: trinity-libpythonize0 = %{version}-%{release}
|
||||
|
||||
Obsoletes: trinity-pykdeextensions < %{version}-%{release}
|
||||
Provides: trinity-pykdeextensions = %{version}-%{release}
|
||||
|
||||
|
||||
%description
|
||||
PyTDE Extensions is a collection of software and Python packages
|
||||
to support the creation and installation of TDE applications.
|
||||
|
||||
|
||||
%package -n trinity-libpythonize0
|
||||
Summary: Python packages to support KDE applications (library) [Trinity]
|
||||
Group: Environment/Libraries
|
||||
|
||||
%description -n trinity-libpythonize0
|
||||
PyTDE Extensions is a collection of software and Python packages
|
||||
to support the creation and installation of KDE applications.
|
||||
|
||||
This package contains the libpythonize library files.
|
||||
|
||||
|
||||
%package -n trinity-libpythonize0-devel
|
||||
Summary: Python packages to support KDE applications (development) [Trinity]
|
||||
Group: Development/Libraries
|
||||
Requires: trinity-libpythonize0 = %{version}-%{release}
|
||||
|
||||
%description -n trinity-libpythonize0-devel
|
||||
PyTDE Extensions is a collection of software and Python packages
|
||||
to support the creation and installation of TDE applications.
|
||||
|
||||
This package contains the libpythonize development files.
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
%patch2 -p1 -b .extramodule
|
||||
%patch5 -p1 -b .incdir
|
||||
|
||||
# Changes library directory to 'lib64'
|
||||
# Also other fixes for distributions ...
|
||||
for f in src/*.py; do
|
||||
%__sed -i "${f}" \
|
||||
-e "s|%{tde_prefix}/lib/|%{tde_libdir}/|g" \
|
||||
-e "s|/usr/lib/pyshared/python\*|%{python_sitearch}|g" \
|
||||
-e "s|'pykde-dir=',None,|'pykde-dir=','%{python_sitearch}',|g" \
|
||||
-e "s|self.pykde_dir = None|self.pykde_dir = \"%{python_sitearch}\"|g" \
|
||||
-e "s|%{tde_includedir}/kde|%{tde_tdeincludedir}|g" \
|
||||
-e 's|"/kde"|"/tde"|'
|
||||
done
|
||||
|
||||
# Do not look for 'libpython2.x.so' (from -devel) package.
|
||||
# Instead look for runtime library.
|
||||
LIBPYTHON="$(readlink %{_libdir}/libpython2.*.so)"
|
||||
if [ -f "%{_libdir}/${LIBPYTHON}" ]; then
|
||||
%__sed -i "src/kdedistutils.py" \
|
||||
-e "s|#define LIB_PYTHON \".*\"|#define LIB_PYTHON \"%{_libdir}/${LIBPYTHON}\"|"
|
||||
fi
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
|
||||
%__mkdir_p build
|
||||
./setup.py build_libpythonize
|
||||
|
||||
%install
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
|
||||
# Avoids 'error: byte-compiling is disabled.' on Mandriva/Mageia
|
||||
export PYTHONDONTWRITEBYTECODE=
|
||||
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
./setup.py install \
|
||||
--root=%{buildroot} \
|
||||
--prefix=%{tde_prefix} \
|
||||
--install-clib=%{tde_libdir} \
|
||||
--install-cheaders=%{tde_tdeincludedir} -v
|
||||
|
||||
# Removes BUILDROOT directory reference in installed files
|
||||
for f in \
|
||||
%{buildroot}%{tde_libdir}/libpythonize.la \
|
||||
%{buildroot}%{tde_datadir}/apps/pytdeextensions/app_templates/kcontrol_module/src/KcontrolModuleWidgetUI.py \
|
||||
%{buildroot}%{tde_datadir}/apps/pytdeextensions/app_templates/kdeutility/src/KDEUtilityDialogUI.py \
|
||||
; do
|
||||
%__sed -i "${f}" -e "s|%{buildroot}||g"
|
||||
:
|
||||
done
|
||||
|
||||
# Moves PYTHON libraries to distribution directory
|
||||
%__mkdir_p %{buildroot}%{python_sitearch}
|
||||
%__mv -f %{buildroot}%{tde_prefix}/lib/python*/site-packages/* %{buildroot}%{python_sitearch}
|
||||
%__rm -rf %{buildroot}%{tde_prefix}/lib/python*/site-packages
|
||||
|
||||
# Removes useless files
|
||||
%__rm -rf %{?buildroot}%{tde_libdir}/*.a
|
||||
|
||||
# Fix permissions on include files
|
||||
%__chmod 644 %{?buildroot}%{tde_tdeincludedir}/*.h
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post -n trinity-libpythonize0
|
||||
/sbin/ldconfig
|
||||
|
||||
%postun -n trinity-libpythonize0
|
||||
/sbin/ldconfig
|
||||
|
||||
%post -n trinity-libpythonize0-devel
|
||||
/sbin/ldconfig
|
||||
|
||||
%postun -n trinity-libpythonize0-devel
|
||||
/sbin/ldconfig
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS ChangeLog COPYING NEWS README TODO
|
||||
%{tde_datadir}/apps/pykdeextensions
|
||||
%{tde_tdedocdir}/HTML/en/pykdeextensions
|
||||
%{python_sitearch}/*
|
||||
|
||||
%files -n trinity-libpythonize0
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_libdir}/libpythonize.so.*
|
||||
|
||||
%files -n trinity-libpythonize0-devel
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_tdeincludedir}/*.h
|
||||
%{tde_libdir}/libpythonize.la
|
||||
%{tde_libdir}/libpythonize.so
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
||||
* Tue Oct 02 2012 Francois Andriot <francois.andriot@free.fr> - 0.4.0-3
|
||||
- Initial release for TDE 3.5.13.1
|
@ -0,0 +1,11 @@
|
||||
--- trinity-python-trinity-14.0.0~pre168+4d311123/configure.py.ORI 2013-07-03 21:36:51.304975764 +0200
|
||||
+++ trinity-python-trinity-14.0.0~pre168+4d311123/configure.py 2013-07-03 21:37:14.099193791 +0200
|
||||
@@ -410,7 +410,7 @@
|
||||
|
||||
if not opt_kdeincdir:
|
||||
incSearchPaths = [os.path.join (opt_tdebasedir, "include")]
|
||||
- incSearchPaths.append (os.path.join (opt_tdebasedir, "include", "kde")) # Red Hat
|
||||
+ incSearchPaths.append (os.path.join (opt_tdebasedir, "include", "tde")) # Red Hat
|
||||
opt_kdeincdir = search ("tdeapplication.h", incSearchPaths)
|
||||
|
||||
def check_kde_installation():
|
@ -0,0 +1,173 @@
|
||||
%{!?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
|
||||
%define tde_version 14.0.0
|
||||
|
||||
# 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}/kde
|
||||
%define tde_tdedocdir %{tde_docdir}/tde
|
||||
%define tde_tdeincludedir %{tde_includedir}/tde
|
||||
%define tde_tdelibdir %{tde_libdir}/trinity
|
||||
|
||||
%define _docdir %{tde_docdir}
|
||||
|
||||
%define __arch_install_post %{nil}
|
||||
|
||||
|
||||
Name: trinity-python-trinity
|
||||
Summary: Trinity bindings for Python [Trinity]
|
||||
Version: 3.16.3
|
||||
Release: %{?!preversion:5}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Group: Applications/Utilities
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
#URL: http://www.simonzone.com/software/pykdeextensions
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Prefix: %{_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
||||
|
||||
# Fix include subdirectory 'tde' instead of 'kde'
|
||||
Patch1: python-trinity-14.0.0-tde_includedir.patch
|
||||
|
||||
BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
|
||||
BuildRequires: trinity-arts-devel >= 3.5.13.2
|
||||
BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
|
||||
BuildRequires: python
|
||||
BuildRequires: trinity-python-tqt-devel
|
||||
|
||||
|
||||
# SIP support
|
||||
%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5
|
||||
# RHEL 4/5 comes with old version, so we brought ours ...
|
||||
BuildRequires: trinity-sip-devel
|
||||
%endif
|
||||
%if 0%{?mgaversion} || 0%{?mdkversion}
|
||||
BuildRequires: python-sip
|
||||
%endif
|
||||
%if 0%{?rhel} >= 6 || 0%{?fedora}
|
||||
BuildRequires: sip-devel
|
||||
%endif
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: python-sip-devel
|
||||
%endif
|
||||
|
||||
Obsoletes: python-trinity < %{version}-%{release}
|
||||
Provides: python-trinity = %{version}-%{release}
|
||||
|
||||
%description
|
||||
Python binding module that provides wide access to the Trinity API,
|
||||
also known as PyTDE. Using this, you'll get (for example) classes
|
||||
from kio, kjs, khtml and kprint.
|
||||
|
||||
|
||||
%package devel
|
||||
Summary: Trinity bindings for Python - Development files and scripts [Trinity]
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
Obsoletes: python-trinity-devel < %{version}-%{release}
|
||||
Provides: python-trinity-devel = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
Development .sip files with definitions of PyTDE classes. They
|
||||
are needed to build PyTDE, but also as building blocks of other
|
||||
packages based on them.
|
||||
The package also contains kdepyuic, a wrapper script around PyQt's
|
||||
user interface compiler.
|
||||
|
||||
|
||||
%package doc
|
||||
Summary: Documentation and examples for PyTDE [Trinity]
|
||||
Group: Development/Libraries
|
||||
|
||||
Obsoletes: python-trinity-doc < %{version}-%{release}
|
||||
Provides: python-trinity-doc = %{version}-%{release}
|
||||
|
||||
%description doc
|
||||
General documentation and examples for PyTDE providing programming
|
||||
tips and working code you can use to learn from.
|
||||
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
||||
%patch1 -p1 -b .inc
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
|
||||
|
||||
#export LDFLAGS="${LDFLAGS} -lpython2.7"
|
||||
|
||||
export DH_OPTIONS
|
||||
|
||||
%__python configure.py \
|
||||
-k %{tde_prefix} \
|
||||
-L %{_lib} \
|
||||
-v %{_datadir}/sip/trinity
|
||||
|
||||
%__make %{_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
# Install documentation
|
||||
%__mkdir_p %{buildroot}%{tde_tdedocdir}/HTML/en/
|
||||
%__cp -rf doc %{buildroot}%{tde_tdedocdir}/HTML/en/python-trinity/
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS ChangeLog COPYING NEWS README
|
||||
%{python_sitearch}/*.so
|
||||
%{python_sitearch}/dcop*.py*
|
||||
%{python_sitearch}/pytde*.py*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_bindir}/kdepyuic
|
||||
# The SIP files are outside TDE's prefix
|
||||
%{_datadir}/sip/trinity/
|
||||
|
||||
%files doc
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_tdedocdir}/HTML/en/python-trinity/
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Jul 03 2013 Francois Andriot <francois.andriot@free.fr> - 14.0.0-1
|
||||
- Initial release for TDE 14.0.0
|
@ -0,0 +1,510 @@
|
||||
# If TDE is built 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_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}
|
||||
|
||||
|
||||
Summary: Trinity Desktop Environment - Accessibility
|
||||
Name: trinity-tdeaccessibility
|
||||
Version: 14.0.0
|
||||
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2
|
||||
Group: User Interface/Desktops
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
|
||||
|
||||
Prefix: %{tde_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: autoconf automake libtool m4
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: trinity-akode-devel
|
||||
BuildRequires: trinity-arts-devel >= %{version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{version}
|
||||
BuildRequires: trinity-tdemultimedia-devel >= %{version}
|
||||
|
||||
BuildRequires: alsa-lib-devel
|
||||
|
||||
# X11 Libraries
|
||||
%if 0%{?fedora} > 4 || 0%{?rhel} > 4
|
||||
BuildRequires: libXtst-devel
|
||||
%endif
|
||||
|
||||
# XCB support
|
||||
%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?pclinuxos}
|
||||
BuildRequires: libxcb-devel
|
||||
%endif
|
||||
%if 0%{?mgaversion} || 0%{?mdkversion}
|
||||
BuildRequires: %{_lib}xcb-devel
|
||||
%endif
|
||||
|
||||
%if 0%{?mgaversion} || 0%{?mdkversion}
|
||||
BuildRequires: %{_lib}xi-devel
|
||||
BuildRequires: %{_lib}xext%{?mgaversion:6}-devel
|
||||
BuildRequires: %{_lib}x11%{?mgaversion:_6}-devel
|
||||
BuildRequires: %{_lib}xau%{?mgaversion:6}-devel
|
||||
%endif
|
||||
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220
|
||||
BuildRequires: libXi-devel
|
||||
BuildRequires: libXext-devel
|
||||
BuildRequires: libX11-devel
|
||||
BuildRequires: libXau-devel
|
||||
%endif
|
||||
%if 0%{?rhel} == 4 || 0%{?suse_version} == 1140
|
||||
BuildRequires: xorg-x11-devel
|
||||
%endif
|
||||
|
||||
Obsoletes: trinity-kdeaccessibility < %{version}-%{release}
|
||||
Provides: trinity-kdeaccessibility = %{version}-%{release}
|
||||
Obsoletes: trinity-kdeaccessibility-libs < %{version}-%{release}
|
||||
Provides: trinity-kdeaccessibility-libs = %{version}-%{release}
|
||||
|
||||
Requires: trinity-tde-icons-mono = %{version}-%{release}
|
||||
Requires: trinity-kbstate = %{version}-%{release}
|
||||
Requires: trinity-kmag = %{version}-%{release}
|
||||
Requires: trinity-kmousetool = %{version}-%{release}
|
||||
Requires: trinity-kmouth = %{version}-%{release}
|
||||
Requires: trinity-ksayit = %{version}-%{release}
|
||||
Requires: trinity-kttsd = %{version}-%{release}
|
||||
Requires: trinity-kttsd-contrib-plugins = %{version}-%{release}
|
||||
|
||||
%description
|
||||
Included with this package are:
|
||||
* kmag, a screen magnifier,
|
||||
* kmousetool, a program for people whom it hurts to click the mouse,
|
||||
* kmouth, program that allows people who have lost their voice
|
||||
to let their computer speak for them.
|
||||
|
||||
%files
|
||||
|
||||
##########
|
||||
|
||||
%package -n trinity-tde-icons-mono
|
||||
Summary: A monochromatic icons theme for TDE
|
||||
Group: User Interface/Desktops
|
||||
|
||||
Obsoletes: trinity-kde-icons-mono < %{version}-%{release}
|
||||
Provides: trinity-kde-icons-mono = %{version}-%{release}
|
||||
|
||||
%description -n trinity-tde-icons-mono
|
||||
A monochromatic icon theme for TDE, designed for accessibility purposes.
|
||||
|
||||
This package is part of Trinity, as a component of the TDE accessibility module.
|
||||
|
||||
%files -n trinity-tde-icons-mono
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_datadir}/icons/mono/index.theme
|
||||
%{tde_datadir}/icons/mono/scalable/*/*.svgz
|
||||
|
||||
##########
|
||||
|
||||
%package -n trinity-kbstate
|
||||
Summary: a keyboard status applet for TDE
|
||||
Group: User Interface/Desktops
|
||||
|
||||
%description -n trinity-kbstate
|
||||
A panel applet that displays the keyboard status.
|
||||
|
||||
This package is part of Trinity, as a component of the TDE accessibility module.
|
||||
|
||||
%files -n trinity-kbstate
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_tdelibdir}/kbstate_panelapplet.la
|
||||
%{tde_tdelibdir}/kbstate_panelapplet.so
|
||||
%{tde_datadir}/apps/kbstateapplet/
|
||||
%{tde_datadir}/apps/kicker/applets/kbstateapplet.desktop
|
||||
|
||||
##########
|
||||
|
||||
%package -n trinity-kmag
|
||||
Summary: A screen magnifier for TDE
|
||||
Group: User Interface/Desktops
|
||||
|
||||
%description -n trinity-kmag
|
||||
KDE's screen magnifier tool.
|
||||
|
||||
You can use KMagnifier to magnify a part of the screen just as you would use
|
||||
a lens to magnify a newspaper fine-print or a photograph. This application is
|
||||
useful for a variety of people: from researchers to artists to web-designers to
|
||||
people with low vision.
|
||||
|
||||
This package is part of Trinity, as a component of the TDE accessibility module.
|
||||
|
||||
%files -n trinity-kmag
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_bindir}/kmag
|
||||
%{tde_datadir}/applnk/Applications/kmag.desktop
|
||||
%{tde_datadir}/apps/kmag/
|
||||
%{tde_datadir}/icons/hicolor/*/apps/kmag.png
|
||||
%{tde_datadir}/icons/locolor/*/apps/kmag.png
|
||||
%{tde_tdedocdir}/HTML/en/kmag/
|
||||
|
||||
%post -n trinity-kmag
|
||||
/sbin/ldconfig ||:
|
||||
for icon_theme in hicolor locolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
|
||||
done
|
||||
|
||||
%postun -n trinity-kmag
|
||||
/sbin/ldconfig ||:
|
||||
for icon_theme in hicolor locolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
|
||||
done
|
||||
|
||||
##########
|
||||
|
||||
%package -n trinity-kmousetool
|
||||
Summary: TDE mouse manipulation tool for the disabled
|
||||
Group: User Interface/Desktops
|
||||
|
||||
%description -n trinity-kmousetool
|
||||
KMouseTool clicks the mouse whenever the mouse cursor pauses briefly. It was
|
||||
designed to help those with repetitive strain injuries, for whom pressing
|
||||
buttons hurts.
|
||||
|
||||
This package is part of Trinity, as a component of the TDE accessibility module.
|
||||
|
||||
%files -n trinity-kmousetool
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_bindir}/kmousetool
|
||||
%{tde_datadir}/applnk/Applications/kmousetool.desktop
|
||||
%{tde_datadir}/apps/kmousetool/
|
||||
%{tde_datadir}/icons/hicolor/*/apps/kmousetool.png
|
||||
%{tde_tdedocdir}/HTML/en/kmousetool/
|
||||
|
||||
%post -n trinity-kmousetool
|
||||
for icon_theme in hicolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
|
||||
done
|
||||
|
||||
%postun -n trinity-kmousetool
|
||||
for icon_theme in hicolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
|
||||
done
|
||||
|
||||
##########
|
||||
|
||||
%package -n trinity-kmouth
|
||||
Summary: A type-and-say KDE frontend for speech synthesizers
|
||||
Group: User Interface/Desktops
|
||||
|
||||
%description -n trinity-kmouth
|
||||
KDE's type-and-say frontend for speech synthesizers.
|
||||
|
||||
It includes a history of spoken sentences from which the user can select
|
||||
sentences to be re-spoken.
|
||||
|
||||
This package is part of Trinity, as a component of the TDE accessibility module.
|
||||
|
||||
%files -n trinity-kmouth
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_datadir}/config/kmouthrc
|
||||
%{tde_bindir}/kmouth
|
||||
%{tde_datadir}/applnk/Applications/kmouth.desktop
|
||||
%{tde_datadir}/apps/kmouth/
|
||||
%{tde_datadir}/icons/hicolor/*/actions/speak.png
|
||||
%{tde_datadir}/icons/hicolor/*/actions/nospeak.png
|
||||
%{tde_datadir}/icons/hicolor/*/apps/kmouth.png
|
||||
%{tde_datadir}/icons/locolor/*/actions/speak.png
|
||||
%{tde_datadir}/icons/locolor/*/apps/kmouth.png
|
||||
%{tde_tdedocdir}/HTML/en/kmouth/
|
||||
|
||||
%post -n trinity-kmouth
|
||||
for icon_theme in hicolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
|
||||
done
|
||||
|
||||
%postun -n trinity-kmouth
|
||||
for icon_theme in hicolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
|
||||
done
|
||||
|
||||
##########
|
||||
|
||||
%package -n trinity-ksayit
|
||||
Summary: A frontend for the TDE Text-to-Speech system
|
||||
Group: User Interface/Desktops
|
||||
|
||||
%description -n trinity-ksayit
|
||||
Text-to-speech front-end to kttsd.
|
||||
|
||||
This package is part of Trinity, as a component of the TDE accessibility module.
|
||||
|
||||
%files -n trinity-ksayit
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_bindir}/ksayit
|
||||
%{tde_tdeincludedir}/ksayit_fxplugin.h
|
||||
%{tde_tdelibdir}/libFreeverb_plugin.la
|
||||
%{tde_tdelibdir}/libFreeverb_plugin.so
|
||||
%{tde_libdir}/libKTTSD_Lib.so.*
|
||||
%{tde_tdeappdir}/ksayit.desktop
|
||||
%{tde_datadir}/apps/ksayit/
|
||||
%{tde_datadir}/icons/hicolor/*/apps/ksayit.png
|
||||
%{tde_datadir}/icons/hicolor/32x32/apps/ksayit_clipempty.png
|
||||
%{tde_datadir}/icons/hicolor/32x32/apps/ksayit_talking.png
|
||||
%{tde_datadir}/services/ksayit_libFreeverb.desktop
|
||||
%{tde_datadir}/servicetypes/ksayit_libFreeverb_service.desktop
|
||||
|
||||
%post -n trinity-ksayit
|
||||
/sbin/ldconfig ||:
|
||||
for icon_theme in mono hicolor locolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
|
||||
done
|
||||
update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
|
||||
|
||||
%postun -n trinity-ksayit
|
||||
/sbin/ldconfig ||:
|
||||
for icon_theme in mono hicolor locolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
|
||||
done
|
||||
update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
|
||||
|
||||
##########
|
||||
|
||||
%package -n trinity-kttsd
|
||||
Summary: A Text-to-Speech system for TDE
|
||||
Group: User Interface/Desktops
|
||||
|
||||
%description -n trinity-kttsd
|
||||
The KDE Text-to-Speech system is a plugin based service that allows any KDE
|
||||
(or non-KDE) application to speak using the DCOP interface.
|
||||
|
||||
ksayit and kmouth are useful front-ends for this capability, while one of
|
||||
festival, flite, and epos are essential back-ends.
|
||||
|
||||
This package is part of Trinity, as a component of the TDE accessibility module.
|
||||
|
||||
Homepage: http://accessibility.kde.org/developer/kttsd
|
||||
|
||||
%files -n trinity-kttsd
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_bindir}/kttsd
|
||||
%{tde_bindir}/kttsmgr
|
||||
%{tde_tdelibdir}/kcm_kttsd.la
|
||||
%{tde_tdelibdir}/kcm_kttsd.so
|
||||
%{tde_tdelibdir}/tdetexteditor_kttsd.la
|
||||
%{tde_tdelibdir}/tdetexteditor_kttsd.so
|
||||
%{tde_tdelibdir}/libkttsd_akodeplugin.la
|
||||
%{tde_tdelibdir}/libkttsd_akodeplugin.so
|
||||
%{tde_tdelibdir}/libkttsd_alsaplugin.la
|
||||
%{tde_tdelibdir}/libkttsd_alsaplugin.so
|
||||
%{tde_tdelibdir}/libkttsd_artsplugin.la
|
||||
%{tde_tdelibdir}/libkttsd_artsplugin.so
|
||||
%{tde_tdelibdir}/libkttsd_commandplugin.la
|
||||
%{tde_tdelibdir}/libkttsd_commandplugin.so
|
||||
%{tde_tdelibdir}/libkttsd_eposplugin.la
|
||||
%{tde_tdelibdir}/libkttsd_eposplugin.so
|
||||
%{tde_tdelibdir}/libkttsd_festivalintplugin.la
|
||||
%{tde_tdelibdir}/libkttsd_festivalintplugin.so
|
||||
%{tde_tdelibdir}/libkttsd_fliteplugin.la
|
||||
%{tde_tdelibdir}/libkttsd_fliteplugin.so
|
||||
%{tde_tdelibdir}/libkttsd_sbdplugin.la
|
||||
%{tde_tdelibdir}/libkttsd_sbdplugin.so
|
||||
%{tde_tdelibdir}/libkttsd_stringreplacerplugin.la
|
||||
%{tde_tdelibdir}/libkttsd_stringreplacerplugin.so
|
||||
%{tde_tdelibdir}/libkttsd_talkerchooserplugin.la
|
||||
%{tde_tdelibdir}/libkttsd_talkerchooserplugin.so
|
||||
%{tde_tdelibdir}/libkttsd_xmltransformerplugin.la
|
||||
%{tde_tdelibdir}/libkttsd_xmltransformerplugin.so
|
||||
%{tde_tdelibdir}/libkttsjobmgrpart.la
|
||||
%{tde_tdelibdir}/libkttsjobmgrpart.so
|
||||
%{tde_libdir}/libkttsd.so.*
|
||||
%{tde_tdeappdir}/kcmkttsd.desktop
|
||||
%{tde_tdeappdir}/kttsmgr.desktop
|
||||
%{tde_datadir}/apps/tdetexteditor_kttsd/tdetexteditor_kttsdui.rc
|
||||
%exclude %{tde_datadir}/apps/kttsd/hadifix/xslt/SSMLtoTxt2pho.xsl
|
||||
%{tde_datadir}/apps/kttsd/
|
||||
%{tde_datadir}/icons/hicolor/16x16/actions/female.png
|
||||
%{tde_datadir}/icons/hicolor/16x16/actions/male.png
|
||||
%{tde_datadir}/services/tdetexteditor_kttsd.desktop
|
||||
%{tde_datadir}/services/kttsd.desktop
|
||||
%{tde_datadir}/services/kttsd_akodeplugin.desktop
|
||||
%{tde_datadir}/services/kttsd_alsaplugin.desktop
|
||||
%{tde_datadir}/services/kttsd_artsplugin.desktop
|
||||
%{tde_datadir}/services/kttsd_commandplugin.desktop
|
||||
%{tde_datadir}/services/kttsd_eposplugin.desktop
|
||||
%{tde_datadir}/services/kttsd_festivalintplugin.desktop
|
||||
%{tde_datadir}/services/kttsd_fliteplugin.desktop
|
||||
%{tde_datadir}/services/kttsd_sbdplugin.desktop
|
||||
%{tde_datadir}/services/kttsd_stringreplacerplugin.desktop
|
||||
%{tde_datadir}/services/kttsd_talkerchooserplugin.desktop
|
||||
%{tde_datadir}/services/kttsd_xmltransformerplugin.desktop
|
||||
%{tde_datadir}/services/kttsjobmgr.desktop
|
||||
%{tde_datadir}/servicetypes/kttsd_audioplugin.desktop
|
||||
%{tde_datadir}/servicetypes/kttsd_filterplugin.desktop
|
||||
%{tde_datadir}/servicetypes/kttsd_synthplugin.desktop
|
||||
%{tde_datadir}/icons/crystalsvg/*/apps/kttsd.png
|
||||
%{tde_datadir}/icons/crystalsvg/*/apps/kttsd.svgz
|
||||
%{tde_tdedocdir}/HTML/en/kttsd/
|
||||
|
||||
%post -n trinity-kttsd
|
||||
/sbin/ldconfig ||:
|
||||
for icon_theme in crystalsvg hicolor locolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
|
||||
done
|
||||
update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
|
||||
|
||||
%postun -n trinity-kttsd
|
||||
/sbin/ldconfig ||:
|
||||
for icon_theme in crystalsvg hicolor locolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
|
||||
done
|
||||
update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
|
||||
|
||||
##########
|
||||
|
||||
%package -n trinity-kttsd-contrib-plugins
|
||||
Summary: the TDE Text-to-Speech system
|
||||
Group: User Interface/Desktops
|
||||
Requires: trinity-kttsd = %{version}-%{release}
|
||||
|
||||
%description -n trinity-kttsd-contrib-plugins
|
||||
kttsd synthetizer plugins that depends on non-free software :
|
||||
* FreeTTS plugin.
|
||||
* Hadifix (mbrola/txt2pho) plugin.
|
||||
Those plugins will require manual installation of third party,
|
||||
non free software to work.
|
||||
|
||||
This package is part of Trinity, as a component of the TDE accessibility module.
|
||||
|
||||
%files -n trinity-kttsd-contrib-plugins
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_tdelibdir}/libkttsd_freettsplugin.la
|
||||
%{tde_tdelibdir}/libkttsd_freettsplugin.so
|
||||
%{tde_tdelibdir}/libkttsd_hadifixplugin.la
|
||||
%{tde_tdelibdir}/libkttsd_hadifixplugin.so
|
||||
%{tde_datadir}/apps/kttsd/hadifix/xslt/SSMLtoTxt2pho.xsl
|
||||
%{tde_datadir}/services/kttsd_freettsplugin.desktop
|
||||
%{tde_datadir}/services/kttsd_hadifixplugin.desktop
|
||||
|
||||
##########
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: trinity-tdelibs-devel >= %{version}
|
||||
|
||||
Obsoletes: trinity-kdeaccessibility-devel < %{version}-%{release}
|
||||
Provides: trinity-kdeaccessibility-devel = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
%{summary}.
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_libdir}/libkttsd.la
|
||||
%{tde_libdir}/libkttsd.so
|
||||
%{tde_libdir}/libKTTSD_Lib.la
|
||||
%{tde_libdir}/libKTTSD_Lib.so
|
||||
|
||||
%post devel
|
||||
/sbin/ldconfig ||:
|
||||
|
||||
%postun devel
|
||||
/sbin/ldconfig ||:
|
||||
|
||||
##########
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
##########
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{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 PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
|
||||
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} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--disable-rpath \
|
||||
--enable-new-ldflags \
|
||||
--enable-closure \
|
||||
--disable-debug --disable-warnings \
|
||||
--enable-final \
|
||||
--enable-ksayit-audio-plugins \
|
||||
--with-akode
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
# file lists for locale
|
||||
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 ] && ln -nsf ../common $i/common
|
||||
done
|
||||
popd
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
|
||||
- Initial release for TDE 3.5.13.2
|
@ -0,0 +1,752 @@
|
||||
# If TDE is built 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_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-tdeaddons
|
||||
Summary: Trinity Desktop Environment - Plugins
|
||||
Version: 14.0.0
|
||||
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2
|
||||
Group: User Interface/Desktops
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
URL: http://www.trinitydesktop.org/
|
||||
|
||||
Obsoletes: trinity-kdeaddons < %{version}-%{release}
|
||||
Provides: trinity-kdeaddons = %{version}-%{release}
|
||||
Obsoletes: trinity-kdeaddons-extras < %{version}-%{release}
|
||||
Provides: trinity-kdeaddons-extras = %{version}-%{release}
|
||||
|
||||
Prefix: %{tde_prefix}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
|
||||
|
||||
BuildRequires: autoconf automake libtool m4
|
||||
BuildRequires: trinity-tqt3-devel >= 3.3.8d
|
||||
BuildRequires: trinity-arts-devel >= %{version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{version}
|
||||
BuildRequires: trinity-tdebase-devel >= %{version}
|
||||
BuildRequires: trinity-tdegames-devel >= %{version}
|
||||
BuildRequires: trinity-tdemultimedia-devel >= %{version}
|
||||
BuildRequires: trinity-tdepim-devel >= %{version}
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{version}
|
||||
|
||||
BuildRequires: SDL-devel
|
||||
BuildRequires: alsa-lib-devel
|
||||
BuildRequires: openssl-devel
|
||||
|
||||
# DB4 support
|
||||
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} >= 1220 || 0%{?mdkversion} || 0%{?mgaversion}
|
||||
%define with_db4 1
|
||||
%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion}
|
||||
BuildRequires: db4-devel
|
||||
%endif
|
||||
%if 0%{?fedora} >= 18
|
||||
BuildRequires: libdb4-cxx-devel
|
||||
%endif
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: libdb-4_8-devel
|
||||
%endif
|
||||
%endif
|
||||
|
||||
# XMMS support: no, always disabled, even on Fedora
|
||||
#%if 0%{?fedora}
|
||||
#define with_xmms 1
|
||||
#BuildRequires: xmms-devel
|
||||
#%endif
|
||||
|
||||
#Requires: which
|
||||
|
||||
Requires: trinity-atlantikdesigner = %{version}-%{release}
|
||||
Requires: trinity-kaddressbook-plugins = %{version}-%{release}
|
||||
Requires: trinity-kate-plugins = %{version}-%{release}
|
||||
Requires: trinity-tdeaddons-tdefile-plugins = %{version}-%{release}
|
||||
Requires: trinity-kicker-applets = %{version}-%{release}
|
||||
Requires: trinity-knewsticker-scripts = %{version}-%{release}
|
||||
Requires: trinity-konq-plugins = %{version}-%{release}
|
||||
Requires: trinity-ksig = %{version}-%{release}
|
||||
Requires: trinity-noatun-plugins = %{version}-%{release}
|
||||
|
||||
|
||||
%description
|
||||
A collection of TDE Addons/Plugins, including:
|
||||
* atlantikdesigner: game board designer
|
||||
* konq-plugins: akregator, babelfish, domtreeviewer, imagerotation, validators, webarchiver
|
||||
* kate (plugins)
|
||||
* kicker-applets: kbinaryclock, kolourpicker, ktimemon, mediacontrol
|
||||
* knewsticker-scripts
|
||||
* noatun-plugins
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
|
||||
##########
|
||||
|
||||
%package -n trinity-atlantikdesigner
|
||||
Summary: Game board designer for Atlantik
|
||||
Group: Applications/Games
|
||||
#Requires: trinity-atlantik
|
||||
Requires: trinity-tdegames
|
||||
|
||||
%description -n trinity-atlantikdesigner
|
||||
Atlantik Designer is a game board designer for the game Atlantik.
|
||||
|
||||
Atlantik is a TDE client for playing Monopoly-like board games on the
|
||||
monopd network. It can play any board supported by the network
|
||||
server, including the classic Monopoly game as well as the Atlantik
|
||||
game in which the properties include several major cities in North
|
||||
America and Europe.
|
||||
|
||||
%files -n trinity-atlantikdesigner
|
||||
%defattr(-,root,root,-)
|
||||
%doc README atlantikdesigner/TODO
|
||||
%{tde_bindir}/atlantikdesigner
|
||||
%{tde_datadir}/apps/atlantikdesigner
|
||||
%{tde_tdeappdir}/atlantikdesigner.desktop
|
||||
%{tde_datadir}/icons/hicolor/*/apps/atlantikdesigner.png
|
||||
|
||||
%post -n trinity-atlantikdesigner
|
||||
for f in hicolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
|
||||
done
|
||||
update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
|
||||
|
||||
%postun -n trinity-atlantikdesigner
|
||||
for f in hicolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
|
||||
done
|
||||
update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
|
||||
|
||||
##########
|
||||
|
||||
%package -n trinity-kaddressbook-plugins
|
||||
Summary: Plugins for KAddressBook, the Trinity address book
|
||||
Group: Applications/Utilities
|
||||
Requires: trinity-kaddressbook
|
||||
|
||||
%description -n trinity-kaddressbook-plugins
|
||||
This package contains a variety of useful plugins for the KDE address
|
||||
book. These plugins can be loaded through the TDE address book settings.
|
||||
|
||||
Highlights include exporting postal addresses as flags in KWorldClock,
|
||||
as well as importing and exporting contacts in the native format used
|
||||
by the German freemail provider GMX.
|
||||
|
||||
%files -n trinity-kaddressbook-plugins
|
||||
%defattr(-,root,root,-)
|
||||
%doc README
|
||||
%{tde_tdelibdir}/libkaddrbk_geo_xxport.la
|
||||
%{tde_tdelibdir}/libkaddrbk_geo_xxport.so
|
||||
%{tde_tdelibdir}/libkaddrbk_gmx_xxport.la
|
||||
%{tde_tdelibdir}/libkaddrbk_gmx_xxport.so
|
||||
%{tde_datadir}/apps/kaddressbook
|
||||
%{tde_datadir}/services/kaddressbook
|
||||
|
||||
##########
|
||||
|
||||
%package -n trinity-kate-plugins
|
||||
Summary: Plugins for Kate, the TDE Advanced Text Editor
|
||||
Group: Applications/Utilities
|
||||
Requires: trinity-kate
|
||||
Requires: tidy
|
||||
|
||||
%description -n trinity-kate-plugins
|
||||
This package contains a variety of useful plugins for Kate, the KDE
|
||||
Advanced Text Editor. These plugins can be loaded through the plugin
|
||||
manager in Kate settings.
|
||||
|
||||
Highlights include spell checking, text filtering, HTML/XML construction
|
||||
and validation, vim/emacs modeline handling, templates for new files
|
||||
and text snippets, opening of C/C++ headers, extraction of C/C++ symbols,
|
||||
a tab bar, a Python browser and even more.
|
||||
|
||||
%files -n trinity-kate-plugins
|
||||
%defattr(-,root,root,-)
|
||||
%doc kate/xmltools/ChangeLog kate/xmltools/README
|
||||
%{tde_tdelibdir}/katecppsymbolviewerplugin.la
|
||||
%{tde_tdelibdir}/katecppsymbolviewerplugin.so
|
||||
%{tde_tdelibdir}/katefiletemplates.la
|
||||
%{tde_tdelibdir}/katefiletemplates.so
|
||||
%{tde_tdelibdir}/katefll_plugin.la
|
||||
%{tde_tdelibdir}/katefll_plugin.so
|
||||
%{tde_tdelibdir}/katehelloworldplugin.la
|
||||
%{tde_tdelibdir}/katehelloworldplugin.so
|
||||
%{tde_tdelibdir}/katehtmltoolsplugin.la
|
||||
%{tde_tdelibdir}/katehtmltoolsplugin.so
|
||||
%{tde_tdelibdir}/kateinsertcommandplugin.la
|
||||
%{tde_tdelibdir}/kateinsertcommandplugin.so
|
||||
%{tde_tdelibdir}/katemakeplugin.la
|
||||
%{tde_tdelibdir}/katemakeplugin.so
|
||||
%{tde_tdelibdir}/katemodelineplugin.la
|
||||
%{tde_tdelibdir}/katemodelineplugin.so
|
||||
%{tde_tdelibdir}/kateopenheaderplugin.la
|
||||
%{tde_tdelibdir}/kateopenheaderplugin.so
|
||||
%{tde_tdelibdir}/katepybrowseplugin.la
|
||||
%{tde_tdelibdir}/katepybrowseplugin.so
|
||||
%{tde_tdelibdir}/katesnippetsplugin.la
|
||||
%{tde_tdelibdir}/katesnippetsplugin.so
|
||||
%{tde_tdelibdir}/katetextfilterplugin.la
|
||||
%{tde_tdelibdir}/katetextfilterplugin.so
|
||||
%{tde_tdelibdir}/katexmlcheckplugin.la
|
||||
%{tde_tdelibdir}/katexmlcheckplugin.so
|
||||
%{tde_tdelibdir}/katexmltoolsplugin.la
|
||||
%{tde_tdelibdir}/katexmltoolsplugin.so
|
||||
%{tde_tdelibdir}/libkatetabbarextensionplugin.la
|
||||
%{tde_tdelibdir}/libkatetabbarextensionplugin.so
|
||||
%{tde_datadir}/applnk/.hidden/katefll.desktop
|
||||
%{tde_datadir}/apps/kate
|
||||
%{tde_datadir}/apps/katepart
|
||||
%{tde_datadir}/apps/katexmltools
|
||||
%{tde_datadir}/services/katecppsymbolviewer.desktop
|
||||
%{tde_datadir}/services/katefiletemplates.desktop
|
||||
%{tde_datadir}/services/katefll_plugin.desktop
|
||||
%{tde_datadir}/services/katehelloworld.desktop
|
||||
%{tde_datadir}/services/katehtmltools.desktop
|
||||
%{tde_datadir}/services/kateinsertcommand.desktop
|
||||
%{tde_datadir}/services/katemake.desktop
|
||||
%{tde_datadir}/services/katemodeline.desktop
|
||||
%{tde_datadir}/services/kateopenheader.desktop
|
||||
%{tde_datadir}/services/katepybrowse.desktop
|
||||
%{tde_datadir}/services/katesnippets.desktop
|
||||
%{tde_datadir}/services/katetabbarextension.desktop
|
||||
%{tde_datadir}/services/katetextfilter.desktop
|
||||
%{tde_datadir}/services/katexmlcheck.desktop
|
||||
%{tde_datadir}/services/katexmltools.desktop
|
||||
%{tde_tdedocdir}/HTML/en/kate-plugins/
|
||||
|
||||
##########
|
||||
|
||||
%package tdefile-plugins
|
||||
Summary: Trinity file dialog plugins for text files and folders
|
||||
Group: Applications/Utilities
|
||||
|
||||
Obsoletes: trinity-kfile-plugins < %{version}-%{release}
|
||||
Provides: trinity-kfile-plugins = %{version}-%{release}
|
||||
|
||||
%description tdefile-plugins
|
||||
This is a collection of plugins for the TDE file dialog. These plugins
|
||||
extend the file dialog to offer advanced meta-information for text,
|
||||
HTML and desktop files, as well as for folders, Windows .lnk files,
|
||||
MIME archives and X.509 certificates.
|
||||
|
||||
This package also includes plugins for the KDE file rename dialog,
|
||||
allowing a user to more easily decide what to do when faced with a
|
||||
decision regarding conflicting filenames. Rename dialog plugins are
|
||||
provided for audio and image files.
|
||||
|
||||
%files tdefile-plugins
|
||||
%defattr(-,root,root,-)
|
||||
%doc tdefile-plugins/lnk/README
|
||||
%{tde_bindir}/lnkforward
|
||||
%{tde_tdelibdir}/tdefile_cert.la
|
||||
%{tde_tdelibdir}/tdefile_cert.so
|
||||
%{tde_tdelibdir}/tdefile_desktop.la
|
||||
%{tde_tdelibdir}/tdefile_desktop.so
|
||||
%{tde_tdelibdir}/tdefile_folder.la
|
||||
%{tde_tdelibdir}/tdefile_folder.so
|
||||
%{tde_tdelibdir}/tdefile_html.la
|
||||
%{tde_tdelibdir}/tdefile_html.so
|
||||
%{tde_tdelibdir}/tdefile_lnk.la
|
||||
%{tde_tdelibdir}/tdefile_lnk.so
|
||||
%{tde_tdelibdir}/tdefile_mhtml.la
|
||||
%{tde_tdelibdir}/tdefile_mhtml.so
|
||||
%{tde_tdelibdir}/tdefile_txt.la
|
||||
%{tde_tdelibdir}/tdefile_txt.so
|
||||
%{tde_tdelibdir}/librenaudioplugin.la
|
||||
%{tde_tdelibdir}/librenaudioplugin.so
|
||||
%{tde_tdelibdir}/librenimageplugin.la
|
||||
%{tde_tdelibdir}/librenimageplugin.so
|
||||
%{tde_datadir}/applnk/.hidden/lnkforward.desktop
|
||||
%{tde_datadir}/mimelnk/application/x-win-lnk.desktop
|
||||
%{tde_datadir}/services/tdefile_cert.desktop
|
||||
%{tde_datadir}/services/tdefile_desktop.desktop
|
||||
%{tde_datadir}/services/tdefile_folder.desktop
|
||||
%{tde_datadir}/services/tdefile_html.desktop
|
||||
%{tde_datadir}/services/tdefile_lnk.desktop
|
||||
%{tde_datadir}/services/tdefile_mhtml.desktop
|
||||
%{tde_datadir}/services/tdefile_txt.desktop
|
||||
%{tde_datadir}/services/renaudiodlg.desktop
|
||||
%{tde_datadir}/services/renimagedlg.desktop
|
||||
|
||||
##########
|
||||
|
||||
%package -n trinity-kicker-applets
|
||||
Summary: Applets for Kicker, the Trinity panel
|
||||
Group: Applications/Utilities
|
||||
Requires: trinity-kicker
|
||||
|
||||
%description -n trinity-kicker-applets
|
||||
This package contains a variety of applets for Kicker, the KDE panel.
|
||||
These applets will appear in the panel's Add--Applet menu.
|
||||
|
||||
Included are a system monitor, a colour picker, a media player controller,
|
||||
a mathematical evaluator and a binary clock.
|
||||
|
||||
The media control applet does not support XMMS, as this would force all
|
||||
kicker-applets users to install XMMS. If you want a kicker applet that
|
||||
controls XMMS, install the xmms-kde-trinity package.
|
||||
|
||||
%files -n trinity-kicker-applets
|
||||
%defattr(-,root,root,-)
|
||||
%doc README
|
||||
%{tde_tdelibdir}/kolourpicker_panelapplet.la
|
||||
%{tde_tdelibdir}/kolourpicker_panelapplet.so
|
||||
%{tde_tdelibdir}/ktimemon_panelapplet.la
|
||||
%{tde_tdelibdir}/ktimemon_panelapplet.so
|
||||
%{tde_tdelibdir}/math_panelapplet.la
|
||||
%{tde_tdelibdir}/math_panelapplet.so
|
||||
%{tde_tdelibdir}/mediacontrol_panelapplet.la
|
||||
%{tde_tdelibdir}/mediacontrol_panelapplet.so
|
||||
%{tde_tdelibdir}/kbinaryclock_panelapplet.la
|
||||
%{tde_tdelibdir}/kbinaryclock_panelapplet.so
|
||||
%{tde_datadir}/apps/kicker/applets
|
||||
%{tde_datadir}/apps/mediacontrol
|
||||
%{tde_datadir}/config.kcfg/kbinaryclock.kcfg
|
||||
%{tde_datadir}/icons/locolor/*/apps/ktimemon.png
|
||||
%{tde_datadir}/icons/crystalsvg/*/apps/ktimemon.png
|
||||
%{tde_tdedocdir}/HTML/en/kicker-applets/
|
||||
|
||||
%post -n trinity-kicker-applets
|
||||
for f in crystalsvg locolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
|
||||
done
|
||||
|
||||
%postun -n trinity-kicker-applets
|
||||
for f in crystalsvg locolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
|
||||
done
|
||||
|
||||
##########
|
||||
|
||||
%package -n trinity-knewsticker-scripts
|
||||
Summary: scripts for KNewsTicker, the Trinity news ticker
|
||||
Group: Applications/Utilities
|
||||
Requires: perl
|
||||
Requires: python
|
||||
#Requires: libfinance-quote-perl
|
||||
#Requires: libmime-perl
|
||||
#Requires: libnews-nntpclient-perl
|
||||
Requires: perl-libwww-perl
|
||||
Requires: trinity-knewsticker
|
||||
|
||||
%description -n trinity-knewsticker-scripts
|
||||
This package contains a variety of scripts that provide additional news
|
||||
sources for KNewsTicker, the news ticker applet for the TDE panel.
|
||||
|
||||
Highlights include newsgroup handling, stock data retrieval, sports scores
|
||||
and various local news sources.
|
||||
|
||||
%files -n trinity-knewsticker-scripts
|
||||
%defattr(-,root,root,-)
|
||||
%doc README
|
||||
%{tde_datadir}/apps/knewsticker/
|
||||
|
||||
##########
|
||||
|
||||
%package -n trinity-konq-plugins
|
||||
Summary: plugins for Konqueror, the Trinity file/web/doc browser
|
||||
Group: Applications/Utilities
|
||||
%if 0%{?mgaversion} || 0%{?mdkversion}
|
||||
%if 0%{?pclinuxos} == 0
|
||||
Requires: %{_lib}jpeg8
|
||||
%endif
|
||||
%endif
|
||||
%if 0%{?rhel} || 0%{?fedora}
|
||||
Requires: libjpeg
|
||||
%endif
|
||||
%if 0%{?suse_version} >= 1220
|
||||
Requires: libjpeg62
|
||||
%endif
|
||||
%if 0%{?pclinuxos}
|
||||
Requires: %{_lib}jpeg62
|
||||
%endif
|
||||
%if 0%{?suse_version} == 1230
|
||||
Requires: libjpeg8
|
||||
%endif
|
||||
Requires: python
|
||||
Requires: rsync
|
||||
#Requires: unison
|
||||
Requires: trinity-konqueror
|
||||
%if 0%{?fedora}
|
||||
Requires: python-exif
|
||||
%endif
|
||||
|
||||
%description -n trinity-konq-plugins
|
||||
This package contains a variety of useful plugins for Konqueror, the
|
||||
file manager, web browser and document viewer for TDE. Many of these
|
||||
plugins will appear in Konqueror's Tools menu.
|
||||
|
||||
Highlights for web browsing include web page translation, web page archiving,
|
||||
auto-refreshing, HTML and CSS structural analysis, a search toolbar, a
|
||||
sidebar news ticker, fast access to common options, bookmarklets, a crash
|
||||
monitor, a microformat availability indicator, a del.icio.us bookmarks
|
||||
sidebar, and integration with the aKregator RSS feed reader.
|
||||
|
||||
Highlights for directory browsing include directory filters, image gallery
|
||||
creation, archive compression and extraction, quick copy/move, a sidebar
|
||||
media player, a file information metabar/sidebar, a media folder helper, a
|
||||
graphical disk usage viewer and image conversions and transformations.
|
||||
|
||||
%files -n trinity-konq-plugins
|
||||
%defattr(-,root,root,-)
|
||||
%doc konq-plugins/README
|
||||
%{tde_datadir}/config/translaterc
|
||||
%{tde_bindir}/fsview
|
||||
%{tde_bindir}/jpegorient
|
||||
%{tde_bindir}/tdeio_media_realfolder
|
||||
%{tde_tdelibdir}/konq_sidebarnews.la
|
||||
%{tde_tdelibdir}/konq_sidebarnews.so
|
||||
%{tde_tdelibdir}/konqsidebar_delicious.la
|
||||
%{tde_tdelibdir}/konqsidebar_delicious.so
|
||||
%{tde_tdelibdir}/konqsidebar_mediaplayer.la
|
||||
%{tde_tdelibdir}/konqsidebar_mediaplayer.so
|
||||
%{tde_tdelibdir}/konqsidebar_metabar.la
|
||||
%{tde_tdelibdir}/konqsidebar_metabar.so
|
||||
%{tde_tdelibdir}/libakregatorkonqfeedicon.la
|
||||
%{tde_tdelibdir}/libakregatorkonqfeedicon.so
|
||||
%{tde_tdelibdir}/libakregatorkonqplugin.la
|
||||
%{tde_tdelibdir}/libakregatorkonqplugin.so
|
||||
%{tde_tdelibdir}/libarkplugin.la
|
||||
%{tde_tdelibdir}/libarkplugin.so
|
||||
%{tde_tdelibdir}/libautorefresh.la
|
||||
%{tde_tdelibdir}/libautorefresh.so
|
||||
%{tde_tdelibdir}/libbabelfishplugin.la
|
||||
%{tde_tdelibdir}/libbabelfishplugin.so
|
||||
%{tde_tdelibdir}/libcrashesplugin.la
|
||||
%{tde_tdelibdir}/libcrashesplugin.so
|
||||
%{tde_tdelibdir}/libdirfilterplugin.la
|
||||
%{tde_tdelibdir}/libdirfilterplugin.so
|
||||
%{tde_tdelibdir}/librsyncplugin.la
|
||||
%{tde_tdelibdir}/librsyncplugin.so
|
||||
%{tde_tdelibdir}/libdomtreeviewerplugin.la
|
||||
%{tde_tdelibdir}/libdomtreeviewerplugin.so
|
||||
%{tde_tdelibdir}/libfsviewpart.la
|
||||
%{tde_tdelibdir}/libfsviewpart.so
|
||||
%{tde_tdelibdir}/libtdehtmlsettingsplugin.la
|
||||
%{tde_tdelibdir}/libtdehtmlsettingsplugin.so
|
||||
%{tde_tdelibdir}/kcm_kuick.la
|
||||
%{tde_tdelibdir}/kcm_kuick.so
|
||||
%{tde_tdelibdir}/libkimgallery.la
|
||||
%{tde_tdelibdir}/libkimgallery.so
|
||||
%{tde_tdelibdir}/libkuickplugin.la
|
||||
%{tde_tdelibdir}/libkuickplugin.so
|
||||
%{tde_tdelibdir}/libmfkonqmficon.la
|
||||
%{tde_tdelibdir}/libmfkonqmficon.so
|
||||
%{tde_tdelibdir}/libminitoolsplugin.la
|
||||
%{tde_tdelibdir}/libminitoolsplugin.so
|
||||
%{tde_tdelibdir}/librellinksplugin.la
|
||||
%{tde_tdelibdir}/librellinksplugin.so
|
||||
%{tde_tdelibdir}/libsearchbarplugin.la
|
||||
%{tde_tdelibdir}/libsearchbarplugin.so
|
||||
%{tde_tdelibdir}/libuachangerplugin.la
|
||||
%{tde_tdelibdir}/libuachangerplugin.so
|
||||
%{tde_tdelibdir}/libvalidatorsplugin.la
|
||||
%{tde_tdelibdir}/libvalidatorsplugin.so
|
||||
%{tde_tdelibdir}/libwebarchiverplugin.la
|
||||
%{tde_tdelibdir}/libwebarchiverplugin.so
|
||||
%{tde_tdelibdir}/webarchivethumbnail.la
|
||||
%{tde_tdelibdir}/webarchivethumbnail.so
|
||||
%{tde_datadir}/applnk/.hidden/arkplugin.desktop
|
||||
%{tde_datadir}/applnk/.hidden/kcmkuick.desktop
|
||||
%{tde_datadir}/applnk/.hidden/kuickplugin.desktop
|
||||
%{tde_datadir}/applnk/.hidden/mediaplayerplugin.desktop
|
||||
%{tde_datadir}/applnk/.hidden/crashesplugin.desktop
|
||||
%{tde_datadir}/applnk/.hidden/dirfilterplugin.desktop
|
||||
%{tde_datadir}/applnk/.hidden/rsyncplugin.desktop
|
||||
%{tde_datadir}/applnk/.hidden/fsview.desktop
|
||||
%{tde_datadir}/applnk/.hidden/tdehtmlsettingsplugin.desktop
|
||||
%{tde_datadir}/applnk/.hidden/kimgalleryplugin.desktop
|
||||
%{tde_datadir}/applnk/.hidden/plugin_babelfish.desktop
|
||||
%{tde_datadir}/applnk/.hidden/plugin_domtreeviewer.desktop
|
||||
%{tde_datadir}/applnk/.hidden/plugin_validators.desktop
|
||||
%{tde_datadir}/applnk/.hidden/plugin_webarchiver.desktop
|
||||
%{tde_datadir}/applnk/.hidden/uachangerplugin.desktop
|
||||
%{tde_datadir}/apps/akregator
|
||||
%{tde_datadir}/apps/domtreeviewer
|
||||
%{tde_datadir}/apps/fsview
|
||||
%{tde_datadir}/apps/imagerotation/orient.py*
|
||||
%{tde_datadir}/apps/imagerotation/exif.py*
|
||||
%{tde_datadir}/apps/tdehtml/kpartplugins
|
||||
%{tde_datadir}/apps/konqiconview
|
||||
%{tde_datadir}/apps/konqlistview
|
||||
%{tde_datadir}/apps/konqsidebartng
|
||||
%{tde_datadir}/apps/konqueror/icons
|
||||
%{tde_datadir}/apps/konqueror/kpartplugins
|
||||
%{tde_datadir}/apps/konqueror/servicemenus
|
||||
%{tde_datadir}/apps/metabar/iconsrc
|
||||
%{tde_datadir}/apps/metabar/themes/default/default.css
|
||||
%{tde_datadir}/apps/metabar/themes/default/layout.html
|
||||
%{tde_datadir}/apps/microformat/pics/microformat.png
|
||||
%{tde_datadir}/config.kcfg/konq_sidebarnews.kcfg
|
||||
%{tde_datadir}/icons/locolor/16x16/apps/autorefresh.png
|
||||
%{tde_datadir}/icons/crystalsvg/16x16/actions/babelfish.png
|
||||
%{tde_datadir}/icons/crystalsvg/16x16/actions/cssvalidator.png
|
||||
%{tde_datadir}/icons/crystalsvg/16x16/actions/domtreeviewer.png
|
||||
%{tde_datadir}/icons/crystalsvg/16x16/actions/htmlvalidator.png
|
||||
%{tde_datadir}/icons/crystalsvg/16x16/actions/imagegallery.png
|
||||
%{tde_datadir}/icons/crystalsvg/16x16/actions/remotesync.png
|
||||
%{tde_datadir}/icons/crystalsvg/16x16/actions/remotesyncconfig.png
|
||||
%{tde_datadir}/icons/crystalsvg/16x16/actions/minitools.png
|
||||
%{tde_datadir}/icons/crystalsvg/16x16/actions/validators.png
|
||||
%{tde_datadir}/icons/crystalsvg/16x16/actions/webarchiver.png
|
||||
%{tde_datadir}/icons/crystalsvg/16x16/apps/konqsidebar_delicious.png
|
||||
%{tde_datadir}/icons/crystalsvg/16x16/apps/konqsidebar_mediaplayer.png
|
||||
%{tde_datadir}/icons/crystalsvg/16x16/apps/konqsidebar_news.png
|
||||
%{tde_datadir}/icons/crystalsvg/22x22/actions/babelfish.png
|
||||
%{tde_datadir}/icons/crystalsvg/22x22/actions/cssvalidator.png
|
||||
%{tde_datadir}/icons/crystalsvg/22x22/actions/domtreeviewer.png
|
||||
%{tde_datadir}/icons/crystalsvg/22x22/actions/htmlvalidator.png
|
||||
%{tde_datadir}/icons/crystalsvg/22x22/actions/imagegallery.png
|
||||
%{tde_datadir}/icons/crystalsvg/22x22/actions/remotesync.png
|
||||
%{tde_datadir}/icons/crystalsvg/22x22/actions/remotesyncconfig.png
|
||||
%{tde_datadir}/icons/crystalsvg/22x22/actions/minitools.png
|
||||
%{tde_datadir}/icons/crystalsvg/22x22/actions/validators.png
|
||||
%{tde_datadir}/icons/crystalsvg/22x22/actions/webarchiver.png
|
||||
%{tde_datadir}/icons/crystalsvg/22x22/apps/konqsidebar_mediaplayer.png
|
||||
%{tde_datadir}/icons/crystalsvg/32x32/actions/minitools.png
|
||||
%{tde_datadir}/icons/crystalsvg/32x32/apps/konqsidebar_mediaplayer.png
|
||||
%{tde_datadir}/icons/crystalsvg/48x48/actions/minitools.png
|
||||
%{tde_datadir}/icons/crystalsvg/48x48/apps/konqsidebar_mediaplayer.png
|
||||
%{tde_datadir}/icons/hicolor/16x16/apps/metabar.png
|
||||
%{tde_datadir}/icons/hicolor/22x22/apps/fsview.png
|
||||
%{tde_datadir}/icons/hicolor/32x32/apps/fsview.png
|
||||
%{tde_datadir}/icons/hicolor/32x32/apps/metabar.png
|
||||
%{tde_datadir}/icons/hicolor/48x48/apps/metabar.png
|
||||
%{tde_datadir}/icons/hicolor/64x64/apps/metabar.png
|
||||
%{tde_datadir}/icons/hicolor/scalable/apps/metabar.svgz
|
||||
%{tde_datadir}/icons/hicolor/128x128/apps/metabar.png
|
||||
%{tde_datadir}/icons/locolor/32x32/apps/konqsidebar_mediaplayer.png
|
||||
%{tde_datadir}/services/akregator_konqplugin.desktop
|
||||
%{tde_datadir}/services/ark_plugin.desktop
|
||||
%{tde_datadir}/services/fsview_part.desktop
|
||||
%{tde_datadir}/services/kuick_plugin.desktop
|
||||
%{tde_datadir}/services/webarchivethumbnail.desktop
|
||||
%{tde_tdelibdir}/libadblock.la
|
||||
%{tde_tdelibdir}/libadblock.so
|
||||
%{tde_tdedocdir}/HTML/en/konq-plugins/
|
||||
|
||||
%post -n trinity-konq-plugins
|
||||
for f in crystalsvg hicolor locolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
|
||||
done
|
||||
|
||||
%postun -n trinity-konq-plugins
|
||||
for f in crystalsvg hicolor locolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
|
||||
done
|
||||
|
||||
##########
|
||||
|
||||
%package -n trinity-ksig
|
||||
Summary: Graphical tool for managing multiple email signatures
|
||||
Group: Applications/Utilities
|
||||
Requires: trinity-kmail
|
||||
|
||||
%description -n trinity-ksig
|
||||
KSig is a graphical tool for keeping track of many different email
|
||||
signatures. The signatures themselves can be edited through KSig's
|
||||
graphical user interface. A command-line interface is then available
|
||||
for generating random or daily signatures from this list.
|
||||
|
||||
The command-line interface makes a suitable plugin for generating
|
||||
signatures in external mail clients such as KMail.
|
||||
|
||||
%files -n trinity-ksig
|
||||
%defattr(-,root,root,-)
|
||||
%doc README
|
||||
%{tde_bindir}/ksig
|
||||
%{tde_tdeappdir}/ksig.desktop
|
||||
%{tde_datadir}/apps/ksig/ksigui.rc
|
||||
%{tde_datadir}/icons/hicolor/*/apps/ksig.png
|
||||
%{tde_tdedocdir}/HTML/en/ksig/
|
||||
|
||||
%post -n trinity-ksig
|
||||
for f in hicolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
|
||||
done
|
||||
update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
|
||||
|
||||
%postun -n trinity-ksig
|
||||
for f in hicolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
|
||||
done
|
||||
update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
|
||||
|
||||
##########
|
||||
|
||||
%package -n trinity-noatun-plugins
|
||||
Summary: plugins for Noatun, the Trinity media player
|
||||
Group: Applications/Utilities
|
||||
Requires: trinity-noatun
|
||||
|
||||
%description -n trinity-noatun-plugins
|
||||
This package contains a variety of useful plugins for Noatun, the audio and
|
||||
video media player for TDE. These plugins can be loaded through the plugin
|
||||
manager in Noatun settings.
|
||||
|
||||
Highlights include an alarm clock, guessing tags from filenames, adjustable
|
||||
playback speed, capture to wave file and displaying lyrics, plus a variety
|
||||
of user interfaces, playlists and visualisation plugins.
|
||||
|
||||
%files -n trinity-noatun-plugins
|
||||
%defattr(-,root,root,-)
|
||||
%doc README
|
||||
%{tde_bindir}/noatunsynaescope.bin
|
||||
%{tde_bindir}/noatuntippecanoe.bin
|
||||
%{tde_bindir}/noatuntyler.bin
|
||||
%{tde_tdelibdir}/noatunalsaplayer.la
|
||||
%{tde_tdelibdir}/noatunalsaplayer.so
|
||||
%{tde_tdelibdir}/noatunblurscope.la
|
||||
%{tde_tdelibdir}/noatunblurscope.so
|
||||
%{tde_tdelibdir}/noatuncharlatan.la
|
||||
%{tde_tdelibdir}/noatuncharlatan.so
|
||||
%{tde_tdelibdir}/noatundub.la
|
||||
%{tde_tdelibdir}/noatundub.so
|
||||
%{tde_tdelibdir}/noatun_ffrs.la
|
||||
%{tde_tdelibdir}/noatun_ffrs.so
|
||||
%{tde_tdelibdir}/noatunluckytag.la
|
||||
%{tde_tdelibdir}/noatunluckytag.so
|
||||
%{tde_tdelibdir}/noatunlyrics.la
|
||||
%{tde_tdelibdir}/noatunlyrics.so
|
||||
%{tde_tdelibdir}/noatunmadness.la
|
||||
%{tde_tdelibdir}/noatunmadness.so
|
||||
%if 0%{?with_db4}
|
||||
%{tde_tdelibdir}/noatun_oblique.la
|
||||
%{tde_tdelibdir}/noatun_oblique.so
|
||||
%endif
|
||||
%{tde_tdelibdir}/noatunpitchablespeed.la
|
||||
%{tde_tdelibdir}/noatunpitchablespeed.so
|
||||
%{tde_tdelibdir}/noatunsynaescope.la
|
||||
%{tde_tdelibdir}/noatunsynaescope.so
|
||||
%{tde_tdelibdir}/noatuntippecanoe.la
|
||||
%{tde_tdelibdir}/noatuntippecanoe.so
|
||||
%{tde_tdelibdir}/noatuntyler.la
|
||||
%{tde_tdelibdir}/noatuntyler.so
|
||||
%{tde_tdelibdir}/noatunwakeup.la
|
||||
%{tde_tdelibdir}/noatunwakeup.so
|
||||
%{tde_tdelibdir}/noatunwavecapture.la
|
||||
%{tde_tdelibdir}/noatunwavecapture.so
|
||||
%{tde_datadir}/apps/noatun/*
|
||||
%{tde_datadir}/icons/crystalsvg/16x16/apps/synaescope.png
|
||||
|
||||
%post -n trinity-noatun-plugins
|
||||
for f in crystalsvg ; do
|
||||
touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
|
||||
done
|
||||
|
||||
%postun -n trinity-noatun-plugins
|
||||
for f in crystalsvg ; do
|
||||
touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
|
||||
done
|
||||
|
||||
##########
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
##########
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{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 PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
|
||||
|
||||
# Note about DB4:
|
||||
# Fedora 18: /usr/include/libdb4/db_cxx.h , /usr/lib64/libdb_cxx-4.so
|
||||
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--disable-rpath \
|
||||
--enable-new-ldflags \
|
||||
--enable-closure \
|
||||
--disable-debug --disable-warnings \
|
||||
--disable-dependency-tracking --enable-final \
|
||||
--with-extra-includes=%{_includedir}/db4:%{_includedir}/libdb4:%{tde_includedir}/arts \
|
||||
%{?with_xmms:--with-xmms} %{?!with_xmms:--without-xmms} \
|
||||
--with-sdl \
|
||||
%if 0%{?with_db4}
|
||||
--with-berkeley-db \
|
||||
%if 0%{?fedora} == 18
|
||||
--with-db-lib=db_cxx-4 \
|
||||
%endif
|
||||
%endif
|
||||
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
# File lists for locale
|
||||
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}
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
@ -0,0 +1,722 @@
|
||||
# If TDE is built 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_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-tdeartwork
|
||||
Summary: Additional artwork (themes, sound themes, ...) for TDE
|
||||
Version: 14.0.0
|
||||
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2
|
||||
Group: User Interface/Desktops
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Vendor: Trinity Project
|
||||
Packager: Francois Andriot <francois.andriot@free.fr>
|
||||
Url: http://www.trinitydesktop.org/
|
||||
|
||||
Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
|
||||
|
||||
|
||||
BuildRequires: cmake >= 2.8
|
||||
BuildRequires: trinity-tdebase-devel >= %{version}
|
||||
|
||||
BuildRequires: gettext
|
||||
BuildRequires: esound-devel
|
||||
|
||||
# kdeartwork specific settings
|
||||
|
||||
# OpenGL support
|
||||
%if 0%{?rhel} == 4
|
||||
BuildRequires: xorg-x11-Mesa-libGLU
|
||||
%endif
|
||||
|
||||
# NAS support
|
||||
%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
|
||||
BuildRequires: nas-devel
|
||||
%endif
|
||||
|
||||
# LIBART support
|
||||
# On RHEL, libart is too old !
|
||||
%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
|
||||
%define with_libart 1
|
||||
BuildRequires: libart_lgpl-devel
|
||||
%endif
|
||||
|
||||
# XSCREENSAVER support
|
||||
%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version}
|
||||
%define with_xscreensaver 1
|
||||
%if 0%{?mgaversion} || 0%{?mdkversion}
|
||||
BuildRequires: %{_lib}xscrnsaver%{?mgaversion:1}-devel
|
||||
BuildRequires: xscreensaver
|
||||
BuildRequires: xscreensaver-base
|
||||
BuildRequires: xscreensaver-extrusion
|
||||
BuildRequires: xscreensaver-gl
|
||||
%endif
|
||||
%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version} >= 1220
|
||||
BuildRequires: libXScrnSaver-devel
|
||||
%endif
|
||||
|
||||
%if 0%{?fedora} || 0%{?rhel} >= 6
|
||||
# Provides '/usr/share/xscreensaver/config/deco.xml'
|
||||
BuildRequires: xscreensaver
|
||||
BuildRequires: xscreensaver-extras
|
||||
%endif
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: xscreensaver
|
||||
BuildRequires: xscreensaver-data
|
||||
BuildRequires: xscreensaver-data-extra
|
||||
%endif
|
||||
|
||||
# Opensuse does not provide 'webcollage' screensaver
|
||||
%if 0%{?suse_version} == 0
|
||||
%define with_webcollage 1
|
||||
%endif
|
||||
|
||||
%endif
|
||||
|
||||
# JACK support
|
||||
%if 0%{?mgaversion} || 0%{?mdkversion}
|
||||
BuildRequires: %{_lib}jack-devel
|
||||
%endif
|
||||
%if 0%{?fedora} || 0%{?rhel} >= 5
|
||||
BuildRequires: jack-audio-connection-kit-devel
|
||||
%endif
|
||||
|
||||
|
||||
Obsoletes: trinity-kdeartwork < %{version}-%{release}
|
||||
Provides: trinity-kdeartwork = %{version}-%{release}
|
||||
|
||||
# Metapackage
|
||||
Requires: %{name}-emoticons = %{version}-%{release}
|
||||
Requires: %{name}-misc = %{version}-%{release}
|
||||
Requires: %{name}-style = %{version}-%{release}
|
||||
Requires: %{name}-theme-icon = %{version}-%{release}
|
||||
Requires: %{name}-theme-window = %{version}-%{release}
|
||||
Requires: trinity-tdewallpapers = %{version}-%{release}
|
||||
Requires: trinity-tdescreensaver = %{version}-%{release}
|
||||
|
||||
%if 0%{?with_xscreensaver}
|
||||
Requires: trinity-tdescreensaver-xsavers = %{version}-%{release}
|
||||
Requires: trinity-tdescreensaver-xsavers-extra = %{version}-%{release}
|
||||
%if 0%{?with_webcollage}
|
||||
Requires: trinity-tdescreensaver-xsavers-webcollage = %{version}-%{release}
|
||||
%endif
|
||||
%endif
|
||||
|
||||
|
||||
%description
|
||||
TDE (the Trinity Desktop Environment) is a powerful Open Source graphical
|
||||
desktop environment for Unix workstations. It combines ease of use,
|
||||
contemporary functionality, and outstanding graphical design with the
|
||||
technological superiority of the Unix operating system.
|
||||
|
||||
This metapackage includes a collection of artistic extras (themes, widget
|
||||
styles, screen savers, wallpaper, icons, emoticons and so on) provided
|
||||
with the official release of KDE.
|
||||
|
||||
Homepage: http://artist.kde.org
|
||||
|
||||
%files
|
||||
|
||||
##########
|
||||
|
||||
%package emoticons
|
||||
Summary: emoticon collections for tDE chat clients
|
||||
Group: User Interface/Desktops
|
||||
|
||||
%description emoticons
|
||||
This package contains several collections of emoticons used by official
|
||||
and unofficial KDE chat clients, such as Kopete and Konversation.
|
||||
|
||||
This package is part of KDE, and a component of the KDE artwork module.
|
||||
|
||||
%files emoticons
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_datadir}/emoticons/
|
||||
|
||||
##########
|
||||
|
||||
%package misc
|
||||
Summary: various multimedia goodies released with TDE
|
||||
Group: User Interface/Desktops
|
||||
|
||||
%description misc
|
||||
This package contains miscellaneous multimedia goodies for KDE.
|
||||
Included are additional TDE sounds and kworldclock themes.
|
||||
|
||||
This package is part of Trinity, and a component of the TDE artwork module.
|
||||
|
||||
%files misc
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_datadir}/apps/kworldclock/
|
||||
%{tde_datadir}/sounds/KDE_Logout_new.wav
|
||||
%{tde_datadir}/sounds/KDE_Startup_new.wav
|
||||
|
||||
##########
|
||||
|
||||
%package style
|
||||
Summary: widget styles released with Trinity
|
||||
Group: User Interface/Desktops
|
||||
|
||||
%description style
|
||||
This package contains additional widget styles for Trinity. Widget styles
|
||||
can be used to customise the look and feel of interface components such
|
||||
as buttons, scrollbars and so on. They can be applied using the style
|
||||
manager in the TDE Control Centre.
|
||||
|
||||
This package is part of Trinity, and a component of the TDE artwork module.
|
||||
|
||||
%files style
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_tdelibdir}/plugins/styles/
|
||||
%{tde_tdelibdir}/kstyle_phase_config.la
|
||||
%{tde_tdelibdir}/kstyle_phase_config.so
|
||||
%{tde_datadir}/apps/kstyle/
|
||||
|
||||
##########
|
||||
|
||||
%package theme-icon
|
||||
Summary: icon themes released with Trinity
|
||||
Group: User Interface/Desktops
|
||||
|
||||
Obsoletes: trinity-kdeartwork-icons < %{version}-%{release}
|
||||
Provides: trinity-kdeartwork-icons = %{version}-%{release}
|
||||
|
||||
%description theme-icon
|
||||
This package contains additional icon themes for Trinity. Icon themes can be
|
||||
used to customise the appearance of standard icons throughout KDE. They
|
||||
can be applied using the icon manager in the Trinity Control Centre.
|
||||
|
||||
This package is part of Trinity, and a component of the TDE artwork module.
|
||||
|
||||
%files theme-icon
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_datadir}/icons/*/*
|
||||
|
||||
%post theme-icon
|
||||
for i in locolor ikons kdeclassic kids slick ; do
|
||||
touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
|
||||
done
|
||||
|
||||
%postun theme-icon
|
||||
for i in locolor ikons kdeclassic kids slick ; do
|
||||
touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
|
||||
gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
|
||||
done
|
||||
|
||||
##########
|
||||
|
||||
%package theme-window
|
||||
Summary: window decoration themes released with Trinity
|
||||
Group: User Interface/Desktops
|
||||
|
||||
%description theme-window
|
||||
This package contains additional window decoration themes for Trinity. Window
|
||||
decoration themes can be used to customise the look of window borders and
|
||||
buttons, and can be applied using the window decoration manager in the Trinity
|
||||
Control Center.
|
||||
|
||||
This package is part of Trinity, and a component of the TDE artwork module.
|
||||
|
||||
%files theme-window
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_tdelibdir}/[kt]win*
|
||||
%{tde_datadir}/apps/[kt]win/
|
||||
|
||||
##########
|
||||
|
||||
%package -n trinity-tdewallpapers
|
||||
Summary: wallpapers released with Trinity
|
||||
Group: User Interface/Desktops
|
||||
Obsoletes: trinity-kdewallpapers < %{version}-%{release}
|
||||
Provides: trinity-kdewallpapers = %{version}-%{release}
|
||||
|
||||
%description -n trinity-tdewallpapers
|
||||
This package contains additional wallpapers for Trinity. Wallpapers can be
|
||||
applied using the background manager in the TDE Control Centre.
|
||||
|
||||
This package is part of Trinity, and a component of the TDE artwork module.
|
||||
|
||||
%files -n trinity-tdewallpapers
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_datadir}/wallpapers/*
|
||||
|
||||
##########
|
||||
|
||||
%package -n trinity-tdescreensaver
|
||||
Summary: additional screen savers released with Trinity
|
||||
Group: User Interface/Desktops
|
||||
|
||||
Obsoletes: trinity-kscreensaver < %{version}-%{release}
|
||||
Provides: trinity-kscreensaver = %{version}-%{release}
|
||||
|
||||
%description -n trinity-tdescreensaver
|
||||
This package contains the screen savers for Trinity. They can be tested and
|
||||
selected within the Appearance and Themes section of the Trinity Control
|
||||
Center.
|
||||
|
||||
The hooks for the standard xscreensavers are no longer part of this
|
||||
package. To select and/or configure the standard xscreensavers through
|
||||
the TDE Control Center, install the separate package tdescreensaver-xsavers.
|
||||
|
||||
This package is part of Trinity, and a component of the TDE artwork module.
|
||||
|
||||
%files -n trinity-tdescreensaver
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_bindir}/kslideshow.kss
|
||||
%{tde_bindir}/kpolygon.kss
|
||||
%{tde_bindir}/krotation.kss
|
||||
%{tde_bindir}/ksolarwinds.kss
|
||||
%{tde_bindir}/klorenz.kss
|
||||
%{tde_bindir}/kvm.kss
|
||||
%{tde_bindir}/kflux.kss
|
||||
%{tde_bindir}/kscience.kss
|
||||
%{tde_bindir}/kbanner.kss
|
||||
%{tde_bindir}/kclock.kss
|
||||
%{tde_bindir}/kfiresaver.kss
|
||||
%{tde_bindir}/keuphoria.kss
|
||||
%{tde_bindir}/kfountain.kss
|
||||
%{tde_bindir}/kgravity.kss
|
||||
%{tde_bindir}/tdepartsaver.kss
|
||||
%{tde_bindir}/kpendulum.kss
|
||||
%{tde_bindir}/kblob.kss
|
||||
%{tde_bindir}/klines.kss
|
||||
%{tde_bindir}/kwave.kss
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/KBanner.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/KBlob.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/KClock.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/KEuphoria.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/KFiresaver.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/KFlux.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/KFountain.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/KGravity.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/KLines-saver.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/KLorenz.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/KPendulum.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/KPolygon.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/KRotation.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/KScience.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/KSlideshow.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/KSolarWinds.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/KVm.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/KWave.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/tdepartsaver.desktop
|
||||
%{tde_datadir}/apps/kfiresaver/
|
||||
%{tde_datadir}/apps/tdescreensaver/
|
||||
|
||||
%if 0%{?with_xscreensaver}
|
||||
%{tde_bindir}/kspace.kss
|
||||
%{tde_bindir}/kswarm.kss
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/KSpace.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/KSwarm.desktop
|
||||
%endif
|
||||
|
||||
##########
|
||||
|
||||
%if 0%{?with_xscreensaver}
|
||||
|
||||
%package -n trinity-tdescreensaver-xsavers
|
||||
Summary: Trinity hooks for standard xscreensavers
|
||||
Group: User Interface/Desktops
|
||||
Requires: trinity-tdebase-bin >= 3.5.13
|
||||
Requires: xscreensaver
|
||||
|
||||
Obsoletes: trinity-kscreensaver-xsavers < %{version}-%{release}
|
||||
Provides: trinity-kscreensaver-xsavers = %{version}-%{release}
|
||||
|
||||
%description -n trinity-tdescreensaver-xsavers
|
||||
This package allows a smooth integration of the standard xscreensavers
|
||||
into Trinity. With this package installed you can select and/or configure
|
||||
the standard xscreensavers through the Appearances and Themes section of
|
||||
the Trinity Control Centre.
|
||||
|
||||
Note that this package does not actually contain any screensavers itself.
|
||||
For the additional screensavers shipped with Trinity, see the separate package
|
||||
tdescreensaver-trinity. This package does depend on the xscreensaver package, and
|
||||
recommend the xscreensaver-gl package, as well as contain the necessary
|
||||
files to integrate these packages into Trinity.
|
||||
|
||||
This package is part of Trinity, and a component of the TDE artwork module.
|
||||
|
||||
%files -n trinity-tdescreensaver-xsavers
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_bindir}/xscreensaver-getimage-file
|
||||
%{tde_bindir}/xscreensaver-getimage
|
||||
%{tde_bindir}/kxsconfig
|
||||
%{tde_bindir}/kxsrun
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/antinspect.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/antspotlight.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/atunnel.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/blinkbox.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/braid.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/bubble3d.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/circuit.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/cubestorm.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/deco.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/distort.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/endgame.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/engine.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/fiberlamp.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/flipflop.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/flipscreen3d.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/flyingtoasters.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/fuzzyflakes.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/galaxy.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/gears.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/gflux.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/glblur.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/gleidescope.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/glknots.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/glslideshow.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/glsnake.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/gltext.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/hypertorus.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/jigglypuff.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/lavalite.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/metaballs.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/mirrorblob.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/moebius.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/molecule.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/morph3d.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/penrose.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/pipes.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/polyhedra.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/polytopes.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/popsquares.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/pulsar.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/queens.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/ripples.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/shadebobs.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/sierpinski3d.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/slidescreen.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/sonar.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/spheremonics.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/stonerview.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/superquadrics.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/swirl.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/xlyap.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/m6502.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/glschool.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/moebiusgears.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/glcells.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/abstractile.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/lockward.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/cwaves.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/topblock.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/voronoi.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/cubicgrid.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/hypnowheel.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/lcdscrub.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/photopile.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/skytentacles.desktop
|
||||
|
||||
# These screensavers do not exist on Mageia 2
|
||||
%if 0%{?mgaversion} == 0 && 0%{?mdkversion} == 0
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/glmatrix.desktop
|
||||
%endif
|
||||
|
||||
##########
|
||||
|
||||
%if 0%{?with_webcollage}
|
||||
|
||||
%package -n trinity-tdescreensaver-xsavers-webcollage
|
||||
Summary: webcollage screensaver Trinity hook
|
||||
Group: User Interface/Desktops
|
||||
Requires: trinity-tdescreensaver-xsavers-extra = %{version}-%{release}
|
||||
Requires: netpbm
|
||||
|
||||
Obsoletes: trinity-kscreensaver-xsavers-webcollage < %{version}-%{release}
|
||||
Provides: trinity-kscreensaver-xsavers-webcollage = %{version}-%{release}
|
||||
|
||||
%description -n trinity-tdescreensaver-xsavers-webcollage
|
||||
This package give access to the webcollage screensaver through the Trinity
|
||||
screensaver configuration.
|
||||
|
||||
This screensaver downloads random pictures from the internet and creates
|
||||
a collage as screensaver.
|
||||
|
||||
IMPORTANT NOTICE: The internet contains all kinds of pictures, some of which
|
||||
you might find inappropriate and offensive.
|
||||
You are specially discouraged to install this package if you are using
|
||||
your computer in a working environment or in an environment with children.
|
||||
|
||||
If you still want to install this package, please read the file
|
||||
/usr/share/doc/tdescreensaver-xsavers-webcollage/README.Debian after the
|
||||
installation.
|
||||
|
||||
This package is part of Trinity, and a component of the TDE artwork module.
|
||||
|
||||
%files -n trinity-tdescreensaver-xsavers-webcollage
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/webcollage.desktop
|
||||
|
||||
%endif
|
||||
|
||||
##########
|
||||
|
||||
%package -n trinity-tdescreensaver-xsavers-extra
|
||||
Summary: Trinity hooks for standard xscreensavers
|
||||
Group: User Interface/Desktops
|
||||
Requires: trinity-tdescreensaver-xsavers = %{version}-%{release}
|
||||
|
||||
Obsoletes: trinity-kscreensaver-xsavers-extra < %{version}-%{release}
|
||||
Provides: trinity-kscreensaver-xsavers-extra = %{version}-%{release}
|
||||
|
||||
%description -n trinity-tdescreensaver-xsavers-extra
|
||||
This package allows a smooth integration of the universe xscreensavers
|
||||
into Trinity. With this package installed you can select and/or configure
|
||||
the universe xscreensavers through the Appearances and Themes section of
|
||||
the Trinity Control Centre.
|
||||
|
||||
Note that this package does not actually contain any screensavers itself.
|
||||
For the additional screensavers shipped with TDE, see the separate package
|
||||
tdescreensaver.
|
||||
|
||||
This package is part of Trinity, and a component of the TDE artwork module.
|
||||
|
||||
%files -n trinity-tdescreensaver-xsavers-extra
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/anemone.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/anemotaxis.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/antmaze.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/apollonian.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/apple2.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/atlantis.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/attraction.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/barcode.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/blaster.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/blitspin.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/blocktube.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/boing.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/bouboule.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/bouncingcow.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/boxed.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/boxfit.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/bsod.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/bumps.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/cage.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/carousel.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/ccurve.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/celtic.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/cloudlife.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/compass.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/coral.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/crackberg.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/crystal.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/cube21.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/cubenetic.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/cynosure.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/dangerball.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/decayscreen.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/deluxe.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/demon.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/discrete.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/drift.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/epicycle.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/eruption.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/euler2d.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/extrusion.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/fadeplot.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/fireworkx.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/flame.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/fliptext.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/flow.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/fluidballs.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/flurry.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/fontglide.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/glhanoi.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/glplanet.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/goop.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/grav.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/greynetic.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/halftone.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/halo.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/helix.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/hopalong.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/ifs.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/imsmap.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/interaggregate.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/interference.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/intermomentary.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/jigsaw.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/juggler3d.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/julia.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/kaleidescope.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/klein.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/kumppa.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/lament.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/loop.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/maze.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/memscroller.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/menger.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/moire.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/moire2.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/mountain.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/munch.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/nerverot.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/noof.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/noseguy.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/pacman.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/pedal.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/penetrate.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/petri.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/phosphor.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/piecewise.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/pinion.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/polyominoes.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/pong.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/providence.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/pyro.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/qix.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/rd-bomb.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/rocks.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/rorschach.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/rotzoomer.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/rubik.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/sballs.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/sierpinski.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/slip.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/speedmine.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/spotlight.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/sproingies.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/squiral.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/stairs.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/starfish.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/starwars.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/strange.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/substrate.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/tangram.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/thornbird.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/timetunnel.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/triangle.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/truchet.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/twang.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/vermiculate.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/wander.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/whirlwindwarp.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/wormhole.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/xanalogtv.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/xflame.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/xrayswarm.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/xspirograph.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/zoom.desktop
|
||||
|
||||
# These screensavers do not exist on OpenSuse 12.2
|
||||
%if 0%{?suse_version} == 0
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/vidwhacker.desktop
|
||||
%endif
|
||||
|
||||
# These screensavers do not exist on Mageia 2 and Mandriva 2011
|
||||
%if 0%{?mgaversion} == 0 && 0%{?mdkversion} == 0
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/xjack.desktop
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/xmatrix.desktop
|
||||
%endif
|
||||
|
||||
%endif
|
||||
|
||||
##########
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
##########
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
|
||||
export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt"
|
||||
export LD_LIBRARY_PATH="%{tde_libdir}"
|
||||
|
||||
# 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" \
|
||||
-DSHARE_INSTALL_PREFIX=%{tde_datadir} \
|
||||
%{!?with_xscreensaver:-DWITH_XSCREENSAVER=OFF} \
|
||||
%{!?with_libart}:-DWITH_LIBART=OFF} \
|
||||
-DWITH_OPENGL=ON \
|
||||
-DWITH_ARTS=ON \
|
||||
-DBUILD_ALL=ON \
|
||||
..
|
||||
|
||||
%__make %{?_smp_mflags} || %__make
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install -C build DESTDIR=%{buildroot}
|
||||
|
||||
# webcollage -root -directory /usr/share/backgrounds/images #227683
|
||||
|
||||
# File lists
|
||||
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
|
||||
|
||||
# Duplicate with trinity-kbabel (from tdesdk)
|
||||
%__rm -f %{?buildroot}%{tde_datadir}/icons/locolor/16x16/apps/kbabel.png
|
||||
%__rm -f %{?buildroot}%{tde_datadir}/icons/locolor/32x32/apps/kbabel.png
|
||||
|
||||
# Should not be here if xscreensaver is disabled
|
||||
%if 0%{?with_xscreensaver} == 0
|
||||
%__rm -f %{?buildroot}%{tde_bindir}/xscreensaver-getimage
|
||||
%__rm -f %{?buildroot}%{tde_bindir}/xscreensaver-getimage-file
|
||||
%endif
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
|
||||
- Initial release for TDE 3.5.13.2
|
@ -0,0 +1,24 @@
|
||||
--- trinity-tdebindings-14.0.0~pre209+0615ff79/dcopperl/Makefile.PL.in.ORI 2013-07-02 21:20:35.443484858 +0200
|
||||
+++ trinity-tdebindings-14.0.0~pre209+0615ff79/dcopperl/Makefile.PL.in 2013-07-02 21:20:46.551592113 +0200
|
||||
@@ -4,8 +4,8 @@
|
||||
# the contents of the Makefile that is written.
|
||||
|
||||
print "Trying to find some configuration information...\n";
|
||||
-my $tde_inc = "@tde_includes@";
|
||||
-my $tde_lib = "@tde_libraries@";
|
||||
+my $tde_inc = "@kde_includes@";
|
||||
+my $tde_lib = "@kde_libraries@";
|
||||
my $qt_inc = "@qt_includes@";
|
||||
my $qt_lib = "@qt_libraries@";
|
||||
|
||||
--- trinity-tdebindings-14.0.0~pre209+0615ff79/smoke/kde/Makefile.am.ORI 2013-07-02 21:30:55.952456509 +0200
|
||||
+++ trinity-tdebindings-14.0.0~pre209+0615ff79/smoke/kde/Makefile.am 2013-07-02 21:31:07.962573744 +0200
|
||||
@@ -9,7 +9,7 @@
|
||||
libsmokekde_la_LDFLAGS = -version-info 3:2:2 -no-undefined $(all_libraries) $(GLINC) $(KDE_RPATH)
|
||||
|
||||
# the libraries to link against.
|
||||
-libsmokekde_la_LIBADD = $(LIB_TDEHTML) -lkjs -lfontconfig $(LIB_KMDI) $(LIB_KNS) $(LIB_KSPELL) $(LIB_KUTILS) $(LIB_TDEPRINT) $(GLLIB) $(LIB_QT) $(LIB_TDEUI) $(LIB_TDECORE) $(LIB_KIO) $(LIB_KPARTS) -lDCOP -ltdefx
|
||||
+libsmokekde_la_LIBADD = $(LIB_TDEHTML) -lkjs -lfontconfig $(LIB_KMDI) $(LIB_KNS) $(LIB_KSPELL) $(LIB_KUTILS) $(LIB_TDEPRINT) $(GLLIB) $(LIB_QT) $(LIB_TDEUI) $(LIB_TDECORE) $(LIB_KIO) $(LIB_KPARTS) -lDCOP -ltdefx -lknewstuff -ltdemdi
|
||||
|
||||
x_sources = x_1.cpp x_2.cpp x_3.cpp x_4.cpp x_5.cpp x_6.cpp x_7.cpp \
|
||||
x_8.cpp x_9.cpp x_10.cpp x_11.cpp x_12.cpp x_13.cpp x_14.cpp x_15.cpp \
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,11 @@
|
||||
--- trinity-tdemultimedia-14.0.0~pre177+d730f5a0/arts/modules/common/Makefile.am.ORI 2013-06-30 21:47:10.721105015 +0200
|
||||
+++ trinity-tdemultimedia-14.0.0~pre177+d730f5a0/arts/modules/common/Makefile.am 2013-06-30 21:48:05.280864583 +0200
|
||||
@@ -25,7 +25,7 @@
|
||||
$(top_builddir)/arts/gui/common/libartsgui_idl.la \
|
||||
$(top_builddir)/arts/midi/libartsmidi_idl.la \
|
||||
$(top_builddir)/arts/modules/synth/libartsmodulessynth.la \
|
||||
- -lartsflow -lartsflow_idl -lmcop $(LIB_TDECORE) $(LIB_QT) $(VORBISFILE_LIBS) -lgthread-2.0
|
||||
+ -lartsflow -lartsflow_idl -lmcop $(LIB_TDECORE) $(LIB_QT) $(VORBIS_LIBS) $(VORBISFILE_LIBS) -lgthread-2.0 -lmad
|
||||
|
||||
libartsmodulescommon_la_LDFLAGS = $(all_libraries) -L$(arts_libraries) -no-undefined
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,443 @@
|
||||
# If TDE is built 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_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}
|
||||
|
||||
|
||||
Summary: Trinity Desktop Environment - Toys and Amusements
|
||||
Name: trinity-tdetoys
|
||||
Group: Amusements/Graphics
|
||||
Version: 14.0.0
|
||||
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2+
|
||||
Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
|
||||
|
||||
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)
|
||||
|
||||
BuildRequires: autoconf automake libtool m4
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{version}
|
||||
BuildRequires: gettext
|
||||
|
||||
Obsoletes: trinity-kdetoys < %{version}-%{release}
|
||||
Provides: trinity-kdetoys = %{version}-%{release}
|
||||
|
||||
# Metapackage
|
||||
Requires: trinity-amor = %{version}-%{release}
|
||||
Requires: trinity-eyesapplet = %{version}-%{release}
|
||||
Requires: trinity-fifteenapplet = %{version}-%{release}
|
||||
Requires: trinity-kmoon = %{version}-%{release}
|
||||
Requires: trinity-kodo = %{version}-%{release}
|
||||
Requires: trinity-kteatime = %{version}-%{release}
|
||||
Requires: trinity-ktux = %{version}-%{release}
|
||||
Requires: trinity-kweather = %{version}-%{release}
|
||||
Requires: trinity-kworldclock = %{version}-%{release}
|
||||
|
||||
|
||||
%description
|
||||
Includes:
|
||||
* amor: Amusing Misuse Of Resources put's comic figures above your windows
|
||||
* eyesapplet: a kicker applet similar to XEyes
|
||||
* fifteenapplet: kicker applet, order 15 pieces in a 4x4 square by moving them
|
||||
* kmoon: system tray applet showing the moon phase
|
||||
* kodo: mouse movement meter
|
||||
* kteatime: system tray applet that makes sure your tea doesn't get too strong
|
||||
* ktux: Tux-in-a-Spaceship screen saver
|
||||
* kweather: kicker applet that will display the current weather outside
|
||||
* kworldwatch: application and kicker applet showing daylight area on the world
|
||||
globe
|
||||
|
||||
NOTE: kicker applets and screen savers require kdebase to be installed,
|
||||
and user to be logged-in to TDE.
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS COPYING README
|
||||
|
||||
##########
|
||||
|
||||
%package -n trinity-amor
|
||||
Summary: a Trinity creature for your desktop
|
||||
Group: Amusements/Graphics
|
||||
|
||||
%description -n trinity-amor
|
||||
AMOR stands for Amusing Misuse Of Resources. It provides several different
|
||||
characters who prance around your X screen doing tricks and giving you tips.
|
||||
|
||||
Note that AMOR will only work with some window managers. Both KWin (the
|
||||
KDE window manager) and Metacity (a GTK2 window manager) are supported.
|
||||
|
||||
This package is part of Trinity, and a component of the TDE toys module.
|
||||
|
||||
%files -n trinity-amor
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_bindir}/amor
|
||||
%{tde_datadir}/apps/amor/
|
||||
%{tde_tdeappdir}/amor.desktop
|
||||
%{tde_datadir}/icons/hicolor/*/apps/amor.png
|
||||
%{tde_tdedocdir}/HTML/en/amor/
|
||||
%doc AUTHORS COPYING README
|
||||
|
||||
%post -n trinity-amor
|
||||
touch --no-create %{tde_datadir}/icons/hicolor ||:
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
|
||||
update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
|
||||
|
||||
%postun -n trinity-amor
|
||||
touch --no-create %{tde_datadir}/icons/hicolor ||:
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
|
||||
update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
|
||||
|
||||
##########
|
||||
|
||||
%package -n trinity-eyesapplet
|
||||
Summary: eyes applet for Trinity
|
||||
Group: Amusements/Graphics
|
||||
|
||||
%description -n trinity-eyesapplet
|
||||
An applet for the KDE panel containing a pair of eyes that follow your mouse
|
||||
around the screen.
|
||||
|
||||
This package is part of Trinity, and a component of the TDE toys module.
|
||||
|
||||
%files -n trinity-eyesapplet
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_tdelibdir}/eyes_panelapplet.la
|
||||
%{tde_tdelibdir}/eyes_panelapplet.so
|
||||
%{tde_datadir}/apps/kicker/applets/eyesapplet.desktop
|
||||
%doc AUTHORS COPYING README
|
||||
|
||||
##########
|
||||
|
||||
%package -n trinity-fifteenapplet
|
||||
Summary: fifteen pieces puzzle for Trinity
|
||||
Group: Amusements/Graphics
|
||||
|
||||
%description -n trinity-fifteenapplet
|
||||
An applet for the KDE panel that lets you play the Fifteen Pieces
|
||||
sliding block puzzle. You have to order 15 pieces in a 4x4 square by
|
||||
moving them around.
|
||||
|
||||
This package is part of Trinity, and a component of the TDE toys module.
|
||||
|
||||
%files -n trinity-fifteenapplet
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_tdelibdir}/fifteen_panelapplet.la
|
||||
%{tde_tdelibdir}/fifteen_panelapplet.so
|
||||
%{tde_datadir}/apps/kicker/applets/kfifteenapplet.desktop
|
||||
%doc AUTHORS COPYING README
|
||||
|
||||
##########
|
||||
|
||||
%package -n trinity-kmoon
|
||||
Summary: moon phase indicator for Trinity
|
||||
Group: Amusements/Graphics
|
||||
|
||||
%description -n trinity-kmoon
|
||||
An applet for the KDE panel that displays the current phase of the moon.
|
||||
|
||||
This package is part of Trinity, and a component of the TDE toys module.
|
||||
|
||||
%files -n trinity-kmoon
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_tdelibdir}/kmoon_panelapplet.la
|
||||
%{tde_tdelibdir}/kmoon_panelapplet.so
|
||||
%{tde_datadir}/apps/kicker/applets/kmoonapplet.desktop
|
||||
%{tde_datadir}/apps/kmoon/
|
||||
%{tde_datadir}/icons/hicolor/*/apps/kmoon.png
|
||||
%{tde_tdedocdir}/HTML/en/kmoon/
|
||||
%doc AUTHORS COPYING README
|
||||
|
||||
%post -n trinity-kmoon
|
||||
touch --no-create %{tde_datadir}/icons/hicolor ||:
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
|
||||
|
||||
%postun
|
||||
touch --no-create %{tde_datadir}/icons/hicolor ||:
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
|
||||
|
||||
##########
|
||||
|
||||
%package -n trinity-kodo
|
||||
Summary: mouse odometer for Trinity
|
||||
Group: Amusements/Graphics
|
||||
|
||||
%description -n trinity-kodo
|
||||
KOdometer measures your desktop mileage. It tracks the movement of your mouse
|
||||
pointer across your desktop and renders it in inches/feet/miles! It can
|
||||
do cm/metres/km too. Its most exciting feature is the tripometer.
|
||||
|
||||
This package is part of Trinity, and a component of the TDE toys module.
|
||||
|
||||
%files -n trinity-kodo
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_bindir}/kodo
|
||||
%{tde_tdeappdir}/kodo.desktop
|
||||
%{tde_datadir}/apps/kodo/numbers.png
|
||||
%{tde_datadir}/icons/hicolor/*/apps/kodo.png
|
||||
%{tde_tdedocdir}/HTML/en/kodo/
|
||||
%doc AUTHORS COPYING README
|
||||
|
||||
%post -n trinity-kodo
|
||||
touch --no-create %{tde_datadir}/icons/hicolor ||:
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
|
||||
update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
|
||||
|
||||
%postun -n trinity-kodo
|
||||
touch --no-create %{tde_datadir}/icons/hicolor ||:
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
|
||||
update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
|
||||
|
||||
##########
|
||||
|
||||
%package -n trinity-kteatime
|
||||
Summary: Trinity utility for making a fine cup of tea
|
||||
Group: Amusements/Graphics
|
||||
|
||||
%description -n trinity-kteatime
|
||||
KTeaTime is a handy timer for steeping tea. No longer will you have to
|
||||
guess at how long it takes for your tea to be ready. Simply select the
|
||||
type of tea you have, and it will alert you when the tea is ready to
|
||||
drink.
|
||||
|
||||
KTeaTime sits in the Trinity system tray.
|
||||
|
||||
Please note that KTeaTime is written explicitly for Trinity. If you are
|
||||
using a non-KDE window manager or desktop environment then it is quite
|
||||
possible that KTeaTime will not work on your system.
|
||||
|
||||
This package is part of Trinity, and a component of the TDE toys module.
|
||||
|
||||
%files -n trinity-kteatime
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_bindir}/kteatime
|
||||
%{tde_tdeappdir}/kteatime.desktop
|
||||
%{tde_datadir}/apps/kteatime/
|
||||
%{tde_datadir}/icons/hicolor/*/apps/kteatime.png
|
||||
%{tde_tdedocdir}/HTML/en/kteatime/
|
||||
%doc AUTHORS COPYING README
|
||||
|
||||
%post -n trinity-kteatime
|
||||
touch --no-create %{tde_datadir}/icons/hicolor ||:
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
|
||||
update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
|
||||
|
||||
%postun -n trinity-kteatime
|
||||
touch --no-create %{tde_datadir}/icons/hicolor ||:
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
|
||||
update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
|
||||
|
||||
##########
|
||||
|
||||
%package -n trinity-ktux
|
||||
Summary: Tux screensaver for Trinity
|
||||
Group: Amusements/Graphics
|
||||
|
||||
%description -n trinity-ktux
|
||||
A neat Tux-in-a-spaceship screensaver for the K Desktop Environment (KDE).
|
||||
|
||||
This package is part of Trinity, and a component of the TDE toys module.
|
||||
|
||||
%files -n trinity-ktux
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_bindir}/ktux
|
||||
%{tde_datadir}/apps/ktux/
|
||||
%{tde_datadir}/applnk/System/ScreenSavers/ktux.desktop
|
||||
%{tde_datadir}/icons/hicolor/*/apps/ktux.png
|
||||
%doc AUTHORS COPYING README
|
||||
|
||||
%post -n trinity-ktux
|
||||
touch --no-create %{tde_datadir}/icons/hicolor ||:
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
|
||||
|
||||
%postun -n trinity-ktux
|
||||
touch --no-create %{tde_datadir}/icons/hicolor ||:
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
|
||||
|
||||
##########
|
||||
|
||||
%package -n trinity-kweather
|
||||
Summary: weather display applet for Trinity
|
||||
Group: Amusements/Graphics
|
||||
|
||||
%description -n trinity-kweather
|
||||
An applet for the KDE panel that displays your area's current weather.
|
||||
Information shown includes the temperature, wind speed, air pressure
|
||||
and more. By pressing a button a full weather report can be obtained.
|
||||
|
||||
KWeather also provides a weather service that can track multiple weather
|
||||
stations and provide this information to other applications, including
|
||||
Konqueror's sidebar and Kontact's summary page.
|
||||
|
||||
This package is part of Trinity, and a component of the TDE toys module.
|
||||
|
||||
%files -n trinity-kweather
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_bindir}/kweatherservice
|
||||
%{tde_bindir}/kweatherreport
|
||||
%{tde_libdir}/lib[kt]deinit_kweatherreport.so
|
||||
%{tde_libdir}/lib[kt]deinit_kweatherreport.la
|
||||
%{tde_tdelibdir}/kcm_weather.so
|
||||
%{tde_tdelibdir}/kcm_weather.la
|
||||
%{tde_tdelibdir}/kcm_weatherservice.so
|
||||
%{tde_tdelibdir}/kcm_weatherservice.la
|
||||
%{tde_tdelibdir}/kweatherreport.so
|
||||
%{tde_tdelibdir}/kweatherreport.la
|
||||
%{tde_tdelibdir}/weather_panelapplet.la
|
||||
%{tde_tdelibdir}/weather_panelapplet.so
|
||||
%{tde_datadir}/apps/kicker/applets/kweather.desktop
|
||||
%{tde_datadir}/apps/kweather/
|
||||
%{tde_datadir}/apps/kweatherservice/stations.dat
|
||||
%{tde_datadir}/apps/kweatherservice/weather_stations.desktop
|
||||
%{tde_datadir}/icons/hicolor/*/apps/kweather.png
|
||||
%{tde_datadir}/services/kweatherservice.desktop
|
||||
%{tde_datadir}/services/kcmweather.desktop
|
||||
%{tde_datadir}/services/kcmweatherservice.desktop
|
||||
%{tde_tdedocdir}/HTML/en/kweather/
|
||||
%doc AUTHORS COPYING README
|
||||
|
||||
%post -n trinity-kweather
|
||||
touch --no-create %{tde_datadir}/icons/hicolor ||:
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
|
||||
update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
|
||||
|
||||
%postun -n trinity-kweather
|
||||
touch --no-create %{tde_datadir}/icons/hicolor ||:
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
|
||||
update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
|
||||
|
||||
##########
|
||||
|
||||
%package -n trinity-kworldclock
|
||||
Summary: earth watcher for Trinity
|
||||
Group: Amusements/Graphics
|
||||
|
||||
%description -n trinity-kworldclock
|
||||
Displays where in the world it is light and dark depending on time, as
|
||||
well as offering the time in all of the major cities of the world.
|
||||
This can be run standalone, as an applet in the KDE panel or as a
|
||||
desktop background.
|
||||
|
||||
Additional kworldclock themes are available in the tdeartwork-misc package.
|
||||
|
||||
This package is part of Trinity, and a component of the TDE toys module.
|
||||
|
||||
%files -n trinity-kworldclock
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_bindir}/kworldclock
|
||||
%{tde_tdelibdir}/ww_panelapplet.la
|
||||
%{tde_tdelibdir}/ww_panelapplet.so
|
||||
%{tde_tdeappdir}/kworldclock.desktop
|
||||
%{tde_datadir}/apps/kdesktop/programs/kdeworld.desktop
|
||||
%{tde_datadir}/apps/kicker/applets/kwwapplet.desktop
|
||||
%{tde_datadir}/apps/kworldclock/
|
||||
%{tde_datadir}/icons/hicolor/*/apps/kworldclock.png
|
||||
%{tde_tdedocdir}/HTML/en/kworldclock/
|
||||
%doc AUTHORS COPYING README
|
||||
|
||||
%post -n trinity-kworldclock
|
||||
touch --no-create %{tde_datadir}/icons/hicolor ||:
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
|
||||
update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
|
||||
|
||||
%postun -n trinity-kworldclock
|
||||
touch --no-create %{tde_datadir}/icons/hicolor ||:
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
|
||||
update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
|
||||
|
||||
##########
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
##########
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{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-new-ldflags \
|
||||
--enable-closure \
|
||||
--disable-debug --disable-warnings \
|
||||
--disable-dependency-tracking --enable-final
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf "%{buildroot}"
|
||||
%__make install DESTDIR=%{buildroot}
|
||||
|
||||
# replace absolute symlink with relative
|
||||
ln -nfs tips-en %{buildroot}%{tde_datadir}/apps/amor/tips
|
||||
|
||||
## 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 ] && ln -nsf ../common $i/common
|
||||
done
|
||||
popd
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
# Useless include file from Amor
|
||||
%__rm -f %{buildroot}%{tde_tdeincludedir}/AmorIface.h
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
|
||||
- Initial release for TDE 3.5.13.2
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,632 @@
|
||||
# If TDE is built 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_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-tdevelop
|
||||
Summary: Integrated Development Environment for C++/C
|
||||
Version: 14.0.0
|
||||
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
|
||||
|
||||
License: GPLv2
|
||||
Group: Development/Tools
|
||||
|
||||
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}-%{version}%{?preversion:~%{preversion}}.tar.gz
|
||||
Source1: ftp://129.187.206.68/pub/unix/ide/tdevelop/c_cpp_reference-2.0.2_for_KDE_3.0.tar.bz2
|
||||
|
||||
# [c_cpp_ref] Fix library directories detection
|
||||
Patch1: c_cpp_reference-2.0.2-config.patch
|
||||
|
||||
# [c_cpp_ref] Fix installation of 'asm' files
|
||||
Patch4: c_cpp_reference-2.0.2-install.patch
|
||||
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
|
||||
|
||||
Requires: make
|
||||
Requires: perl
|
||||
Requires: flex >= 2.5.4
|
||||
Requires: trinity-tqt3-designer
|
||||
Requires: trinity-tqt3-devel
|
||||
Requires: gettext
|
||||
Requires: ctags
|
||||
|
||||
BuildRequires: cmake >= 2.8
|
||||
BuildRequires: trinity-tqtinterface-devel >= %{version}
|
||||
BuildRequires: trinity-arts-devel >= %{version}
|
||||
BuildRequires: trinity-tdelibs-devel >= %{version}
|
||||
BuildRequires: trinity-tdesdk-devel >= %{version}
|
||||
%if 0%{?rhel} || 0%{?fedora}
|
||||
BuildRequires: db4-devel
|
||||
%endif
|
||||
BuildRequires: flex
|
||||
# FIXME: No CVS support in tdevelop? This is going to suck...
|
||||
# Requires kdesdk3.
|
||||
BuildRequires: subversion-devel
|
||||
BuildRequires: neon-devel
|
||||
# looks like this is dragged in by apr-devel (dep of subversion-devel), but not
|
||||
# a dependency
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: openldap2-devel
|
||||
%else
|
||||
BuildRequires: openldap-devel
|
||||
%endif
|
||||
|
||||
Obsoletes: trinity-tdevelop < %{version}-%{release}
|
||||
Provides: trinity-tdevelop = %{version}-%{release}
|
||||
|
||||
%description
|
||||
The TDevelop Integrated Development Environment provides many features
|
||||
that developers need as well as providing a unified interface to programs
|
||||
like gdb, the C/C++ compiler, and make. TDevelop manages or provides:
|
||||
|
||||
All development tools needed for C++ programming like Compiler,
|
||||
Linker, automake and autoconf; KAppWizard, which generates complete,
|
||||
ready-to-go sample applications; Classgenerator, for creating new
|
||||
classes and integrating them into the current project; File management
|
||||
for sources, headers, documentation etc. to be included in the
|
||||
project; The creation of User-Handbooks written with SGML and the
|
||||
automatic generation of HTML-output with the KDE look and feel;
|
||||
Automatic HTML-based API-documentation for your project's classes with
|
||||
cross-references to the used libraries; Internationalization support
|
||||
for your application, allowing translators to easily add their target
|
||||
language to a project;
|
||||
|
||||
tdevelop also includes WYSIWYG (What you see is what you get)-creation
|
||||
of user interfaces with a built-in dialog editor; Debugging your
|
||||
application by integrating KDbg; Editing of project-specific pixmaps
|
||||
with KIconEdit; The inclusion of any other program you need for
|
||||
development by adding it to the "Tools"-menu according to your
|
||||
individual needs.
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_bindir}/kdevassistant
|
||||
%{tde_bindir}/kdevdesigner
|
||||
%{tde_bindir}/tdevelop
|
||||
%{tde_bindir}/tdevelop-htdig
|
||||
%{tde_bindir}/kdevprj2tdevelop
|
||||
%{tde_bindir}/kdevprofileeditor
|
||||
%{tde_libdir}/tdeconf_update_bin/kdev-gen-settings-tdeconf_update
|
||||
%{tde_tdeappdir}/kdevassistant.desktop
|
||||
%{tde_tdeappdir}/kdevdesigner.desktop
|
||||
%{tde_tdeappdir}/tdevelop.desktop
|
||||
%{tde_tdeappdir}/tdevelop_c_cpp.desktop
|
||||
%{tde_tdeappdir}/tdevelop_kde_cpp.desktop
|
||||
%{tde_tdeappdir}/tdevelop_ruby.desktop
|
||||
%{tde_tdeappdir}/tdevelop_scripting.desktop
|
||||
%{tde_tdelibdir}/tdeio_chm.la
|
||||
%{tde_tdelibdir}/tdeio_chm.so
|
||||
%{tde_tdelibdir}/tdeio_csharpdoc.la
|
||||
%{tde_tdelibdir}/tdeio_csharpdoc.so
|
||||
%{tde_tdelibdir}/tdeio_perldoc.la
|
||||
%{tde_tdelibdir}/tdeio_perldoc.so
|
||||
%{tde_tdelibdir}/tdeio_pydoc.la
|
||||
%{tde_tdelibdir}/tdeio_pydoc.so
|
||||
%{tde_tdelibdir}/libdocchmplugin.la
|
||||
%{tde_tdelibdir}/libdocchmplugin.so
|
||||
%{tde_tdelibdir}/libdoccustomplugin.la
|
||||
%{tde_tdelibdir}/libdoccustomplugin.so
|
||||
%{tde_tdelibdir}/libdocdevhelpplugin.la
|
||||
%{tde_tdelibdir}/libdocdevhelpplugin.so
|
||||
%{tde_tdelibdir}/libdocdoxygenplugin.la
|
||||
%{tde_tdelibdir}/libdocdoxygenplugin.so
|
||||
%{tde_tdelibdir}/libdockdevtocplugin.la
|
||||
%{tde_tdelibdir}/libdockdevtocplugin.so
|
||||
%{tde_tdelibdir}/libdocqtplugin.la
|
||||
%{tde_tdelibdir}/libdocqtplugin.so
|
||||
%{tde_tdelibdir}/libkchmpart.la
|
||||
%{tde_tdelibdir}/libkchmpart.so
|
||||
%{tde_tdelibdir}/libkdevabbrev.la
|
||||
%{tde_tdelibdir}/libkdevabbrev.so
|
||||
%{tde_tdelibdir}/libkdevadaproject.la
|
||||
%{tde_tdelibdir}/libkdevadaproject.so
|
||||
%{tde_tdelibdir}/libkdevadasupport.la
|
||||
%{tde_tdelibdir}/libkdevadasupport.so
|
||||
%{tde_tdelibdir}/libkdevantproject.la
|
||||
%{tde_tdelibdir}/libkdevantproject.so
|
||||
%{tde_tdelibdir}/libkdevappview.la
|
||||
%{tde_tdelibdir}/libkdevappview.so
|
||||
%{tde_tdelibdir}/libkdevappwizard.la
|
||||
%{tde_tdelibdir}/libkdevappwizard.so
|
||||
%{tde_tdelibdir}/libkdevastyle.la
|
||||
%{tde_tdelibdir}/libkdevastyle.so
|
||||
%{tde_tdelibdir}/libkdevautoproject.la
|
||||
%{tde_tdelibdir}/libkdevautoproject.so
|
||||
%{tde_tdelibdir}/libkdevbashsupport.la
|
||||
%{tde_tdelibdir}/libkdevbashsupport.so
|
||||
%{tde_tdelibdir}/libkdevbookmarks.la
|
||||
%{tde_tdelibdir}/libkdevbookmarks.so
|
||||
%{tde_tdelibdir}/libkdevclassview.la
|
||||
%{tde_tdelibdir}/libkdevclassview.so
|
||||
%{tde_tdelibdir}/libkdevcppsupport.la
|
||||
%{tde_tdelibdir}/libkdevcppsupport.so
|
||||
%{tde_tdelibdir}/libkdevcsharpsupport.la
|
||||
%{tde_tdelibdir}/libkdevcsharpsupport.so
|
||||
%{tde_tdelibdir}/libkdevctags2.la
|
||||
%{tde_tdelibdir}/libkdevctags2.so
|
||||
%{tde_tdelibdir}/libkdevcustompcsimporter.la
|
||||
%{tde_tdelibdir}/libkdevcustompcsimporter.so
|
||||
%{tde_tdelibdir}/libkdevcustomproject.la
|
||||
%{tde_tdelibdir}/libkdevcustomproject.so
|
||||
%{tde_tdelibdir}/libkdevdccoptions.la
|
||||
%{tde_tdelibdir}/libkdevdccoptions.so
|
||||
%{tde_tdelibdir}/libkdevdebugger.la
|
||||
%{tde_tdelibdir}/libkdevdebugger.so
|
||||
%{tde_tdelibdir}/libkdevdesignerpart.la
|
||||
%{tde_tdelibdir}/libkdevdesignerpart.so
|
||||
%{tde_tdelibdir}/libkdevdiff.la
|
||||
%{tde_tdelibdir}/libkdevdiff.so
|
||||
%{tde_tdelibdir}/libkdevdistpart.la
|
||||
%{tde_tdelibdir}/libkdevdistpart.so
|
||||
%{tde_tdelibdir}/libkdevdocumentation.la
|
||||
%{tde_tdelibdir}/libkdevdocumentation.so
|
||||
%{tde_tdelibdir}/libkdevdoxygen.la
|
||||
%{tde_tdelibdir}/libkdevdoxygen.so
|
||||
%{tde_tdelibdir}/libkdeveditorchooser.la
|
||||
%{tde_tdelibdir}/libkdeveditorchooser.so
|
||||
%{tde_tdelibdir}/libkdevfilecreate.la
|
||||
%{tde_tdelibdir}/libkdevfilecreate.so
|
||||
%{tde_tdelibdir}/libkdevfilegroups.la
|
||||
%{tde_tdelibdir}/libkdevfilegroups.so
|
||||
%{tde_tdelibdir}/libkdevfilelist.la
|
||||
%{tde_tdelibdir}/libkdevfilelist.so
|
||||
%{tde_tdelibdir}/libkdevfileselector.la
|
||||
%{tde_tdelibdir}/libkdevfileselector.so
|
||||
%{tde_tdelibdir}/libkdevfileview.la
|
||||
%{tde_tdelibdir}/libkdevfileview.so
|
||||
%{tde_tdelibdir}/libkdevfilter.la
|
||||
%{tde_tdelibdir}/libkdevfilter.so
|
||||
%{tde_tdelibdir}/libkdevfortransupport.la
|
||||
%{tde_tdelibdir}/libkdevfortransupport.so
|
||||
%{tde_tdelibdir}/libkdevfpcoptions.la
|
||||
%{tde_tdelibdir}/libkdevfpcoptions.so
|
||||
%{tde_tdelibdir}/libkdevfullscreen.la
|
||||
%{tde_tdelibdir}/libkdevfullscreen.so
|
||||
%{tde_tdelibdir}/libkdevgccoptions.la
|
||||
%{tde_tdelibdir}/libkdevgccoptions.so
|
||||
%{tde_tdelibdir}/libkdevgrepview.la
|
||||
%{tde_tdelibdir}/libkdevgrepview.so
|
||||
%{tde_tdelibdir}/libkdevjavasupport.la
|
||||
%{tde_tdelibdir}/libkdevjavasupport.so
|
||||
%{tde_tdelibdir}/libkdevtdelibsimporter.la
|
||||
%{tde_tdelibdir}/libkdevtdelibsimporter.so
|
||||
%{tde_tdelibdir}/libkdevkonsoleview.la
|
||||
%{tde_tdelibdir}/libkdevkonsoleview.so
|
||||
%{tde_tdelibdir}/libkdevmakeview.la
|
||||
%{tde_tdelibdir}/libkdevmakeview.so
|
||||
%{tde_tdelibdir}/libkdevopenwith.la
|
||||
%{tde_tdelibdir}/libkdevopenwith.so
|
||||
%{tde_tdelibdir}/libkdevpartexplorer.la
|
||||
%{tde_tdelibdir}/libkdevpartexplorer.so
|
||||
%{tde_tdelibdir}/libkdevpascalproject.la
|
||||
%{tde_tdelibdir}/libkdevpascalproject.so
|
||||
%{tde_tdelibdir}/libkdevpascalsupport.la
|
||||
%{tde_tdelibdir}/libkdevpascalsupport.so
|
||||
%{tde_tdelibdir}/libkdevperlsupport.la
|
||||
%{tde_tdelibdir}/libkdevperlsupport.so
|
||||
%{tde_tdelibdir}/libkdevpgioptions.la
|
||||
%{tde_tdelibdir}/libkdevpgioptions.so
|
||||
%{tde_tdelibdir}/libkdevphpsupport.la
|
||||
%{tde_tdelibdir}/libkdevphpsupport.so
|
||||
%{tde_tdelibdir}/libkdevpythonsupport.la
|
||||
%{tde_tdelibdir}/libkdevpythonsupport.so
|
||||
%{tde_tdelibdir}/libkdevqt4importer.la
|
||||
%{tde_tdelibdir}/libkdevqt4importer.so
|
||||
%{tde_tdelibdir}/libkdevqtimporter.la
|
||||
%{tde_tdelibdir}/libkdevqtimporter.so
|
||||
%{tde_tdelibdir}/libkdevquickopen.la
|
||||
%{tde_tdelibdir}/libkdevquickopen.so
|
||||
%{tde_tdelibdir}/libkdevrbdebugger.la
|
||||
%{tde_tdelibdir}/libkdevrbdebugger.so
|
||||
%{tde_tdelibdir}/libkdevregexptest.la
|
||||
%{tde_tdelibdir}/libkdevregexptest.so
|
||||
%{tde_tdelibdir}/libkdevreplace.la
|
||||
%{tde_tdelibdir}/libkdevreplace.so
|
||||
%{tde_tdelibdir}/libkdevrubysupport.la
|
||||
%{tde_tdelibdir}/libkdevrubysupport.so
|
||||
%{tde_tdelibdir}/libkdevscripting.la
|
||||
%{tde_tdelibdir}/libkdevscripting.so
|
||||
%{tde_tdelibdir}/libkdevscriptproject.la
|
||||
%{tde_tdelibdir}/libkdevscriptproject.so
|
||||
%{tde_tdelibdir}/libkdevsnippet.la
|
||||
%{tde_tdelibdir}/libkdevsnippet.so
|
||||
%{tde_tdelibdir}/libkdevsqlsupport.la
|
||||
%{tde_tdelibdir}/libkdevsqlsupport.so
|
||||
%{tde_tdelibdir}/libkdevtexttools.la
|
||||
%{tde_tdelibdir}/libkdevtexttools.so
|
||||
%{tde_tdelibdir}/libkdevtipofday.la
|
||||
%{tde_tdelibdir}/libkdevtipofday.so
|
||||
%{tde_tdelibdir}/libkdevtools.la
|
||||
%{tde_tdelibdir}/libkdevtools.so
|
||||
%{tde_tdelibdir}/libkdevtrollproject.la
|
||||
%{tde_tdelibdir}/libkdevtrollproject.so
|
||||
%{tde_tdelibdir}/libkdevuichooser.la
|
||||
%{tde_tdelibdir}/libkdevuichooser.so
|
||||
%{tde_tdelibdir}/libkdevvalgrind.la
|
||||
%{tde_tdelibdir}/libkdevvalgrind.so
|
||||
%{tde_tdelibdir}/libkdevvcsmanager.la
|
||||
%{tde_tdelibdir}/libkdevvcsmanager.so
|
||||
%{tde_datadir}/apps/tdeconf_update/
|
||||
%{tde_datadir}/apps/kdevabbrev/
|
||||
%{tde_datadir}/apps/kdevadaproject/kdevadaproject.rc
|
||||
%{tde_datadir}/apps/kdevadasupport/kdevadasupport.rc
|
||||
%{tde_datadir}/apps/kdevantproject/kdevantproject.rc
|
||||
%{tde_datadir}/apps/kdevappoutputview/kdevmakeview.rc
|
||||
%{tde_datadir}/apps/kdevappwizard/
|
||||
%{tde_datadir}/apps/kdevassistant/kdevassistantui.rc
|
||||
%{tde_datadir}/apps/kdevastyle/kdevpart_astyle.rc
|
||||
%{tde_datadir}/apps/kdevautoproject/kdevautoproject.rc
|
||||
%{tde_datadir}/apps/kdevbashsupport/kdevbashsupport.rc
|
||||
%{tde_datadir}/apps/kdevclassview/
|
||||
%{tde_datadir}/apps/kdevcppsupport/
|
||||
%{tde_datadir}/icons/hicolor/*/actions/breakpoint_add.png
|
||||
%{tde_datadir}/icons/hicolor/*/actions/breakpoint_delete.png
|
||||
%{tde_datadir}/icons/hicolor/*/actions/breakpoint_delete_all.png
|
||||
%{tde_datadir}/icons/hicolor/*/actions/breakpoint_edit.png
|
||||
%{tde_datadir}/icons/hicolor/*/actions/ktip.png
|
||||
%{tde_datadir}/icons/hicolor/*/apps/kdevassistant.png
|
||||
%{tde_datadir}/icons/hicolor/*/apps/kdevdesigner.png
|
||||
%{tde_datadir}/icons/hicolor/*/apps/tdevelop.png
|
||||
%{tde_datadir}/icons/locolor/*/actions/tdevelop_tip.png
|
||||
%{tde_datadir}/mimelnk/application/x-tdevelop.desktop
|
||||
%{tde_datadir}/services/chm.protocol
|
||||
%{tde_datadir}/services/csharpdoc.protocol
|
||||
%{tde_datadir}/services/docchmplugin.desktop
|
||||
%{tde_datadir}/services/doccustomplugin.desktop
|
||||
%{tde_datadir}/services/docdevhelpplugin.desktop
|
||||
%{tde_datadir}/services/docdoxygenplugin.desktop
|
||||
%{tde_datadir}/services/dockdevtocplugin.desktop
|
||||
%{tde_datadir}/services/docqtplugin.desktop
|
||||
%{tde_datadir}/services/kchmpart.desktop
|
||||
%{tde_datadir}/services/kdevabbrev.desktop
|
||||
%{tde_datadir}/services/kdevadaproject.desktop
|
||||
%{tde_datadir}/services/kdevadasupport.desktop
|
||||
%{tde_datadir}/services/kdevantproject.desktop
|
||||
%{tde_datadir}/services/kdevappoutputview.desktop
|
||||
%{tde_datadir}/services/kdevappwizard.desktop
|
||||
%{tde_datadir}/services/kdevastyle.desktop
|
||||
%{tde_datadir}/services/kdevautoproject.desktop
|
||||
%{tde_datadir}/services/kdevbashsupport.desktop
|
||||
%{tde_datadir}/services/kdevbookmarks.desktop
|
||||
%{tde_datadir}/services/kdevclassview.desktop
|
||||
%{tde_datadir}/services/kdevcppsupport.desktop
|
||||
%{tde_datadir}/services/kdevcsharpsupport.desktop
|
||||
%{tde_datadir}/services/kdevcsupport.desktop
|
||||
%{tde_datadir}/services/kdevctags2.desktop
|
||||
%{tde_datadir}/services/kdevcustomproject.desktop
|
||||
%{tde_datadir}/services/kdevdccoptions.desktop
|
||||
%{tde_datadir}/services/kdevdebugger.desktop
|
||||
%{tde_datadir}/services/kdevdesigner_part.desktop
|
||||
%{tde_datadir}/services/kdevdiff.desktop
|
||||
%{tde_datadir}/services/kdevdistpart.desktop
|
||||
%{tde_datadir}/services/kdevdocumentation.desktop
|
||||
%{tde_datadir}/services/kdevdoxygen.desktop
|
||||
%{tde_datadir}/services/kdeveditorchooser.desktop
|
||||
%{tde_datadir}/services/kdevfilecreate.desktop
|
||||
%{tde_datadir}/services/kdevfilegroups.desktop
|
||||
%{tde_datadir}/services/kdevfilelist.desktop
|
||||
%{tde_datadir}/services/kdevfileselector.desktop
|
||||
%{tde_datadir}/services/kdevfileview.desktop
|
||||
%{tde_datadir}/services/kdevfilter.desktop
|
||||
%{tde_datadir}/services/kdevfortransupport.desktop
|
||||
%{tde_datadir}/services/kdevfpcoptions.desktop
|
||||
%{tde_datadir}/services/kdevfullscreen.desktop
|
||||
%{tde_datadir}/services/kdevg77options.desktop
|
||||
%{tde_datadir}/services/kdevgccoptions.desktop
|
||||
%{tde_datadir}/services/kdevgppoptions.desktop
|
||||
%{tde_datadir}/services/kdevgrepview.desktop
|
||||
%{tde_datadir}/services/kdevjavasupport.desktop
|
||||
%{tde_datadir}/services/kdevtdeautoproject.desktop
|
||||
%{tde_datadir}/services/kdevtdelibsimporter.desktop
|
||||
%{tde_datadir}/services/kdevkonsoleview.desktop
|
||||
%{tde_datadir}/services/kdevmakeview.desktop
|
||||
%{tde_datadir}/services/kdevopenwith.desktop
|
||||
%{tde_datadir}/services/kdevpartexplorer.desktop
|
||||
%{tde_datadir}/services/kdevpascalproject.desktop
|
||||
%{tde_datadir}/services/kdevpascalsupport.desktop
|
||||
%{tde_datadir}/services/kdevpcscustomimporter.desktop
|
||||
%{tde_datadir}/services/kdevperlsupport.desktop
|
||||
%{tde_datadir}/services/kdevpgf77options.desktop
|
||||
%{tde_datadir}/services/kdevpghpfoptions.desktop
|
||||
%{tde_datadir}/services/kdevphpsupport.desktop
|
||||
%{tde_datadir}/services/kdevpythonsupport.desktop
|
||||
%{tde_datadir}/services/kdevqt4importer.desktop
|
||||
%{tde_datadir}/services/kdevqtimporter.desktop
|
||||
%{tde_datadir}/services/kdevquickopen.desktop
|
||||
%{tde_datadir}/services/kdevrbdebugger.desktop
|
||||
%{tde_datadir}/services/kdevregexptest.desktop
|
||||
%{tde_datadir}/services/kdevreplace.desktop
|
||||
%{tde_datadir}/services/kdevrubysupport.desktop
|
||||
%{tde_datadir}/services/kdevscripting.desktop
|
||||
%{tde_datadir}/services/kdevscriptproject.desktop
|
||||
%{tde_datadir}/services/kdevsnippet.desktop
|
||||
%{tde_datadir}/services/kdevsqlsupport.desktop
|
||||
%{tde_datadir}/services/kdevtexttools.desktop
|
||||
%{tde_datadir}/services/kdevtipofday.desktop
|
||||
%{tde_datadir}/services/kdevtmakeproject.desktop
|
||||
%{tde_datadir}/services/kdevtools.desktop
|
||||
%{tde_datadir}/services/kdevtrollproject.desktop
|
||||
%{tde_datadir}/services/kdevuichooser.desktop
|
||||
%{tde_datadir}/services/kdevvalgrind.desktop
|
||||
%{tde_datadir}/services/kdevvcsmanager.desktop
|
||||
%{tde_datadir}/services/perldoc.protocol
|
||||
%{tde_datadir}/services/pydoc.protocol
|
||||
%{tde_datadir}/servicetypes/tdevelopappfrontend.desktop
|
||||
%{tde_datadir}/servicetypes/tdevelopcodebrowserfrontend.desktop
|
||||
%{tde_datadir}/servicetypes/tdevelopcompileroptions.desktop
|
||||
%{tde_datadir}/servicetypes/tdevelopcreatefile.desktop
|
||||
%{tde_datadir}/servicetypes/tdevelopdifffrontend.desktop
|
||||
%{tde_datadir}/servicetypes/tdevelopdocumentationplugins.desktop
|
||||
%{tde_datadir}/servicetypes/tdeveloplanguagesupport.desktop
|
||||
%{tde_datadir}/servicetypes/tdevelopmakefrontend.desktop
|
||||
%{tde_datadir}/servicetypes/tdeveloppcsimporter.desktop
|
||||
%{tde_datadir}/servicetypes/tdevelopplugin.desktop
|
||||
%{tde_datadir}/servicetypes/tdevelopproject.desktop
|
||||
%{tde_datadir}/servicetypes/tdevelopquickopen.desktop
|
||||
%{tde_datadir}/servicetypes/tdevelopsourceformatter.desktop
|
||||
%{tde_datadir}/servicetypes/tdevelopvcsintegrator.desktop
|
||||
%{tde_datadir}/servicetypes/tdevelopversioncontrol.desktop
|
||||
%{tde_datadir}/apps/kdevcsharpsupport/kdevcsharpsupport.rc
|
||||
%{tde_datadir}/apps/kdevctags2/kdevpart_ctags2.rc
|
||||
%{tde_datadir}/apps/kdevcustomproject/kdevcustomproject.rc
|
||||
%{tde_datadir}/apps/kdevdebugger/
|
||||
%{tde_datadir}/apps/kdevdesigner/kdevdesigner_shell.rc
|
||||
%{tde_datadir}/apps/kdevdesignerpart/kdevdesigner_part.rc
|
||||
%{tde_datadir}/apps/kdevdesignerpart/kdevdesigner_part_sh.rc
|
||||
%{tde_datadir}/apps/kdevdiff/kdevdiff.rc
|
||||
%{tde_datadir}/apps/kdevdistpart/kdevpart_distpart.rc
|
||||
%{tde_datadir}/apps/kdevdocumentation/
|
||||
%{tde_datadir}/apps/kdevdoxygen/kdevdoxygen.rc
|
||||
%{tde_datadir}/apps/tdevelop/
|
||||
%{tde_datadir}/apps/kdevfilecreate/
|
||||
%{tde_datadir}/apps/kdevfilelist/kdevfilelist.rc
|
||||
%{tde_datadir}/apps/kdevfilter/kdevfilter.rc
|
||||
%{tde_datadir}/apps/kdevfortransupport/kdevfortransupport.rc
|
||||
%{tde_datadir}/apps/kdevfullscreen/kdevpart_fullscreen.rc
|
||||
%{tde_datadir}/apps/kdevgrepview/
|
||||
%{tde_datadir}/apps/kdevjavasupport/kdevjavasupport.rc
|
||||
%{tde_datadir}/apps/kdevmakeview/kdevmakeview.rc
|
||||
%{tde_datadir}/apps/kdevpartexplorer/kdevpartexplorer.rc
|
||||
%{tde_datadir}/apps/kdevpascalproject/kdevpascalproject.rc
|
||||
%{tde_datadir}/apps/kdevpascalsupport/kdevpascalsupport.rc
|
||||
%{tde_datadir}/apps/kdevperlsupport/kdevperlsupport.rc
|
||||
%{tde_datadir}/apps/kdevphpsupport/kdevphpsupport.rc
|
||||
%{tde_datadir}/apps/kdevphpsupport/phpfunctions
|
||||
%{tde_datadir}/apps/kdevpythonsupport/kdevpythonsupport.rc
|
||||
%{tde_datadir}/apps/kdevquickopen/kdevpart_quickopen.rc
|
||||
%{tde_datadir}/apps/kdevrbdebugger/
|
||||
%{tde_datadir}/apps/kdevregexptest/kdevregexptest.rc
|
||||
%{tde_datadir}/apps/kdevreplace/kdevpart_replace.rc
|
||||
%{tde_datadir}/apps/kdevrubysupport/kdevrubysupport.rc
|
||||
%{tde_datadir}/apps/kdevrubysupport/pics/ruby_config.png
|
||||
%{tde_datadir}/apps/kdevrubysupport/pics/ruby_run.png
|
||||
%{tde_datadir}/apps/kdevscripting/kdevscripting.rc
|
||||
%{tde_datadir}/apps/kdevscriptproject/kdevscriptproject.rc
|
||||
%{tde_datadir}/apps/kdevsnippet/kdevpart_snippet.rc
|
||||
%{tde_datadir}/apps/kdevsqlsupport/kdevsqlsupport.rc
|
||||
%{tde_datadir}/apps/kdevtipofday/kdevpart_tipofday.rc
|
||||
%{tde_datadir}/apps/kdevtipofday/tips
|
||||
%{tde_datadir}/apps/kdevtools/kdevpart_tools.rc
|
||||
%{tde_datadir}/apps/kdevtrollproject/kdevtrollproject.rc
|
||||
%{tde_datadir}/apps/kdevvalgrind/kdevpart_valgrind.rc
|
||||
%{tde_datadir}/apps/tdeio_pydoc/kde_pydoc.py*
|
||||
%{tde_datadir}/config/kdevassistantrc
|
||||
%{tde_datadir}/config/tdeveloprc
|
||||
%{tde_datadir}/desktop-directories/tde-development-tdevelop.directory
|
||||
%{tde_tdedocdir}/HTML/en/tdevelop/
|
||||
%{tde_libdir}/libd.so.0
|
||||
%{tde_libdir}/libd.so.0.0.0
|
||||
%{tde_libdir}/libkinterfacedesigner.so.0
|
||||
%{tde_libdir}/libkinterfacedesigner.so.0.0.0
|
||||
%{tde_tdelibdir}/libkdevvisualboyadvance.la
|
||||
%{tde_tdelibdir}/libkdevvisualboyadvance.so
|
||||
%{tde_datadir}/apps/kdevdesignerpart/pics/
|
||||
%{tde_datadir}/apps/kdevvisualboyadvance/kdevpart_visualboyadvance.rc
|
||||
%{tde_tdedocdir}/HTML/en/kde_app_devel/
|
||||
%{tde_datadir}/mimelnk/text/x-fortran.desktop
|
||||
%{tde_datadir}/services/kdevvisualboyadvance.desktop
|
||||
|
||||
|
||||
%post
|
||||
for f in hicolor locolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
|
||||
done
|
||||
update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
|
||||
|
||||
%postun
|
||||
for f in hicolor locolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
|
||||
done
|
||||
update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
|
||||
|
||||
##########
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
|
||||
Obsoletes: trinity-tdevelop-devel < %{version}-%{release}
|
||||
Provides: trinity-tdevelop-devel = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
%{summary}.
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_libdir}/lib*.so
|
||||
%{tde_libdir}/lib*.la
|
||||
%{tde_includedir}/*
|
||||
|
||||
%post devel
|
||||
/sbin/ldconfig || :
|
||||
|
||||
%postun devel
|
||||
/sbin/ldconfig || :
|
||||
|
||||
##########
|
||||
|
||||
%package libs
|
||||
Summary: %{name} runtime libraries
|
||||
Group: System Environment/Libraries
|
||||
Requires: trinity-tdelibs
|
||||
# include to be paranoid, installing libs-only is still mostly untested -- Rex
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
Obsoletes: trinity-tdevelop-libs < %{version}-%{release}
|
||||
Provides: trinity-tdevelop-libs = %{version}-%{release}
|
||||
|
||||
%description libs
|
||||
%{summary}.
|
||||
|
||||
%files libs
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_libdir}/libdesignerintegration.so.0
|
||||
%{tde_libdir}/libdesignerintegration.so.0.0.0
|
||||
%{tde_libdir}/libdocumentation_interfaces.so.0
|
||||
%{tde_libdir}/libdocumentation_interfaces.so.0.0.0
|
||||
%{tde_libdir}/libgdbmi_parser.so.0
|
||||
%{tde_libdir}/libgdbmi_parser.so.0.0.0
|
||||
%{tde_libdir}/libkdevbuildbase.so.0
|
||||
%{tde_libdir}/libkdevbuildbase.so.0.0.0
|
||||
%{tde_libdir}/libkdevbuildtoolswidgets.so.0
|
||||
%{tde_libdir}/libkdevbuildtoolswidgets.so.0.0.0
|
||||
%{tde_libdir}/libkdevcatalog.so.0
|
||||
%{tde_libdir}/libkdevcatalog.so.0.0.0
|
||||
%{tde_libdir}/libkdevcppparser.so.0
|
||||
%{tde_libdir}/libkdevcppparser.so.0.0.0
|
||||
%{tde_libdir}/libtdevelop.so.1
|
||||
%{tde_libdir}/libtdevelop.so.1.0.0
|
||||
%{tde_libdir}/libkdevextras.so.0
|
||||
%{tde_libdir}/libkdevextras.so.0.0.0
|
||||
%{tde_libdir}/libkdevpropertyeditor.so.0
|
||||
%{tde_libdir}/libkdevpropertyeditor.so.0.0.0
|
||||
%{tde_libdir}/libkdevqmakeparser.so.0
|
||||
%{tde_libdir}/libkdevqmakeparser.so.0.0.0
|
||||
%{tde_libdir}/libkdevshell.so.0
|
||||
%{tde_libdir}/libkdevshell.so.0.0.0
|
||||
%{tde_libdir}/libkdevwidgets.so.0
|
||||
%{tde_libdir}/libkdevwidgets.so.0.0.0
|
||||
%{tde_libdir}/liblang_debugger.so.0
|
||||
%{tde_libdir}/liblang_debugger.so.0.0.0
|
||||
%{tde_libdir}/liblang_interfaces.so.0
|
||||
%{tde_libdir}/liblang_interfaces.so.0.0.0
|
||||
%{tde_libdir}/libprofileengine.so.0
|
||||
%{tde_libdir}/libprofileengine.so.0.0.0
|
||||
|
||||
%post libs
|
||||
/sbin/ldconfig || :
|
||||
|
||||
%postun libs
|
||||
/sbin/ldconfig || :
|
||||
|
||||
##########
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
##########
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} -a 1
|
||||
%patch1 -p0 -b .config
|
||||
%patch4 -p1
|
||||
|
||||
%__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"
|
||||
|
||||
%__rm -rf c_cpp_reference-2.0.2_for_KDE_3.0/admin
|
||||
%__cp -ar admin c_cpp_reference-2.0.2_for_KDE_3.0/
|
||||
%__make -C c_cpp_reference-2.0.2_for_KDE_3.0 -f admin/Makefile.common cvs
|
||||
|
||||
|
||||
%build
|
||||
unset QTDIR QTINC QTLIB
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
|
||||
export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt"
|
||||
export LD_LIBRARY_PATH="%{tde_libdir}"
|
||||
|
||||
# Specific path for RHEL4
|
||||
if [ -d /usr/X11R6 ]; then
|
||||
export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
|
||||
fi
|
||||
|
||||
# c references
|
||||
pushd c_cpp_reference-2.0.2_for_KDE_3.0
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--with-qt-libraries=${QTLIB:-${QTDIR}/%{_lib}} \
|
||||
--with-qt-includes=${QTINC:-${QTDIR}/include} \
|
||||
--with-extra-libs=%{tde_libdir}
|
||||
popd
|
||||
|
||||
%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" \
|
||||
-DWITH_BUILDTOOL_ALL=ON \
|
||||
-DWITH_LANGUAGE_ALL=ON \
|
||||
-DWITH_VCS_ALL=OFF \
|
||||
-DBUILD_ALL=ON \
|
||||
..
|
||||
|
||||
%__make %{?_smp_mflags} || %__make
|
||||
|
||||
# c references
|
||||
cd ..
|
||||
%__make %{?_smp_mflags} -C c_cpp_reference-2.0.2_for_KDE_3.0
|
||||
|
||||
%install
|
||||
%__rm -rf %{buildroot}
|
||||
%__make install DESTDIR=%{buildroot} -C build
|
||||
%__make install DESTDIR=%{buildroot} -C c_cpp_reference-2.0.2_for_KDE_3.0
|
||||
|
||||
# Moves C reference to correct location
|
||||
%__mv -f %{?buildroot}%{tde_tdedocdir}/HTML/en/kdevelop/reference %{?buildroot}%{tde_tdedocdir}/HTML/en/tdevelop/
|
||||
%__rm -rf %{?buildroot}%{tde_tdedocdir}/HTML/en/kdevelop
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
|
||||
- Initial release for TDE 3.5.13.2
|
@ -0,0 +1,570 @@
|
||||
# If TDE is built 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-tdewebdev
|
||||
Version: 14.0.0
|
||||
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
|
||||
License: GPL
|
||||
Summary: Web development applications
|
||||
Group: Applications/Editors
|
||||
|
||||
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}-%{version}%{?preversion:~%{preversion}}.tar.gz
|
||||
Source1: http://download.sourceforge.net/quanta/css.tar.bz2
|
||||
Source2: http://download.sourceforge.net/quanta/html.tar.bz2
|
||||
Source3: http://download.sourceforge.net/quanta/php_manual_en_20030401.tar.bz2
|
||||
Source4: http://download.sourceforge.net/quanta/javascript.tar.bz2
|
||||
Source5: hi48-app-kxsldbg.png
|
||||
|
||||
Patch1: kdewebdev-3.5.4-kxsldbg-icons.patch
|
||||
|
||||
BuildRequires: autoconf automake libtool m4
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: trinity-tdelibs-devel >= %{version}
|
||||
BuildRequires: trinity-tdesdk-devel >= %{version}
|
||||
BuildRequires: libxslt-devel
|
||||
BuildRequires: libxml2-devel
|
||||
%if 0%{?rhel} == 4
|
||||
# a bogus dep in libexslt.la file from EL-4 (WONTFIX bug http://bugzilla.redhat.com/142241)
|
||||
BuildRequires: libgcrypt-devel
|
||||
%endif
|
||||
BuildRequires: perl
|
||||
|
||||
# KXSLDBG requires libxml2
|
||||
#if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || ( 0%{?fedora} > 0 && %{?fedora} <= 17 ) || 0%{?suse_version}
|
||||
%define build_kxsldbg 1
|
||||
#endif
|
||||
|
||||
|
||||
Obsoletes: trinity-kdewebdev-libs < %{version}-%{release}
|
||||
Provides: trinity-kdewebdev-libs = %{version}-%{release}
|
||||
Obsoletes: trinity-kdewebdev < %{version}-%{release}
|
||||
Provides: trinity-kdewebdev = %{version}-%{release}
|
||||
|
||||
Requires: trinity-quanta = %{version}-%{release}
|
||||
Requires: trinity-quanta-data = %{version}-%{release}
|
||||
Requires: trinity-tdefilereplace = %{version}-%{release}
|
||||
Requires: trinity-kimagemapeditor = %{version}-%{release}
|
||||
Requires: trinity-klinkstatus = %{version}-%{release}
|
||||
Requires: trinity-kommander = %{version}-%{release}
|
||||
%{?build_kxsldbg:Requires: trinity-kxsldbg = %{version}-%{release}}
|
||||
|
||||
%description
|
||||
%{summary}, including:
|
||||
* tdefilereplace: batch search and replace tool
|
||||
* kimagemapeditor: HTML image map editor
|
||||
* klinkstatus: link checker
|
||||
* kommander: visual dialog building tool
|
||||
* quanta+: web development
|
||||
%{?build_kxsldbg:* kxsldbg: xslt Debugger}
|
||||
|
||||
%files
|
||||
|
||||
##########
|
||||
|
||||
%package -n trinity-quanta
|
||||
Summary: web development environment for KDE [Trinity]
|
||||
Group: Applications/Development
|
||||
Requires: trinity-tdefilereplace = %{version}-%{release}
|
||||
Requires: trinity-klinkstatus = %{version}-%{release}
|
||||
Requires: trinity-kommander = %{version}-%{release}
|
||||
Requires: trinity-quanta-data = %{version}-%{release}
|
||||
#Requires: trinity-kimagemapeditor = %{version}-%{release}
|
||||
#Requires: trinity-kxsldbg = %{version}-%{release}
|
||||
Requires: tidy
|
||||
|
||||
%description -n trinity-quanta
|
||||
Quanta Plus is a web development environment for working with HTML
|
||||
and associated languages. It strives to be neutral and transparent
|
||||
to all markup languages, while supporting popular web-based scripting
|
||||
languages, CSS and other emerging W3C recommendations.
|
||||
|
||||
Quanta Plus supports many external components, debuggers and other tools
|
||||
for web development, several of which are shipped with the KDE web
|
||||
development module.
|
||||
|
||||
Quanta Plus is not in any way affiliated with any commercial versions
|
||||
of Quanta. The primary coders from the original team left the GPL'd
|
||||
version to produce a commercial product.
|
||||
|
||||
This package is part of TDE, as a component of the TDE web development module.
|
||||
|
||||
%files -n trinity-quanta
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_bindir}/quanta
|
||||
%{tde_tdelibdir}/quantadebuggerdbgp.la
|
||||
%{tde_tdelibdir}/quantadebuggerdbgp.so
|
||||
%{tde_tdelibdir}/quantadebuggergubed.la
|
||||
%{tde_tdelibdir}/quantadebuggergubed.so
|
||||
%{tde_tdeappdir}/quanta.desktop
|
||||
%{tde_datadir}/apps/kafkapart
|
||||
%{tde_datadir}/icons/hicolor/*/apps/quanta.png
|
||||
%{tde_datadir}/mimelnk/application/x-webprj.desktop
|
||||
%{tde_datadir}/services/quantadebuggerdbgp.desktop
|
||||
%{tde_datadir}/services/quantadebuggergubed.desktop
|
||||
%{tde_datadir}/services/quanta_preview_config.desktop
|
||||
%{tde_datadir}/servicetypes/quantadebugger.desktop
|
||||
%{tde_tdedocdir}/HTML/en/quanta/
|
||||
|
||||
%post -n trinity-quanta
|
||||
for f in hicolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
|
||||
done
|
||||
update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
|
||||
|
||||
%postun -n trinity-quanta
|
||||
for f in hicolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
|
||||
done
|
||||
update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
|
||||
|
||||
|
||||
##########
|
||||
|
||||
%package -n trinity-quanta-data
|
||||
Summary: data files for Quanta Plus web development environment [Trinity]
|
||||
Group: Applications/Development
|
||||
|
||||
%description -n trinity-quanta-data
|
||||
This package contains architecture-independent data files for Quanta
|
||||
Plus, a web development environment for working with HTML and associated
|
||||
languages.
|
||||
|
||||
See the quanta package for further information.
|
||||
|
||||
This package is part of TDE, as a component of the TDE web development module.
|
||||
|
||||
%files -n trinity-quanta-data
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_datadir}/apps/quanta/
|
||||
|
||||
##########
|
||||
|
||||
%package -n trinity-tdefilereplace
|
||||
Summary: batch search-and-replace component for KDE [Trinity]
|
||||
Group: Applications/Development
|
||||
|
||||
Obsoletes: trinity-kfilereplace < %{version}-%{release}
|
||||
Provides: trinity-kfilereplace = %{version}-%{release}
|
||||
|
||||
%description -n trinity-tdefilereplace
|
||||
tdefileReplace is an embedded component for KDE that acts as a batch
|
||||
search-and-replace tool. It allows you to replace one expression with
|
||||
another in many files at once.
|
||||
|
||||
Note that at the moment tdefileReplace does not come as a standalone
|
||||
application. An example of an application that uses the tdefileReplace
|
||||
component is Quanta Plus (found in the package quanta).
|
||||
|
||||
This package is part of TDE, as a component of the TDE web development module.
|
||||
|
||||
%files -n trinity-tdefilereplace
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_bindir}/tdefilereplace
|
||||
%{tde_tdelibdir}/libtdefilereplacepart.la
|
||||
%{tde_tdelibdir}/libtdefilereplacepart.so
|
||||
%{tde_tdeappdir}/tdefilereplace.desktop
|
||||
%{tde_datadir}/apps/tdefilereplace/tdefilereplaceui.rc
|
||||
%{tde_datadir}/apps/tdefilereplacepart
|
||||
%{tde_datadir}/icons/hicolor/*/apps/tdefilereplace.png
|
||||
%{tde_datadir}/services/tdefilereplacepart.desktop
|
||||
%{tde_tdedocdir}/HTML/en/tdefilereplace/
|
||||
|
||||
%post -n trinity-tdefilereplace
|
||||
for f in hicolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
|
||||
done
|
||||
update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
|
||||
|
||||
%postun -n trinity-tdefilereplace
|
||||
for f in hicolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
|
||||
done
|
||||
update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
|
||||
|
||||
##########
|
||||
|
||||
%package -n trinity-kimagemapeditor
|
||||
Summary: HTML image map editor for KDE [Trinity]
|
||||
Group: Applications/Development
|
||||
|
||||
%description -n trinity-kimagemapeditor
|
||||
KImageMapEditor is a tool that allows you to edit image maps in HTML
|
||||
files. As well as providing a standalone application, KImageMapEditor
|
||||
makes itself available as a KPart for embedding into larger applications.
|
||||
|
||||
This package is part of TDE, as a component of the TDE web development module.
|
||||
|
||||
%files -n trinity-kimagemapeditor
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_bindir}/kimagemapeditor
|
||||
%{tde_tdelibdir}/libkimagemapeditor.la
|
||||
%{tde_tdelibdir}/libkimagemapeditor.so
|
||||
%{tde_tdeappdir}/kimagemapeditor.desktop
|
||||
%{tde_datadir}/apps/kimagemapeditor/
|
||||
%{tde_datadir}/icons/hicolor/*/apps/kimagemapeditor.png
|
||||
%{tde_datadir}/icons/locolor/*/apps/kimagemapeditor.png
|
||||
%{tde_datadir}/services/kimagemapeditorpart.desktop
|
||||
|
||||
%post -n trinity-kimagemapeditor
|
||||
for f in hicolor locolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
|
||||
done
|
||||
update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
|
||||
|
||||
%postun -n trinity-kimagemapeditor
|
||||
for f in hicolor locolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
|
||||
done
|
||||
update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
|
||||
|
||||
##########
|
||||
|
||||
%package -n trinity-klinkstatus
|
||||
Summary: web link validity checker for KDE [Trinity]
|
||||
Group: Applications/Development
|
||||
|
||||
%description -n trinity-klinkstatus
|
||||
KLinkStatus is KDE's web link validity checker. It allows you to
|
||||
search internal and external links throughout your web site. Simply
|
||||
point it to a single page and choose the depth to search.
|
||||
|
||||
You can also check local files, or files over ftp:, fish: or any other
|
||||
KIO protocols. For performance, links can be checked simultaneously.
|
||||
|
||||
This package is part of TDE, as a component of the TDE web development module.
|
||||
|
||||
%files -n trinity-klinkstatus
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_bindir}/klinkstatus
|
||||
%{tde_tdelibdir}/libklinkstatuspart.la
|
||||
%{tde_tdelibdir}/libklinkstatuspart.so
|
||||
%{tde_tdeappdir}/klinkstatus.desktop
|
||||
%{tde_datadir}/apps/klinkstatus/
|
||||
%{tde_datadir}/apps/klinkstatuspart/
|
||||
%{tde_datadir}/config.kcfg/klinkstatus.kcfg
|
||||
%{tde_datadir}/icons/crystalsvg/16x16/actions/bug.png
|
||||
%{tde_datadir}/icons/hicolor/*/apps/klinkstatus.png
|
||||
%{tde_datadir}/services/klinkstatus_part.desktop
|
||||
%{tde_tdedocdir}/HTML/en/klinkstatus/
|
||||
|
||||
%post -n trinity-klinkstatus
|
||||
for f in crystalsvg hicolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
|
||||
done
|
||||
update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
|
||||
|
||||
%postun -n trinity-klinkstatus
|
||||
for f in crystalsvg hicolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
|
||||
done
|
||||
update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
|
||||
|
||||
##########
|
||||
|
||||
%package -n trinity-kommander
|
||||
Summary: visual dialog builder and executor tool [Trinity]
|
||||
Group: Applications/Development
|
||||
Requires: gettext
|
||||
|
||||
%description -n trinity-kommander
|
||||
Kommander is a visual dialog building tool whose primary objective is
|
||||
to create as much functionality as possible without using any scripting
|
||||
language.
|
||||
|
||||
More specifically, Kommander is a set of tools that allow you to create
|
||||
dynamic GUI dialogs that generate, based on their state, a piece of
|
||||
text. The piece of text can be a command line to a program, any piece
|
||||
of code, business documents that contain a lot of repetitious or
|
||||
templated text and so on.
|
||||
|
||||
The resulting generated text can then be executed as a command line
|
||||
program (hence the name "Kommander"), written to a file, passed to a
|
||||
script for extended processing, and literally anything else you can
|
||||
think of. And you aren't required to write a single line of code!
|
||||
|
||||
As well as building dialogs, Kommander may be expanded to create full
|
||||
mainwindow applications.
|
||||
|
||||
This package is part of TDE, as a component of the TDE web development module.
|
||||
|
||||
%files -n trinity-kommander
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_bindir}/kmdr-editor
|
||||
%{tde_bindir}/kmdr-executor
|
||||
%{tde_bindir}/kmdr-plugins
|
||||
%{tde_libdir}/libkommanderplugin.so.*
|
||||
%{tde_libdir}/libkommanderwidgets.la
|
||||
%{tde_libdir}/libkommanderwidget.so.*
|
||||
%{tde_libdir}/libkommanderwidgets.so.*
|
||||
%{tde_tdeappdir}/kmdr-editor.desktop
|
||||
%{tde_datadir}/applnk/.hidden/kmdr-executor.desktop
|
||||
%{tde_datadir}/apps/katepart/syntax/kommander.xml
|
||||
%{tde_tdedocdir}/HTML/en/kommander/
|
||||
%{tde_datadir}/icons/crystalsvg/*/apps/kommander.png
|
||||
%{tde_datadir}/mimelnk/application/x-kommander.desktop
|
||||
#kommander/examples /opt/trinity/share/doc/kommander
|
||||
#kommander/working/extractkmdr /opt/trinity/bin
|
||||
#kommander/working/kmdr2po /opt/trinity/bin
|
||||
%{tde_tdelibdir}/libkommander_part.so
|
||||
%{tde_tdelibdir}/libkommander_part.la
|
||||
%{tde_datadir}/apps/kommander/
|
||||
%{tde_datadir}/apps/kmdr-editor/editor/
|
||||
%{tde_datadir}/apps/katepart/syntax/kommander-new.xml
|
||||
%{tde_datadir}/apps/kdevappwizard/kommanderplugin.png
|
||||
%{tde_datadir}/apps/kdevappwizard/kommanderplugin.tar.gz
|
||||
%{tde_datadir}/apps/kdevappwizard/templates/kommanderplugin.kdevtemplate
|
||||
%{tde_datadir}/services/kommander_part.desktop
|
||||
|
||||
%post -n trinity-kommander
|
||||
/sbin/ldconfig || :
|
||||
for f in crystalsvg ; do
|
||||
touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
|
||||
done
|
||||
update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
|
||||
|
||||
%postun -n trinity-kommander
|
||||
/sbin/ldconfig || :
|
||||
for f in crystalsvg ; do
|
||||
touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
|
||||
done
|
||||
update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
|
||||
|
||||
##########
|
||||
|
||||
%package -n trinity-kommander-devel
|
||||
Summary: development files for Kommander [Trinity]
|
||||
Group: Development/Libraries
|
||||
Requires: trinity-kommander = %{version}-%{release}
|
||||
|
||||
%description -n trinity-kommander-devel
|
||||
This package contains the headers and other development files for
|
||||
building plugins or otherwise extending Kommander.
|
||||
|
||||
Kommander is a visual dialog building tool whose primary objective is
|
||||
to create as much functionality as possible without using any scripting
|
||||
language.
|
||||
|
||||
See the kommander package for further information.
|
||||
|
||||
This package is part of TDE, as a component of the TDE web development module.
|
||||
|
||||
%files -n trinity-kommander-devel
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_libdir}/libkommanderplugin.la
|
||||
%{tde_libdir}/libkommanderplugin.so
|
||||
%{tde_libdir}/libkommanderwidget.la
|
||||
%{tde_libdir}/libkommanderwidget.so
|
||||
%{tde_libdir}/libkommanderwidgets.so
|
||||
%{tde_tdeincludedir}/kommander*
|
||||
%{tde_tdeincludedir}/specials.h
|
||||
|
||||
%post -n trinity-kommander-devel
|
||||
/sbin/ldconfig || :
|
||||
|
||||
%postun -n trinity-kommander-devel
|
||||
/sbin/ldconfig || :
|
||||
|
||||
##########
|
||||
|
||||
%if 0%{?build_kxsldbg}
|
||||
|
||||
%package -n trinity-kxsldbg
|
||||
Summary: graphical XSLT debugger for KDE [Trinity]
|
||||
Group: Applications/Development
|
||||
|
||||
%description -n trinity-kxsldbg
|
||||
KXSLDbg is a debugger for XSLT scripts. It includes a graphical user
|
||||
interface as well as a text-based debugger. KXSLDbg can be run as a
|
||||
standalone application or as an embedded KDE part.
|
||||
|
||||
XSLT is an XML language for defining transformations of XML files from
|
||||
XML to some other arbitrary format, such as XML, HTML, plain text, etc.,
|
||||
using standard XSLT stylesheets.
|
||||
|
||||
This package is part of TDE, as a component of the TDE web development module.
|
||||
|
||||
%files -n trinity-kxsldbg
|
||||
%defattr(-,root,root,-)
|
||||
%{tde_bindir}/kxsldbg
|
||||
%{tde_bindir}/xsldbg
|
||||
%{tde_tdelibdir}/libkxsldbgpart.la
|
||||
%{tde_tdelibdir}/libkxsldbgpart.so
|
||||
%{tde_tdeappdir}/kxsldbg.desktop
|
||||
%{tde_datadir}/apps/kxsldbg
|
||||
%{tde_datadir}/apps/kxsldbgpart
|
||||
%{tde_tdedocdir}/HTML/en/kxsldbg/
|
||||
%{tde_tdedocdir}/HTML/en/xsldbg/
|
||||
%{tde_datadir}/icons/hicolor/*/actions/1downarrow.png
|
||||
%{tde_datadir}/icons/hicolor/*/actions/configure.png
|
||||
%{tde_datadir}/icons/hicolor/*/actions/exit.png
|
||||
%{tde_datadir}/icons/hicolor/*/actions/hash.png
|
||||
%{tde_datadir}/icons/hicolor/*/actions/mark.png
|
||||
%{tde_datadir}/icons/hicolor/*/actions/next.png
|
||||
%{tde_datadir}/icons/hicolor/*/actions/run.png
|
||||
%{tde_datadir}/icons/hicolor/*/actions/step.png
|
||||
%{tde_datadir}/icons/hicolor/*/actions/xsldbg_*.png
|
||||
%{tde_datadir}/icons/hicolor/*/apps/kxsldbg.png
|
||||
%{tde_datadir}/icons/locolor/*/apps/kxsldbg.png
|
||||
%{tde_datadir}/services/kxsldbg_part.desktop
|
||||
|
||||
%post -n trinity-kxsldbg
|
||||
for f in hicolor locolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
|
||||
done
|
||||
update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
|
||||
|
||||
%postun -n trinity-kxsldbg
|
||||
for f in hicolor locolor ; do
|
||||
touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
|
||||
gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
|
||||
done
|
||||
update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
|
||||
|
||||
%endif
|
||||
|
||||
##########
|
||||
|
||||
%package devel
|
||||
Group: Development/Libraries
|
||||
Summary: Header files and documentation for %{name}
|
||||
|
||||
Obsoletes: trinity-kdewebdev-devel < %{version}-%{release}
|
||||
Provides: trinity-kdewebdev-devel = %{version}-%{release}
|
||||
|
||||
Requires: trinity-tdelibs-devel
|
||||
Requires: trinity-kommander-devel = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
%{summary}.
|
||||
|
||||
%files devel
|
||||
|
||||
##########
|
||||
|
||||
%if 0%{?suse_version} || 0%{?pclinuxos}
|
||||
%debug_package
|
||||
%endif
|
||||
|
||||
##########
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} -a 1 -a 2 -a 3 -a 4
|
||||
%patch1 -p1 -b .kxsldbg-icons
|
||||
|
||||
%__install -m644 -p %{SOURCE5} kxsldbg/
|
||||
%if 0%{?build_kxsldbg} == 0
|
||||
%__rm -rf kxsldbg/ doc/kxsldbg/ doc/xsldbg/
|
||||
%endif
|
||||
|
||||
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
||||
%__cp -f "/usr/share/libtool/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}"
|
||||
|
||||
# Do not build against any "/usr" installed KDE
|
||||
export KDEDIR="%{tde_prefix}"
|
||||
|
||||
# Specific path for RHEL4
|
||||
if [ -d "/usr/X11R6" ]; then
|
||||
export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
|
||||
fi
|
||||
|
||||
%configure \
|
||||
--prefix=%{tde_prefix} \
|
||||
--exec-prefix=%{tde_prefix} \
|
||||
--bindir=%{tde_bindir} \
|
||||
--datadir=%{tde_datadir} \
|
||||
--libdir=%{tde_libdir} \
|
||||
--includedir=%{tde_tdeincludedir} \
|
||||
--disable-rpath \
|
||||
--enable-new-ldflags \
|
||||
--enable-closure \
|
||||
--disable-debug --disable-warnings \
|
||||
--disable-dependancy-tracking --enable-final
|
||||
|
||||
# WTF hack for RHEL4
|
||||
%if 0%{?rhel} == 4
|
||||
mkdir kommander/plugin/.libs/
|
||||
ln -s . kommander/plugin/.libs/.libs
|
||||
%endif
|
||||
|
||||
%__make %{?_smp_mflags} || %__make
|
||||
|
||||
|
||||
%install
|
||||
export PATH="%{tde_bindir}:${PATH}"
|
||||
%__rm -rf %{?buildroot}
|
||||
%__make install DESTDIR=%{?buildroot}
|
||||
|
||||
|
||||
## package separately? Why doesn't upstream include this? -- Rex
|
||||
# install docs
|
||||
for i in css html javascript ; do
|
||||
pushd $i
|
||||
./install.sh <<EOF
|
||||
%{buildroot}%{tde_datadir}/apps/quanta/doc
|
||||
EOF
|
||||
popd
|
||||
rm -rf $i
|
||||
done
|
||||
cp -a php php.docrc %{buildroot}%{tde_datadir}/apps/quanta/doc/
|
||||
|
||||
# make symlinks relative
|
||||
pushd %{buildroot}%{tde_tdedocdir}/HTML/en
|
||||
for i in *; do
|
||||
if [ -d $i -a -L $i/common ]; then
|
||||
rm -f $i/common
|
||||
ln -nfs ../common $i
|
||||
fi
|
||||
done
|
||||
popd
|
||||
|
||||
|
||||
|
||||
%clean
|
||||
%__rm -rf %{buildroot}
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
|
||||
- Initial release for TDE 3.5.13.2
|
Loading…
Reference in new issue