From c01d42c2be096efb9a0834c9a980d517b2167806 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Jan 14 2009 14:36:57 +0000 Subject: Creates also plugins and extensions subdirectories (fixing bug #479921). --- diff --git a/epiphany.spec b/epiphany.spec index 8f9299f..a1f2bee 100644 --- a/epiphany.spec +++ b/epiphany.spec @@ -8,7 +8,9 @@ Summary: Web browser for GNOME Name: epiphany Version: 2.24.2.1 -Release: 4%{?dist} +Release: 5%{?dist} +%define major_version 2.24 +Provides: epiphany(abi) = %{major_version} License: GPLv2+ and GFDL Group: Applications/Internet URL: http://www.gnome.org/projects/epiphany/ @@ -175,6 +177,11 @@ rm -f $RPM_BUILD_ROOT/%{_datadir}/icons/HighContrastLargePrintInverse/icon-theme # LowContrastLargePrint seems to be obsolete, so remove it until further notice rm -rf $RPM_BUILD_ROOT/%{_datadir}/icons/LowContrastLargePrint +# directories for plugins and extensions +mkdir -p $RPM_BUILD_ROOT%{_libdir}/epiphany/%{version}/{plugins,extensions} +ln -sf %{version}/plugins $RPM_BUILD_ROOT%{_libdir}/epiphany/plugins +ln -sf %{version}/extensions $RPM_BUILD_ROOT%{_libdir}/epiphany/extensions + %post update-desktop-database -q %{_datadir}/applications export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` @@ -227,8 +234,8 @@ rm -rf $RPM_BUILD_ROOT %{_sysconfdir}/gconf/schemas/epiphany-lockdown.schemas %{_sysconfdir}/gconf/schemas/epiphany-fonts.schemas %{_sysconfdir}/gconf/schemas/epiphany-pango.schemas -%{_bindir}/epiphany %{_libdir}/epiphany +%{_bindir}/epiphany %{_datadir}/applications/*.desktop %{_datadir}/epiphany %{_mandir}/man*/* @@ -248,6 +255,10 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/pygtk/2.0/defs/epiphany.defs %changelog +* Wed Jan 14 2009 Matěj Cepl 2.24.2.1-5 +- Make epiphany own directories for plugins and extensions + (#479921). + * Tue Jan 06 2009 Christopher Aillon - 2.24.2.1-4 - Rebuild against newer gecko