Timothy Pearson 10 years ago
commit baed758af3

@ -0,0 +1,150 @@
.include </usr/ports/x11/trinity/trinity.port.mk>
VERSION= ${TDE_VERSION}
REVISION= 1
PKGNAME= trinity-tdelibs-${VERSION}
PREFIX= ${TDE_PREFIX}
CATEGORIES= x11/trinity
COMMENT= TDE Libraries
MASTER_SITES= http://nuc.vtf/tde/tde-tarballs/14.0.0/main/
DISTNAME= trinity-tdelibs-14.0.0~pre899+9a6735bb
EXTRACT_SUFX= .tar.gz
RUN_DEPENDS= devel/desktop-file-utils \
x11/gtk+2,-guic
BUILD_DEPENDS= devel/imake \
devel/gmake \
devel/cmake
LIB_DEPENDS+= x11/trinity/dependencies/tqtinterface,-main \
x11/trinity/dependencies/arts \
x11/trinity/dependencies/dbus-tqt \
x11/trinity/dependencies/dbus-1-tqt \
x11/trinity/dependencies/libart-lgpl
LIB_DEPENDS+= archivers/bzip2 \
devel/libidn \
devel/pcre \
graphics/jasper \
graphics/openexr \
graphics/tiff \
net/avahi \
print/cups \
print/freetype \
sysutils/gamin \
sysutils/upower \
textproc/aspell/core \
textproc/libxslt>=1.0.10
SHARED_LIBS += DCOP 14.0
SHARED_LIBS += artskde 1.2
SHARED_LIBS += connectionmanager 0.0
SHARED_LIBS += katepartinterfaces 0.0
SHARED_LIBS += kglib 0.0
SHARED_LIBS += kjava 1.0
SHARED_LIBS += kjs 1.2
SHARED_LIBS += networkstatus 0.0
SHARED_LIBS += tdeabc 1.2
SHARED_LIBS += tdeabc_dir 1.0
SHARED_LIBS += tdeabc_file 1.0
SHARED_LIBS += tdeabc_ldaptdeio 1.0
SHARED_LIBS += tdeabc_net 1.0
SHARED_LIBS += tdecore 14.0
SHARED_LIBS += tdednssd 1.0
SHARED_LIBS += tdefakes 14.0
SHARED_LIBS += tdefx 14.0
SHARED_LIBS += tdehtml 14.0
SHARED_LIBS += tdeimproxy 0.0
SHARED_LIBS += tdeio 14.0
SHARED_LIBS += tdemdi 1.0
SHARED_LIBS += tdemdi2 1.0
SHARED_LIBS += tdemediaplayer 0.0
SHARED_LIBS += tdemid 0.0
SHARED_LIBS += tdenewstuff 1.0
SHARED_LIBS += tdentlm 0.0
SHARED_LIBS += tdeparts 2.1
SHARED_LIBS += tdeprint 14.0
SHARED_LIBS += tdeprint_management 14.0
SHARED_LIBS += tderandr 0.0
SHARED_LIBS += tderesources 1.2
SHARED_LIBS += tdersync 0.0
SHARED_LIBS += tdesasl 1.2
SHARED_LIBS += tdescreensaver 14.0
SHARED_LIBS += tdescript 0.0
SHARED_LIBS += tdespell 14.0
SHARED_LIBS += tdespell2 1.0
SHARED_LIBS += tdesu 14.0
SHARED_LIBS += tdetexteditor 0.0
SHARED_LIBS += tdeui 14.0
SHARED_LIBS += tdeunittest 1.0
SHARED_LIBS += tdeutils 1.2
SHARED_LIBS += tdewalletbackend 1.0
SHARED_LIBS += tdewalletclient 1.0
SHARED_LIBS += vcard 0.0
post-patch:
cd ${WRKDIST}; \
gsed -i cmake/install_apidox \
cmake/generate_apidox \
kate/data/mel.xml \
kdoctools/update-entities.sh \
tderandr/libtderandr.cc \
-e "s|/bin/bash|${LOCALBASE}/bin/bash|g"; \
do-configure: tde-cmake-rmbuild
${TDE_CMAKE_CONFIGURE} \
-DDBUS_SYSTEM_CONF_DIRECTORY="${LOCALBASE}/share/dbus-1/system-services" \
\
-DWITH_ALL_OPTIONS=ON \
-DWITH_ARTS=ON \
-DWITH_ALSA=OFF \
-DWITH_LIBART=ON \
-DWITH_LIBIDN=ON \
-DWITH_SSL=ON \
-DWITH_CUPS=ON \
-DWITH_LUA=OFF \
-DWITH_TIFF=ON \
-DWITH_JASPER=ON \
-DWITH_OPENEXR=ON \
-DWITH_UTEMPTER=OFF \
-DWITH_ELFICON=OFF \
-DWITH_AVAHI=ON \
-DWITH_PCRE=ON \
-DWITH_INOTIFY=OFF \
-DWITH_GAMIN=ON \
-DWITH_TDEHWLIB=OFF \
-DWITH_TDEHWLIB_DAEMONS=OFF \
-DWITH_HAL=OFF \
-DWITH_DEVKITPOWER=OFF \
-DWITH_LOGINDPOWER=OFF \
-DWITH_UPOWER=ON \
-DWITH_UDISKS=OFF \
-DWITH_UDISKS2=OFF \
-DWITH_CONSOLEKIT=ON \
-DWITH_NETWORK_MANAGER_BACKEND=OFF \
-DWITH_SUDO_TDESU_BACKEND=OFF \
-DWITH_OLD_XDG_STD=OFF \
-DWITH_LZMA=ON \
-DWITH_LIBBFD=OFF \
-DWITH_XRANDR=ON \
-DWITH_XCOMPOSITE=ON \
-DWITH_KDE4_MENU_SUFFIX=OFF \
\
-DWITH_ASPELL=ON \
-DWITH_HSPELL=OFF \
-DWITH_TDEICONLOADER_DEBUG=OFF \
..
do-build: tde-cmake-build
do-install: tde-cmake-install
# Remove setuid bit
chmod 0755 ${PREFIX}/bin/fileshareset
chmod 0755 ${PREFIX}/bin/kgrantpty
chmod 0755 ${PREFIX}/bin/kpac_dhcp_helper
.include <bsd.port.mk>

@ -0,0 +1,5 @@
Libraries for the Trinity Desktop Environment:
TDE Libraries included: tdecore (TDE core library), kdeui (user interface),
kfm (file manager), khtmlw (HTML widget), tdeio (Input/Output, networking),
kspell (spelling checker), jscript (javascript), kab (addressbook),
kimgio (image manipulation).

