Timothy Pearson 13 years ago
commit 74df674af8

@ -1,6 +1,6 @@
# Maintainer: Calvin Morrison <MutantTurkey@gmail.com> # Maintainer: Calvin Morrison <MutantTurkey@gmail.com>
pkgname=trinity-qt3 pkgname=trinity-qt3
pkgver=20110907 pkgver=20110919
pkgrel=1 pkgrel=1
pkgdesc="The Qt3 gui toolkit - with Trinity upstream" pkgdesc="The Qt3 gui toolkit - with Trinity upstream"
_prefix="/opt/qt" _prefix="/opt/qt"
@ -32,59 +32,55 @@ build() {
cd $_gitname && git pull origin cd $_gitname && git pull origin
msg "The local files are updated." msg "The local files are updated."
else else
git clone $_gitroot git clone $_gitroot
fi fi
msg "GIT checkout done or server timeout" msg "GIT checkout done or server timeout"
msg "Starting make..." msg "Starting make..."
export QTDIR="${srcdir}/"$_gitname
export PATH=${QTDIR}/bin:${PATH}
export LD_LIBRARY_PATH=${QTDIR}/lib:${LD_LIBRARY_PATH}
export QMAKESPEC=$QTDIR/mkspecs/linux-g++
if [ "$CARCH" = "x86_64" ]; then
export ARCH="-64"
else unset ARCH
fi
cd "$srcdir/$_gitname" cd "$srcdir/$_gitname"
# remove unwanted mkspecs
rm -rf mkspecs/{*aix*,*bsd*,cygwin*,dgux*,darwin*,hpux*,hurd*,irix*,lynxos*,macx*,qnx*,reliant*,sco*,solaris*,tru64*,unixware*,win32*} rm -rf mkspecs/{*aix*,*bsd*,cygwin*,dgux*,darwin*,hpux*,hurd*,irix*,lynxos*,macx*,qnx*,reliant*,sco*,solaris*,tru64*,unixware*,win32*}
# set arch if x86_64 build
if [ "$CARCH" = "x86_64" ]; then
export ARCH="-64"
else unset ARCH
fi
# ./configure -prefix /opt/qt -platform linux-g++$ARCH \
# -system-zlib -qt-gif -release -shared -sm -nis -thread -stl \
# -system-lib{png,jpeg,mng} \
# -no-g++-exceptions -plugin-sql-{mysql,psql,sqlite,odbc}
msg "Starting configure..." msg "Starting configure..."
./configure -prefix ${_prefix} \ #make -C qmake || return 1
-sysconfdir /etc/qt \ ./configure -prefix ${_prefix} \
-qt-gif \ -fast \
-system-zlib \ -sysconfdir /etc/qt \
-system-libjpeg \ -thread \
-plugin-imgfmt-jpeg \ -shared \
-system-libmng \ -system-zlib \
-plugin-imgfmt-mng \ -platform linux-g++$ARCH \
-system-libpng \ -system-lib{png,jpeg,mng}
-plugin-imgfmt-png \ make
-plugin-sql-mysql \
-plugin-sql-psql \
-plugin-sql-sqlite \
-no-exceptions \
-thread \
-no-tablet
#-platform linux-g++
make -C qmake || return 1
make
} }
package() { package() {
cd "$srcdir/$_gitname"
# Build and install qt.profile
echo "export QTDIR=${_prefix}" > ${srcdir}/qt.profile
echo "export QT_XFT=true" >> ${srcdir}/qt.profile
echo 'export PATH=$PATH:$QTDIR/bin' >> ${srcdir}/qt.profile
echo 'export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$QTDIR/pkgconfig' >> ${srcdir}/qt.profile
install -D -m755 ${srcdir}/qt.profile ${pkgdir}/etc/profile.d/qt3.sh
make INSTALL_ROOT="$pkgdir/" install
echo $PWD
echo "woooot!"
make DESTDIR=${pkgdir} install
} }

@ -0,0 +1,2 @@
The Fedora packages are the same as the RedHat packages.
See directory 'redhat' to get the SPECS files.

