Name: mugshot Version: 1.1.40 Release: 1%{?dist} Summary: Companion software for mugshot.org Group: Applications/Internet License: GPL URL: http://mugshot.org/ ## FIXME get the full download url Source0: mugshot-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: glib2-devel >= 2.6 BuildRequires: gtk2-devel >= 2.6 BuildRequires: loudmouth-devel >= 1.0.1 BuildRequires: dbus-1-devel >= 0.60 BuildRequires: curl-devel >= 7.15 BuildRequires: gconf2-devel >= 2.8 BuildRequires: gnome-desktop-devel >= 2.10.0 BuildRequires: gnome-vfs2-devel # 1.0.3-3 has a backport from 1.0.4 to fix various segfaults Requires: loudmouth >= 1.0.3-3 %define prefix /opt/gnome %define sysconfdir /etc%{prefix} %define bindir %{prefix}/bin %define datadir %{prefix}/share %description Mugshot works with the server at mugshot.org to extend the panel, web browser, music player and other parts of the desktop with a "live social experience." It's fun and easy. %prep %setup -q %build ./configure --prefix=%{prefix} --bindir=%{bindir} --sysconfdir=%{sysconfdir} --datadir=%{datadir} --localstatedir=/var/lib --with-gecko-idl=/usr/include/xulrunner-1.8.0.6 --with-gecko-headers=/usr/include/xulrunner-1.8.0.6 --with-xpidl=/usr/lib/xulrunner-1.8.0.6/xpidl make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 make install DESTDIR=$RPM_BUILD_ROOT unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL %clean rm -rf $RPM_BUILD_ROOT %post export GCONF_CONFIG_SOURCE=`/opt/gnome/bin/gconftool-2 --get-default-source` SCHEMAS="mugshot-uri-handler.schemas" for S in $SCHEMAS; do /opt/gnome/bin/gconftool-2 --makefile-install-rule %{sysconfdir}/gconf/schemas/$S > /dev/null done touch --no-create %{datadir}/icons/hicolor if [ -x /opt/gnome/bin/gtk-update-icon-cache ]; then /opt/gnome/bin/gtk-update-icon-cache -q %{datadir}/icons/hicolor fi %postun touch --no-create %{datadir}/icons/hicolor if [ -x /opt/gnome/bin/gtk-update-icon-cache ]; then /opt/gnome/bin/gtk-update-icon-cache -q %{datadir}/icons/hicolor fi %files %defattr(-,root,root,-) %doc %{bindir}/mugshot %{bindir}/mugshot-uri-handler %{datadir}/icons/hicolor/16x16/apps/*.png %{datadir}/icons/hicolor/22x22/apps/*.png %{datadir}/icons/hicolor/24x24/apps/*.png %{datadir}/icons/hicolor/32x32/apps/*.png %{datadir}/icons/hicolor/48x48/apps/*.png %{datadir}/icons/hicolor/128x128/apps/*.png %{datadir}/mugshot %{datadir}/gnome/autostart/mugshot.desktop %{datadir}/applications/mugshot.desktop %{sysconfdir}/gconf/schemas/*.schemas %{prefix}/lib/mugshot/firefox/chrome.manifest %{prefix}/lib/mugshot/firefox/chrome/content/overlay.js %{prefix}/lib/mugshot/firefox/chrome/content/overlay.xul %{prefix}/lib/mugshot/firefox/chrome/content/chatWindow.js %{prefix}/lib/mugshot/firefox/chrome/content/chatWindow.xul %{prefix}/lib/mugshot/firefox/chrome/locale/en-US/overlay.dtd %{prefix}/lib/mugshot/firefox/chrome/skin/linkswarm16x16.png %{prefix}/lib/mugshot/firefox/chrome/skin/linkswarm24x24.png %{prefix}/lib/mugshot/firefox/chrome/skin/mugshot32x32.png %{prefix}/lib/mugshot/firefox/chrome/skin/toolbar.css %{prefix}/lib/mugshot/firefox/chrome/icons/default/mugshot.xpm %{prefix}/lib/mugshot/firefox/chrome/skin/chatWindow.css %{prefix}/lib/mugshot/firefox/components/hippoIControl.xpt %{prefix}/lib/mugshot/firefox/components/hippoIControlListener.xpt %{prefix}/lib/mugshot/firefox/components/hippoIExtension.xpt %{prefix}/lib/mugshot/firefox/components/libhippofirefox.la %{prefix}/lib/mugshot/firefox/components/libhippofirefox.so %{prefix}/lib/mugshot/firefox/defaults/preferences/prefs.js %{prefix}/lib/mugshot/firefox/install.rdf %changelog * Mon Apr 2 2007 Rob Crowther - 1.1.40-1 - new release * Sat Mar 3 2007 Rob Crowther - 1.1.37-1 - new release * Tue Nov 21 2006 Celso Pinto - 1.1.25-1 - new upstream release * Sun Nov 19 2006 Celso Pinto - 1.1.24-1 - new upstream release * Wed Jul 19 2006 Colin Walters - 1.1.11-1 - 1.1.11 * Wed Jul 19 2006 Colin Walters - 1.1.10-1 - 1.1.10 * Sat Jul 15 2006 Havoc Pennington - 1.1.9-1 - 1.1.9 * Thu Jul 13 2006 Havoc Pennington - 1.1.8-1 - 1.1.8 * Tue Jul 11 2006 Havoc Pennington - 1.1.7-1 - 1.1.7 * Wed Jun 28 2006 Havoc Pennington - 1.1.6-1 - 1.1.6 * Fri Jun 9 2006 Havoc Pennington - 1.1.5-1 - 1.1.5 * Mon May 29 2006 Havoc Pennington - 1.1.3-1 - 1.1.3 * Sat May 27 2006 Havoc Pennington - 1.1.2-2 - add requirement on patched loudmouth * Fri May 26 2006 Havoc Pennington - 1.1.2-1 - 1.1.2 * Mon May 22 2006 Havoc Pennington - 1.1.1-1 - 1.1.1 * Mon May 22 2006 Havoc Pennington - 1.1.0-1 - Initial package