diff options
author | François Andriot <albator78@libertysurf.fr> | 2014-10-04 20:02:44 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2014-10-04 20:02:44 +0200 |
commit | 3874a59988bcd5c975928863e9a0cd792cb5f780 (patch) | |
tree | 14c337262805710cba274c26fbac9f825ac092d2 /redhat/applications/krecipes | |
parent | b33353afb9580b295ace66afb41ea352a305d73f (diff) | |
download | tde-packaging-3874a59988bcd5c975928863e9a0cd792cb5f780.tar.gz tde-packaging-3874a59988bcd5c975928863e9a0cd792cb5f780.zip |
RPM Packaging: update R14 packages
Diffstat (limited to 'redhat/applications/krecipes')
-rw-r--r-- | redhat/applications/krecipes/krecipes-14.0.0.spec | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/redhat/applications/krecipes/krecipes-14.0.0.spec b/redhat/applications/krecipes/krecipes-14.0.0.spec index b90f1eb85..43af9cd92 100644 --- a/redhat/applications/krecipes/krecipes-14.0.0.spec +++ b/redhat/applications/krecipes/krecipes-14.0.0.spec @@ -1,27 +1,27 @@ # Default version for this component %define tde_pkg krecipes -%define tde_version 14.0.0 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif -# TDE specific building variables +# TDE variables +%define tde_version 14.0.0 +%define tde_prefix /opt/trinity %define tde_bindir %{tde_prefix}/bin %define tde_datadir %{tde_prefix}/share %define tde_docdir %{tde_datadir}/doc %define tde_includedir %{tde_prefix}/include %define tde_libdir %{tde_prefix}/%{_lib} %define tde_mandir %{tde_datadir}/man - %define tde_tdeappdir %{tde_datadir}/applications/tde %define tde_tdedocdir %{tde_docdir}/tde %define tde_tdeincludedir %{tde_includedir}/tde %define tde_tdelibdir %{tde_libdir}/trinity - %define _docdir %{tde_docdir} +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + + Name: trinity-%{tde_pkg} Summary: Recipes manager for TDE @@ -40,10 +40,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-arts-devel >= 1:1.5.10 BuildRequires: trinity-tdelibs-devel >= %{tde_version} -BuildRequires: trinity-tdebase-devel >= %{tde_version} BuildRequires: desktop-file-utils BuildRequires: gettext @@ -64,7 +61,7 @@ with available ingredients and a diet helper. It can also import or export recipes from files in various format (eg RecipeML or Meal-Master) or from databases. -%if 0%{?suse_version} || 0%{?pclinuxos} +%if 0%{?pclinuxos} %debug_package %endif @@ -81,7 +78,6 @@ databases. %build unset QTDIR QTINC QTLIB export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" %configure \ --prefix=%{tde_prefix} \ @@ -104,7 +100,7 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" --with-mysql \ --with-postgresql -%__make %{?_smp_mflags} +%__make %{?_smp_mflags} || %__make %install |