diff options
Diffstat (limited to 'redhat/dependencies')
7 files changed, 62 insertions, 70 deletions
diff --git a/redhat/dependencies/arts/arts-14.0.0.spec b/redhat/dependencies/arts/arts-14.0.0.spec index 0ae8446d8..ac21dbb82 100644 --- a/redhat/dependencies/arts/arts-14.0.0.spec +++ b/redhat/dependencies/arts/arts-14.0.0.spec @@ -15,7 +15,8 @@ %define _docdir %{tde_datadir}/doc Name: trinity-arts -Version: %{tde_version} +Epoch: 1 +Version: 1.5.10 Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} License: GPL Summary: aRts (analog realtime synthesizer) - the TDE sound system @@ -28,7 +29,7 @@ Packager: Francois Andriot <francois.andriot@free.fr> Prefix: %{tde_prefix} BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz Source1: kcmartsrc-pulseaudio BuildRequires: cmake >= 2.8 @@ -89,10 +90,7 @@ BuildRequires: libmad-devel %define with_pulseaudio 1 %endif -# TDE 3.5.13 specific building variables -BuildRequires: cmake >= 2.8 - -Requires: trinity-tqtinterface >= %{version} +Requires: trinity-tqtinterface >= %{tde_version} Requires: audiofile %if "%{?tde_prefix}" == "/usr" @@ -141,7 +139,7 @@ playing a wave file with some effects. %package devel Group: Development/Libraries Summary: %{name} - Development files -Requires: %{name} = %{version}-%{release} +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} %if "%{?tde_prefix}" == "/usr" Obsoletes: arts-devel %endif @@ -174,7 +172,7 @@ Development files for %{name} %package config-pulseaudio Group: System Environment/Daemons Summary: %{name} - Default configuration file for Pulseaudio -Requires: %{name} = %{version}-%{release} +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} %description config-pulseaudio %{summary} @@ -195,7 +193,7 @@ Requires: %{name} = %{version}-%{release} %prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %build @@ -204,11 +202,11 @@ Requires: %{name} = %{version}-%{release} cd build %endif -%cmake .. \ +%cmake \ -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ - -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ -DCMAKE_VERBOSE_MAKEFILE=ON \ -DWITH_GCC_VISIBILITY=ON \ \ @@ -223,7 +221,8 @@ cd build -DWITH_VORBIS=ON \ %{?with_libmad:-DWITH_MAD=ON} %{!?with_libmad:-DWITH_MAD=OFF} \ %{?with_esound:-DWITH_ESOUND=ON} \ - %{?with_jack:-DWITH_JACK=ON} + %{?with_jack:-DWITH_JACK=ON} \ + .. %__make %{?_smp_mflags} || %__make @@ -243,5 +242,5 @@ cd build %changelog -* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 14.0.0-1 +* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 1.5.10-1 - Initial release for TDE R14.0.0 diff --git a/redhat/dependencies/avahi-tqt/avahi-tqt-14.0.0.spec b/redhat/dependencies/avahi-tqt/avahi-tqt-14.0.0.spec index 44af00be7..5bbcec5a0 100644 --- a/redhat/dependencies/avahi-tqt/avahi-tqt-14.0.0.spec +++ b/redhat/dependencies/avahi-tqt/avahi-tqt-14.0.0.spec @@ -1,20 +1,13 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -%define tde_version 14.0.0 - # TDE specific building variables -%define tde_bindir %{tde_prefix}/bin +%define tde_version 14.0.0 +%define tde_prefix /usr %define tde_includedir %{tde_prefix}/include -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc %define tde_libdir %{tde_prefix}/%{_lib} Name: trinity-avahi-tqt -Version: %{tde_version} +Epoch: 1 +Version: 0.6.30 Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} License: GPL Summary: Avahi TQT Interface @@ -27,7 +20,7 @@ URL: http://www.trinitydesktop.org/ Prefix: %{tde_prefix} BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz BuildRequires: gcc-c++ BuildRequires: cmake >= 2.8 @@ -62,10 +55,10 @@ BuildRequires: libexpat-devel %endif Requires: trinity-tqt3 >= 3.5.0 -Requires: trinity-tqtinterface >= %{version} +Requires: trinity-tqtinterface >= %{tde_version} -Obsoletes: avahi-tqt < %{version}-%{release} -Provides: avahi-tqt = %{version}-%{release} +Obsoletes: avahi-tqt < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: avahi-tqt = %{?epoch:%{epoch}:}%{version}-%{release} %description @@ -73,16 +66,16 @@ Avahi TQT Interface %package devel -Requires: %{name} Summary: %{name} - Development files Group: Development/Libraries +Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} %if 0%{?mgaversion} || 0%{?mdkversion} Provides: %{_lib}avahi-qt3-devel %endif -Obsoletes: avahi-tqt-devel < %{version}-%{release} -Provides: avahi-tqt-devel = %{version}-%{release} +Obsoletes: avahi-tqt-devel < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: avahi-tqt-devel = %{?epoch:%{epoch}:}%{version}-%{release} %description devel Development files for %{name} @@ -94,9 +87,7 @@ Development files for %{name} %prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} - -unset QTDIR QTINC QTLIB +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} ./autogen.sh @@ -153,5 +144,5 @@ unset QTDIR QTINC QTLIB %{tde_libdir}/pkgconfig/avahi-tqt.pc %changelog -* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 14.0.0-1 +* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.6.30-1 - Initial release for TDE 14.0.0 diff --git a/redhat/dependencies/dbus-1-tqt/dbus-1-tqt-14.0.0.spec b/redhat/dependencies/dbus-1-tqt/dbus-1-tqt-14.0.0.spec index ecee40f36..73d7c838b 100644 --- a/redhat/dependencies/dbus-1-tqt/dbus-1-tqt-14.0.0.spec +++ b/redhat/dependencies/dbus-1-tqt/dbus-1-tqt-14.0.0.spec @@ -1,20 +1,20 @@ -# Always install under standard prefix -%define tde_prefix /usr +# TDE specific building variables %define tde_version 14.0.0 - +%define tde_prefix /usr %define tde_bindir %{tde_prefix}/bin %define tde_includedir %{tde_prefix}/include %define tde_libdir %{tde_prefix}/%{_lib} Name: trinity-dbus-1-tqt -Version: 14.0.0 +Epoch: 1 +Version: 0.9 Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} License: GPL Summary: Dbus TQT Interface Group: System Environment/Libraries -Obsoletes: dbus-1-tqt < %{version}-%{release} -Provides: dbus-1-tqt = %{version}-%{release} +Obsoletes: dbus-1-tqt < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: dbus-1-tqt = %{?epoch:%{epoch}:}%{version}-%{release} Vendor: Trinity Project Packager: Francois Andriot <francois.andriot@free.fr> @@ -22,7 +22,7 @@ Packager: Francois Andriot <francois.andriot@free.fr> Prefix: %{tde_prefix} BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz BuildRequires: gcc-c++ %if 0%{?suse_version} @@ -30,11 +30,10 @@ BuildRequires: dbus-1-devel %else BuildRequires: dbus-devel %endif -BuildRequires: trinity-tqtinterface-devel >= %{version} -# TDE 3.5.13 specific building variables BuildRequires: cmake >= 2.8 BuildRequires: trinity-tqt3-devel >= 3.5.0 +BuildRequires: trinity-tqtinterface-devel >= %{tde_version} Requires: trinity-tqt3 >= 3.5.0 @@ -60,8 +59,8 @@ Requires: %{name} Summary: %{name} - Development files Group: Development/Libraries -Obsoletes: dbus-1-tqt-devel < %{version}-%{release} -Provides: dbus-1-tqt-devel = %{version}-%{release} +Obsoletes: dbus-1-tqt-devel < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: dbus-1-tqt-devel = %{?epoch:%{epoch}:}%{version}-%{release} %description devel Development files for %{name} @@ -87,7 +86,7 @@ Development files for %{name} %prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %build @@ -100,6 +99,13 @@ cd build %endif %cmake \ + -DCMAKE_BUILD_TYPE="RelWithDebInfo" \ + -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_VERBOSE_MAKEFILE=ON \ + -DWITH_GCC_VISIBILITY=ON \ + \ -DBIN_INSTALL_DIR=%{tde_bindir} \ -DINCLUDE_INSTALL_DIR=%{tde_includedir} \ -DLIB_INSTALL_DIR=%{tde_libdir} \ @@ -118,5 +124,5 @@ cd build %changelog -* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 14.0.0-1 +* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.9-1 - Initial release for TDE R14.0.0 diff --git a/redhat/dependencies/dbus-tqt/dbus-tqt-14.0.0.spec b/redhat/dependencies/dbus-tqt/dbus-tqt-14.0.0.spec index 38774d5aa..6e7f8944b 100644 --- a/redhat/dependencies/dbus-tqt/dbus-tqt-14.0.0.spec +++ b/redhat/dependencies/dbus-tqt/dbus-tqt-14.0.0.spec @@ -1,11 +1,12 @@ -# Always install under standard prefix +# TDE specific building variables +%define tde_version 14.0.0 %define tde_prefix /usr - %define tde_includedir %{tde_prefix}/include %define tde_libdir %{tde_prefix}/%{_lib} Name: trinity-dbus-tqt -Version: 14.0.0 +Epoch: 1 +Version: 0.63 Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} License: GPL Summary: Dbus TQT Interface @@ -17,7 +18,7 @@ Packager: Francois Andriot <francois.andriot@free.fr> Prefix: %{tde_prefix} BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz # [dbus-tqt] Fix build on RHEL 4 Patch1: dbus-tqt-3.5.13-fix_old_dbus_types.patch @@ -30,14 +31,12 @@ BuildRequires: dbus-devel %endif BuildRequires: trinity-tqtinterface-devel >= %{version} -# TDE 3.5.13 specific building variables BuildRequires: cmake >= 2.8 BuildRequires: trinity-tqt3-devel >= 3.5.0 - Requires: trinity-tqt3 >= 3.5.0 -Obsoletes: dbus-tqt < %{version}-%{release} -Provides: dbus-tqt = %{version}-%{release} +Obsoletes: dbus-tqt < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: dbus-tqt = %{?epoch:%{epoch}:}%{version}-%{release} %description @@ -61,8 +60,8 @@ Requires: %{name} Summary: %{name} - Development files Group: Development/Libraries -Obsoletes: dbus-tqt-devel < %{version}-%{release} -Provides: dbus-tqt-devel = %{version}-%{release} +Obsoletes: dbus-tqt-devel < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: dbus-tqt-devel = %{?epoch:%{epoch}:}%{version}-%{release} %description devel Development files for %{name} @@ -88,7 +87,7 @@ Development files for %{name} %prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} %if 0%{?rhel} == 4 %patch1 -p1 -b .dbustypes @@ -133,5 +132,5 @@ cd build %changelog -* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 14.0.0-1 +* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.63-1 - Initial release for TDE R14.0.0 diff --git a/redhat/dependencies/libcaldav/libcaldav-14.0.0.spec b/redhat/dependencies/libcaldav/libcaldav-14.0.0.spec index 839955a60..47b0a98c4 100644 --- a/redhat/dependencies/libcaldav/libcaldav-14.0.0.spec +++ b/redhat/dependencies/libcaldav/libcaldav-14.0.0.spec @@ -94,10 +94,12 @@ fi %__make %{?_smp_mflags} + %install %__rm -rf %{buildroot} %__make install DESTDIR=%{buildroot} +#Â Unwanted files %__rm -f %{buildroot}%{tde_libdir}/*.a diff --git a/redhat/dependencies/python-tqt/python-tqt-14.0.0.spec b/redhat/dependencies/python-tqt/python-tqt-14.0.0.spec index 825acf76f..645d7df82 100644 --- a/redhat/dependencies/python-tqt/python-tqt-14.0.0.spec +++ b/redhat/dependencies/python-tqt/python-tqt-14.0.0.spec @@ -1,9 +1,7 @@ %{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} -%define tde_version 14.0.0 -# Always install under standard prefix +%define tde_version 14.0.0 %define tde_prefix /usr - %define tde_bindir %{tde_prefix}/bin %define tde_includedir %{tde_prefix}/include %define tde_libdir %{tde_prefix}/%{_lib} @@ -91,7 +89,7 @@ Requires: %{name} = %{version}-%{release} %description tqtext PyQt Extensions. Contains: -* QScintilla: a featureful TQt source code editing component based +* TQScintilla: a featureful TQt source code editing component based on Scintilla. %files tqtext @@ -119,12 +117,12 @@ Linguist translation files from Python code. %package devel Summary: TQt bindings for Python - Development files Requires: %{name} = %{version}-%{release} -Requires: %{name}-tools = %{version}-%{release} +Requires: trinity-pytqt-tools = %{version}-%{release} %description devel Development .sip files with definitions of PyQt classes. They are needed to build PyQt, but also as building blocks of other -packages based on them, like PyKDE. +packages based on them, like PyTDE. %files devel %defattr(-,root,root,-) diff --git a/redhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec b/redhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec index bc87f7180..2d82e8596 100755 --- a/redhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec +++ b/redhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec @@ -1,11 +1,8 @@ # Always build under "/usr" -%define tde_prefix /usr %define cmake_modules_dir %{_datadir}/cmake/Modules %define tde_version 14.0.0 - -# 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 tde_prefix /usr %define tde_bindir %{tde_prefix}/bin %define tde_includedir %{tde_prefix}/include %define tde_libdir %{tde_prefix}/%{_lib} |