summaryrefslogtreecommitdiffstats
path: root/redhat/kdepim
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2012-11-24 09:58:05 +0100
committerFrancois Andriot <francois.andriot@free.fr>2012-11-24 09:58:05 +0100
commit32fb770ae4ed0851491a59df5e23e27fb8afdadf (patch)
treec36a3226a9dd6588d754bd3b0dccacf89e0589b3 /redhat/kdepim
parente7f51ead5a067b6e3ac4fc64edc734a82711f2d2 (diff)
downloadtde-packaging-32fb770ae4ed0851491a59df5e23e27fb8afdadf.tar.gz
tde-packaging-32fb770ae4ed0851491a59df5e23e27fb8afdadf.zip
RPM: add PCLinuxOS support
Diffstat (limited to 'redhat/kdepim')
-rw-r--r--redhat/kdepim/trinity-kdepim-3.5.13.1.spec17
1 files changed, 13 insertions, 4 deletions
diff --git a/redhat/kdepim/trinity-kdepim-3.5.13.1.spec b/redhat/kdepim/trinity-kdepim-3.5.13.1.spec
index 97308bae2..8a2c65922 100644
--- a/redhat/kdepim/trinity-kdepim-3.5.13.1.spec
+++ b/redhat/kdepim/trinity-kdepim-3.5.13.1.spec
@@ -30,7 +30,7 @@ BuildRequires: gnokii-devel
Name: trinity-tdepim
Version: 3.5.13.1
-Release: 1%{?dist}%{?_variant}
+Release: 2%{?dist}%{?_variant}
License: GPL
Group: Applications/Productivity
@@ -1349,8 +1349,6 @@ installed.
%{tde_datadir}/servicetypes/dcopcalendar.desktop
%{tde_datadir}/servicetypes/korganizerpart.desktop
%{tde_datadir}/servicetypes/korgprintplugin.desktop
-%{tde_tdeincludedir}/korganizer/
-%{tde_tdeincludedir}/calendar/
%{tde_tdedocdir}/HTML/en/korganizer/
%post -n trinity-korganizer
@@ -1380,6 +1378,8 @@ Requires: trinity-korganizer = %{version}-%{release}
%{summary}
%files -n trinity-korganizer-devel
+%{tde_tdeincludedir}/korganizer/
+%{tde_tdeincludedir}/calendar/
%{tde_libdir}/libkocorehelper.la
%{tde_libdir}/libkocorehelper.so
%{tde_libdir}/libkorg_stdprinting.la
@@ -2085,7 +2085,7 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
##########
-%if 0%{?suse_version}
+%if 0%{?suse_version} || 0%{?pclinuxos}
%debug_package
%endif
@@ -2148,10 +2148,19 @@ export PATH="%{_bindir}:${PATH}"
%__rm -rf %{?buildroot}
%__make install DESTDIR=%{?buildroot} -C build
+# Fix for Perl path in trinity-korganizer
+# Perl is '/usr/bin/perl' not '/bin/perl'
+%if 0%{?fedora} >= 17
+%__sed -i %{?buildroot}%{?tde_bindir}/ical2vcal -e "s|/bin/perl|/usr/bin/perl|"
+%endif
+
%clean
%__rm -rf %{?buildroot}
%changelog
+* Sun Nov 11 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13.1-2
+- Fix korganizer packaging
+
* Tue Sep 25 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13.1-1
- Initial build for TDE 3.5.13.1