@ -0,0 +1,92 @@
@comment $OpenBSD$
lib/libtdeinit_cupsdconf.so
lib/libtdeinit_dcopserver.so
lib/libtdeinit_kaddprinterwizard.so
lib/libtdeinit_kcookiejar.so
lib/libtdeinit_kded.so
lib/libtdeinit_tdebuildsycoca.so
lib/libtdeinit_tdecmshell.so
lib/libtdeinit_tdeconf_update.so
lib/libtdeinit_tdeio_http_cache_cleaner.so
lib/libtdeinit_tdeio_uiserver.so
lib/libtdeinit_tdelauncher.so
lib/trinity/cupsdconf.so
lib/trinity/dcopserver.so
lib/trinity/kaddprinterwizard.so
lib/trinity/kbzip2filter.so
lib/trinity/kcm_tderesources.so
lib/trinity/kcookiejar.so
lib/trinity/kded.so
lib/trinity/kded_kcookiejar.so
lib/trinity/kded_kdetrayproxy.so
lib/trinity/kded_kpasswdserver.so
lib/trinity/kded_kssld.so
lib/trinity/kded_networkstatus.so
lib/trinity/kded_proxyscout.so
lib/trinity/kded_tdeprintd.so
lib/trinity/kded_tdewalletd.so
lib/trinity/kgzipfilter.so
lib/trinity/kimg_dds.so
lib/trinity/kimg_eps.so
lib/trinity/kimg_exr.so
lib/trinity/kimg_hdr.so
lib/trinity/kimg_ico.so
lib/trinity/kimg_jp2.so
lib/trinity/kimg_pcx.so
lib/trinity/kimg_psd.so
lib/trinity/kimg_rgb.so
lib/trinity/kimg_tga.so
lib/trinity/kimg_tiff.so
lib/trinity/kimg_xcf.so
lib/trinity/kimg_xview.so
lib/trinity/kjavaappletviewer.so
lib/trinity/knotify.so
lib/trinity/kxzfilter.so
lib/trinity/libkatepart.so
lib/trinity/libshellscript.so
lib/trinity/libtdecertpart.so
lib/trinity/libtdehtmlpart.so
lib/trinity/libtdemultipart.so
lib/trinity/libtdeprint_management_module.so
lib/trinity/plugins/designer/tdewidgets.so
lib/trinity/plugins/styles/asteroid.so
lib/trinity/plugins/styles/highcolor.so
lib/trinity/plugins/styles/highcontrast.so
lib/trinity/plugins/styles/keramik.so
lib/trinity/plugins/styles/kthemestyle.so
lib/trinity/plugins/styles/light.so
lib/trinity/plugins/styles/plastik.so
lib/trinity/tdeabc_dir.so
lib/trinity/tdeabc_file.so
lib/trinity/tdeabc_ldaptdeio.so
lib/trinity/tdeabc_net.so
lib/trinity/tdeabcformat_binary.so
lib/trinity/tdebuildsycoca.so
lib/trinity/tdecmshell.so
lib/trinity/tdeconf_update.so
lib/trinity/tdefileaudiopreview.so
lib/trinity/tdehtmlimagepart.so
lib/trinity/tdeio_file.so
lib/trinity/tdeio_ftp.so
lib/trinity/tdeio_ghelp.so
lib/trinity/tdeio_help.so
lib/trinity/tdeio_http.so
lib/trinity/tdeio_http_cache_cleaner.so
lib/trinity/tdeio_iso.so
lib/trinity/tdeio_metainfo.so
lib/trinity/tdeio_uiserver.so
lib/trinity/tdelauncher.so
lib/trinity/tdeprint_cups.so
lib/trinity/tdeprint_ext.so
lib/trinity/tdeprint_lpdunix.so
lib/trinity/tdeprint_lpr.so
lib/trinity/tdeprint_rlpr.so
lib/trinity/tdeprint_tool_escputil.so
lib/trinity/tdespell_aspell.so
lib/trinity/tdespell_ispell.so
lib/trinity/tdestyle_highcontrast_config.so
lib/trinity/tdestyle_plastik_config.so
lib/trinity/tdetexteditor_docwordcompletion.so
lib/trinity/tdetexteditor_insertfile.so
lib/trinity/tdetexteditor_isearch.so
lib/trinity/tdetexteditor_kdatatool.so

File diff suppressed because it is too large Load Diff

@ -161,7 +161,7 @@ endif
htdig: htdig:
# build on Mageia, and CentOS >= 7 # build on Mageia, and CentOS >= 7
ifneq ($(wildcard /etc/mageia-release /boot/vmlinuz*.el7*),) ifneq ($(wildcard /etc/mageia-release /boot/vmlinuz*.el7*),)
$(call buildpkg,3rdparty/htdig) $(call buildpkg,extras/htdig)
endif endif
imlib1: imlib1:
@ -280,9 +280,6 @@ libtqt-perl: tqtinterface
mlt: tqtinterface mlt: tqtinterface
$(call buildpkg,libraries/mlt) $(call buildpkg,libraries/mlt)
mlt++: tqtinterface
$(call buildpkg,libraries/mlt++)
pytdeextensions: tqtinterface python-trinity pytdeextensions: tqtinterface python-trinity
$(call buildpkg,libraries/pytdeextensions) $(call buildpkg,libraries/pytdeextensions)

@ -1,25 +0,0 @@
--- trinity-k9copy/k9author/k9avidecode.cpp.k9author 2013-07-21 09:56:44.000000000 +0200
+++ trinity-k9copy/k9author/k9avidecode.cpp 2013-08-02 12:16:55.398266088 +0200
@@ -119,6 +119,13 @@
m_opened=false;
glibref++;
+
+ m_FormatCtx = NULL;
+ m_CodecCtx = NULL;
+ m_Codec = NULL;
+ m_Frame = NULL;
+ m_FrameRGB = NULL;
+ m_buffer = NULL;
}
@@ -148,7 +155,7 @@
// Open video file
if (
# if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(53, 2, 0)
- avformat_open_input(&m_FormatCtx, _fileName.utf8(), 0, 0)!=0
+ avformat_open_input(&m_FormatCtx, _fileName.utf8(), NULL, NULL)!=0
# else
av_open_input_file(&m_FormatCtx, _fileName.utf8(), NULL, 0, NULL)!=0
# endif

@ -43,7 +43,6 @@ Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Patch1: k9copy-14.0.0-fix_k3b_link.patch Patch1: k9copy-14.0.0-fix_k3b_link.patch
Patch2: k9copy-3.5.13.2-ftbfs.patch Patch2: k9copy-3.5.13.2-ftbfs.patch
Patch3: k9copy-14.0.0-fix_author.patch
BuildRequires: trinity-tqtinterface-devel >= %{tde_version} BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= 1:1.5.10 BuildRequires: trinity-arts-devel >= 1:1.5.10
@ -73,7 +72,6 @@ This is the Trinity version.
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%patch1 -p1 -b .ftbfs %patch1 -p1 -b .ftbfs
%patch2 -p1 -b .ftbfs %patch2 -p1 -b .ftbfs
%patch3 -p1 -b .k9author
# Removes internal dvdread headers # Removes internal dvdread headers
%__rm -rf dvdread %__rm -rf dvdread

@ -35,10 +35,12 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: trinity-tqtinterface-devel >= %{tde_version} BuildRequires: tqt3-compat-headers >= 3.5.0
BuildRequires: trinity-arts-devel >= 1:1.5.10 BuildRequires: libtqt4-devel >= 2:4.2.0
BuildRequires: trinity-arts-devel >= 2:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version} BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version} BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: gettext BuildRequires: gettext

@ -75,8 +75,8 @@ BuildRequires: openjade-devel
%endif %endif
# TQT3-sqlite3 # TQT3-sqlite3
BuildRequires: trinity-tqt3-sqlite3 BuildRequires: libtqt3-mt-sqlite3
Requires: trinity-tqt3-sqlite3 Requires: libtqt3-mt-sqlite3
Requires: %{name}-common == %{version}-%{release} Requires: %{name}-common == %{version}-%{release}

@ -49,7 +49,7 @@ BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
# FLEX # FLEX
%if 0%{?suse_version} %if 0%{?suse_version} || 0%{?mgaversion}
BuildRequires: flex BuildRequires: flex
%else %else
BuildRequires: flex-devel BuildRequires: flex-devel
@ -66,7 +66,7 @@ software does for Windows. KPilot can back-up and restore your Palm Pilot
and synchronize the built-in applications with their TDE counterparts. and synchronize the built-in applications with their TDE counterparts.
%if 0%{?suse_version} || 0%{?pclinuxos} %if 0%{?pclinuxos}
%debug_package %debug_package
%endif %endif

@ -74,7 +74,6 @@ temperatures with KSensors.
%build %build
unset QTDIR QTINC QTLIB unset QTDIR QTINC QTLIB
export PATH="%{tde_bindir}:${PATH}" export PATH="%{tde_bindir}:${PATH}"
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
# Warning: --enable-final causes FTBFS # Warning: --enable-final causes FTBFS
%configure \ %configure \
@ -93,7 +92,7 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
--enable-rpath \ --enable-rpath \
--disable-gcc-hidden-visibility --disable-gcc-hidden-visibility
%__make %{?_smp_mflags} %__make %{?_smp_mflags} || %__make
%install %install

