%define name bluefish %define version 1.0.7 %define release 5 %define source bluefish-1.0.7 Summary: A GTK2 web development application for experienced users Name: %{name} Version: %{version} Release: %{release}%{?dist} Source: ftp://ftp.ratisbona.com/pub/bluefish/snapshots/%{source}.tar.bz2 URL: http://bluefish.openoffice.nl License: GPL Group: Development/Tools Requires: gtk2, pcre, aspell, gnome-vfs2, libgnomeui BuildRequires: gtk2-devel, pcre-devel, gnome-vfs2-devel BuildRequires: aspell-devel, desktop-file-utils, gettext BuildRequires: libgnomeui-devel Requires(post): desktop-file-utils, shared-mime-info Requires(postun): desktop-file-utils, shared-mime-info BuildRoot: %{_tmppath}/%{name}-%{release}-root %description Bluefish is a powerful editor for experienced web designers and programmers. Bluefish supports many programming and markup languages, but it focuses on editing dynamic and interactive websites %prep %setup -q -n %{source} %build %configure --disable-update-databases \ --without-gnome2_4-mime \ --without-gnome2_4-appreg %{__make} %{?_smp_mflags} %install %{__rm} -rf %{buildroot} make install DESTDIR=%{buildroot} %find_lang %{name} desktop-file-install --vendor=fedora --delete-original \ --dir %{buildroot}%{_datadir}/applications \ --add-category X-Fedora \ --add-category Development \ %{buildroot}%{_datadir}/applications/%{name}.desktop desktop-file-install --vendor=fedora --delete-original \ --dir %{buildroot}%{_datadir}/applications \ --add-category X-Fedora \ %{buildroot}%{_datadir}/applications/%{name}-project.desktop %clean %{__rm} -rf %{buildroot} %post update-mime-database %{_datadir}/mime > /dev/null 2>&1 || : update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : %postun update-mime-database %{_datadir}/mime > /dev/null 2>&1 || : update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : %files -f %{name}.lang %defattr(-, root, root) %doc AUTHORS COPYING README TODO %{_bindir}/* %dir %{_datadir}/%{name} %{_datadir}/%{name}/* %{_datadir}/applications/* %{_datadir}/mime/packages/* %{_datadir}/pixmaps/* %{_mandir}/man1/* %changelog * Mon May 19 2008 Matthias Haase - 1.0.7-5 - Rebuild for Fedora 9 * Tue Nov 13 2007 Matthias Haase - 1.0.7-4 - Rebuild for Fedora 8 * Sun Jun 3 2007 Matthias Haase - 1.0.7-3 - Rebuild for Fedora 7 - Category application removed to match desktop entry specification * Mon Nov 6 2006 Matthias Haase - 1.0.7-1 - Update to 1.0.7 - mime_icon_assign.patch removed - obsolete * Sat Oct 28 2006 Matthias Haase - 1.0.6-3 - Rebuild for Fedora Core 6 * Mon Oct 2 2006 Matthias Haase - 1.0.6-2 - Remove of the useless gnome 2.4 mime type registration files - Patch added for the mime type icon assignment problem * Tue Sep 26 2006 Matthias Haase - 1.0.6-1 - Update to 1.0.6 - using latest auto build specfile - Minor cleanup for %find_lang and %files * Sat May 06 2006 Matthias Haase - Automatic build - snapshot of 2006-05-06