summaryrefslogtreecommitdiffstats
path: root/redhat/applications/k3b-i18n/k3b-i18n-3.5.13.2.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/k3b-i18n/k3b-i18n-3.5.13.2.spec')
-rw-r--r--redhat/applications/k3b-i18n/k3b-i18n-3.5.13.2.spec431
1 files changed, 262 insertions, 169 deletions
diff --git a/redhat/applications/k3b-i18n/k3b-i18n-3.5.13.2.spec b/redhat/applications/k3b-i18n/k3b-i18n-3.5.13.2.spec
index c43bf768d..384dcdc43 100644
--- a/redhat/applications/k3b-i18n/k3b-i18n-3.5.13.2.spec
+++ b/redhat/applications/k3b-i18n/k3b-i18n-3.5.13.2.spec
@@ -1,9 +1,13 @@
+# Default version for this component
+%define tde_pkg k3n-i18n
+%define tde_version 3.5.13.2
+
# 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 3.5.13 specific building variables
+# TDE specific building variables
%define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
@@ -20,14 +24,14 @@
%define _docdir %{tde_docdir}
-Name: trinity-k3b-i18n
-Summary: Locale files for K3B
-Version: 1.0.5
-Release: 3%{?dist}%{?_variant}
+Name: trinity-k3b-i18n
+Summary: Locale files for K3B
+Version: 1.0.5
+Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant}
-Vendor: Trinity Project
-Packager: Francois Andriot <francois.andriot@free.fr>
-URL: http://www.trinitydesktop.org/
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
BuildArch: noarch
@@ -36,22 +40,26 @@ BuildArch: noarch
%define __spec_install_post %{nil}
AutoReq: no
-Prefix: %{_prefix}
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Prefix: %{_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Group: Applications/Archiving
-License: GPLv2+
+Group: Applications/Archiving
+License: GPLv2+
-Source0: %{name}-3.5.13.2.tar.gz
+Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
-BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+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
Requires(post): coreutils
Requires(postun): coreutils
-Requires: trinity-k3b
+Requires: trinity-k3b
%description
@@ -61,114 +69,264 @@ steps of the burning process the beginner may find comfort in the
automatic settings and the reasonable k3b defaults which allow a quick
start.
-%package da
-Group: Applications/Archiving
-Requires: trinity-k3b
-Summary: Danish (da) translations for K3B [Trinity]
-%description da
+##########
+
+%package Danish
+Group: Applications/Archiving
+Requires: trinity-k3b
+Summary: Danish (da) translations for K3B [Trinity]
+
+Obsoletes: trinity-k3b-i18n-da < %{version}-%{release}
+Provides: trinity-k3b-i18n-da = %{version}-%{release}
+
+%description Danish
This package contains the Danish translations for K3B.
-%package de
-Group: Applications/Archiving
-Requires: trinity-k3b
-Summary: German (de) translations for K3B [Trinity]
-%description de
+%files Danish
+%defattr(-,root,root,-)
+%lang(da) %{tde_tdedocdir}/HTML/da/k3b
+%lang(da) %{tde_datadir}/locale/da/LC_MESSAGES/*.mo
+
+##########
+
+%package German
+Group: Applications/Archiving
+Requires: trinity-k3b
+Summary: German (de) translations for K3B [Trinity]
+
+Obsoletes: trinity-k3b-i18n-de < %{version}-%{release}
+Provides: trinity-k3b-i18n-de = %{version}-%{release}
+
+%description German
This package contains the German translations for K3B.
-%package el
-Group: Applications/Archiving
-Requires: trinity-k3b >= %{version}
-Summary: Greek (el) translations for K3B [Trinity]
-%description el
+%files German
+%defattr(-,root,root,-)
+%lang(de) %{tde_tdedocdir}/HTML/de/k3b
+%lang(de) %{tde_datadir}/locale/de/LC_MESSAGES/*.mo
+
+##########
+
+%package Greek
+Group: Applications/Archiving
+Requires: trinity-k3b >= %{version}
+Summary: Greek (el) translations for K3B [Trinity]
+
+Obsoletes: trinity-k3b-i18n-el < %{version}-%{release}
+Provides: trinity-k3b-i18n-el = %{version}-%{release}
+
+%description Greek
This package contains the greek translations for K3B.
-%package es
-Group: Applications/Archiving
-Requires: trinity-k3b
-Summary: Spanish (es) translations for K3B [Trinity]
-%description es
+%files Greek
+%defattr(-,root,root,-)
+#%lang(el) %{tde_tdedocdir}/HTML/el/k3b
+%lang(el) %{tde_datadir}/locale/el/LC_MESSAGES/*.mo
+
+##########
+
+%package Spanish
+Group: Applications/Archiving
+Requires: trinity-k3b
+Summary: Spanish (es) translations for K3B [Trinity]
+
+Obsoletes: trinity-k3b-i18n-es < %{version}-%{release}
+Provides: trinity-k3b-i18n-es = %{version}-%{release}
+
+%description Spanish
This package contains the Spanish translations for K3B.
-%package et
-Group: Applications/Archiving
-Requires: trinity-k3b
-Summary: Estonian (et) translations for K3B [Trinity]
-%description et
+%files Spanish
+%defattr(-,root,root,-)
+%lang(es) %{tde_tdedocdir}/HTML/es/k3b
+%lang(es) %{tde_datadir}/locale/es/LC_MESSAGES/*.mo
+
+##########
+
+%package Estonian
+Group: Applications/Archiving
+Requires: trinity-k3b
+Summary: Estonian (et) translations for K3B [Trinity]
+
+Obsoletes: trinity-k3b-i18n-et < %{version}-%{release}
+Provides: trinity-k3b-i18n-et = %{version}-%{release}
+
+%description Estonian
This package contains the Estonian translations for K3B.
-%package fr
-Group: Applications/Archiving
-Requires: trinity-k3b
-Summary: French (fr) translations for K3B [Trinity]
-%description fr
+%files Estonian
+%defattr(-,root,root,-)
+%lang(et) %{tde_tdedocdir}/HTML/et/k3b
+%lang(et) %{tde_datadir}/locale/et/LC_MESSAGES/*.mo
+
+##########
+
+%package French
+Group: Applications/Archiving
+Requires: trinity-k3b
+Summary: French (fr) translations for K3B [Trinity]
+
+Obsoletes: trinity-k3b-i18n-fr < %{version}-%{release}
+Provides: trinity-k3b-i18n-fr = %{version}-%{release}
+
+%description French
This package contains the French translations for K3B.
-%package it
-Group: Applications/Archiving
-Requires: trinity-k3b
-Summary: Italian (it) translations for K3B [Trinity]
-%description it
+%files French
+%defattr(-,root,root,-)
+%lang(fr) %{tde_tdedocdir}/HTML/fr/k3b
+%lang(fr) %{tde_datadir}/locale/fr/LC_MESSAGES/*.mo
+
+##########
+
+%package Italian
+Group: Applications/Archiving
+Requires: trinity-k3b
+Summary: Italian (it) translations for K3B [Trinity]
+
+Obsoletes: trinity-k3b-i18n-it < %{version}-%{release}
+Provides: trinity-k3b-i18n-it = %{version}-%{release}
+
+%description Italian
This package contains the Italian translations for K3B.
-%package nl
-Group: Applications/Archiving
-Requires: trinity-k3b
-Summary: Dutch (nl) translations for K3B [Trinity]
-%description nl
+%files Italian
+%defattr(-,root,root,-)
+%lang(it) %{tde_tdedocdir}/HTML/it/k3b
+%lang(it) %{tde_datadir}/locale/it/LC_MESSAGES/*.mo
+
+##########
+
+%package Dutch
+Group: Applications/Archiving
+Requires: trinity-k3b
+Summary: Dutch (nl) translations for K3B [Trinity]
+
+Obsoletes: trinity-k3b-i18n-nl < %{version}-%{release}
+Provides: trinity-k3b-i18n-nl = %{version}-%{release}
+
+%description Dutch
This package contains the Dutch translations for K3B.
-%package pl
-Group: Applications/Archiving
-Requires: trinity-k3b
-Summary: Polish (pl) translations for K3B [Trinity]
-%description pl
+%files Dutch
+%defattr(-,root,root,-)
+%lang(nl) %{tde_tdedocdir}/HTML/nl/k3b
+%lang(nl) %{tde_datadir}/locale/nl/LC_MESSAGES/*.mo
+
+##########
+
+%package Polish
+Group: Applications/Archiving
+Requires: trinity-k3b
+Summary: Polish (pl) translations for K3B [Trinity]
+
+Obsoletes: trinity-k3b-i18n-pl < %{version}-%{release}
+Provides: trinity-k3b-i18n-pl = %{version}-%{release}
+
+%description Polish
This package contains the Polish translations for K3B.
-%package pt
-Group: Applications/Archiving
-Requires: trinity-k3b
-Summary: Portuguese (pt) translations for K3B [Trinity]
-%description pt
+%files Polish
+%defattr(-,root,root,-)
+%lang(pl) %{tde_tdedocdir}/HTML/pl/k3b
+%lang(pl) %{tde_datadir}/locale/pl/LC_MESSAGES/*.mo
+
+##########
+
+%package Portuguese
+Group: Applications/Archiving
+Requires: trinity-k3b
+Summary: Portuguese (pt) translations for K3B [Trinity]
+
+Obsoletes: trinity-k3b-i18n-pt < %{version}-%{release}
+Provides: trinity-k3b-i18n-pt = %{version}-%{release}
+
+%description Portuguese
This package contains the Portuguese translations for K3B.
-%package ptbr
-Group: Applications/Archiving
-Requires: trinity-k3b
-Summary: Brazilian Portuguese (pt_BR) translations for K3B [Trinity]
-%description ptbr
+%files Portuguese
+%defattr(-,root,root,-)
+%lang(pt) %{tde_tdedocdir}/HTML/pt/k3b
+%lang(pt) %{tde_datadir}/locale/pt/LC_MESSAGES/*.mo
+
+##########
+
+%package Brazil
+Group: Applications/Archiving
+Requires: trinity-k3b
+Summary: Brazilian Portuguese (pt_BR) translations for K3B [Trinity]
+
+Obsoletes: trinity-k3b-i18n-pt_BR < %{version}-%{release}
+Provides: trinity-k3b-i18n-pt_BR = %{version}-%{release}
+Obsoletes: trinity-k3b-i18n-ptbr < %{version}-%{release}
+Provides: trinity-k3b-i18n-ptbr = %{version}-%{release}
+
+%description Brazil
This package contains the Brazilian Portuguese translations for K3B.
-%package ru
-Group: Applications/Archiving
-Requires: trinity-k3b
-Summary: Russian (ru) translations for K3B [Trinity]
-%description ru
+%files Brazil
+%defattr(-,root,root,-)
+%lang(pt_BR) %{tde_tdedocdir}/HTML/pt_BR/k3b
+%lang(pt_BR) %{tde_datadir}/locale/pt_BR/LC_MESSAGES/*.mo
+
+##########
+
+%package Russian
+Group: Applications/Archiving
+Requires: trinity-k3b
+Summary: Russian (ru) translations for K3B [Trinity]
+
+Obsoletes: trinity-k3b-i18n-ru < %{version}-%{release}
+Provides: trinity-k3b-i18n-ru = %{version}-%{release}
+
+%description Russian
This package contains the Russian translations for K3B.
-%package sv
-Group: Applications/Archiving
-Requires: trinity-k3b
-Summary: Swedish (sv) translations for K3B [Trinity]
-%description sv
+%files Russian
+%defattr(-,root,root,-)
+%lang(ru) %{tde_tdedocdir}/HTML/ru/k3b
+%lang(ru) %{tde_datadir}/locale/ru/LC_MESSAGES/*.mo
+
+##########
+
+%package Swedish
+Group: Applications/Archiving
+Requires: trinity-k3b
+Summary: Swedish (sv) translations for K3B [Trinity]
+
+Obsoletes: trinity-k3b-i18n-sv < %{version}-%{release}
+Provides: trinity-k3b-i18n-sv = %{version}-%{release}
+
+%description Swedish
This package contains the Swedish translations for K3B.
-%package uk
-Group: Applications/Archiving
-Requires: trinity-k3b
-Summary: Ukrainian (uk) translations for K3B [Trinity]
-%description uk
-This package contains the Ukrainian translations for K3B.
+%files Swedish
+%defattr(-,root,root,-)
+%lang(sv) %{tde_tdedocdir}/HTML/sv/k3b
+%lang(sv) %{tde_datadir}/locale/sv/LC_MESSAGES/*.mo
+##########
-%prep
-%setup -q -n %{name}-3.5.13.2
+%package Ukrainian
+Group: Applications/Archiving
+Requires: trinity-k3b
+Summary: Ukrainian (uk) translations for K3B [Trinity]
+
+Obsoletes: trinity-k3b-i18n-uk < %{version}-%{release}
+Provides: trinity-k3b-i18n-uk = %{version}-%{release}
+
+%description Ukrainian
+This package contains the Ukrainian translations for K3B.
+%files Ukrainian
+%defattr(-,root,root,-)
+%lang(uk) %{tde_tdedocdir}/HTML/uk/k3b
+%lang(uk) %{tde_datadir}/locale/uk/LC_MESSAGES/*.mo
-# 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|%{tde_includedir}/tqt|g" \
- -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
+##########
+
+%prep
+%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
@@ -178,7 +336,6 @@ This package contains the Ukrainian translations for K3B.
%build
unset QTDIR || : ; . /etc/profile.d/qt3.sh
export PATH="%{tde_bindir}:${PATH}"
-export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
./configure \
--prefix=%{tde_prefix} \
@@ -189,12 +346,17 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
--includedir=%{tde_tdeincludedir} \
--libdir=%{tde_libdir} \
--mandir=%{tde_mandir} \
- --disable-rpath \
- --with-extra-includes=%{tde_includedir}/tqt \
- --enable-closure
+ \
+ --disable-dependency-tracking \
+ --disable-debug \
+ --enable-new-ldflags \
+ --enable-final \
+ --enable-closure \
+ --enable-rpath
%__make %{?_smp_mflags}
+
%install
%__rm -rf %{buildroot}
%__make install DESTDIR=%{buildroot}
@@ -245,79 +407,10 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
%__rm -rf %{buildroot}
-%files da
-%defattr(-,root,root,-)
-%lang(da) %{tde_tdedocdir}/HTML/da/k3b
-%lang(da) %{tde_datadir}/locale/da/LC_MESSAGES/*.mo
-
-%files de
-%defattr(-,root,root,-)
-%lang(de) %{tde_tdedocdir}/HTML/de/k3b
-%lang(de) %{tde_datadir}/locale/de/LC_MESSAGES/*.mo
-
-%files el
-%defattr(-,root,root,-)
-#%lang(el) %{tde_tdedocdir}/HTML/el/k3b
-%lang(el) %{tde_datadir}/locale/el/LC_MESSAGES/*.mo
-
-%files es
-%defattr(-,root,root,-)
-%lang(es) %{tde_tdedocdir}/HTML/es/k3b
-%lang(es) %{tde_datadir}/locale/es/LC_MESSAGES/*.mo
-
-%files et
-%defattr(-,root,root,-)
-%lang(et) %{tde_tdedocdir}/HTML/et/k3b
-%lang(et) %{tde_datadir}/locale/et/LC_MESSAGES/*.mo
-
-%files fr
-%defattr(-,root,root,-)
-%lang(fr) %{tde_tdedocdir}/HTML/fr/k3b
-%lang(fr) %{tde_datadir}/locale/fr/LC_MESSAGES/*.mo
-
-%files it
-%defattr(-,root,root,-)
-%lang(it) %{tde_tdedocdir}/HTML/it/k3b
-%lang(it) %{tde_datadir}/locale/it/LC_MESSAGES/*.mo
-
-%files nl
-%defattr(-,root,root,-)
-%lang(nl) %{tde_tdedocdir}/HTML/nl/k3b
-%lang(nl) %{tde_datadir}/locale/nl/LC_MESSAGES/*.mo
-
-%files pl
-%defattr(-,root,root,-)
-%lang(pl) %{tde_tdedocdir}/HTML/pl/k3b
-%lang(pl) %{tde_datadir}/locale/pl/LC_MESSAGES/*.mo
-
-%files pt
-%defattr(-,root,root,-)
-%lang(pt) %{tde_tdedocdir}/HTML/pt/k3b
-%lang(pt) %{tde_datadir}/locale/pt/LC_MESSAGES/*.mo
-
-%files ptbr
-%defattr(-,root,root,-)
-%lang(pt_BR) %{tde_tdedocdir}/HTML/pt_BR/k3b
-%lang(pt_BR) %{tde_datadir}/locale/pt_BR/LC_MESSAGES/*.mo
-
-%files ru
-%defattr(-,root,root,-)
-%lang(ru) %{tde_tdedocdir}/HTML/ru/k3b
-%lang(ru) %{tde_datadir}/locale/ru/LC_MESSAGES/*.mo
-
-%files sv
-%defattr(-,root,root,-)
-%lang(sv) %{tde_tdedocdir}/HTML/sv/k3b
-%lang(sv) %{tde_datadir}/locale/sv/LC_MESSAGES/*.mo
-
-%files uk
-%defattr(-,root,root,-)
-%lang(uk) %{tde_tdedocdir}/HTML/uk/k3b
-%lang(uk) %{tde_datadir}/locale/uk/LC_MESSAGES/*.mo
-
-
-
%changelog
+* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 1.0.5-4
+- Build for Fedora 19
+
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.0.5-3
- Initial release for TDE 3.5.13.2