@ -66,7 +66,7 @@ rpmbuild -ba \
--define "packager Francois\ Andriot\ <francois.andriot@free.fr>" \ --define "packager Francois\ Andriot\ <francois.andriot@free.fr>" \
--define "tde_version ${TDE_VERSION}" \ --define "tde_version ${TDE_VERSION}" \
--define "tde_prefix /opt/trinity" \ --define "tde_prefix /opt/trinity" \
--define "preversion ${PREVERSION:-\\\"\\\"}" \ --define "preversion ${PREVERSION:-}" \
${ARGS} \ ${ARGS} \
"${TEMPDIR}/${SPECFILE##*/}" "${TEMPDIR}/${SPECFILE##*/}"
RET=$? RET=$?

@ -24,14 +24,19 @@ case "${PKGNAME}" in
esac esac
# Runtime packages # Runtime packages
lib=$(rpm -E %_lib) if [ -r /etc/mandriva-release ]; then
lib=$(rpm -E %_lib)
else
lib="lib"
fi
case "${PKGNAME}" in case "${PKGNAME}" in
# Some packages have different runtime name than source package. # Some packages have different runtime name than source package.
"avahi-tqt") PKGRUNTIME="${lib}avahi-tqt1";; "avahi-tqt") PKGRUNTIME="${lib}avahi-tqt1";;
"dbus-tqt") PKGRUNTIME="${lib}dbus-tqt-1-0";; "dbus-tqt") PKGRUNTIME="${lib}dbus-tqt-1-0";;
"dbus-1-tqt") PKGRUNTIME="${lib}dbus-1-tqt0";; "dbus-1-tqt") PKGRUNTIME="${lib}dbus-1-tqt0";;
"esound") PKGRUNTIME="esound-libs";; "esound") PKGRUNTIME="esound-libs";;
"koffice") PKGRUNTIME="trinity-koffice-suite";; "koffice") PKGRUNTIME="koffice-suite";;
"libart-lgpl") PKGRUNTIME="${lib}art_lgpl_2-2";; "libart-lgpl") PKGRUNTIME="${lib}art_lgpl_2-2";;
"tqt3") PKGRUNTIME="${lib}tqt3-mt";; "tqt3") PKGRUNTIME="${lib}tqt3-mt";;
"tqtinterface") PKGRUNTIME="${lib}tqt4";; "tqtinterface") PKGRUNTIME="${lib}tqt4";;
@ -67,7 +72,7 @@ if [ -n "${DEVEL}" ]; then
"dbus-1-tqt") PKGDEVEL="libdbus-1-tqt-devel";; "dbus-1-tqt") PKGDEVEL="libdbus-1-tqt-devel";;
"esound") PKGDEVEL="esound-devel";; "esound") PKGDEVEL="esound-devel";;
"libart-lgpl") PKGDEVEL="libart_lgpl-devel";; "libart-lgpl") PKGDEVEL="libart_lgpl-devel";;
"tqt3") PKGDEVEL="tqt3-dev-tools tqt3-apps-devel";; "tqt3") PKGDEVEL="tqt3-dev-tools tqt3-apps-devel tqt3-compat-headers";;
# Default case: development package has same name as runtime package, plus '-devel' suffix. # Default case: development package has same name as runtime package, plus '-devel' suffix.
*) PKGDEVEL="${PKGRUNTIME}-devel";; *) PKGDEVEL="${PKGRUNTIME}-devel";;
esac esac

@ -1,7 +1,7 @@
# #
# spec file for package arts # spec file for package arts
# #
# Copyright (c) 2014 François Andriot <francois.andriot@free.fr> # Copyright (c) 2014 Trinity Desktop Environment
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -15,15 +15,23 @@
# Please submit bugfixes or comments via http:/www.trinitydesktop.org/ # Please submit bugfixes or comments via http:/www.trinitydesktop.org/
# #
# BUILD WARNING:
# Remove qt-devel and qt3-devel and any kde*-devel on your system !
# Having KDE libraries may cause FTBFS here !
# TDE variables # TDE variables
%define tde_version 14.0.0 %define tde_version 14.0.0
%define tde_pkg tdeaddons
%define tde_prefix /opt/trinity %define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin %define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
%define tde_includedir %{tde_prefix}/include %define tde_includedir %{tde_prefix}/include
%define tde_libdir %{tde_prefix}/%{_lib} %define tde_libdir %{tde_prefix}/%{_lib}
%define tde_datadir %{tde_prefix}/share %define tde_tdeappdir %{tde_datadir}/applications/tde
%define tde_tdedocdir %{tde_docdir}/tde
%define tde_tdeincludedir %{tde_includedir}/tde %define tde_tdeincludedir %{tde_includedir}/tde
%define _docdir %{tde_datadir}/doc %define tde_tdelibdir %{tde_libdir}/trinity
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". # If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr" %if "%{?tde_prefix}" != "/usr"
@ -75,14 +83,15 @@ BuildRequires: esound-devel
%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?suse_version} %if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?suse_version}
%define with_jack 1 %define with_jack 1
%if 0%{?mgaversion} || 0%{?mdkversion} %if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}jack-devel %define jack_devel %{_lib}jack-devel
%endif %endif
%if 0%{?rhel} >= 5 || 0%{?fedora} %if 0%{?rhel} >= 5 || 0%{?fedora}
BuildRequires: jack-audio-connection-kit-devel %define jack_devel jack-audio-connection-kit-devel
%endif %endif
%if 0%{?suse_version} %if 0%{?suse_version}
BuildRequires: libjack-devel %define jack_devel libjack-devel
%endif %endif
BuildRequires: %{jack_devel}
%endif %endif
# LIBTOOL # LIBTOOL
@ -105,11 +114,12 @@ BuildRequires: libtool
%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} %if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel}
%define with_libmad 1 %define with_libmad 1
%if 0%{?mdkversion} || 0%{?mgaversion} %if 0%{?mdkversion} || 0%{?mgaversion}
BuildRequires: %{_lib}mad-devel %define mad_devel %{_lib}mad-devel
%endif %endif
%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} %if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel}
BuildRequires: libmad-devel %define mad_devel libmad-devel
%endif %endif
BuildRequires: %{mad_devel}
%endif %endif
%endif %endif
@ -153,7 +163,7 @@ playing a wave file with some effects.
%{tde_bindir}/artsrec %{tde_bindir}/artsrec
%{tde_bindir}/artsshell %{tde_bindir}/artsshell
%{tde_bindir}/artswrapper %{tde_bindir}/artswrapper
# The '.la' files are runtime, not devel ! # The '.la' files are needed for runtime, not devel !
%{tde_libdir}/lib*.la %{tde_libdir}/lib*.la
%post %post
@ -176,28 +186,8 @@ Requires: alsa-lib-devel
Requires: audiofile-devel Requires: audiofile-devel
Requires: libvorbis-devel Requires: libvorbis-devel
Requires: esound-devel Requires: esound-devel
%{?with_libmad:Requires: %{mad_devel}}
%if 0%{?with_libmad} %{?with_jack:Requires: %{jack_devel}}
%if 0%{?mdkversion} || 0%{?mgaversion}
Requires: %{_lib}mad-devel
%endif
%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel}
Requires: libmad-devel
%endif
%endif
%if 0%{?with_jack}
%if 0%{?mgaversion} || 0%{?mdkversion}
Requires: %{_lib}jack-devel
%endif
%if 0%{?rhel} >= 5 || 0%{?fedora}
Requires: jack-audio-connection-kit-devel
%endif
%if 0%{?suse_version}
Requires: libjack-devel
%endif
%endif
%description devel %description devel
arts (analog real-time synthesizer) is the sound system of TDE. arts (analog real-time synthesizer) is the sound system of TDE.
@ -235,11 +225,12 @@ playing a wave file with some effects.
%package config-pulseaudio %package config-pulseaudio
Group: System Environment/Daemons Group: System Environment/Daemons
Summary: %{name} - Default configuration file for Pulseaudio Summary: ARTS - Default configuration file for Pulseaudio
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
%description config-pulseaudio %description config-pulseaudio
%{summary} This package contains a default ARTS configuration file, that is
intended for systems running the Pulseaudio server.
%files config-pulseaudio %files config-pulseaudio
%defattr(-,root,root,-) %defattr(-,root,root,-)
@ -320,5 +311,5 @@ chmod 644 "%{?buildroot}%{tde_datadir}/config/kcmartsrc"
%changelog %changelog
* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 1:1.5.10-2 * Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 2:1.5.10-2
- Initial release for TDE R14.0.0 - Initial release for TDE R14.0.0

