summaryrefslogtreecommitdiffstats
path: root/redhat/applications/kaffeine-mozilla/trinity-kaffeine-mozilla.spec
diff options
context:
space:
mode:
authorFrancois Andriot <[email protected]>2012-04-28 12:43:57 +0200
committerFrancois Andriot <[email protected]>2012-04-28 12:43:57 +0200
commit7d9d6bed18d84ef5eadc23e357888c140782ee89 (patch)
treedadf2d6164bec8d97ab39c12e5eceab52d8a834e /redhat/applications/kaffeine-mozilla/trinity-kaffeine-mozilla.spec
parent7a3373213ca48d1a4d711e3d77bc75c0b74f5b50 (diff)
downloadtde-packaging-7d9d6bed18d84ef5eadc23e357888c140782ee89.tar.gz
tde-packaging-7d9d6bed18d84ef5eadc23e357888c140782ee89.zip
RHEL/Fedora: updates kaffeine-mozilla build procedure
Diffstat (limited to 'redhat/applications/kaffeine-mozilla/trinity-kaffeine-mozilla.spec')
-rw-r--r--redhat/applications/kaffeine-mozilla/trinity-kaffeine-mozilla.spec16
1 files changed, 9 insertions, 7 deletions
diff --git a/redhat/applications/kaffeine-mozilla/trinity-kaffeine-mozilla.spec b/redhat/applications/kaffeine-mozilla/trinity-kaffeine-mozilla.spec
index e693dadb9..8a037a459 100644
--- a/redhat/applications/kaffeine-mozilla/trinity-kaffeine-mozilla.spec
+++ b/redhat/applications/kaffeine-mozilla/trinity-kaffeine-mozilla.spec
@@ -1,7 +1,7 @@
# Default version for this component
%define kdecomp kaffeine-mozilla
-%define version 0.4.3.1.dfsg
-%define release 1
+%define version 0.4.3.1
+%define release 2
%define _prefix /usr
@@ -35,6 +35,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{kdecomp}-3.5.13.tar.gz
+# Fix 'nspr' includes location
+Patch1: kaffeine-mozilla-3.5.13-fix_nspr_include.patch
BuildRequires: tqtinterface-devel
BuildRequires: trinity-kdelibs-devel
@@ -53,15 +55,12 @@ when a page containing a supported media format is loaded.
%prep
unset QTDIR; . /etc/profile.d/qt.sh
%setup -q -n applications/%{kdecomp}
+%patch1 -p1
%__cp -f "/usr/share/aclocal/libtool.m4" .
%__cp -f "/usr/share/libtool/config/ltmain.sh" .
-autoreconf
+autoreconf -fiv
-for i in src/jri_md.h src/jni_md.h; do
- %__sed -i "${i}" \
- -e "s|nspr/prtypes.h|nspr4/prtypes.h|g"
-done
%build
export PATH="%{_bindir}:${PATH}"
@@ -105,6 +104,9 @@ gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
%Changelog
+* Thu Apr 26 2012 Francois Andriot <[email protected]> - 0.4.3.1-2
+- Rebuild with nicer patch.
+
* Sat Dec 03 2011 Francois Andriot <[email protected]> - 0.4.3.1.dfsg-1
- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16