summaryrefslogtreecommitdiffstats
path: root/redhat/applications/kdbusnotification/kdbusnotification-3.5.13.2.spec
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2013-07-30 11:58:25 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2013-07-30 11:58:25 +0200
commit0f108a5d0ad95ba3591af576e6dd6a683f69789b (patch)
tree3a10cc86ac37a031b213902fb343b3008a82ae43 /redhat/applications/kdbusnotification/kdbusnotification-3.5.13.2.spec
parent6f4cd26a026481f6c28527dbc5228454d84ad5d7 (diff)
downloadtde-packaging-0f108a5d0ad95ba3591af576e6dd6a683f69789b.tar.gz
tde-packaging-0f108a5d0ad95ba3591af576e6dd6a683f69789b.zip
RPM Packaging: lots of updates for 3.5.13.2
Diffstat (limited to 'redhat/applications/kdbusnotification/kdbusnotification-3.5.13.2.spec')
-rw-r--r--redhat/applications/kdbusnotification/kdbusnotification-3.5.13.2.spec59
1 files changed, 33 insertions, 26 deletions
diff --git a/redhat/applications/kdbusnotification/kdbusnotification-3.5.13.2.spec b/redhat/applications/kdbusnotification/kdbusnotification-3.5.13.2.spec
index c1fa65c21..c76b84f2b 100644
--- a/redhat/applications/kdbusnotification/kdbusnotification-3.5.13.2.spec
+++ b/redhat/applications/kdbusnotification/kdbusnotification-3.5.13.2.spec
@@ -1,12 +1,13 @@
# Default version for this component
-%define kdecomp kdbusnotification
+%define tde_pkg kdbusnotification
+%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
@@ -23,37 +24,37 @@
%define _docdir %{tde_docdir}
-Name: trinity-%{kdecomp}
-Summary: a DBUS notification service [Trinity]
+Name: trinity-%{tde_pkg}
+Summary: a DBUS notification service [Trinity]
-Version: 0.1
-Release: 4.1%{?dist}%{?_variant}
+Version: 0.1
+Release: %{?!preversion:5}%{?preversion:4_%{preversion}}%{?dist}%{?_variant}
-License: GPLv2+
-Group: Applications/Utilities
+License: GPLv2+
+Group: Applications/Utilities
-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/
-Prefix: %{tde_prefix}
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Source0: %{name}-3.5.13.2.tar.gz
+Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Patch1: kdbusnotification-14.0.0-fix_utf8.patch
-BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
-BuildRequires: trinity-arts-devel >= 3.5.13.2
-BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
-BuildRequires: trinity-tdebase-devel >= 3.5.13.2
-BuildRequires: desktop-file-utils
-BuildRequires: gtk2-devel
+BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
+BuildRequires: trinity-arts-devel >= %{tde_version}
+BuildRequires: trinity-tdelibs-devel >= %{tde_version}
+BuildRequires: trinity-tdebase-devel >= %{tde_version}
+BuildRequires: desktop-file-utils
+BuildRequires: gtk2-devel
%if 0%{?suse_version}
-BuildRequires: dbus-1-glib-devel
+BuildRequires: dbus-1-glib-devel
%else
-BuildRequires: dbus-glib-devel
+BuildRequires: dbus-glib-devel
%endif
%description
@@ -67,7 +68,7 @@ DBUS notifications via unobtrusive, easily dismissed passive popups.
%prep
-%setup -q -n %{name}-3.5.13.2
+%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%patch1 -p1 -b .utf8
# Ugly hack to modify TQT include directory inside autoconf files.
@@ -93,9 +94,15 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
--libdir=%{tde_libdir} \
--datadir=%{tde_datadir} \
--includedir=%{tde_tdeincludedir} \
+ \
+ --disable-dependency-tracking \
+ --disable-debug \
+ --enable-new-ldflags \
+ --enable-final \
+ --enable-closure \
--disable-rpath \
- --with-extra-includes=%{tde_includedir}/tqt \
- --enable-closure
+ \
+ --with-extra-includes=%{tde_includedir}/tqt
%__make %{?_smp_mflags}
@@ -120,7 +127,7 @@ export PATH="%{tde_bindir}:${PATH}"
%changelog
-* Sun Jul 21 2013 Francois Andriot <francois.andriot@free.fr> - 0.1-4.1
+* Sun Jul 28 2013 Francois Andriot <francois.andriot@free.fr> - 0.1-5
- Fix UTF8 messages
* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.1-4