@ -1,7 +1,7 @@
# #
# spec file for package avahi-tqt # spec file for package avahi-tqt
# #
# Copyright (c) 2014 François Andriot <francois.andriot@free.fr> # Copyright (c) 2014 Trinity Desktop Environment
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -66,11 +66,12 @@ BuildRequires: dbus-devel
# AVAHI support # AVAHI support
%if 0%{?mgaversion} || 0%{?mdkversion} %if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}avahi-client-devel %define avahi_devel %{_lib}avahi-client-devel
%endif %endif
%if 0%{?suse_version} || 0%{?rhel} || 0%{?fedora} %if 0%{?suse_version} || 0%{?rhel} || 0%{?fedora}
BuildRequires: avahi-devel %define avahi_devel avahi-devel
%endif %endif
%{?avahi_devel:BuildRequires: %{avahi_devel}}
# EXPAT support # EXPAT support
%if 0%{?rhel} || 0%{?fedora} %if 0%{?rhel} || 0%{?fedora}
@ -141,18 +142,11 @@ Provides: libavahi-tqt-devel = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: %{libavahi}-tqt1 = %{?epoch:%{epoch}:}%{version}-%{release} Requires: %{libavahi}-tqt1 = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: libtqt4-devel >= 2:4.2.0 Requires: libtqt4-devel >= 2:4.2.0
%{?avahi_devel:Requires: %{avahi_devel}}
Obsoletes: trinity-avahi-tqt-devel < %{?epoch:%{epoch}:}%{version}-%{release} Obsoletes: trinity-avahi-tqt-devel < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-avahi-tqt-devel = %{?epoch:%{epoch}:}%{version}-%{release} Provides: trinity-avahi-tqt-devel = %{?epoch:%{epoch}:}%{version}-%{release}
# AVAHI support
%if 0%{?mgaversion} || 0%{?mdkversion}
Requires: %{_lib}avahi-client-devel
%endif
%if 0%{?suse_version} || 0%{?rhel} || 0%{?fedora}
Requires: avahi-devel
%endif
%description -n %{libavahi}-tqt-devel %description -n %{libavahi}-tqt-devel
Avahi is a fully LGPL framework for Multicast DNS Service Discovery. Avahi is a fully LGPL framework for Multicast DNS Service Discovery.
It allows programs to publish and discover services and hosts It allows programs to publish and discover services and hosts
@ -214,8 +208,7 @@ export PATH="%{tde_bindir}:${PATH}"
--with-distro=mandriva \ --with-distro=mandriva \
%endif %endif
%__make %{?_smp_mflags} || %__make
%__make %{?_smp_mflags}
%install %install

@ -1,7 +1,7 @@
# #
# spec file for package dbus-1-tqt # spec file for package dbus-1-tqt
# #
# Copyright (c) 2014 François Andriot <francois.andriot@free.fr> # Copyright (c) 2014 Trinity Desktop Environment
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed

@ -1,7 +1,7 @@
# #
# spec file for package dbus-tqt # spec file for package dbus-tqt
# #
# Copyright (c) 2014 François Andriot <francois.andriot@free.fr> # Copyright (c) 2014 Trinity Desktop Environment
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed

@ -1,7 +1,7 @@
# #
# spec file for package libart-lgpl # spec file for package libart-lgpl
# #
# Copyright (c) 2014 François Andriot <francois.andriot@free.fr> # Copyright (c) 2014 Trinity Desktop Environment
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed

