summaryrefslogtreecommitdiffstats
path: root/redhat/main
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2015-01-05 19:53:37 +0100
committerFrançois Andriot <albator78@libertysurf.fr>2015-01-05 19:53:37 +0100
commite0e67a8e9b2f52c451f8d4109390843f918a4755 (patch)
tree109c33195e0612f6ec5f0c6c4d3e817263372d66 /redhat/main
parentf443e8753bd87e73c232a965c40c59e873fb495e (diff)
downloadtde-packaging-e0e67a8e9b2f52c451f8d4109390843f918a4755.tar.gz
tde-packaging-e0e67a8e9b2f52c451f8d4109390843f918a4755.zip
RPM packaging: update tde-i18n
Diffstat (limited to 'redhat/main')
-rw-r--r--redhat/main/tde-i18n/tde-i18n-14.0.0.spec60
1 files changed, 40 insertions, 20 deletions
diff --git a/redhat/main/tde-i18n/tde-i18n-14.0.0.spec b/redhat/main/tde-i18n/tde-i18n-14.0.0.spec
index 47129a3c7..98a26288f 100644
--- a/redhat/main/tde-i18n/tde-i18n-14.0.0.spec
+++ b/redhat/main/tde-i18n/tde-i18n-14.0.0.spec
@@ -1,21 +1,39 @@
-# Default version for this component
-%define tde_pkg tde-i18n
+#
+# spec file for package tde-i18n (version R14.0.0)
+#
+# Copyright (c) 2014 Trinity Desktop Environment
+#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+#
+# Please submit bugfixes or comments via http:/www.trinitydesktop.org/
+#
+
+# TDE variables
+%define tde_epoch 2
%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
-BuildRequires: autoconf automake libtool m4
+%define tde_pkg tde-i18n
+%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
+
+
+Name: trinity-%{tde_pkg}
+Epoch: %{tde_epoch}
# Builds all supported languages (not unsupported ones)
%if "%{?TDE_LANGS}" == ""
@@ -24,20 +42,21 @@ BuildRequires: autoconf automake libtool m4
Name: trinity-%{tde_pkg}
-Summary: Internationalization support for Trinity
Version: %{tde_version}
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
-
Vendor: Trinity Project
-Packager: Francois Andriot <francois.andriot@free.fr>
-URL: http://www.trinitydesktop.org/
+Summary: Internationalization support for Trinity
+Group: User Interface/Desktops
-Prefix: %{tde_prefix}
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+%if 0%{?suse_version}
+License: GPL-2.0+
+%else
+License: GPLv2+
+%endif
+
+#Vendor: Trinity Desktop
+#Packager: Francois Andriot <francois.andriot@free.fr>
-# GFDL, with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
-License: GFDL
-Group: User Interface/Desktops
BuildArch: noarch
# Speed build options
@@ -52,6 +71,7 @@ BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: findutils
BuildRequires: gettext
+BuildRequires: cmake
%description
%{summary}.