4
%define source bluefish-1.0.6
7
Summary: A GTK2 web development application for experienced users
10
Release: %{release}%{?dist}
11
Source: ftp://ftp.ratisbona.com/pub/bluefish/snapshots/%{source}.tar.bz2
12
Patch0: mime_icon_assign.patch
13
URL: http://bluefish.openoffice.nl
15
Group: Development/Tools
16
Requires: gtk2, pcre, aspell, gnome-vfs2
17
BuildRequires: gtk2-devel, pcre-devel, gnome-vfs2-devel
18
BuildRequires: aspell-devel, desktop-file-utils, gettext
19
Requires(post): desktop-file-utils, shared-mime-info
20
Requires(postun): desktop-file-utils, shared-mime-info
21
BuildRoot: %{_tmppath}/%{name}-%{release}-root
24
Bluefish is a powerful editor for experienced web designers and programmers.
25
Bluefish supports many programming and markup languages, but it focuses on
26
editing dynamic and interactive websites
29
%setup -q -n %{source}
30
%patch0 -p1 -b .mime_icon_assign
33
%configure --disable-update-databases \
34
--without-gnome2_4-mime \
35
--without-gnome2_4-appreg
37
%{__make} %{?_smp_mflags}
40
%{__rm} -rf %{buildroot}
41
make install DESTDIR=%{buildroot}
45
desktop-file-install --vendor=fedora --delete-original \
46
--dir %{buildroot}%{_datadir}/applications \
47
--add-category X-Fedora \
48
--add-category Application \
49
--add-category Development \
50
%{buildroot}%{_datadir}/applications/%{name}.desktop
51
desktop-file-install --vendor=fedora --delete-original \
52
--dir %{buildroot}%{_datadir}/applications \
53
--add-category X-Fedora \
54
%{buildroot}%{_datadir}/applications/%{name}-project.desktop
57
%{__rm} -rf %{buildroot}
60
update-mime-database %{_datadir}/mime > /dev/null 2>&1 || :
61
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
64
update-mime-database %{_datadir}/mime > /dev/null 2>&1 || :
65
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
67
%files -f %{name}.lang
68
%defattr(-, root, root)
69
%doc AUTHORS COPYING README TODO
71
%dir %{_datadir}/%{name}
73
%{_datadir}/applications/*
74
%{_datadir}/mime/packages/*
80
* Mon Oct 2 2006 Matthias Haase <matthias_haase@bennewitz.com> - 1.0.6-2
81
- Remove of the useless gnome 2.4 mime type registration files
82
- Patch added for the mime type icon assignment problem
84
* Tue Sep 26 2006 Matthias Haase <matthias_haase@bennewitz.com> - 1.0.6-1
85
- Update to 1.0.6 - using latest auto build specfile
86
- Minor cleanup for %find_lang and %files
88
* Sat May 06 2006 Matthias Haase <matthias_haase@bennewitz.com>
89
- Automatic build - snapshot of 2006-05-06