@ -2,7 +2,7 @@
%if "%{?version}" == "" %if "%{?version}" == ""
%define version 3.5.12 %define version 3.5.12
%endif %endif
%define release 6 %define release 7
# 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 "%{?_prefix}" != "/usr" %if "%{?_prefix}" != "/usr"
@ -32,6 +32,11 @@ Obsoletes: k3b
Group: Applications/Archiving Group: Applications/Archiving
License: GPLv2+ License: GPLv2+
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: k3b-%{version}.tar.gz Source0: k3b-%{version}.tar.gz
Source1: k3b-i18n-1.0.5.tar.bz2 Source1: k3b-i18n-1.0.5.tar.bz2
Source2: k3brc Source2: k3brc
@ -57,7 +62,7 @@ BuildRequires: dbus-qt-devel hal-devel
BuildRequires: flac-devel BuildRequires: flac-devel
BuildRequires: gettext BuildRequires: gettext
BuildRequires: libdvdread-devel BuildRequires: libdvdread-devel
%if 0%{?fedora} >= 15 %if 0%{?fedora} >= 15 || 0%{?rhel} && 0%{?rhel} <= 5
BuildRequires: libmpcdec-devel BuildRequires: libmpcdec-devel
%else %else
BuildRequires: musepack-tools-devel BuildRequires: musepack-tools-devel
@ -96,7 +101,9 @@ start.
Summary: Common files of %{name} Summary: Common files of %{name}
Group: Applications/Archiving Group: Applications/Archiving
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15
BuildArch: noarch BuildArch: noarch
%endif
%description common %description common
%{summary}. %{summary}.
@ -165,15 +172,15 @@ popd
%install %install
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%make_install %__make install DESTDIR=%{buildroot}
%make_install -C k3b-i18n-1.0.5 %__make install DESTDIR=%{buildroot} -C k3b-i18n-1.0.5
%{__install} -D -m 644 -p %{SOURCE2} %{buildroot}%{_datadir}/config/k3brc %__install -D -m 644 -p %{SOURCE2} %{buildroot}%{_datadir}/config/k3brc
# remove the .la files # remove the .la files
%{__rm} -f %{buildroot}%{_libdir}/libk3b*.la %__rm -f %{buildroot}%{_libdir}/libk3b*.la
# remove i18n for Plattdeutsch (Low Saxon) # remove i18n for Plattdeutsch (Low Saxon)
%{__rm} -fr %{buildroot}%{_datadir}/locale/nds %__rm -fr %{buildroot}%{_datadir}/locale/nds
%find_lang k3b --with-kde %find_lang k3b --with-kde
%find_lang k3bsetup %find_lang k3bsetup
@ -244,6 +251,9 @@ update-desktop-database -q &> /dev/null
%changelog %changelog
* Mon Sep 19 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-7
- Add support for RHEL5
* Sun Sep 11 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-6 * Sun Sep 11 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-6
- Import to GIT - Import to GIT

@ -19,5 +19,6 @@ kdeadmin
kdegames kdegames
kdeedu kdeedu
kdeaddons kdeaddons
kdewebdev
kde-i18n kde-i18n
applications/k3b applications/k3b

@ -2,7 +2,7 @@
%if "%{?version}" == "" %if "%{?version}" == ""
%define version 3.5.12 %define version 3.5.12
%endif %endif
%define release 6 %define release 7
# 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 "%{?_prefix}" != "/usr" %if "%{?_prefix}" != "/usr"
@ -31,6 +31,9 @@ Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr> Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/ URL: http://www.trinitydesktop.org/
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# GFDL, with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. # GFDL, with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
License: GFDL License: GFDL
Group: User Interface/Desktops Group: User Interface/Desktops
@ -653,7 +656,7 @@ for l in %{KDE_LANGS}; do
sed -i docs/Makefile -e "s,^\(SUBDIRS =.*\)common\(.*\)$,\1 \2," sed -i docs/Makefile -e "s,^\(SUBDIRS =.*\)common\(.*\)$,\1 \2,"
fi fi
%{__make} install DESTDIR=%{?buildroot} %__make install DESTDIR=%{?buildroot}
popd popd
fi fi
done done
@ -1221,6 +1224,9 @@ rm -rf %{buildroot}
%endif %endif
%changelog %changelog
* Mon Sep 19 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-7
- Add support for RHEL5
* Sun Sep 11 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-6 * Sun Sep 11 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-6
- Re-introduce all languages - Re-introduce all languages

@ -2,7 +2,7 @@
%if "%{?version}" == "" %if "%{?version}" == ""
%define version 3.5.12 %define version 3.5.12
%endif %endif
%define release 1 %define release 2
# 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 "%{?_prefix}" != "/usr" %if "%{?_prefix}" != "/usr"
@ -29,9 +29,10 @@ Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr> Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/ URL: http://www.trinitydesktop.org/
Source0: kdeaccessibility-%{version}.tar.gz Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source0: kdeaccessibility-%{version}.tar.gz
Provides: kdeaccessibility3 = %{version}-%{release} Provides: kdeaccessibility3 = %{version}-%{release}
@ -91,7 +92,7 @@ export LDFLAGS="-L%{_libdir} -I%{_includedir}"
%install %install
export PATH="%{_bindir}:${PATH}" export PATH="%{_bindir}:${PATH}"
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%make_install %__make install DESTDIR=%{buildroot}
desktop-file-install \ desktop-file-install \
--vendor="" \ --vendor="" \
@ -170,6 +171,9 @@ update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
%changelog %changelog
* Mon Sep 19 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-2
- Add support for RHEL5
* Sun Sep 11 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-1 * Sun Sep 11 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-1
- Initial build for RHEL 6 - Initial build for RHEL 6
- Spec file based on Fedora 8 "kdeaccessibility-3.5.10-1" - Spec file based on Fedora 8 "kdeaccessibility-3.5.10-1"

