%define epiphany_ver 2.16 %define epiphany_extdir %{_libdir}/epiphany/%{epiphany_ver}/extensions Name: epiphany-extensions-epilicious Version: 0.10.2 Release: 1%{?dist} Summary: Synchronise Epiphany and Delicious bookmarks Group: Applications/Internet License: GPL URL: http://therning.org/magnus/computer/epilicious/ Source0: http://www.therning.org/magnus_files/epilicious/epilicious-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: m4, intltool, gettext Requires: epiphany >= %{epiphany_ver} Requires: python-feedparser, python-elementtree %description Epilicious is an extension for the Epiphany web browser that lets you synchronise Epiphany and Delicious bookmarks. %prep %setup -qn epilicious-%{version} %build make %install rm -rf $RPM_BUILD_ROOT export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 make install DESTDIR=$RPM_BUILD_ROOT LOCALE_INSTALL_LANGS=y DESTINATION=%{epiphany_extdir} LOCALEDIR=%{_datadir}/locale/ #install gconf schemas file mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/gconf/schemas/ install -m 0644 epilicious.schemas $RPM_BUILD_ROOT%{_sysconfdir}/gconf/schemas/ %find_lang epilicious %pre if [ "$1" -gt 1 ]; then export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-uninstall-rule \ %{_sysconfdir}/gconf/schemas/epilicious.schemas >/dev/null || : fi %post export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-install-rule \ %{_sysconfdir}/gconf/schemas/epilicious.schemas > /dev/null || : %preun if [ "$1" -eq 0 ]; then export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-uninstall-rule \ %{_sysconfdir}/gconf/schemas/epilicious.schemas > /dev/null || : fi %clean rm -rf $RPM_BUILD_ROOT %files -f epilicious.lang %defattr(-,root,root,-) %doc README NEWS THOUGHTS %{epiphany_extdir}/* %config(noreplace) %{_sysconfdir}/gconf/schemas/* %changelog * Sun Jan 21 2006 Sindre Pedersen Bjørdal - 0.10.2-1 - Initial build