@ -1,7 +1,7 @@
# #
# spec file for package tqt3 # spec file for package tqt3
# #
# Copyright (c) 2014 François Andriot <francois.andriot@free.fr> # Copyright (c) 2014 Trinity Desktop Environment
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -95,16 +95,18 @@ BuildRequires: cups-devel
# GLIB2 support # GLIB2 support
%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} || 0%{?rhel} >= 6 %if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} || 0%{?rhel} >= 6
%define with_glibmainloop 1 %define with_glibmainloop 1
BuildRequires: glib2-devel %define glib2_devel glib2-devel
%endif %endif
%{?glib2_devel:BuildRequires: %{glib2_devel}}
# UUID support # UUID support
%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} || 0%{?rhel} >= 6 %if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} || 0%{?rhel} >= 6
BuildRequires: libuuid-devel %define uuid_devel libuuid-devel
%endif %endif
%if 0%{?rhel} == 5 %if 0%{?rhel} == 5
BuildRequires: e2fsprogs-devel %define uuid_devel e2fsprogs-devel
%endif %endif
%{?uuid_devel:BuildRequires: %{uuid_devel}}
# NAS support # NAS support
%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} %if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
@ -114,75 +116,84 @@ BuildRequires: nas-devel
# Xrender support # Xrender support
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} %if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
BuildRequires: libXrender-devel %define xrender_devel libXrender-devel
%endif %endif
%if 0%{?mdkversion} || 0%{?mgaversion} %if 0%{?mdkversion} || 0%{?mgaversion}
BuildRequires: libxrender-devel %define xrender_devel libxrender-devel
%endif %endif
%{?xrender_devel:BuildRequires: %{xrender_devel}}
# Xrandr support # Xrandr support
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} %if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
BuildRequires: libXrandr-devel %define xrandr_devel libXrandr-devel
%endif %endif
%if 0%{?mdkversion} || 0%{?mgaversion} %if 0%{?mdkversion} || 0%{?mgaversion}
BuildRequires: libxrandr-devel %define xrandr_devel libxrandr-devel
%endif %endif
%{?xrandr_devel:BuildRequires: %{xrandr_devel}}
# Xcursor support # Xcursor support
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} %if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
BuildRequires: libXcursor-devel %define xcursor_devel libXcursor-devel
%endif %endif
%if 0%{?mdkversion} || 0%{?mgaversion} %if 0%{?mdkversion} || 0%{?mgaversion}
BuildRequires: libxcursor-devel %define xcursor_devel libxcursor-devel
%endif %endif
%{?xcursor_devel:BuildRequires: %{xcursor_devel}}
# Xinerama support # Xinerama support
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} %if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
BuildRequires: libXinerama-devel %define xinerama_devel libXinerama-devel
%endif %endif
%if 0%{?mdkversion} || 0%{?mgaversion} %if 0%{?mdkversion} || 0%{?mgaversion}
BuildRequires: libxinerama-devel %define xinerama_devel libxinerama-devel
%endif %endif
%{?xinerama_devel:BuildRequires: %{xinerama_devel}}
# Xft support # Xft support
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} %if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
BuildRequires: libXft-devel %define xft_devel libXft-devel
%endif %endif
%if 0%{?mdkversion} || 0%{?mgaversion} %if 0%{?mdkversion} || 0%{?mgaversion}
BuildRequires: libxft-devel %define xft_devel libxft-devel
%endif %endif
%{?xft_devel:BuildRequires: %{xft_devel}}
# Xext support # Xext support
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} %if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
BuildRequires: libXext-devel %define xext_devel libXext-devel
%endif %endif
%if 0%{?mdkversion} || 0%{?mgaversion} %if 0%{?mdkversion} || 0%{?mgaversion}
BuildRequires: libxext-devel %define xext_devel libxext-devel
%endif %endif
%{?xext_devel:BuildRequires: %{xext_devel}}
# X11 support # X11 support
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} %if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
BuildRequires: libX11-devel %define x11_devel libX11-devel
%endif %endif
%if 0%{?mdkversion} || 0%{?mgaversion} %if 0%{?mdkversion} || 0%{?mgaversion}
BuildRequires: libx11-devel %define x11_devel libx11-devel
%endif %endif
%{?x11_devel:BuildRequires: %{x11_devel}}
# SM support # SM support
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} %if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
BuildRequires: libSM-devel %define sm_devel libSM-devel
%endif %endif
%if 0%{?mdkversion} || 0%{?mgaversion} %if 0%{?mdkversion} || 0%{?mgaversion}
BuildRequires: libsm-devel %define sm_devel libsm-devel
%endif %endif
%{?sm_devel:BuildRequires: %{sm_devel}}
# ICE support # ICE support
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} %if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
BuildRequires: libICE-devel %define ice_devel libICE-devel
%endif %endif
%if 0%{?mdkversion} || 0%{?mgaversion} %if 0%{?mdkversion} || 0%{?mgaversion}
BuildRequires: libice-devel %define ice_devel libice-devel
%endif %endif
%{?ice_devel:BuildRequires: %{ice_devel}}
# XT support # XT support
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} %if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
@ -199,17 +210,18 @@ BuildRequires: libxmu-devel
# XI support # XI support
%if 0%{?rhel} == 4 %if 0%{?rhel} == 4
BuildRequires: xorg-x11-devel %define xi_devel xorg-x11-devel
%endif %endif
%if 0%{?mgaversion} || 0%{?mdkversion} %if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}xi-devel %define xi_devel %{_lib}xi-devel
%endif %endif
%if 0%{?suse_version} >= 1220 || 0%{?rhel} >= 5 || 0%{?fedora} %if 0%{?suse_version} >= 1220 || 0%{?rhel} >= 5 || 0%{?fedora}
BuildRequires: libXi-devel %define xi_devel libXi-devel
%endif %endif
%if 0%{?suse_version} == 1140 %if 0%{?suse_version} == 1140
BuildRequires: libXi6-devel %define xi_devel libXi6-devel
%endif %endif
%{?xi_devel:BuildRequires: %{xi_devel}}
# Xorg support # Xorg support
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} %if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
@ -334,106 +346,18 @@ Requires: libjpeg-devel
Requires: libpng-devel Requires: libpng-devel
Requires: zlib-devel Requires: zlib-devel
# GLIB2 support %{?glib2_devel:Requires: %{glib2_devel}}
%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} || 0%{?rhel} >= 6 %{?uuid_devel:Requires: %{uuid_devel}}
%define with_glibmainloop 1 %{?xi_devel:Requires: %{xi_devel}}
Requires: glib2-devel %{?xrender_devel:Requires: %{xrender_devel}}
%endif %{?xrandr_devel:Requires: %{xrandr_devel}}
%{?xcursor_devel:Requires: %{xcursor_devel}}
# UUID support %{?xinerama_devel:Requires: %{xinerama_devel}}
%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} || 0%{?rhel} >= 6 %{?xft_devel:Requires: %{xft_devel}}
Requires: libuuid-devel %{?xext_devel:Requires: %{xext_devel}}
%endif %{?x11_devel:Requires: %{x11_devel}}
%if 0%{?rhel} == 5 %{?sm_devel:Requires: %{sm_devel}}
Requires: e2fsprogs-devel %{?ice_devel:Requires: %{ice_devel}}
%endif
# XI support
%if 0%{?rhel} == 4
Requires: xorg-x11-devel
%endif
%if 0%{?mgaversion} || 0%{?mdkversion}
Requires: %{_lib}xi-devel
%endif
%if 0%{?suse_version} >= 1220 || 0%{?rhel} >= 5 || 0%{?fedora}
Requires: libXi-devel
%endif
%if 0%{?suse_version} == 1140
Requires: libXi6-devel
%endif
# Xrender support
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
Requires: libXrender-devel
%endif
%if 0%{?mdkversion} || 0%{?mgaversion}
Requires: libxrender-devel
%endif
# Xrandr support
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
Requires: libXrandr-devel
%endif
%if 0%{?mdkversion} || 0%{?mgaversion}
Requires: libxrandr-devel
%endif
# Xcursor support
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
Requires: libXcursor-devel
%endif
%if 0%{?mdkversion} || 0%{?mgaversion}
Requires: libxcursor-devel
%endif
# Xinerama support
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
Requires: libXinerama-devel
%endif
%if 0%{?mdkversion} || 0%{?mgaversion}
Requires: libxinerama-devel
%endif
# Xft support
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
Requires: libXft-devel
%endif
%if 0%{?mdkversion} || 0%{?mgaversion}
Requires: libxft-devel
%endif
# Xext support
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
Requires: libXext-devel
%endif
%if 0%{?mdkversion} || 0%{?mgaversion}
Requires: libxext-devel
%endif
# X11 support
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
Requires: libX11-devel
%endif
%if 0%{?mdkversion} || 0%{?mgaversion}
Requires: libx11-devel
%endif
# SM support
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
Requires: libSM-devel
%endif
%if 0%{?mdkversion} || 0%{?mgaversion}
Requires: libsm-devel
%endif
# ICE support
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
Requires: libICE-devel
%endif
%if 0%{?mdkversion} || 0%{?mgaversion}
Requires: libice-devel
%endif
%description -n %{libtqt3}-mt-devel %description -n %{libtqt3}-mt-devel
TQt is a C++ class library optimized for graphical user interface TQt is a C++ class library optimized for graphical user interface
@ -1456,7 +1380,7 @@ export PATH="${QTDIR}/bin:${PATH}"
export LD_LIBRARY_PATH=${QTDIR}/lib export LD_LIBRARY_PATH=${QTDIR}/lib
# Installs 'libtqt-mt.so.3' library # Installs 'libtqt-mt.so.3' library
%__make -C src INSTALL_ROOT=%{?buildroot} install_target %__make -C src INSTALL_ROOT="%{?buildroot}" install_target
# Installs all the remaining # Installs all the remaining
%__make INSTALL_ROOT=%{?buildroot} install %__make INSTALL_ROOT=%{?buildroot} install
@ -1476,8 +1400,8 @@ export LD_LIBRARY_PATH=${QTDIR}/lib
%__install -m644 -D "tools/tqvfb/pda_up.png" "%{?buildroot}%{_datadir}/tqvfb/pda_up.png" %__install -m644 -D "tools/tqvfb/pda_up.png" "%{?buildroot}%{_datadir}/tqvfb/pda_up.png"
## create tqt3-apps-dev-package ## create tqt3-apps-dev-package
cp tools/designer/interfaces/*.h %{?buildroot}%{?_includedir}/tqt3/ cp tools/designer/interfaces/*.h "%{?buildroot}%{?_includedir}/tqt3/"
cp tools/designer/editor/*.h %{?buildroot}%{?_includedir}/tqt3/ cp tools/designer/editor/*.h "%{?buildroot}%{?_includedir}/tqt3/"
# language file for linguist # language file for linguist
%__install -D -m644 "translations/qt_untranslated.ts" "%{?buildroot}%{?_docdir}/tqt3-linguist/qt_untranslated.ts" %__install -D -m644 "translations/qt_untranslated.ts" "%{?buildroot}%{?_docdir}/tqt3-linguist/qt_untranslated.ts"

@ -1,7 +1,7 @@
# #
# spec file for package tqtinterface # spec file for package tqtinterface
# #
# Copyright (c) 2014 François Andriot <francois.andriot@free.fr> # Copyright (c) 2014 Trinity Desktop Environment
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -15,13 +15,28 @@
# Please submit bugfixes or comments via http:/www.trinitydesktop.org/ # Please submit bugfixes or comments via http:/www.trinitydesktop.org/
# #
# BUILD WARNING:
# Remove qt-devel and qt3-devel and any kde*-devel on your system !
# Having KDE libraries may cause FTBFS here !
# TDE variables # TDE variables
%define tde_version 14.0.0 %define tde_version 14.0.0
%define tde_pkg tdeaddons
%define tde_prefix /opt/trinity %define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin %define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
%define tde_includedir %{tde_prefix}/include %define tde_includedir %{tde_prefix}/include
%define tde_libdir %{tde_prefix}/%{_lib} %define tde_libdir %{tde_prefix}/%{_lib}
%define cmake_modules_dir %{_datadir}/cmake/Modules %define tde_tdeappdir %{tde_datadir}/applications/tde
%define tde_tdedocdir %{tde_docdir}/tde
%define tde_tdeincludedir %{tde_includedir}/tde
%define tde_tdelibdir %{tde_libdir}/trinity
# If 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
%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} %if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos}
%define libtqt4 %{_lib}tqt4 %define libtqt4 %{_lib}tqt4
@ -222,18 +237,18 @@ fi
%install %install
%__rm -rf %{?buildroot} %__rm -rf "%{?buildroot}"
%__make install DESTDIR=%{?buildroot} -C build %__make install DESTDIR="%{?buildroot}" -C build
# Install 'cmake' modules for development use # Install 'cmake' modules for development use
%__mkdir_p %{?buildroot}%{cmake_modules_dir} %__mkdir_p "%{?buildroot}%{cmake_modules_dir}"
for i in cmake/modules/*.cmake; do for i in cmake/modules/*.cmake; do
%__install -m 644 $i %{?buildroot}%{cmake_modules_dir} %__install -m 644 "$i" "%{?buildroot}%{cmake_modules_dir}"
done done
%clean %clean
%__rm -rf %{?buildroot} %__rm -rf "%{?buildroot}"
%changelog %changelog

@ -170,7 +170,7 @@ This package installs the Trinity directory structure.
%post %post
%if 0%{?suse_version} %if 0%{?suse_version}
# Add setuid files in '/etc/permissions.local' # Add setuid files in '/etc/permissions.local'
for b in fileshareset kgrantpty kpac_dhcp_helper start_tdeinit; do for b in kgrantpty kpac_dhcp_helper start_tdeinit; do
if ! grep -q "^%{tde_bindir}/${b}" "/etc/permissions.local"; then if ! grep -q "^%{tde_bindir}/${b}" "/etc/permissions.local"; then
echo "%{tde_bindir}/${b} root:root 4711" >>/etc/permissions.local echo "%{tde_bindir}/${b} root:root 4711" >>/etc/permissions.local
fi fi

@ -1,36 +1,60 @@
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". #
%if "%{?tde_prefix}" != "/usr" # spec file for package tdeaddons
%define _variant .opt #
%endif # Copyright (c) 2014 Trinity Desktop Environment
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
#
# Please submit bugfixes or comments via http:/www.trinitydesktop.org/
#
# BUILD WARNING:
# Remove qt-devel and qt3-devel and any kde*-devel on your system !
# Having KDE libraries may cause FTBFS here !
# TDE variables
%define tde_version 14.0.0 %define tde_version 14.0.0
%define tde_pkg tdeaddons
# TDE specific building variables %define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin %define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share %define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc %define tde_docdir %{tde_datadir}/doc
%define tde_includedir %{tde_prefix}/include %define tde_includedir %{tde_prefix}/include
%define tde_libdir %{tde_prefix}/%{_lib} %define tde_libdir %{tde_prefix}/%{_lib}
%define tde_tdeappdir %{tde_datadir}/applications/tde %define tde_tdeappdir %{tde_datadir}/applications/tde
%define tde_tdedocdir %{tde_docdir}/tde %define tde_tdedocdir %{tde_docdir}/tde
%define tde_tdeincludedir %{tde_includedir}/tde %define tde_tdeincludedir %{tde_includedir}/tde
%define tde_tdelibdir %{tde_libdir}/trinity %define tde_tdelibdir %{tde_libdir}/trinity
%define _docdir %{tde_docdir} # 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
Name: trinity-tdeaddons Name: trinity-%{tde_pkg}
Summary: Trinity Desktop Environment - Plugins Summary: Trinity Desktop Environment - Plugins
Version: %{tde_version} Version: %{tde_version}
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
License: GPLv2
Group: User Interface/Desktops Group: User Interface/Desktops
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/ URL: http://www.trinitydesktop.org/
%if 0%{?suse_version}
License: GPL-2.0+
%else
License: GPLv2+
%endif
#Vendor: Trinity Project
#Packager: Francois Andriot <francois.andriot@free.fr>
Obsoletes: trinity-kdeaddons < %{version}-%{release} Obsoletes: trinity-kdeaddons < %{version}-%{release}
Provides: trinity-kdeaddons = %{version}-%{release} Provides: trinity-kdeaddons = %{version}-%{release}
Obsoletes: trinity-kdeaddons-extras < %{version}-%{release} Obsoletes: trinity-kdeaddons-extras < %{version}-%{release}
@ -42,9 +66,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: autoconf automake libtool m4 BuildRequires: autoconf automake libtool m4
BuildRequires: trinity-tqt3-devel >= 3.5.0
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version} BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version} BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: trinity-tdegames-devel >= %{tde_version} BuildRequires: trinity-tdegames-devel >= %{tde_version}
@ -730,6 +751,7 @@ fi
-DBUILD_NOATUN_PLUGINS=ON \ -DBUILD_NOATUN_PLUGINS=ON \
-DBUILD_RENAMEDLG_PLUGINS=ON \ -DBUILD_RENAMEDLG_PLUGINS=ON \
-DBUILD_TDEFILE_PLUGINS=ON \ -DBUILD_TDEFILE_PLUGINS=ON \
-DBUILD_TUTORIALS=OFF \
.. ..
%__make %{?_smp_mflags} || %__make %__make %{?_smp_mflags} || %__make
@ -740,6 +762,16 @@ export PATH="%{tde_bindir}:${PATH}"
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot} -C build %__make install DESTDIR=%{buildroot} -C build
# Temporary
%__rm -rf %{?buildroot}%{tde_tdedocdir}/HTML/en/khelpcenter
# Updates applications categories for openSUSE
%if 0%{?suse_version}
%suse_update_desktop_file atlantikdesigner Game BoardGame
%suse_update_desktop_file -r ksig Network Email
%endif
%clean %clean
%__rm -rf %{buildroot} %__rm -rf %{buildroot}

@ -56,7 +56,7 @@ BuildRequires: nas-devel
# LIBART support # LIBART support
%define with_libart 1 %define with_libart 1
BuildRequires: trinity-libart-lgpl-devel BuildRequires: libart_lgpl-devel
# XSCREENSAVER support # XSCREENSAVER support
%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version} %if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version}

@ -1,7 +1,7 @@
# #
# spec file for package tdebase # spec file for package tdebase
# #
# Copyright (c) 2014 François Andriot <francois.andriot@free.fr> # Copyright (c) 2014 Trinity Desktop Environment
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,6 +17,7 @@
# TDE variables # TDE variables
%define tde_version 14.0.0 %define tde_version 14.0.0
%define tde_pkg tdebase
%define tde_prefix /opt/trinity %define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin %define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share %define tde_datadir %{tde_prefix}/share
@ -34,17 +35,17 @@
%endif %endif
Name: trinity-tdebase Name: trinity-%{tde_pkg}
Version: %{tde_version} Version: %{tde_version}
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
Summary: Trinity Base Programs Summary: Trinity Base Programs
Group: User Interface/Desktops Group: User Interface/Desktops
URL: http://www.trinitydesktop.org/ URL: http://www.trinitydesktop.org/
%if 0%{?suse_version} %if 0%{?suse_version}
License: GPL-2.0+ License: GPL-2.0+
%else %else
License: GPLv2+ License: GPLv2+
%endif %endif
#Vendor: Trinity Desktop #Vendor: Trinity Desktop
@ -53,14 +54,14 @@ License: GPLv2+
Prefix: %{tde_prefix} Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
# Pam configuration files for RHEL / Fedora # Pam configuration files for RHEL / Fedora
%if 0%{?suse_version} == 0 %if 0%{?suse_version} == 0
Source2: pamd.kdm-trinity%{?dist} Source2: pamd.kdm-trinity%{?dist}
Source3: pamd.kdm-trinity-np%{?dist} Source3: pamd.kdm-trinity-np%{?dist}
Source4: pamd.kcheckpass-trinity%{?dist} Source4: pamd.kcheckpass-trinity%{?dist}
Source5: pamd.kscreensaver-trinity%{?dist} Source5: pamd.kscreensaver-trinity%{?dist}
%endif %endif
# openSUSE: configuration file for TDM # openSUSE: configuration file for TDM
@ -68,12 +69,12 @@ Source6: suse-displaymanagers-tdm
# Fedora 18: use SYSTEMD for TDM startup # Fedora 18: use SYSTEMD for TDM startup
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7 %if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
Source7: tdm.service%{?dist} Source7: tdm.service%{?dist}
%endif %endif
# openSUSE 11.4: overwrite distribution-provided '/etc/init.d/xdm' !!! # openSUSE 11.4: overwrite distribution-provided '/etc/init.d/xdm' !!!
%if 0%{?suse_version} == 1140 %if 0%{?suse_version} == 1140
Source7: xdm.oss114 Source7: xdm.oss114
%endif %endif
# Fedora >= 17: special selinux policy required for TDM # Fedora >= 17: special selinux policy required for TDM
@ -401,11 +402,17 @@ BuildRequires: lm_sensors-devel
BuildRequires: libsensors4-devel BuildRequires: libsensors4-devel
%endif %endif
# TSAK support (requires libudev-devel) # UDEV support (requires libudev)
# On RHEL5, udev is built statically, so TSAK cannot build. # On RHEL5, udev is built statically, so TSAK cannot build.
%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version} %if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version}
%define with_tsak 1
BuildRequires: libudev-devel BuildRequires: libudev-devel
%define with_tsak 1
%define with_tdehwlib 1
%endif
# HAL support
%if 0%{?rhel} == 5
%define with_hal 1
%endif %endif
# XRANDR support # XRANDR support
@ -3561,14 +3568,14 @@ fi
-DWITH_LIBRAW1394=ON \ -DWITH_LIBRAW1394=ON \
-DWITH_SUDO_TDESU_BACKEND=OFF \ -DWITH_SUDO_TDESU_BACKEND=OFF \
-DWITH_PAM=ON \ -DWITH_PAM=ON \
-DWITH_SHADOW=ON \ -DWITH_SHADOW=OFF \
-DWITH_XDMCP=ON \ -DWITH_XDMCP=ON \
-DWITH_XINERAMA=ON \ -DWITH_XINERAMA=ON \
-DWITH_ARTS=ON \ -DWITH_ARTS=ON \
-DWITH_I8K=ON \ -DWITH_I8K=ON \
-DWITH_SENSORS=ON \ -DWITH_SENSORS=ON \
-DWITH_HAL=OFF \ %{?with_hal:-DWITH_HAL=ON} \
-DWITH_TDEHWLIB=ON \ %{?!with_tdehwlib:-DWITH_TDEHWLIB=OFF} \
-DWITH_ELFICON=OFF \ -DWITH_ELFICON=OFF \
-DWITH_UPOWER=ON \ -DWITH_UPOWER=ON \
\ \

@ -1,7 +1,7 @@
# #
# spec file for package tdelibs # spec file for package tdelibs
# #
# Copyright (c) 2014 François Andriot <francois.andriot@free.fr> # Copyright (c) 2014 Trinity Desktop Environment
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -21,16 +21,17 @@
# TDE variables # TDE variables
%define tde_version 14.0.0 %define tde_version 14.0.0
%define tde_pkg tdelibs
%define tde_prefix /opt/trinity %define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin %define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share %define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc %define tde_docdir %{tde_datadir}/doc
%define tde_includedir %{tde_prefix}/include %define tde_includedir %{tde_prefix}/include
%define tde_libdir %{tde_prefix}/%{_lib} %define tde_libdir %{tde_prefix}/%{_lib}
%define tde_tdeappdir %{tde_datadir}/applications/tde
%define tde_tdedocdir %{tde_docdir}/tde %define tde_tdedocdir %{tde_docdir}/tde
%define tde_tdeincludedir %{tde_includedir}/tde %define tde_tdeincludedir %{tde_includedir}/tde
%define tde_tdelibdir %{tde_libdir}/trinity %define tde_tdelibdir %{tde_libdir}/trinity
%define _docdir %{tde_docdir}
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". # If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?tde_prefix}" != "/usr" %if "%{?tde_prefix}" != "/usr"
@ -38,7 +39,7 @@
%endif %endif
Name: trinity-tdelibs Name: trinity-%{tde_pkg}
Version: %{tde_version} Version: %{tde_version}
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
Summary: TDE Libraries Summary: TDE Libraries
@ -46,9 +47,9 @@ Group: System/GUI/Other
URL: http://www.trinitydesktop.org/ URL: http://www.trinitydesktop.org/
%if 0%{?suse_version} %if 0%{?suse_version}
License: GPL-2.0+ License: GPL-2.0+
%else %else
License: GPLv2+ License: GPLv2+
%endif %endif
#Vendor: Trinity Desktop #Vendor: Trinity Desktop
@ -58,7 +59,7 @@ Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
Source1: %{name}-rpmlintrc Source1: trinity-tdelibs-rpmlintrc
Obsoletes: tdelibs < %{version}-%{release} Obsoletes: tdelibs < %{version}-%{release}
Provides: tdelibs = %{version}-%{release} Provides: tdelibs = %{version}-%{release}
@ -213,18 +214,6 @@ BuildRequires: %{_lib}ltdl-devel
BuildRequires: libtool-ltdl-devel BuildRequires: libtool-ltdl-devel
%endif %endif
# XCOMPOSITE support
%if 0%{?mgaversion} || 0%{?mdkversion}
%if 0%{?mgaversion} >= 4
BuildRequires: %{_lib}xcomposite-devel
%else
BuildRequires: %{_lib}xcomposite%{?mgaversion:1}-devel
%endif
%endif
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220
BuildRequires: libXcomposite-devel
%endif
# X11 support # X11 support
%if 0%{?mgaversion} || 0%{?mdkversion} %if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: x11-proto-devel BuildRequires: x11-proto-devel
@ -284,10 +273,24 @@ Requires: ca-certificates
%define with_xrandr 1 %define with_xrandr 1
%endif %endif
# XCOMPOSITE support
%if 0%{?mgaversion} || 0%{?mdkversion}
%if 0%{?mgaversion} >= 4
%define xcomposite_devel %{_lib}xcomposite-devel
%else
%define xcomposite_devel %{_lib}xcomposite%{?mgaversion:1}-devel
%endif
%endif
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220
%define xcomposite_devel libXcomposite-devel
%endif
%{?xcomposite_devel:BuildRequires: %{xcomposite_devel}}
# XT support # XT support
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} %if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
BuildRequires: libXt-devel %define xt_devel libXt-devel
%endif %endif
%{?xt_devel:BuildRequires: %{xt_devel}}
# LIBMAGIC support # LIBMAGIC support
BuildRequires: file-devel BuildRequires: file-devel
@ -498,26 +501,9 @@ Provides: trinity-kdelibs-devel = %{version}-%{release}
Requires: libtqt3-mt-devel >= 3.5.0 Requires: libtqt3-mt-devel >= 3.5.0
Requires: libtqt4-devel = 2:4.2.0 Requires: libtqt4-devel = 2:4.2.0
Requires: trinity-arts-devel >= 2:1.5.10 Requires: trinity-arts-devel >= 2:1.5.10
Requires: libart_lgpl-devel >= 2.3.22
# LIBART_LGPL support %{?xcomposite_devel:Requires: %{xcomposite_devel}}
Requires: libart_lgpl-devel %{?xt_devel:Requires: %{xt_devel}}
# XT support
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
Requires: libXt-devel
%endif
# XCOMPOSITE support
%if 0%{?mgaversion} || 0%{?mdkversion}
%if 0%{?mgaversion} >= 4
Requires: %{_lib}xcomposite-devel
%else
Requires: %{_lib}xcomposite%{?mgaversion:1}-devel
%endif
%endif
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220
Requires: libXcomposite-devel
%endif
%description devel %description devel
This package includes the header files you will need to compile This package includes the header files you will need to compile
@ -607,6 +593,7 @@ fi
%{?!with_pcre:-DWITH_PCRE=OFF} \ %{?!with_pcre:-DWITH_PCRE=OFF} \
%{?!with_inotify:-DWITH_INOTIFY=OFF} \ %{?!with_inotify:-DWITH_INOTIFY=OFF} \
%{?!with_gamin:-DWITH_GAMIN=OFF} \ %{?!with_gamin:-DWITH_GAMIN=OFF} \
%{?!with_tdehwlib:-DWITH_TDEHWLIB=OFF} \
%{?!with_tdehwlib:-DWITH_TDEHWLIB_DAEMONS=OFF} \ %{?!with_tdehwlib:-DWITH_TDEHWLIB_DAEMONS=OFF} \
%{?with_hal:-DWITH_HAL=ON} \ %{?with_hal:-DWITH_HAL=ON} \
%{?with_devkitpower:-DWITH_DEVKITPOWER=ON} \ %{?with_devkitpower:-DWITH_DEVKITPOWER=ON} \
@ -621,6 +608,7 @@ fi
%{?!with_lzma:-DWITH_LZMA=OFF} \ %{?!with_lzma:-DWITH_LZMA=OFF} \
-DWITH_LIBBFD=OFF \ -DWITH_LIBBFD=OFF \
%{?!with_xrandr:-DWITH_XRANDR=OFF} \ %{?!with_xrandr:-DWITH_XRANDR=OFF} \
-DWITH_XCOMPOSITE=ON \
-DWITH_KDE4_MENU_SUFFIX=OFF \ -DWITH_KDE4_MENU_SUFFIX=OFF \
\ \
-DWITH_ASPELL=ON \ -DWITH_ASPELL=ON \

@ -1,42 +1,59 @@
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". #
%if "%{?tde_prefix}" != "/usr" # spec file for package tdemultimedia
%define _variant .opt #
%endif # Copyright (c) 2014 Trinity Desktop Environment
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
#
# Please submit bugfixes or comments via http:/www.trinitydesktop.org/
#
# BUILD WARNING:
# Remove qt-devel and qt3-devel and any kde*-devel on your system !
# Having KDE libraries may cause FTBFS here !
# TDE variables
%define tde_version 14.0.0 %define tde_version 14.0.0
%define tde_prefix /opt/trinity
# TDE specific building variables
%define tde_bindir %{tde_prefix}/bin %define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share %define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc %define tde_docdir %{tde_datadir}/doc
%define tde_includedir %{tde_prefix}/include %define tde_includedir %{tde_prefix}/include
%define tde_libdir %{tde_prefix}/%{_lib} %define tde_libdir %{tde_prefix}/%{_lib}
%define tde_tdeappdir %{tde_datadir}/applications/tde %define tde_tdeappdir %{tde_datadir}/applications/tde
%define tde_tdedocdir %{tde_docdir}/tde %define tde_tdedocdir %{tde_docdir}/tde
%define tde_tdeincludedir %{tde_includedir}/tde %define tde_tdeincludedir %{tde_includedir}/tde
%define tde_tdelibdir %{tde_libdir}/trinity %define tde_tdelibdir %{tde_libdir}/trinity
%define _docdir %{tde_docdir} # 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
# former extras bits
%define _with_akode --with-akode
## not currently compatible with libtunepimp-0.5 (only libtunepimp-0.4)
#define _with_musicbrainz --with-musicbrainz
%define _with_taglib --with-taglib
Name: trinity-tdemultimedia Name: trinity-tdemultimedia
Summary: Multimedia applications for the Trinity Desktop Environment (TDE) Summary: Multimedia applications for the Trinity Desktop Environment (TDE)
Version: %{tde_version} Version: %{tde_version}
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
License: GPLv2
Group: Applications/Multimedia Group: Applications/Multimedia
Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/ URL: http://www.trinitydesktop.org/
%if 0%{?suse_version}
License: GPL-2.0+
%else
License: GPLv2+
%endif
#Vendor: Trinity Project
#Packager: Francois Andriot <francois.andriot@free.fr>
Prefix: %{tde_prefix} Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -52,27 +69,33 @@ Obsoletes: trinity-kdemultimedia-extras-libs < %{version}-%{release}
Provides: trinity-kdemultimedia-extras-libs = %{version}-%{release} Provides: trinity-kdemultimedia-extras-libs = %{version}-%{release}
BuildRequires: autoconf automake libtool m4 BuildRequires: trinity-arts-devel >= 2:1.5.10
BuildRequires: trinity-tqt3-devel >= 3.5.0
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version} BuildRequires: trinity-tdelibs-devel >= %{tde_version}
%if "%{?_with_akode}" != "" BuildRequires: autoconf automake libtool m4
# TAGLIB support
%define _with_taglib --with-taglib
BuildRequires: taglib-devel
# AKODE support
%define _with_akode --with-akode
BuildRequires: trinity-akode-devel BuildRequires: trinity-akode-devel
BuildRequires: trinity-akode-libmad BuildRequires: trinity-akode-libmad
%endif
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: zlib-devel BuildRequires: zlib-devel
# MUSICBRAINZ support
## not currently compatible with libtunepimp-0.5 (only libtunepimp-0.4)
#define _with_musicbrainz --with-musicbrainz
#BuildRequires: libmusicbrainz-devel libtunepimp-devel
# Audio libraries # Audio libraries
BuildRequires: libvorbis-devel BuildRequires: libvorbis-devel
BuildRequires: audiofile-devel BuildRequires: audiofile-devel
BuildRequires: libtheora-devel BuildRequires: libtheora-devel
BuildRequires: alsa-lib-devel BuildRequires: alsa-lib-devel
%{?_with_musicbrainz:BuildRequires: libmusicbrainz-devel libtunepimp-devel}
%{?_with_taglib:BuildRequires: taglib-devel}
BuildRequires: cdparanoia BuildRequires: cdparanoia
# CDDA support # CDDA support
@ -1141,7 +1164,7 @@ noatun plugins.
########## ##########
%if 0%{?suse_version} || 0%{?pclinuxos} %if 0%{?pclinuxos}
%debug_package %debug_package
%endif %endif
@ -1208,6 +1231,21 @@ export PATH="%{tde_bindir}:${PATH}"
# don't make these world-writeable # don't make these world-writeable
chmod go-w %{buildroot}%{tde_datadir}/apps/kscd/* chmod go-w %{buildroot}%{tde_datadir}/apps/kscd/*
# Updates applications categories for openSUSE
%if 0%{?suse_version}
%suse_update_desktop_file krec AudioVideo Recorder
%suse_update_desktop_file tdemid AudioVideo Midi
%suse_update_desktop_file artsbuilder AudioVideo AudioVideoEditing
%suse_update_desktop_file artscontrol AudioVideo AudioVideoEditing
%suse_update_desktop_file kmix AudioVideo Mixer
%suse_update_desktop_file kaboodle AudioVideo Player
%suse_update_desktop_file kaudiocreator AudioVideo CD
%suse_update_desktop_file kscd AudioVideo Player CD
%suse_update_desktop_file noatun AudioVideo Player Video
%suse_update_desktop_file juk AudioVideo Player Jukebox
%suse_update_desktop_file audiocd
%endif
%clean %clean
%__rm -rf %{buildroot} %__rm -rf %{buildroot}

@ -45,20 +45,21 @@ Patch4: c_cpp_reference-2.0.2-install.patch
Requires: %{name}-libs = %{version}-%{release} Requires: %{name}-libs = %{version}-%{release}
BuildRequires: tqt3-apps-devel >= 3.5.0
BuildRequires: libtqt4-devel >= 2:4.2.0
BuildRequires: trinity-arts-devel >= 2:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdesdk-devel >= %{tde_version}
Requires: make Requires: make
Requires: perl Requires: perl
Requires: flex >= 2.5.4 Requires: flex >= 2.5.4
Requires: trinity-tqt3-designer >= 3.5.0 Requires: tqt3-designer >= 3.5.0
Requires: trinity-tqt3-devel >= 3.5.0 Requires: libtqt3-mt-devel >= 3.5.0
Requires: gettext Requires: gettext
Requires: ctags Requires: ctags
BuildRequires: cmake >= 2.8 BuildRequires: cmake >= 2.8
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdesdk-devel >= %{tde_version}
%if 0%{?rhel} || 0%{?fedora} %if 0%{?rhel} || 0%{?fedora}
BuildRequires: db4-devel BuildRequires: db4-devel
%endif %endif

Loading…
Cancel
Save