@ -2,7 +2,7 @@
%if "%{?version}" == "" %if "%{?version}" == ""
%define version 3.5.12 %define version 3.5.12
%endif %endif
%define release 1 %define release 2
# 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 "%{?_prefix}" != "/usr" %if "%{?_prefix}" != "/usr"
@ -29,10 +29,12 @@ Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr> Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/ URL: http://www.trinitydesktop.org/
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: kdeaddons-%{version}.tar.gz Source0: kdeaddons-%{version}.tar.gz
Source1: metabar-fedora.tar.bz2 Source1: metabar-fedora.tar.bz2
Source2: metabarrc Source2: metabarrc
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Patch3: kdeaddons-3.5.3-sdl.patch Patch3: kdeaddons-3.5.3-sdl.patch
@ -111,7 +113,7 @@ export CXXFLAGS="${CXXFLAGS} -fpermissive"
%install %install
export PATH="%{_bindir}:${PATH}" export PATH="%{_bindir}:${PATH}"
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%make_install %__make install DESTDIR=%{buildroot}
# File lists for locale # File lists for locale
HTML_DIR=$(kde-config --expandvars --install html) HTML_DIR=$(kde-config --expandvars --install html)
@ -238,6 +240,9 @@ gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
%changelog %changelog
* Mon Sep 19 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-2
- Add support for RHEL5
* Sun Sep 11 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-1 * Sun Sep 11 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-1
- Initial build for RHEL 6 - Initial build for RHEL 6
- Spec file based on Fedora 8 "kdeaddons-3.5.10-1" - Spec file based on Fedora 8 "kdeaddons-3.5.10-1"

