diff options
-rwxr-xr-x | redhat/dependencies/arts/trinity-arts-3.5.12.spec | 19 | ||||
-rwxr-xr-x | redhat/dependencies/arts/trinity-arts-3.5.13.spec | 13 | ||||
-rw-r--r-- | redhat/dependencies/dbus-tqt/dbus-tqt-3.5.13.spec | 16 | ||||
-rwxr-xr-x | redhat/dependencies/tqtinterface/tqtinterface-3.5.12.spec | 31 | ||||
-rwxr-xr-x | redhat/dependencies/tqtinterface/tqtinterface-3.5.13.spec | 26 | ||||
-rwxr-xr-x | redhat/kdebase/trinity-kdebase-3.5.13.spec | 1 | ||||
-rw-r--r-- | redhat/kdebindings/kdebindings-3.5.6-libgcj.patch | 48 | ||||
-rw-r--r-- | redhat/kdebindings/trinity-kdebindings-3.5.12.spec | 287 | ||||
-rw-r--r-- | redhat/kdebindings/trinity-kdebindings-3.5.13.spec | 285 | ||||
-rwxr-xr-x | redhat/kdelibs/trinity-kdelibs-3.5.13.spec | 1 | ||||
-rw-r--r-- | redhat/kdepim/trinity-kdepim-3.5.12.spec | 146 | ||||
-rw-r--r-- | redhat/kdepim/trinity-kdepim-3.5.13.spec | 137 | ||||
-rw-r--r-- | redhat/kdesdk/kdesdk-3.5.7-subversion.patch | 21 | ||||
-rw-r--r-- | redhat/kdesdk/trinity-kdesdk-3.5.12.spec | 237 | ||||
-rw-r--r-- | redhat/kdesdk/trinity-kdesdk-3.5.13.spec | 232 |
15 files changed, 1447 insertions, 53 deletions
diff --git a/redhat/dependencies/arts/trinity-arts-3.5.12.spec b/redhat/dependencies/arts/trinity-arts-3.5.12.spec index 734ce3074..16ccd741e 100755 --- a/redhat/dependencies/arts/trinity-arts-3.5.12.spec +++ b/redhat/dependencies/arts/trinity-arts-3.5.12.spec @@ -1,29 +1,35 @@ +# Default version for this component +%if "%{?version}" == "" +%define version 3.5.12 +%endif +%define release 4 + # If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". %if "%{?_prefix}" != "/usr" %define _variant .opt %endif +# TDE 3.5.12 specific building variables +BuildRequires: autoconf automake libtool m4 + Name: trinity-arts -Version: 3.5.12 -Release: 4%{?dist}%{?_variant} +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} License: GPL Summary: aRts (analog realtime synthesizer) - the KDE sound system Vendor: Trinity Project Packager: Francois Andriot <francois.andriot@free.fr> -Source0: http://mirror3.tokra.lv/releases/3.5.12/dependencies/arts-3.5.12.tar.gz +Source0: arts-%{version}.tar.gz Prefix: %{_prefix} -BuildRequires: autoconf automake libtool m4 -BuildRequires: qt3-devel >= 3.3.8b BuildRequires: tqtinterface-devel BuildRequires: audiofile-devel BuildRequires: alsa-lib-devel BuildRequires: glib2-devel BuildRequires: libtool-ltdl-devel -Requires: qt3 >= 3.3.8b Requires: tqtinterface Requires: audiofile @@ -64,6 +70,7 @@ Development files for %{name} %build export PATH="%{_bindir}:${PATH}" export LDFLAGS="-L%{_libdir} -I%{_includedir}" + %configure \ --disable-rpath \ --disable-debug --disable-warnings \ diff --git a/redhat/dependencies/arts/trinity-arts-3.5.13.spec b/redhat/dependencies/arts/trinity-arts-3.5.13.spec index 23d08c4d9..2a2cd2fba 100755 --- a/redhat/dependencies/arts/trinity-arts-3.5.13.spec +++ b/redhat/dependencies/arts/trinity-arts-3.5.13.spec @@ -2,17 +2,20 @@ %if "%{?version}" == "" %define version 1.5.10 %endif +%define release 0 # If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". %if "%{?_prefix}" != "/usr" %define _variant .opt -%define _libdir %{_prefix}/lib %endif +# TDE 3.5.13 specific building variables +BuildRequires: cmake >= 2.8 + Name: trinity-arts -Version: %{version} -Release: 0%{?dist}%{?_variant} +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} License: GPL Summary: aRts (analog realtime synthesizer) - the KDE sound system Vendor: Trinity Project @@ -21,16 +24,12 @@ Packager: Francois Andriot <francois.andriot@free.fr> Source0: arts-%{version}.tar.gz Prefix: %{_prefix} -BuildRequires: cmake >= 2.8 -BuildRequires: tde-cmake-macros -BuildRequires: qt3-devel >= 3.3.8d BuildRequires: tqtinterface-devel BuildRequires: audiofile-devel BuildRequires: alsa-lib-devel BuildRequires: glib2-devel BuildRequires: libtool-ltdl-devel -Requires: qt3 >= 3.3.8d Requires: tqtinterface Requires: audiofile diff --git a/redhat/dependencies/dbus-tqt/dbus-tqt-3.5.13.spec b/redhat/dependencies/dbus-tqt/dbus-tqt-3.5.13.spec index 94d9644cc..f1762a9d7 100644 --- a/redhat/dependencies/dbus-tqt/dbus-tqt-3.5.13.spec +++ b/redhat/dependencies/dbus-tqt/dbus-tqt-3.5.13.spec @@ -2,16 +2,22 @@ %if "%{?version}" == "" %define version 3.5.13 %endif +%define release 0 # If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". %if "%{?_prefix}" != "/usr" %define _variant .opt -%define _libdir %{_prefix}/lib %endif +# TDE 3.5.13 specific building variables +BuildRequires: cmake >= 2.8 +BuildRequires: qt3-devel >= 3.3.8d +Requires: qt3 >= 3.3.8d + + Name: dbus-tqt Version: %{?version} -Release: 0%{?dist}%{?_variant} +Release: %{?release}%{?dist}%{?_variant} License: GPL Summary: Dbus TQT Interface Vendor: Trinity Project @@ -20,17 +26,14 @@ Packager: Francois Andriot <francois.andriot@free.fr> Prefix: %{_prefix} Source0: %{name}-%{version}.tar.gz -BuildRequires: qt3-devel >= 3.3.8d BuildRequires: gcc-c++ BuildRequires: dbus-qt-devel BuildRequires: tqtinterface-devel -BuildRequires: cmake >= 2.8 - -Requires: qt3 >= 3.3.8d %description Dbus TQT Interface + %package devel Requires: %{name} Summary: %{name} - Development files @@ -38,6 +41,7 @@ Summary: %{name} - Development files %description devel Development files for %{name} + %prep %setup -q -n dependencies/%{name} diff --git a/redhat/dependencies/tqtinterface/tqtinterface-3.5.12.spec b/redhat/dependencies/tqtinterface/tqtinterface-3.5.12.spec index 5fd726021..10c5fd0d6 100755 --- a/redhat/dependencies/tqtinterface/tqtinterface-3.5.12.spec +++ b/redhat/dependencies/tqtinterface/tqtinterface-3.5.12.spec @@ -1,3 +1,9 @@ +# Default version for this component +%if "%{?version}" == "" +%define version 3.5.12 +%endif +%define release 7 + # If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". %if "%{?_prefix}" != "/usr" %define _variant .opt @@ -7,36 +13,28 @@ # Later compiled Trinity products should be aware of that ! %define _includedir %{_prefix}/include/tqt -# Currently we build with (RHEL 6): -# automake-1.11.1-1.2.el6.noarch -# autoconf-2.63-5.1.el6.noarch -# libtool-2.2.6-15.5.el6.x86_64 -# m4-1.4.13-5.el6.x86_64 +# TDE 3.5.12 specific building variables +BuildRequires: autoconf automake libtool m4 +BuildRequires: qt3-devel >= 3.3.8b +Requires: qt3 >= 3.3.8b -# Currently we build with (Fedora 15): -# automake-1.11.1-5.fc14.noarch -# autoconf-2.63-5.1.f15.noarch (backport from EL6) -# libtool-2.2.6-15.5.f15.x86_64 (backport from EL6) -# m4-1.4.13-5.f15.x86_64 (backport from EL6) Name: tqtinterface -Version: 3.5.12 -Release: 7%{?dist}%{?_variant} +Version: %{version} +Release: %{release}%{?dist}%{?_variant} License: GPL Summary: Trinity QT Interface Vendor: Trinity Project Packager: Francois Andriot <francois.andriot@free.fr> Prefix: %{_prefix} -Source0: http://mirror3.tokra.lv/releases/3.5.12/dependencies/tqtinterface-3.5.12.tar.gz +Source0: %{name}-%{version}.tar.gz + -BuildRequires: autoconf automake libtool m4 -BuildRequires: qt3-devel >= 3.3.8b BuildRequires: gcc-c++ BuildRequires: libXi-devel BuildRequires: pth-devel -Requires: qt3 >= 3.3.8b %description Trinity QT Interface @@ -83,6 +81,7 @@ CFLAGS=$( pkg-config --libs qt-mt ) %{_libdir}/*.so %{_libdir}/*.la + %changelog * Sun Sep 04 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-7 - Import to GIT diff --git a/redhat/dependencies/tqtinterface/tqtinterface-3.5.13.spec b/redhat/dependencies/tqtinterface/tqtinterface-3.5.13.spec index a2c17a166..3a35c6866 100755 --- a/redhat/dependencies/tqtinterface/tqtinterface-3.5.13.spec +++ b/redhat/dependencies/tqtinterface/tqtinterface-3.5.13.spec @@ -2,20 +2,26 @@ %if "%{?version}" == "" %define version 3.5.13 %endif +%define release 0 # If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". %if "%{?_prefix}" != "/usr" %define _variant .opt -%define _libdir %{_prefix}/lib %endif # TQT include files may conflict with QT4 includes, so we move them to a subdirectory. # Later compiled Trinity products should be aware of that ! %define _includedir %{_prefix}/include/tqt +# TDE 3.5.13 specific building variables +BuildRequires: cmake >= 2.8 +BuildRequires: qt3-devel >= 3.3.8d +Requires: qt3 >= 3.3.8d + + Name: tqtinterface Version: %{version} -Release: 0%{?dist}%{?_variant} +Release: %{release}%{?dist}%{?_variant} License: GPL Summary: Trinity QT Interface Vendor: Trinity Project @@ -24,13 +30,11 @@ Packager: Francois Andriot <francois.andriot@free.fr> Prefix: %{_prefix} Source0: %{name}-%{version}.tar.gz -BuildRequires: cmake >= 2.8 -BuildRequires: qt3-devel >= 3.3.8d + BuildRequires: gcc-c++ BuildRequires: libXi-devel BuildRequires: pth-devel -Requires: qt3 >= 3.3.8d %description Trinity QT Interface @@ -42,14 +46,6 @@ Summary: %{name} - Development files %description devel Development files for %{name} -%package -n tde-cmake-macros -Requires: %{name}-devel -Summary: Cmake macros for building TDE - -%description -n tde-cmake-macros -%{summary} - - %prep %setup -q -n dependencies/%{name} @@ -98,12 +94,10 @@ done %{_libdir}/*.so %{_libdir}/*.la %{_libdir}/pkgconfig/*.pc - -%files -n tde-cmake-macros %{_usr}/share/cmake/Modules/*.cmake %changelog -* Sun Aug 28 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13pre.svn20110828-0.el6 +* Sun Aug 28 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-0 - Import to GIT - Built with future TDE version (3.5.13 + cmake + QT3.3.8d) diff --git a/redhat/kdebase/trinity-kdebase-3.5.13.spec b/redhat/kdebase/trinity-kdebase-3.5.13.spec index a6c18371d..e665696e7 100755 --- a/redhat/kdebase/trinity-kdebase-3.5.13.spec +++ b/redhat/kdebase/trinity-kdebase-3.5.13.spec @@ -6,7 +6,6 @@ # If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". %if "%{?_prefix}" != "/usr" %define _variant .opt -%define _libdir %{_prefix}/lib %define _docdir %{_prefix}/share/doc %endif diff --git a/redhat/kdebindings/kdebindings-3.5.6-libgcj.patch b/redhat/kdebindings/kdebindings-3.5.6-libgcj.patch new file mode 100644 index 000000000..4ec555a4a --- /dev/null +++ b/redhat/kdebindings/kdebindings-3.5.6-libgcj.patch @@ -0,0 +1,48 @@ +--- kdebindings-3.5.6/admin/acinclude.m4.in.libgcj 2007-01-15 17:16:52.000000000 -0600 ++++ kdebindings-3.5.6/admin/acinclude.m4.in 2007-03-19 12:08:45.000000000 -0500 +@@ -5261,7 +5261,18 @@ + dnl Look for libjvm.so + kde_java_libjvmdir=`find $kde_java_bindir/.. -name libjvm.so | sed 's,libjvm.so,,'|head -n 1` + dnl Look for libgcj.so +- kde_java_libgcjdir=`find $kde_java_bindir/.. -name libgcj.so | sed 's,libgcj.so,,'|head -n 1` ++ if test -z "$PKG_CONFIG"; then ++ AC_PATH_PROG(PKG_CONFIG, pkg-config, no) ++ fi ++ if (`$PKG_CONFIG --exists libgcj-4.1`) ; then ++ JVMLIBS=`$PKG_CONFIG --libs libgcj-4.1` ++ kde_java_libgcjdir=`$PKG_CONFIG --variable=libdir libgcj-4.1` ++ elif (`$PKG_CONFIG --exists libgcj`) ; then ++ JVMLIBS=`$PKG_CONFIG --libs libgcj` ++ kde_java_libgcjdir=`$PKG_CONFIG --variable=libdir libgcj` ++ else ++ kde_java_libgcjdir=`find $kde_java_bindir/.. -name libgcj.so | sed 's,libgcj.so,,'|head -n 1` ++ fi + dnl Look for libhpi.so and avoid green threads + kde_java_libhpidir=`find $kde_java_bindir/.. -name libhpi.so | grep -v green | sed 's,libhpi.so,,' | head -n 1` + +@@ -5302,10 +5313,6 @@ + if test ! -r "$kde_java_libjvmdir/libjvm.so"; then + AC_MSG_ERROR([libjvm.so not found under $kde_java_libjvmdir. Use --without-java.]) + fi +- else +- if test ! -r "$kde_java_libgcjdir/libgcj.so"; then +- AC_MSG_ERROR([libgcj.so not found under $kde_java_libgcjdir. Use --without-java.]) +- fi + fi + + if test ! -x "$kde_java_bindir/java"; then +@@ -5359,7 +5366,13 @@ + if test "x$kde_java_libgcjdir" = "x"; then + JVMLIBS="-L$kde_java_libjvmdir -ljvm -L$kde_java_libhpidir -lhpi" + else +- JVMLIBS="-L$kde_java_libgcjdir -lgcj" ++ if test "x$JVMLIBS" = "x"; then ++ if test ! -r "$kde_java_libgcjdir/libgcj.so"; then ++ AC_MSG_ERROR([libgcj.so not found under $kde_java_libgcjdir. Use --without-java.]) ++ else ++ JVMLIBS="-L$kde_java_libgcjdir -lgcj" ++ fi ++ fi + fi + AC_MSG_RESULT([java JDK in $kde_java_bindir]) + diff --git a/redhat/kdebindings/trinity-kdebindings-3.5.12.spec b/redhat/kdebindings/trinity-kdebindings-3.5.12.spec new file mode 100644 index 000000000..09bb8658f --- /dev/null +++ b/redhat/kdebindings/trinity-kdebindings-3.5.12.spec @@ -0,0 +1,287 @@ +# Default version for this component +%if "%{?version}" == "" +%define version 3.5.12 +%endif +%define release 3 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?_prefix}" != "/usr" +%define _variant .opt +%define _docdir %{_prefix}/share/doc +%endif + +# TDE 3.5.12 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir} +%define tde_libdir %{_libdir}/kde3 + + +Name: trinity-kdebindings +Summary: TDE bindings to non-C++ languages +Version: %{?version} +Release: %{?release}%{?dist}%{_variant} + +License: GPLv2 +URL: http://developer.kde.org/language-bindings/ +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +Group: User Interface/Desktops + +Source0: kdebindings-%{version}.tar.gz + +# RedHat Legacy patches (from Fedora) +Patch1: kdebindings-3.5.6-libgcj.patch + +# TDE official patches (unmodified) +# [kde-common] Add python2.7 to Python search paths +Patch2: http://www.trinitydesktop.org/patches/r1244127.diff + +BuildRequires: desktop-file-utils +BuildRequires: tqtinterface-devel +BuildRequires: trinity-kdelibs-devel +BuildRequires: zlib-devel +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: trinity-arts-devel +%define perl_ver %{expand:%%(eval `perl -V:version`; echo $version)} +%define perl_vendorarch %{expand:%%(eval `perl -V:installvendorarch`; echo $installvendorarch)} +%define perl_vendorlib %{expand:%%(eval `perl -V:installvendorlib`; echo $installvendorlib)} +%define perl_man3dir %{expand:%%(eval `perl -V:installman3dir`; echo $installman3dir)} + +Requires: trinity-kdelibs +Requires: trinity-kdebase +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig + +%define python_ver %{expand:%%(%{__python} -c "import sys ; print sys.version[:3]")} +%define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)") + +## dcoppython +BuildRequires: python-devel +Provides: %{name}-dcoppython = %{version}-%{release} + +## ruby +BuildRequires: ruby-devel >= 1.8, ruby +Provides: %{name}-ruby = %{version}-%{release} +%{!?ruby_sitelib: %define ruby_sitelib %(ruby -rrbconfig -e 'puts Config::CONFIG["sitelibdir"]')} +%{!?ruby_sitearch: %define ruby_sitearch %(ruby -rrbconfig -e 'puts Config::CONFIG["sitearchdir"]')} + +## java +#BuildRequires: java-1.4.2-gcj-compat-devel libgcj-devel gcc-java +BuildRequires: java-devel >= 1.4.2 +%define java_home %{_usr}/lib/jvm/java +%define _with_java --with-java=%{java_home} +Provides: %{name}-java = %{version}-%{release} + +%description +KDE/DCOP bindings to non-C++ languages + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: trinity-kdelibs-devel +%description devel +Development files for the KDE bindings. + +## dcopperl +%package dcopperl +Summary: DCOP Bindings for Perl +Group: Development/Libraries +%description dcopperl +Perl bindings to the DCOP interprocess communication protocol used by KDE + + +%prep +%setup -q -n kdebindings +%patch1 -p1 -b .libgcj +%patch2 -p1 + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__make -f admin/Makefile.common + + +%build +unset QTDIR || : ; source /etc/profile.d/qt.sh +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +unset JAVA_HOME ||: +%{?java_home:JAVA_HOME=%{java_home}; export JAVA_HOME} + +# sip/PyQt/PyKDE built separately, not here +export DO_NOT_COMPILE="$DO_NOT_COMPILE python" + +%configure \ + --includedir=%{_includedir}/kde \ + --disable-rpath \ + --enable-new-ldflags \ + --disable-debug --disable-warnings \ + --disable-dependency-tracking \ + --with-extra-libs=%{_libdir} \ + --with-pythondir=%{_usr} \ + --disable-final \ + %{?_with_java} %{!?_with_java:--without-java} \ + %{?_enable_qscintilla} %{!?_enable_qscintilla:--disable-qscintilla} \ + --with-extra-includes=%{_includedir}/tqt + + +pushd dcopperl +CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor + +# Ugly hack to add TQT include directory in Makefile +sed -i Makefile \ + -e "s,^\(INC = .*\),\1 -I%{_includedir}/tqt," + +%__make OPTIMIZE="$RPM_OPT_FLAGS" ||: +popd + +# smoke/ not smp-safe +%__make -C smoke + +# The rest is smp-safe +%__make %{?_smp_mflags} PYTHON=%{__python} + + +%install +%__rm -rf $RPM_BUILD_ROOT +export PATH="%{_bindir}:${PATH}" + +%make_install \ + PYTHON=%{__python} + +desktop-file-install \ + --vendor="" \ + --add-category="Qt" \ + --add-category="KDE" \ + --add-category="Utility" \ + --dir $RPM_BUILD_ROOT%{_datadir}/applications/kde \ + $RPM_BUILD_ROOT%{_datadir}/applnk/Utilities/*.desktop ||: + +## File lists +# perl +find $RPM_BUILD_ROOT -type f -a \( -name perllocal.pod -o -name .packlist \ + -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';' + +find $RPM_BUILD_ROOT%{perl_vendorarch} -type f -print | \ + sed "s@^$RPM_BUILD_ROOT@@g" >> %{name}-dcopperl.list +find $RPM_BUILD_ROOT%{perl_vendorlib} -type f -print | \ + sed "s@^$RPM_BUILD_ROOT@@g" >> %{name}-dcopperl.list +if [ "$(cat %{name}-dcopperl.list)X" = "X" ] ; then + echo "ERROR: EMPTY FILE LIST"; exit 1 +fi + +# locale's +%find_lang %{name} || touch %{name}.lang +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then +for lang_dir in $RPM_BUILD_ROOT$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common + done + popd + fi +done +fi + +# rpmdocs +for dir in dcopperl dcoppython kalyptus %{?_with_java:kdejava qtjava} kjsembed korundum qtruby qtsharp smoke; do + for file in AUTHORS ChangeLog README TODO ; do + test -s "$dir/$file" && install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file" + done +done + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +/sbin/ldconfig ||: +touch --no-create %{_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database >& /dev/null ||: + +%postun +/sbin/ldconfig ||: +touch --no-create %{_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database >& /dev/null ||: + + +%files -f %{name}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING README +%doc rpmdocs/* +%{_bindir}/* +%{tde_libdir}/* +%{_libdir}/lib*.la +%{_libdir}/lib*.so.* +%{_datadir}/appl*/*/*.desktop +%{_datadir}/apps/embedjs/ +%{_datadir}/apps/kate/scripts/* +%{_datadir}/apps/kjsembed/ +%{_datadir}/icons/hicolor/*/*/* +%{_datadir}/service*/*.desktop +%{_mandir}/man1/* +%{python_sitearch}/* +#%{_libdir}/python%{python_ver}/*.py* +%if "%{?_with_java:1}" == "1" +%{_libdir}/java +%{_libdir}/jni/*.so.* +%endif +#%{ruby_sitearch}/* +#%{ruby_sitelib}/K* +#%{ruby_sitelib}/Qt* +%{_usr}/lib/ruby/*/* +%if 0%{?fedora} >= 15 +%{_usr}/lib64/ruby/*/*/*.so.* +%else +%{_usr}/lib64/ruby/*/*.so.* +%endif + +# Excludes 'kjscmd' (conflicts with 'kdelibs' from RHEL6) +%if "%{?_prefix}" == "/usr" +%exclude %{_bindir}/kjscmd +%exclude %{_mandir}/man1/kjscmd* +%endif + + +%files dcopperl -f %{name}-dcopperl.list +%defattr(-,root,root,-) +%doc dcopperl/AUTHORS dcopperl/Changes dcopperl/README dcopperl/TODO +%{perl_man3dir}/DCOP.3pm.gz + +%files devel +%defattr(-,root,root,-) +%{_includedir}/kde/* +%{_libdir}/lib*.so +%if "%{?_with_java:1}" == "1" +%{_libdir}/jni/*.so +%{_libdir}/jni/*.la +%endif +%if 0%{?fedora} >= 15 +%{_usr}/lib64/ruby/*/*/*.so +%{_usr}/lib64/ruby/*/*/*.la +%else +%{_usr}/lib64/ruby/*/*.so +%{_usr}/lib64/ruby/*/*.la +%endif + +%changelog +* Sun Sep 04 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-3 +- Import to GIT + +* Tue Aug 23 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-2 +- Small fixes for F15 +- Add 'patch2' to handle Python 2.7 + +* Mon Aug 22 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-1 +- Correct macro to install under "/opt", if desired + +* Tue Jun 21 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-0 +- Initial version for RHEL 6 +- Specfile based on Fedora 8 'kdebindings 3.5.10-1' diff --git a/redhat/kdebindings/trinity-kdebindings-3.5.13.spec b/redhat/kdebindings/trinity-kdebindings-3.5.13.spec new file mode 100644 index 000000000..447db3d1e --- /dev/null +++ b/redhat/kdebindings/trinity-kdebindings-3.5.13.spec @@ -0,0 +1,285 @@ +# Default version for this component +%if "%{?version}" == "" +%define version 3.5.13 +%endif +%define release 0 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?_prefix}" != "/usr" +%define _variant .opt +%define _docdir %{_prefix}/share/doc +%endif + +# TDE 3.5.13 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir}/kde +%define tde_libdir %{_libdir}/trinity + + +Name: trinity-kdebindings +Summary: TDE bindings to non-C++ languages +Version: %{?version} +Release: %{?release}%{?dist}%{_variant} + +License: GPLv2 +URL: http://developer.kde.org/language-bindings/ +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +Group: User Interface/Desktops + +Source0: kdebindings-%{version}.tar.gz + +# RedHat Legacy patches (from Fedora) +Patch1: kdebindings-3.5.6-libgcj.patch + +BuildRequires: desktop-file-utils +BuildRequires: tqtinterface-devel +BuildRequires: trinity-kdelibs-devel +BuildRequires: zlib-devel +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: trinity-arts-devel +%define perl_ver %{expand:%%(eval `perl -V:version`; echo $version)} +%define perl_vendorarch %{expand:%%(eval `perl -V:installvendorarch`; echo $installvendorarch)} +%define perl_vendorlib %{expand:%%(eval `perl -V:installvendorlib`; echo $installvendorlib)} +%define perl_man3dir %{expand:%%(eval `perl -V:installman3dir`; echo $installman3dir)} + +Requires: trinity-kdelibs +Requires: trinity-kdebase +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig + +%define python_ver %{expand:%%(%{__python} -c "import sys ; print sys.version[:3]")} +%define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)") + +## dcoppython +BuildRequires: python-devel +Provides: %{name}-dcoppython = %{version}-%{release} + +## ruby +BuildRequires: ruby-devel >= 1.8, ruby +Provides: %{name}-ruby = %{version}-%{release} +%{!?ruby_sitelib: %define ruby_sitelib %(ruby -rrbconfig -e 'puts Config::CONFIG["sitelibdir"]')} +%{!?ruby_sitearch: %define ruby_sitearch %(ruby -rrbconfig -e 'puts Config::CONFIG["sitearchdir"]')} + +## java +#BuildRequires: java-1.4.2-gcj-compat-devel libgcj-devel gcc-java +BuildRequires: java-devel >= 1.4.2 +%define java_home %{_usr}/lib/jvm/java +%define _with_java --with-java=%{java_home} +Provides: %{name}-java = %{version}-%{release} + +%description +KDE/DCOP bindings to non-C++ languages + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: trinity-kdelibs-devel +%description devel +Development files for the KDE bindings. + +## dcopperl +%package dcopperl +Summary: DCOP Bindings for Perl +Group: Development/Libraries +%description dcopperl +Perl bindings to the DCOP interprocess communication protocol used by KDE + + +%prep +%setup -q -n kdebindings +%patch1 -p1 -b .libgcj + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +sed -i admin/acinclude.m4.in \ + -e "s,/usr/include/tqt,%{_includedir}/tqt,g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__make -f admin/Makefile.common + + +%build +unset QTDIR || : ; source /etc/profile.d/qt.sh +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +unset JAVA_HOME ||: +%{?java_home:JAVA_HOME=%{java_home}; export JAVA_HOME} + +# sip/PyQt/PyKDE built separately, not here +export DO_NOT_COMPILE="$DO_NOT_COMPILE python" + +%configure \ + --includedir=%{_includedir}/kde \ + --disable-rpath \ + --enable-new-ldflags \ + --disable-debug --disable-warnings \ + --disable-dependency-tracking \ + --with-extra-libs=%{_libdir} \ + --with-pythondir=%{_usr} \ + --disable-final \ + %{?_with_java} %{!?_with_java:--without-java} \ + %{?_enable_qscintilla} %{!?_enable_qscintilla:--disable-qscintilla} \ + --with-extra-includes=%{_includedir}/tqt + + +pushd dcopperl +CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor + +# Ugly hack to add TQT include directory in Makefile +sed -i Makefile \ + -e "s,^\(INC = .*\),\1 -I%{_includedir}/tqt," + +%__make OPTIMIZE="$RPM_OPT_FLAGS" ||: +popd + +# smoke/ not smp-safe +%__make -C smoke + +# The rest is smp-safe +%__make %{?_smp_mflags} PYTHON=%{__python} + + +%install +%__rm -rf $RPM_BUILD_ROOT +export PATH="%{_bindir}:${PATH}" + +%make_install \ + PYTHON=%{__python} + +desktop-file-install \ + --vendor="" \ + --add-category="Qt" \ + --add-category="KDE" \ + --add-category="Utility" \ + --dir $RPM_BUILD_ROOT%{_datadir}/applications/kde \ + $RPM_BUILD_ROOT%{_datadir}/applnk/Utilities/*.desktop ||: + +## File lists +# perl +find $RPM_BUILD_ROOT -type f -a \( -name perllocal.pod -o -name .packlist \ + -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';' + +find $RPM_BUILD_ROOT%{perl_vendorarch} -type f -print | \ + sed "s@^$RPM_BUILD_ROOT@@g" >> %{name}-dcopperl.list +find $RPM_BUILD_ROOT%{perl_vendorlib} -type f -print | \ + sed "s@^$RPM_BUILD_ROOT@@g" >> %{name}-dcopperl.list +if [ "$(cat %{name}-dcopperl.list)X" = "X" ] ; then + echo "ERROR: EMPTY FILE LIST"; exit 1 +fi + +# locale's +%find_lang %{name} || touch %{name}.lang +HTML_DIR=$(kde-config --expandvars --install html) + +# Fix HTML doc location in TDE 3.5.13 +# (from 'share/doc/HTML' to 'share/doc/kde/HTML') +if [ ! -d $RPM_BUILD_ROOT$HTML_DIR ] && [ -d $RPM_BUILD_ROOT%{_docdir}/HTML ]; then + mkdir -p $RPM_BUILD_ROOT${HTML_DIR%/*} + mv -f $RPM_BUILD_ROOT%{_docdir}/HTML $RPM_BUILD_ROOT${HTML_DIR%/*} +fi + +if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then +for lang_dir in $RPM_BUILD_ROOT$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common + done + popd + fi +done +fi + +# rpmdocs +for dir in dcopperl dcoppython kalyptus %{?_with_java:kdejava qtjava} kjsembed korundum qtruby qtsharp smoke; do + for file in AUTHORS ChangeLog README TODO ; do + test -s "$dir/$file" && install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file" + done +done + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +/sbin/ldconfig ||: +touch --no-create %{_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database >& /dev/null ||: + +%postun +/sbin/ldconfig ||: +touch --no-create %{_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database >& /dev/null ||: + + +%files -f %{name}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING README +%doc rpmdocs/* +%{_bindir}/* +%{tde_libdir}/* +%{_libdir}/lib*.la +%{_libdir}/lib*.so.* +%{_datadir}/appl*/*/*.desktop +%{_datadir}/apps/embedjs/ +%{_datadir}/apps/kate/scripts/* +%{_datadir}/apps/kjsembed/ +%{_datadir}/icons/hicolor/*/*/* +%{_datadir}/service*/*.desktop +%{_mandir}/man1/* +%{python_sitearch}/* +#%{_libdir}/python%{python_ver}/*.py* +%if "%{?_with_java:1}" == "1" +%{_libdir}/java +%{_libdir}/jni/*.so.* +%endif +#%{ruby_sitearch}/* +#%{ruby_sitelib}/K* +#%{ruby_sitelib}/Qt* +%{_usr}/lib/ruby/*/* +%if 0%{?fedora} >= 15 +%{_usr}/lib64/ruby/*/*/*.so.* +%else +%{_usr}/lib64/ruby/*/*.so.* +%endif + +# Excludes 'kjscmd' (conflicts with 'kdelibs' from RHEL6) +%if "%{?_prefix}" == "/usr" +%exclude %{_bindir}/kjscmd +%exclude %{_mandir}/man1/kjscmd* +%endif + + +%files dcopperl -f %{name}-dcopperl.list +%defattr(-,root,root,-) +%doc dcopperl/AUTHORS dcopperl/Changes dcopperl/README dcopperl/TODO +%{perl_man3dir}/DCOP.3pm.gz + +%files devel +%defattr(-,root,root,-) +%{_includedir}/kde/* +%{_libdir}/lib*.so +%if "%{?_with_java:1}" == "1" +%{_libdir}/jni/*.so +%{_libdir}/jni/*.la +%endif +%if 0%{?fedora} >= 15 +%{_usr}/lib64/ruby/*/*/*.so +%{_usr}/lib64/ruby/*/*/*.la +%else +%{_usr}/lib64/ruby/*/*.so +%{_usr}/lib64/ruby/*/*.la +%endif + +%changelog +* Sat Sep 03 2011 Francois Andriot <francois.andriot@free.fr - 3.5.12.99.20110903-0 +- Import to GIT +- Built with future TDE version (3.5.13 + cmake + QT3.3.8d) diff --git a/redhat/kdelibs/trinity-kdelibs-3.5.13.spec b/redhat/kdelibs/trinity-kdelibs-3.5.13.spec index e122f53bd..efa1ae90a 100755 --- a/redhat/kdelibs/trinity-kdelibs-3.5.13.spec +++ b/redhat/kdelibs/trinity-kdelibs-3.5.13.spec @@ -6,7 +6,6 @@ # If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". %if "%{?_prefix}" != "/usr" %define _variant .opt -%define _libdir %{_prefix}/lib %define _docdir %{_prefix}/share/doc %endif diff --git a/redhat/kdepim/trinity-kdepim-3.5.12.spec b/redhat/kdepim/trinity-kdepim-3.5.12.spec new file mode 100644 index 000000000..9a0361c86 --- /dev/null +++ b/redhat/kdepim/trinity-kdepim-3.5.12.spec @@ -0,0 +1,146 @@ +# Default version for this component +%if "%{?version}" == "" +%define version 3.5.12 +%define release 5 +%endif + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?_prefix}" != "/usr" +%define _variant .opt +%define _docdir %{_prefix}/share/doc +%endif + +# TDE 3.5.12 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir} +%define tde_libdir %{_libdir}/kde3 + + +Name: trinity-kdepim +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} +License: GPL +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +Summary: PIM (Personal Information Manager) applications +Group: Applications/Productivity +Prefix: %{_prefix} + +Source0: kdepim-%{version}.tar.gz + +# TDE official patches from SVN, unmodified +# Attempt to fix a kdepim FTBFS based on a missing stdc header #include +Patch0: http://www.trinitydesktop.org/patches/r1228885.diff + +BuildRequires: tqtinterface +BuildRequires: trinity-arts +BuildRequires: trinity-kdelibs +BuildRequires: gpgme-devel +BuildRequires: libgpg-error-devel +BuildRequires: flex +BuildRequires: libical-devel +BuildRequires: gnokii-devel + +%if 0%{?fedora} >= 15 +BuildRequires: flex-static +%endif + +Requires: trinity-kdelibs + +%description +PIM (Personal Information Manager) applications. + + +%package devel +Requires: %{name} +Summary: %{name} - Development files +%description devel +Development files for %{name}. + + +%prep +%setup -q -n kdepim +%patch0 -p1 + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__make -f admin/Makefile.common + +%build +unset QTDIR || : ; . /etc/profile.d/qt.sh +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +%configure \ + --disable-rpath \ + --enable-new-ldflags \ + --disable-dependency-tracking \ + --disable-debug --disable-warnings --enable-final \ + --with-extra-includes=%{_includedir}/tqt + +# Do NOT use %{?_smp_mflags} for this package, or it will fail to build ! +%__make + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{?buildroot} +%make_install + +%clean +%__rm -rf %{?buildroot} + +%files +%defattr(-,root,root,-) +%{_bindir}/* +%{_datadir}/applications/kde/*.desktop +%{_datadir}/applnk/.hidden/* +%{_datadir}/applnk/*/* +%{_datadir}/apps/* +%{_datadir}/autostart/*.desktop +%{_datadir}/config/* +%{_datadir}/icons/* +%{_datadir}/services/* +%{_datadir}/mimelnk/application/* +%{_datadir}/config.kcfg/* +%{_libdir}/lib*.so.* +%{tde_libdir}/*.so +%{tde_libdir}/*.so.* +%{tde_libdir}/plugins/designer/*.so +%{_datadir}/servicetypes/* +%{_libdir}/kconf_update_bin/* +%{_libdir}/libakregatorprivate.so +%{_libdir}/libkmailprivate.so +%{tde_docdir}/HTML/en/* + +%files devel +%defattr(-,root,root,-) +%{_libdir}/*.la +%{_libdir}/*.so +%{_includedir}/* +%{tde_libdir}/*.la +%{tde_libdir}/plugins/designer/*.la +%exclude %{_libdir}/libakregatorprivate.so +%exclude %{_libdir}/libkmailprivate.so + +%changelog +* Mon Sep 05 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-5 +- Import to GIT + +* Tue Aug 23 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-4 +- Correct (again) macro to install under "/opt", if desired +- Add missing BuildRequires +- Add 'patch0' to allow compilation with GCC >= 4.5 + +* Mon Aug 22 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-3 +- Correct macro to install under "/opt", if desired + +* Sun Dec 19 2010 Francois Andriot <francois.andriot@free.fr> - 3.5.12-2 +- Rebuilt + +* Fri Dec 17 2010 Francois Andriot <francois.andriot@free.fr> - 3.5.12-1 +- Add macro _kde3_prefix to define custom installation prefix (ex: /opt/kde3) +- Add '--with-extra-includes=%{_includedir}/tqt' + +* Wed Dec 15 2010 Francois Andriot <francois.andriot@free.fr> - 3.5.12-0 +- Initial version + diff --git a/redhat/kdepim/trinity-kdepim-3.5.13.spec b/redhat/kdepim/trinity-kdepim-3.5.13.spec new file mode 100644 index 000000000..4ad751749 --- /dev/null +++ b/redhat/kdepim/trinity-kdepim-3.5.13.spec @@ -0,0 +1,137 @@ +# Default version for this component +%if "%{?version}" == "" +%define version 3.5.13 +%endif +%define release 0 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?_prefix}" != "/usr" +%define _variant .opt +%define _docdir %{_prefix}/share/doc +%endif + +# TDE 3.5.13 specific building variables +BuildRequires: cmake >= 2.8 +%define tde_docdir %{_docdir}/kde +%define tde_libdir %{_libdir}/trinity + + +Name: trinity-kdepim +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} +License: GPL +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +Summary: PIM (Personal Information Manager) applications +Group: Applications/Productivity +Prefix: %{_prefix} + +Source0: kdepim-%{version}.tar.gz + +BuildRequires: tqtinterface +BuildRequires: trinity-arts +BuildRequires: trinity-kdelibs +BuildRequires: gpgme-devel +BuildRequires: libgpg-error-devel +BuildRequires: flex +BuildRequires: libical-devel +BuildRequires: gnokii-devel + +%if 0%{?fedora} >= 15 +BuildRequires: flex-static +%endif + +Requires: trinity-kdelibs + +%description +PIM (Personal Information Manager) applications. + + +%package devel +Requires: %{name} +Summary: %{name} - Development files +%description devel +Development files for %{name}. + + +%prep +%setup -q -n kdepim + + +%build +unset QTDIR || : ; . /etc/profile.d/qt.sh +export PATH="%{_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{_libdir}/pkgconfig" +export CMAKE_INCLUDE_PATH="%{_includedir}:%{_includedir}/tqt" +export LD_LIBRARY_PATH="%{_libdir}" + +%__mkdir build +cd build +%cmake \ + -DWITH_ARTS=ON \ + -DWITH_SASL=ON \ + -DWITH_NEWDISTRLISTS=ON \ + -DWITH_GNOKII=ON \ + -DWITH_EXCHANGE=ON \ + -DWITH_EGROUPWARE=ON \ + -DWITH_KOLAB=ON \ + -DWITH_SLOX=ON \ + -DWITH_GROUPWISE=ON \ + -DWITH_FEATUREPLAN=ON \ + -DWITH_GROUPDAV=ON \ + -DWITH_BIRTHDAYS=ON \ + -DWITH_NEWEXCHANGE=ON \ + -DWITH_SCALIX=ON \ + -DWITH_CALDAV=OFF \ + -DWITH_CARDDAV=OFF \ + -DWITH_INDEXLIB=ON \ + -DBUILD_ALL=ON \ + .. + +%__make %{?_smp_mflags} + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{?buildroot} +%make_install -C build + +%clean +%__rm -rf %{?buildroot} + +%files +%defattr(-,root,root,-) +%{_bindir}/* +%{_datadir}/applications/kde/*.desktop +%{_datadir}/applnk/.hidden/* +%{_datadir}/applnk/*/* +%{_datadir}/apps/* +%{_datadir}/autostart/*.desktop +%{_datadir}/config/* +%{_datadir}/icons/* +%exclude %{_datadir}/icons/default.kde +%{_datadir}/services/* +%{_datadir}/mimelnk/application/* +%{_datadir}/config.kcfg/* +%{_libdir}/lib*.so.* +%{tde_libdir}/*.so +%{tde_libdir}/plugins/designer/*.so +%{_datadir}/servicetypes/* +%{_libdir}/kconf_update_bin/* +%{_libdir}/libakregatorprivate.so +%{_libdir}/libkmailprivate.so +%{tde_docdir}/HTML/en/* + +%files devel +%defattr(-,root,root,-) +%{_libdir}/*.la +%{_libdir}/*.so +%{_includedir}/* +%{tde_libdir}/*.la +%{tde_libdir}/plugins/designer/*.la +%exclude %{_libdir}/libakregatorprivate.so +%exclude %{_libdir}/libkmailprivate.so +%{_datadir}/cmake/*.cmake + +%changelog +* Mon Sep 05 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-0 +- Import to GIT diff --git a/redhat/kdesdk/kdesdk-3.5.7-subversion.patch b/redhat/kdesdk/kdesdk-3.5.7-subversion.patch new file mode 100644 index 000000000..4c3470e6d --- /dev/null +++ b/redhat/kdesdk/kdesdk-3.5.7-subversion.patch @@ -0,0 +1,21 @@ +diff -up kdesdk-3.5.7/kioslave/svn/configure.in.in.svn kdesdk-3.5.7/kioslave/svn/configure.in.in +--- kdesdk-3.5.7/kioslave/svn/configure.in.in.svn 2005-10-10 09:58:25.000000000 -0500 ++++ kdesdk-3.5.7/kioslave/svn/configure.in.in 2007-09-12 09:39:42.000000000 -0500 +@@ -86,7 +86,7 @@ fi + AC_SUBST(SVNCONFIG) + if test -x "$SVNCONFIG"; then + SVNLD="`$SVNCONFIG --ldflags`" +- SVN_LIB="`$SVNCONFIG --libs` -lsvn_client-1" ++ SVN_LIB="`$SVNCONFIG --libs` -lsvn_client-1 -lsvn_subr-1" + SVN_CPPFLAGS="`$SVNCONFIG --cppflags`" + dnl ugly hack for subversion svn-config problems in 0.14.x, to be removed when svn-config is fixed + SVN_INCLUDE="`$SVNCONFIG --includes` -I$_SVNCONFIG/include/subversion-1/" +@@ -141,7 +141,7 @@ dnl AC_MSG_ERROR([Subversion headers ar + SVN_SUBDIR= + fi + fi +-SVN_LIB="$SVN_LIB $APR_LIBS -lsvn_client-1" ++SVN_LIB="$SVN_LIB $APR_LIBS -lsvn_client-1 -lsvn_subr-1" + SVN_INCLUDE="$SVN_INCLUDE $APR_INCLUDE" + SVN_CPPFLAGS="$APR_CPPFLAGS $SVN_CPPFLAGS" + diff --git a/redhat/kdesdk/trinity-kdesdk-3.5.12.spec b/redhat/kdesdk/trinity-kdesdk-3.5.12.spec new file mode 100644 index 000000000..0da572d1d --- /dev/null +++ b/redhat/kdesdk/trinity-kdesdk-3.5.12.spec @@ -0,0 +1,237 @@ +# If _kde3_prefix is # Default version for this component +%if "%{?version}" == "" +%define version 3.5.12 +%endif +%define release 2 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?_prefix}" != "/usr" +%define _variant .opt +%define _docdir %{_prefix}/share/doc +%endif + +# TDE 3.5.12 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir} +%define tde_libdir %{_libdir}/kde3 + + +%define _with_subversion --with-subversion +%if 0%{?fedora} > 6 || 0%{?rhel} > 4 +%define _with_apr_config --with-apr-config=apr-1-config +%define _with_apu_config --with-apu-config=apu-1-config +%endif + + +Name: trinity-kdesdk +Summary: The KDE Software Development Kit (SDK) +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} + +License: GPLv2 +Group: User Interface/Desktops +URL: http://www.trinitydesktop.org/ +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Source: kdesdk-%{version}.tar.gz + +# RedHat Legacy patches +Patch1: kdesdk-3.5.7-subversion.patch + +# Official patches from SVN +# Import of revision 66 from svn.trinitydesktop.org +Patch2: r1225998.diff + +Provides: kdesdk3 = %{version}-%{release} + +Requires: %{name}-libs = %{version}-%{release} + +BuildRequires: automake libtool +BuildRequires: tqtinterface-devel +BuildRequires: pcre-devel +BuildRequires: trinity-kdelibs-devel +# for kbugbuster/libkcal +BuildRequires: trinity-kdepim-devel +BuildRequires: db4-devel +BuildRequires: desktop-file-utils +# kbabel, F-7+: flex >= 2.5.33-9 +BuildRequires: flex +# umbrello +BuildRequires: libxslt-devel libxml2-devel +%if 0%{?fedora} > 5 || 0%{?rhel} > 4 +BuildRequires: binutils-devel +%endif +BuildRequires: perl +%{?_with_subversion:BuildRequires: subversion-devel neon-devel} + +# Obsoletes/Provides +%define cervisia_ver 2.4.7 +Provides: cervisia = %{cervisia_ver}-%{release} + +%define umbrello_ver 1.5.7 +Obsoletes: umbrello < %{umbrello_ver}-%{release} +Provides: umbrello = %{umbrello_ver}-%{release} + + +%description +A collection of applications and tools used by developers, including: +* cervisia: a CVS frontend +* kbabel: PO file management +* kbugbuster: a tool to manage the KDE bug report system +* kcachegrind: a browser for data produced by profiling tools (e.g. cachegrind) +* kompare: diff tool +* kuiviewer: displays designer's UI files +* umbrello: UML modeller and UML diagram tool + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Provides: trinity-kdesdk-devel = %{version}-%{release} +Requires: %{name}-libs = %{version}-%{release} +Requires: trinity-kdelibs-devel +%description devel +%{summary}. + +%package libs +Summary: %{name} runtime libraries +Group: System Environment/Libraries +Requires: trinity-kdelibs >= %{version} +# helps multilib upgrades +Obsoletes: %{name} < %{?epoch:%{epoch}:}%{version}-%{release} +# include to be paranoid, installing libs-only is still mostly untested -- Rex +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} +%description libs +%{summary}. + + +%prep +%setup -q -n kdesdk +%patch1 -p1 -b .subversion +%patch2 -p1 + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__make -f admin/Makefile.common + + +%build +unset QTDIR || :; . /etc/profile.d/qt.sh +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +%configure \ + --includedir=%{_includedir}/kde \ + --disable-rpath \ + --enable-new-ldflags \ + --disable-debug --disable-warnings \ + --disable-dependancy-tracking --enable-final \ + %{?_with_subversion} %{?_with_apr_config} %{?_with_apu_config} \ + --with-extra-includes=%{_includedir}/tqt \ + --without-svn \ + --enable-closure + +# Do not use %{?_smp_mflags} ! +%__make + + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{buildroot} + +%make_install + +desktop-file-install --vendor "" \ + --dir %{buildroot}%{_datadir}/applications/kde \ + %{buildroot}%{_datadir}/applications/kde/*.desktop \ + +# make symlinks relative +if [ -d %{buildroot}%{tde_docdir}/HTML/en ]; then + pushd %{buildroot}%{tde_docdir}/HTML/en + for i in *; do + if [ -d $i -a -L $i/common ]; then + rm -f $i/common + ln -nfs ../common $i + fi + done + popd +fi + +%__rm -f %{buildroot}/%{_datadir}/apps/kapptemplate/admin/Makefile \ + %{buildroot}/%{_datadir}/apps/kapptemplate/admin/Makefile.in + + +%clean +%__rm -rf %{buildroot} + + +# trick to replace a dir by a symlink -- Rex +%pre +if [ $1 -gt 0 -a ! -L %{_docdir}/HTML/en/cervisia/common ]; then + rm -rf %{tde_docdir}/HTML/en/cervisia/common ||: +fi + +%post +for f in crystalsvg hicolor locolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun +for f in crystalsvg hicolor locolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%post libs -p /sbin/ldconfig + +%postun libs -p /sbin/ldconfig + + +%files +%defattr(-,root,root,-) +%{_bindir}/* +%{tde_docdir}/HTML/en/* +%{_datadir}/apps/* +%{_datadir}/mimelnk/application/* +%{_datadir}/services/* +%{_datadir}/servicetypes/* +%{_datadir}/icons/crystalsvg/*/*/* +%{_datadir}/icons/hicolor/*/*/* +%{_datadir}/icons/locolor/*/*/* +%{_datadir}/applications/kde/* +%{_datadir}/config.kcfg/* +%{tde_libdir}/* +%{_libdir}/libkdeinit_*.so +%{_mandir}/man1/* + +# Removes conflict with package 'rpmdevtool' on RHEL 6 +%if "%{_prefix}" == "/usr" +%exclude %{_bindir}/licensecheck +%endif + +%files libs +%defattr(-,root,root,-) +%{_libdir}/lib*.so.* +%{_libdir}/lib*.la + +%files devel +%defattr(-,root,root,-) +%{_includedir}/kde/* +%{_libdir}/lib*.so +%exclude %{_libdir}/libkdeinit_*.so +%{_libdir}/kmtrace/* + + +%changelog +* Mon Sep 05 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-2 +- Import to GIT + +* Mon Aug 22 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-1 +- Correct macro to install under "/opt", if desired + +* Tue Jun 21 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.12-0 +- Initial version for RHEL 6 +- Specfile based on Fedora 8 'kdesdk 3.5.10-1' diff --git a/redhat/kdesdk/trinity-kdesdk-3.5.13.spec b/redhat/kdesdk/trinity-kdesdk-3.5.13.spec new file mode 100644 index 000000000..a9d1d3570 --- /dev/null +++ b/redhat/kdesdk/trinity-kdesdk-3.5.13.spec @@ -0,0 +1,232 @@ +# If _kde3_prefix is # Default version for this component +%if "%{?version}" == "" +%define version 3.5.13 +%endif +%define release 0 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?_prefix}" != "/usr" +%define _variant .opt +%define _docdir %{_prefix}/share/doc +%endif + +# TDE 3.5.13 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir} +%define tde_libdir %{_libdir}/trinity + + +%define _with_subversion --with-subversion +%if 0%{?fedora} > 6 || 0%{?rhel} > 4 +%define _with_apr_config --with-apr-config=apr-1-config +%define _with_apu_config --with-apu-config=apu-1-config +%endif + + +Name: trinity-kdesdk +Summary: The KDE Software Development Kit (SDK) +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} + +License: GPLv2 +Group: User Interface/Desktops +URL: http://www.trinitydesktop.org/ +Vendor: Trinity Project +Packager: Francois Andriot <francois.andriot@free.fr> +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Source: kdesdk-%{version}.tar.gz + +# RedHat Legacy patches +Patch1: kdesdk-3.5.7-subversion.patch + +Provides: kdesdk3 = %{version}-%{release} + +Requires: %{name}-libs = %{version}-%{release} + +BuildRequires: automake libtool +BuildRequires: tqtinterface-devel +BuildRequires: pcre-devel +BuildRequires: trinity-kdelibs-devel +# for kbugbuster/libkcal +BuildRequires: trinity-kdepim-devel +BuildRequires: db4-devel +BuildRequires: desktop-file-utils +# kbabel, F-7+: flex >= 2.5.33-9 +BuildRequires: flex +# umbrello +BuildRequires: libxslt-devel libxml2-devel +%if 0%{?fedora} > 5 || 0%{?rhel} > 4 +BuildRequires: binutils-devel +%endif +BuildRequires: perl +%{?_with_subversion:BuildRequires: subversion-devel neon-devel} + +# Obsoletes/Provides +%define cervisia_ver 2.4.7 +Provides: cervisia = %{cervisia_ver}-%{release} + +%define umbrello_ver 1.5.7 +Obsoletes: umbrello < %{umbrello_ver}-%{release} +Provides: umbrello = %{umbrello_ver}-%{release} + + +%description +A collection of applications and tools used by developers, including: +* cervisia: a CVS frontend +* kbabel: PO file management +* kbugbuster: a tool to manage the KDE bug report system +* kcachegrind: a browser for data produced by profiling tools (e.g. cachegrind) +* kompare: diff tool +* kuiviewer: displays designer's UI files +* umbrello: UML modeller and UML diagram tool + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Provides: trinity-kdesdk-devel = %{version}-%{release} +Requires: %{name}-libs = %{version}-%{release} +Requires: trinity-kdelibs-devel +%description devel +%{summary}. + +%package libs +Summary: %{name} runtime libraries +Group: System Environment/Libraries +Requires: trinity-kdelibs >= %{version} +# helps multilib upgrades +Obsoletes: %{name} < %{?epoch:%{epoch}:}%{version}-%{release} +# include to be paranoid, installing libs-only is still mostly untested -- Rex +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} +%description libs +%{summary}. + + +%prep +%setup -q -n kdesdk +%patch1 -p1 -b .subversion + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +sed -i admin/acinclude.m4.in \ + -e "s,/usr/include/tqt,%{_includedir}/tqt,g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__make -f admin/Makefile.common + + +%build +unset QTDIR || :; . /etc/profile.d/qt.sh +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" +export LDFLAGS="${LDFLAGS} -lqt-mt -L${QTLIB}" + +%configure \ + --includedir=%{_includedir}/kde \ + --disable-rpath \ + --enable-new-ldflags \ + --disable-debug --disable-warnings \ + --disable-dependancy-tracking --enable-final \ + %{?_with_subversion} %{?_with_apr_config} %{?_with_apu_config} \ + --with-extra-includes=%{_includedir}/tqt \ + --without-svn \ + --enable-closure + +# Do not use %{?_smp_mflags} ! +%__make + + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{buildroot} + +%make_install + +desktop-file-install --vendor "" \ + --dir %{buildroot}%{_datadir}/applications/kde \ + %{buildroot}%{_datadir}/applications/kde/*.desktop \ + +# make symlinks relative +if [ -d %{buildroot}%{tde_docdir}/HTML/en ]; then + pushd %{buildroot}%{tde_docdir}/HTML/en + for i in *; do + if [ -d $i -a -L $i/common ]; then + rm -f $i/common + ln -nfs ../common $i + fi + done + popd +fi + +%__rm -f %{buildroot}/%{_datadir}/apps/kapptemplate/admin/Makefile \ + %{buildroot}/%{_datadir}/apps/kapptemplate/admin/Makefile.in + + +%clean +%__rm -rf %{buildroot} + + +# trick to replace a dir by a symlink -- Rex +%pre +if [ $1 -gt 0 -a ! -L %{_docdir}/HTML/en/cervisia/common ]; then + rm -rf %{tde_docdir}/HTML/en/cervisia/common ||: +fi + +%post +for f in crystalsvg hicolor locolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun +for f in crystalsvg hicolor locolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%post libs -p /sbin/ldconfig + +%postun libs -p /sbin/ldconfig + + +%files +%defattr(-,root,root,-) +%{_bindir}/* +%{tde_docdir}/HTML/en/* +%{_datadir}/apps/* +%{_datadir}/mimelnk/application/* +%{_datadir}/services/* +%{_datadir}/servicetypes/* +%{_datadir}/icons/crystalsvg/*/*/* +%{_datadir}/icons/hicolor/*/*/* +%{_datadir}/icons/locolor/*/*/* +%{_datadir}/applications/kde/* +%{_datadir}/config.kcfg/* +%{tde_libdir}/* +%{_libdir}/libkdeinit_*.so +%{_mandir}/man1/* + +# Removes conflict with package 'rpmdevtool' on RHEL 6 +%if "%{_prefix}" == "/usr" +%exclude %{_bindir}/licensecheck +%endif + +%files libs +%defattr(-,root,root,-) +%{_libdir}/lib*.so.* +%{_libdir}/lib*.la + +%files devel +%defattr(-,root,root,-) +%{_includedir}/kde/* +%{_libdir}/lib*.so +%exclude %{_libdir}/libkdeinit_*.so +%{_libdir}/kmtrace/* + + +%changelog +* Mon Sep 05 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-0 +- Import to GIT +- Built with future TDE version (3.5.13 + cmake + QT3.3.8d) |