@ -2,7 +2,7 @@
%if "%{?version}" == "" %if "%{?version}" == ""
%define version 3.5.12 %define version 3.5.12
%endif %endif
%define release 1 %define release 2
# 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 "%{?_prefix}" != "/usr" %if "%{?_prefix}" != "/usr"
@ -33,6 +33,7 @@ Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/ URL: http://www.trinitydesktop.org/
Prefix: %{_prefix} Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: kdeadmin-%{version}.tar.gz Source0: kdeadmin-%{version}.tar.gz
Source1: kuser.pam Source1: kuser.pam
@ -94,7 +95,7 @@ export CXXFLAGS="${CXXFLAGS} -fpermissive"
%install %install
export PATH="%{_bindir}:${PATH}" export PATH="%{_bindir}:${PATH}"
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%make_install %__make install DESTDIR=%{buildroot}
%if 0%{?rhel} > 1 %if 0%{?rhel} > 1
comps="kcron kdat knetworkconf" comps="kcron kdat knetworkconf"
@ -171,20 +172,25 @@ update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
%{_sbindir}/* %{_sbindir}/*
%config(noreplace) /etc/pam.d/* %config(noreplace) /etc/pam.d/*
%config(noreplace) /etc/security/console.apps/* %config(noreplace) /etc/security/console.apps/*
%{_datadir}/config*/*
%{_datadir}/mimelnk/*/*.desktop
%{_datadir}/icons/crystalsvg/*/*/*
%endif %endif
%{_datadir}/apps/* %{_datadir}/apps/*
%{_datadir}/applications/kde/*.desktop %{_datadir}/applications/kde/*.desktop
%{_datadir}/config*/*
%{_datadir}/icons/crystalsvg/*/*/*
%{_datadir}/icons/hicolor/*/*/* %{_datadir}/icons/hicolor/*/*/*
%{_datadir}/icons/locolor/*/*/* %{_datadir}/icons/locolor/*/*/*
%{_datadir}/mimelnk/*/*.desktop
%{_datadir}/service*/*.desktop %{_datadir}/service*/*.desktop
%{tde_libdir}/* %{tde_libdir}/*
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc
%changelog %changelog
* Mon Sep 19 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-2
- Add support for RHEL5
* Sun Sep 11 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-1 * Sun Sep 11 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-1
- Initial build for RHEL 6 - Initial build for RHEL 6
- Spec file based on Fedora 8 "kdeadmin-3.5.10-1" - Spec file based on Fedora 8 "kdeadmin-3.5.10-1"

@ -2,7 +2,7 @@
%if "%{?version}" == "" %if "%{?version}" == ""
%define version 3.5.12 %define version 3.5.12
%endif %endif
%define release 4 %define release 5
# 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 "%{?_prefix}" != "/usr" %if "%{?_prefix}" != "/usr"
@ -28,6 +28,9 @@ Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr> Packager: Francois Andriot <francois.andriot@free.fr>
Url: http://www.trinitydesktop.org/ Url: http://www.trinitydesktop.org/
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source: kdeartwork-%{version}.tar.gz Source: kdeartwork-%{version}.tar.gz
# FIXME: this should go in kde-settings -- Rex # FIXME: this should go in kde-settings -- Rex
@ -37,6 +40,8 @@ BuildRequires: gettext
BuildRequires: trinity-kdebase-devel BuildRequires: trinity-kdebase-devel
BuildRequires: libart_lgpl-devel BuildRequires: libart_lgpl-devel
BuildRequires: nas-devel esound-devel jack-audio-connection-kit-devel BuildRequires: nas-devel esound-devel jack-audio-connection-kit-devel
BuildRequires: xscreensaver-extras xscreensaver-gl-base
Requires: trinity-kdebase Requires: trinity-kdebase
@ -79,8 +84,7 @@ export LDFLAGS="-L%{_libdir} -I%{_includedir}"
%install %install
export PATH="%{_bindir}:${PATH}" export PATH="%{_bindir}:${PATH}"
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}
%make_install
# webcollage -root -directory /usr/share/backgrounds/images #227683 # webcollage -root -directory /usr/share/backgrounds/images #227683
@ -165,6 +169,9 @@ done
%changelog %changelog
* Mon Sep 19 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-5
- Add support for RHEL5
* Sun Sep 11 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-4 * Sun Sep 11 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-4
- Import to GIT - Import to GIT

@ -0,0 +1,36 @@
*** kdebase/kcontrol/Makefile.am.ORI 2011-09-18 22:04:50.000000000 +0200
--- kdebase/kcontrol/Makefile.am 2011-09-18 22:05:00.000000000 +0200
***************
*** 12,18 ****
endif
if include_kcontrol_iccconfig
! ICCCONFIG_SUBDIR=iccconfig
endif
if include_kcontrol_usbview
--- 12,18 ----
endif
if include_kcontrol_iccconfig
! #ICCCONFIG_SUBDIR=iccconfig
endif
if include_kcontrol_usbview
***************
*** 24,30 ****
endif
if include_kcontrol_randr
! RANDR_SUBDIR=randr
endif
if include_kcontrol_joystick
--- 24,30 ----
endif
if include_kcontrol_randr
! #RANDR_SUBDIR=randr
endif
if include_kcontrol_joystick

@ -2,7 +2,7 @@
%if "%{?version}" == "" %if "%{?version}" == ""
%define version 3.5.12 %define version 3.5.12
%endif %endif
%define release 1 %define release 2
# 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 "%{?_prefix}" != "/usr" %if "%{?_prefix}" != "/usr"
@ -29,7 +29,9 @@ Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr> Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/ URL: http://www.trinitydesktop.org/
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: kdeedu-%{version}.tar.gz Source0: kdeedu-%{version}.tar.gz
Provides: kdeedu3 = %{version}-%{release} Provides: kdeedu3 = %{version}-%{release}
@ -43,7 +45,11 @@ BuildRequires: desktop-file-utils
BuildRequires: trinity-kdelibs-devel BuildRequires: trinity-kdelibs-devel
BuildRequires: python-devel python BuildRequires: python-devel python
BuildRequires: boost-devel BuildRequires: boost-devel
%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15
BuildRequires: ocaml(compiler) BuildRequires: ocaml(compiler)
%else
BuildRequires: ocaml
%endif
#BuildRequires: ocaml-facile-devel #BuildRequires: ocaml-facile-devel
@ -116,7 +122,11 @@ export CXXFLAGS="${CXXFLAGS} -fpermissive"
--enable-new-ldflags \ --enable-new-ldflags \
--disable-dependency-tracking \ --disable-dependency-tracking \
--disable-rpath \ --disable-rpath \
%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15
--enable-kig-python-scripting \ --enable-kig-python-scripting \
%else
--disable-kig-python-scripting \
%endif
--disable-debug \ --disable-debug \
--disable-warnings \ --disable-warnings \
--enable-final \ --enable-final \
@ -126,14 +136,14 @@ export CXXFLAGS="${CXXFLAGS} -fpermissive"
--with-extra-includes=%{_includedir}/tqt --with-extra-includes=%{_includedir}/tqt
%__make %{?_smp_mflags} \ %__make \
OCAMLLIB=$(ocamlc -where) FACILELIB=$(ocamlc -where) OCAMLLIB=$(ocamlc -where) FACILELIB=$(ocamlc -where)
%install %install
export PATH="%{_bindir}:${PATH}" export PATH="%{_bindir}:${PATH}"
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%make_install %__make install DESTDIR=%{buildroot}
# locale's # locale's
%find_lang %{name} || touch %{name}.lang %find_lang %{name} || touch %{name}.lang
@ -214,6 +224,9 @@ update-desktop-database >& /dev/null ||:
%changelog %changelog
* Mon Sep 19 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-2
- Add support for RHEL5
* Sun Sep 11 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-1 * Sun Sep 11 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-1
- Initial build for RHEL 6 - Initial build for RHEL 6
- Spec file based on Fedora 8 "kdeedu-3.5.10-1" - Spec file based on Fedora 8 "kdeedu-3.5.10-1"

@ -2,7 +2,7 @@
%if "%{?version}" == "" %if "%{?version}" == ""
%define version 3.5.12 %define version 3.5.12
%endif %endif
%define release 1 %define release 2
# 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 "%{?_prefix}" != "/usr" %if "%{?_prefix}" != "/usr"
@ -29,7 +29,9 @@ Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr> Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/ URL: http://www.trinitydesktop.org/
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source: kdegames-%{version}.tar.gz Source: kdegames-%{version}.tar.gz
Provides: kdegames3 = %{version}-%{release} Provides: kdegames3 = %{version}-%{release}
@ -102,7 +104,7 @@ export CXXFLAGS="${CXXFLAGS} -lkio"
%install %install
export PATH="%{_bindir}:${PATH}" export PATH="%{_bindir}:${PATH}"
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%make_install %__make install DESTDIR=%{buildroot}
# locale's # locale's
%find_lang %{name} || touch %{name}.lang %find_lang %{name} || touch %{name}.lang
@ -183,6 +185,9 @@ update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
%changelog %changelog
* Mon Sep 19 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-2
- Add support for RHEL5
* Sun Sep 11 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-1 * Sun Sep 11 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-1
- Initial build for RHEL 6 - Initial build for RHEL 6
- Spec file based on Fedora 8 "kdegames-3.5.10-1" - Spec file based on Fedora 8 "kdegames-3.5.10-1"

@ -2,7 +2,7 @@
%if "%{?version}" == "" %if "%{?version}" == ""
%define version 3.5.12 %define version 3.5.12
%endif %endif
%define release 2 %define release 3
# 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 "%{?_prefix}" != "/usr" %if "%{?_prefix}" != "/usr"
@ -24,12 +24,14 @@ License: GPL
Summary: K Desktop Environment - Graphics Applications Summary: K Desktop Environment - Graphics Applications
Group: Applications/Multimedia Group: Applications/Multimedia
Prefix: %{_prefix}
Vendor: Trinity Project Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr> Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/ URL: http://www.trinitydesktop.org/
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: kdegraphics-%{version}.tar.gz Source0: kdegraphics-%{version}.tar.gz
# Official TDE patches (from SVN) # Official TDE patches (from SVN)
@ -54,6 +56,7 @@ BuildRequires: gphoto2-devel
BuildRequires: sane-backends-devel BuildRequires: sane-backends-devel
BuildRequires: libusb-devel BuildRequires: libusb-devel
# kgamma # kgamma
BuildRequires: libXxf86vm-devel BuildRequires: libXxf86vm-devel
# kuickshow # kuickshow
@ -62,7 +65,11 @@ BuildRequires: imlib-devel
BuildRequires: OpenEXR-devel BuildRequires: OpenEXR-devel
# kpdf # kpdf
BuildRequires: freetype-devel BuildRequires: freetype-devel
%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15
BuildRequires: poppler-qt-devel BuildRequires: poppler-qt-devel
%else
BuildRequires: poppler-devel
%endif
BuildRequires: libpaper-devel BuildRequires: libpaper-devel
# ksvg # ksvg
BuildRequires: fontconfig-devel BuildRequires: fontconfig-devel
@ -171,7 +178,7 @@ sed -i kpdf/Makefile \
export PATH="%{_bindir}:${PATH}" export PATH="%{_bindir}:${PATH}"
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
make install DESTDIR=%{buildroot} %__make install DESTDIR=%{buildroot}
# locale's # locale's
%find_lang %{name} || touch %{name}.lang %find_lang %{name} || touch %{name}.lang
@ -344,6 +351,9 @@ update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
%exclude %{_libdir}/libdjvu.so %exclude %{_libdir}/libdjvu.so
%changelog %changelog
* Mon Sep 19 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-3
- Add support for RHEL5
* Sun Sep 11 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-2 * Sun Sep 11 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-2
- Import to GIT - Import to GIT

@ -2,7 +2,7 @@
%if "%{?version}" == "" %if "%{?version}" == ""
%define version 3.5.12 %define version 3.5.12
%endif %endif
%define release 1 %define release 2
# 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 "%{?_prefix}" != "/usr" %if "%{?_prefix}" != "/usr"
@ -38,15 +38,17 @@ Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr> Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/ URL: http://www.trinitydesktop.org/
Source0: kdemultimedia-%{version}.tar.gz Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Provides: kdemultimedia3 = %{version}-%{release} Source0: kdemultimedia-%{version}.tar.gz
# RedHat Legacy patches (from Fedora 8) # RedHat Legacy patches (from Fedora 8)
Patch3: kdemultimedia-3.4.0-xdg.patch Patch3: kdemultimedia-3.4.0-xdg.patch
Patch5: kdemultimedia-3.5.7-pthread.patch Patch5: kdemultimedia-3.5.7-pthread.patch
Provides: kdemultimedia3 = %{version}-%{release}
Requires: %{name}-libs = %{version}-%{release} Requires: %{name}-libs = %{version}-%{release}
BuildRequires: zlib-devel BuildRequires: zlib-devel
@ -64,6 +66,8 @@ BuildRequires: automake libtool
%{?_with_musicbrainz:BuildRequires: libmusicbrainz-devel libtunepimp-devel} %{?_with_musicbrainz:BuildRequires: libmusicbrainz-devel libtunepimp-devel}
%{?_with_taglib:BuildRequires: taglib-devel} %{?_with_taglib:BuildRequires: taglib-devel}
%{?_with_xine:BuildRequires: xine-lib-devel} %{?_with_xine:BuildRequires: xine-lib-devel}
BuildRequires: libXxf86dga-devel
BuildRequires: libXxf86vm-devel
%description %description
The K Desktop Environment (KDE) is a GUI desktop for the X Window The K Desktop Environment (KDE) is a GUI desktop for the X Window
@ -93,14 +97,7 @@ noatun plugins.
%package extras %package extras
Summary: Extra applications from %{name} Summary: Extra applications from %{name}
Group: Applications/Multimedia Group: Applications/Multimedia
%if 0%{?libs}
Requires: %{name}-extras-libs = %{version}-%{release} Requires: %{name}-extras-libs = %{version}-%{release}
%else
Obsoletes: %{name}-extras-libs < %{version}-%{release}
Provides: %{name}-extras-libs = %{version}-%{release}
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
%endif
%description extras %description extras
%{summary}, including: %{summary}, including:
* juk, a media player * juk, a media player
@ -169,10 +166,10 @@ export CXXFLAGS="${CXXFLAGS} -lDCOP"
%install %install
export PATH="%{_bindir}:${PATH}" export PATH="%{_bindir}:${PATH}"
%__rm -rf %{buildroot} %__rm -rf %{?buildroot}
%make_install %__make install DESTDIR=%{?buildroot}
%make_install -C kaudiocreator %__make install DESTDIR=%{?buildroot} -C kaudiocreator
## Remove/uninstall (conflicting) bits we don't want ## Remove/uninstall (conflicting) bits we don't want
rm -f $RPM_BUILD_ROOT%{_libdir}/mcop/akode*MPEGPlayObject.mcopclass rm -f $RPM_BUILD_ROOT%{_libdir}/mcop/akode*MPEGPlayObject.mcopclass
@ -220,7 +217,6 @@ done
%post %post
%{?libs:/sbin/ldconfig}
for f in crystalsvg hicolor locolor ; do for f in crystalsvg hicolor locolor ; do
touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: touch --no-create %{_datadir}/icons/$f 2> /dev/null ||:
gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||:
@ -228,7 +224,6 @@ done
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
%postun %postun
%{?libs:/sbin/ldconfig}
for f in crystalsvg hicolor locolor ; do for f in crystalsvg hicolor locolor ; do
touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: touch --no-create %{_datadir}/icons/$f 2> /dev/null ||:
gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||:
@ -384,6 +379,9 @@ update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
%changelog %changelog
* Mon Sep 19 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-2
- Add support for RHEL5
* Sat Sep 09 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-1 * Sat Sep 09 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-1
- Initial build for RHEL 6 - Initial build for RHEL 6
- Spec file based on Fedora 8 "kdemultimedia-6:3.5.10-2" - Spec file based on Fedora 8 "kdemultimedia-6:3.5.10-2"

@ -2,7 +2,7 @@
%if "%{?version}" == "" %if "%{?version}" == ""
%define version 3.5.12 %define version 3.5.12
%endif %endif
%define release 4 %define release 5
# 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 "%{?_prefix}" != "/usr" %if "%{?_prefix}" != "/usr"
@ -43,7 +43,9 @@ URL: http://www.trinitydesktop.org/
License: GPLv2 License: GPLv2
Group: Applications/Internet Group: Applications/Internet
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Provides: kdenetwork3 = %{version}-%{release} Provides: kdenetwork3 = %{version}-%{release}
@ -110,7 +112,9 @@ Requires(post): chkconfig
#Requires(hint): samba-client #Requires(hint): samba-client
BuildRequires: avahi-qt3-devel BuildRequires: avahi-qt3-devel
%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15
BuildRequires: libv4l-devel BuildRequires: libv4l-devel
%endif
%if 0%{?console_helper} %if 0%{?console_helper}
Requires: usermode-gtk Requires: usermode-gtk
@ -211,9 +215,9 @@ export LDFLAGS="-L%{_libdir} -I%{_includedir}"
export PATH="%{_bindir}:${PATH}" export PATH="%{_bindir}:${PATH}"
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%make_install %__make install DESTDIR=%{buildroot}
# RHEL6: kppp seems to be not installed by previous command ??? # RHEL6: kppp seems to be not installed by previous command ???
%make_install -C kppp %__make install DESTDIR=%{buildroot} -C kppp
## File lists ## File lists
@ -477,6 +481,9 @@ done
%changelog %changelog
* Mon Sep 19 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-5
- Add support for RHEL5
* Sun Sep 11 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-4 * Sun Sep 11 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-4
- Import to GIT - Import to GIT

@ -1,7 +1,7 @@
# Default version for this component # Default version for this component
%if "%{?version}" == "" %if "%{?version}" == ""
%define version 3.5.12 %define version 3.5.12
%define release 5 %define release 6
%endif %endif
# 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".
@ -29,6 +29,7 @@ Summary: PIM (Personal Information Manager) applications
Prefix: %{_prefix} Prefix: %{_prefix}
Source0: kdepim-%{version}.tar.gz Source0: kdepim-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# TDE official patches from SVN, unmodified # TDE official patches from SVN, unmodified
# Attempt to fix a kdepim FTBFS based on a missing stdc header #include # Attempt to fix a kdepim FTBFS based on a missing stdc header #include
@ -56,6 +57,7 @@ PIM (Personal Information Manager) applications.
%package devel %package devel
Requires: %{name} Requires: %{name}
Summary: %{name} - Development files Summary: %{name} - Development files
Group: Development/Libraries
%description devel %description devel
Development files for %{name}. Development files for %{name}.
@ -86,7 +88,7 @@ export LDFLAGS="-L%{_libdir} -I%{_includedir}"
%install %install
export PATH="%{_bindir}:${PATH}" export PATH="%{_bindir}:${PATH}"
%__rm -rf %{?buildroot} %__rm -rf %{?buildroot}
%make_install %__make install DESTDIR=%{?buildroot}
%clean %clean
%__rm -rf %{?buildroot} %__rm -rf %{?buildroot}
@ -125,6 +127,9 @@ export PATH="%{_bindir}:${PATH}"
%exclude %{_libdir}/libkmailprivate.so %exclude %{_libdir}/libkmailprivate.so
%changelog %changelog
* Sun Sep 18 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-6
- Add RHEL5 support
* Mon Sep 05 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-5 * Mon Sep 05 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-5
- Import to GIT - Import to GIT

@ -2,7 +2,7 @@
%if "%{?version}" == "" %if "%{?version}" == ""
%define version 3.5.12 %define version 3.5.12
%endif %endif
%define release 2 %define release 3
# 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 "%{?_prefix}" != "/usr" %if "%{?_prefix}" != "/usr"
@ -33,7 +33,10 @@ Group: User Interface/Desktops
URL: http://www.trinitydesktop.org/ URL: http://www.trinitydesktop.org/
Vendor: Trinity Project Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr> Packager: Francois Andriot <francois.andriot@free.fr>
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source: kdesdk-%{version}.tar.gz Source: kdesdk-%{version}.tar.gz
# RedHat Legacy patches # RedHat Legacy patches
@ -139,7 +142,7 @@ export LDFLAGS="-L%{_libdir} -I%{_includedir}"
export PATH="%{_bindir}:${PATH}" export PATH="%{_bindir}:${PATH}"
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%make_install %__make install DESTDIR=%{?buildroot}
desktop-file-install --vendor "" \ desktop-file-install --vendor "" \
--dir %{buildroot}%{_datadir}/applications/kde \ --dir %{buildroot}%{_datadir}/applications/kde \
@ -226,6 +229,9 @@ update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
%changelog %changelog
* Mon Sep 19 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-3
- Add support for RHEL5
* Mon Sep 05 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-2 * Mon Sep 05 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-2
- Import to GIT - Import to GIT

@ -2,7 +2,7 @@
%if "%{?version}" == "" %if "%{?version}" == ""
%define version 3.5.12 %define version 3.5.12
%endif %endif
%define release 3 %define release 4
# 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 "%{?_prefix}" != "/usr" %if "%{?_prefix}" != "/usr"
@ -25,20 +25,19 @@ Release: %{?release}%{?dist}%{?_variant}
License: GPLv2+ License: GPLv2+
Source0: kdetoys-%{version}.tar.gz Source0: kdetoys-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Vendor: Trinity Project Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr> Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/ URL: http://www.trinitydesktop.org/
Prefix: %{_prefix} Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: tqtinterface-devel >= %{version} BuildRequires: tqtinterface-devel >= %{version}
BuildRequires: trinity-kdelibs-devel >= %{version} BuildRequires: trinity-kdelibs-devel >= %{version}
BuildRequires: gettext BuildRequires: gettext
#Requires(hint): kdebase3 >= %{version}
%description %description
Includes: Includes:
@ -84,7 +83,7 @@ export LDFLAGS="-L%{_libdir} -I%{_includedir}"
%install %install
export PATH="%{_bindir}:${PATH}" export PATH="%{_bindir}:${PATH}"
%__rm -rf "%{buildroot}" %__rm -rf "%{buildroot}"
%make_install %__make install DESTDIR=%{buildroot}
desktop-file-install \ desktop-file-install \
--dir=%{buildroot}%{_datadir}/applnk/System/ScreenSavers \ --dir=%{buildroot}%{_datadir}/applnk/System/ScreenSavers \
@ -151,6 +150,9 @@ gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
%changelog %changelog
* Mon Sep 19 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-4
- Add support for RHEL5
* Sun Sep 11 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-3 * Sun Sep 11 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-3
- Import to GIT - Import to GIT

@ -2,7 +2,7 @@
%if "%{?version}" == "" %if "%{?version}" == ""
%define version 3.5.12 %define version 3.5.12
%endif %endif
%define release 6 %define release 7
# 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 "%{?_prefix}" != "/usr" %if "%{?_prefix}" != "/usr"
@ -29,6 +29,7 @@ Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/ URL: http://www.trinitydesktop.org/
Prefix: %{_prefix} Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: kdeutils-%{version}.tar.gz Source0: kdeutils-%{version}.tar.gz
Source1: klaptop_acpi_helper.pam Source1: klaptop_acpi_helper.pam
@ -134,7 +135,7 @@ export LDFLAGS="-L%{_libdir} -I%{_includedir}"
%install %install
export PATH="%{_bindir}:${PATH}" export PATH="%{_bindir}:${PATH}"
%__rm -rf %{?buildroot} %__rm -rf %{?buildroot}
%make_install %__make install DESTDIR=%{?buildroot}
# Show only in KDE (really? -- Rex) # Show only in KDE (really? -- Rex)
for i in kcalc kregexpeditor Kjots ktimer kdf kcmdf ksim KFloppy KEdit \ for i in kcalc kregexpeditor Kjots ktimer kdf kcmdf ksim KFloppy KEdit \
@ -316,7 +317,7 @@ done
%{_datadir}/services/* %{_datadir}/services/*
%{_datadir}/servicetypes/* %{_datadir}/servicetypes/*
%{_datadir}/applications/kde/* %{_datadir}/applications/kde/*
%if 0%{?rhel} >= 6 %if 0%{?rhel} >= 5
%{_datadir}/applnk/Utilities/* %{_datadir}/applnk/Utilities/*
%{_datadir}/mimelnk/application/* %{_datadir}/mimelnk/application/*
%endif %endif
@ -333,6 +334,9 @@ done
%changelog %changelog
* Sun Sep 18 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-7
- Add RHEL5 support
* Mon Sep 12 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-6 * Mon Sep 12 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-6
- Merge Spec file from Fedora8 "kdeutils-3.5.10-6" - Merge Spec file from Fedora8 "kdeutils-3.5.10-6"

@ -2,7 +2,7 @@
%if "%{?version}" == "" %if "%{?version}" == ""
%define version 3.5.12 %define version 3.5.12
%endif %endif
%define release 1 %define release 2
# 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 "%{?_prefix}" != "/usr" %if "%{?_prefix}" != "/usr"
@ -33,7 +33,8 @@ Vendor: Trinity Project
Packager: Francois Andriot <francois.andriot@free.fr> Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/ URL: http://www.trinitydesktop.org/
Prefix: %{_prefix} Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source: kdevelop-%{version}.tar.gz Source: kdevelop-%{version}.tar.gz
Source1: ftp://129.187.206.68/pub/unix/ide/KDevelop/c_cpp_reference-2.0.2_for_KDE_3.0.tar.bz2 Source1: ftp://129.187.206.68/pub/unix/ide/KDevelop/c_cpp_reference-2.0.2_for_KDE_3.0.tar.bz2
@ -65,7 +66,7 @@ BuildRequires: trinity-kdelibs-devel
BuildRequires: trinity-kdelibs-apidocs BuildRequires: trinity-kdelibs-apidocs
BuildRequires: qt3-devel-docs BuildRequires: qt3-devel-docs
BuildRequires: db4-devel BuildRequires: db4-devel
BuildRequires: flex flex-static BuildRequires: flex
BuildRequires: pcre-devel BuildRequires: pcre-devel
BuildRequires: libacl-devel libattr-devel libidn-devel libart_lgpl-devel BuildRequires: libacl-devel libattr-devel libidn-devel libart_lgpl-devel
BuildRequires: gcc-c++ BuildRequires: gcc-c++
@ -76,6 +77,9 @@ BuildRequires: subversion-devel neon-devel
# looks like this is dragged in by apr-devel (dep of subversion-devel), but not # looks like this is dragged in by apr-devel (dep of subversion-devel), but not
# a dependency # a dependency
BuildRequires: openldap-devel BuildRequires: openldap-devel
%if 0%{?fedora} >= 15
BuildRequires: flex-static
%endif
%description %description
The KDevelop Integrated Development Environment provides many features The KDevelop Integrated Development Environment provides many features
@ -181,8 +185,8 @@ popd
%install %install
%__rm -rf %{buildroot} %__rm -rf %{buildroot}
%make_install %__make install DESTDIR=%{buildroot}
%make_install -C c_cpp_reference-2.0.2_for_KDE_3.0 %__make install DESTDIR=%{buildroot} -C c_cpp_reference-2.0.2_for_KDE_3.0
# remove useless files # remove useless files
%__rm -rf %{buildroot}%{_prefix}/kdevbdb %__rm -rf %{buildroot}%{_prefix}/kdevbdb
@ -240,6 +244,9 @@ update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
%changelog %changelog
* Mon Sep 19 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-2
- Add support for RHEL5
* Sun Sep 11 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-1 * Sun Sep 11 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-1
- Initial build for RHEL 6 - Initial build for RHEL 6
- Spec file based on Fedora 8 "kdeedu-3.5.3-1" - Spec file based on Fedora 8 "kdeedu-3.5.3-1"

@ -2,7 +2,7 @@
%if "%{?version}" == "" %if "%{?version}" == ""
%define version 3.5.12 %define version 3.5.12
%endif %endif
%define release 1 %define release 2
# 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 "%{?_prefix}" != "/usr" %if "%{?_prefix}" != "/usr"
@ -28,6 +28,7 @@ Packager: Francois Andriot <francois.andriot@free.fr>
URL: http://www.trinitydesktop.org/ URL: http://www.trinitydesktop.org/
Prefix: %{_prefix} Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: kdewebdev-%{version}.tar.gz Source0: kdewebdev-%{version}.tar.gz
Source1: http://download.sourceforge.net/quanta/css.tar.bz2 Source1: http://download.sourceforge.net/quanta/css.tar.bz2
@ -127,7 +128,7 @@ export CXXFLAGS="${CXXFLAGS} -fpermissive"
%install %install
export PATH="%{_bindir}:${PATH}" export PATH="%{_bindir}:${PATH}"
%__rm -rf %{?buildroot} %__rm -rf %{?buildroot}
%make_install %__make install DESTDIR=%{?buildroot}
## package separately? Why doesn't upstream include this? -- Rex ## package separately? Why doesn't upstream include this? -- Rex
@ -216,6 +217,9 @@ update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
%changelog %changelog
* Mon Sep 19 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-2
- Add support for RHEL5
* Thu Sep 15 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-1 * Thu Sep 15 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-1
- Initial build for RHEL 6 / Fedora 15 - Initial build for RHEL 6 / Fedora 15
- Use Spec file from Fedora8 "kdewebdev-3.5.10-1" - Use Spec file from Fedora8 "kdewebdev-3.5.10-1"

Loading…
Cancel
Save