3 %bcond_with opts # use extra optimizations
5 # note: optflags used with this bcond are very strong, and partially
6 # obsoleted for C (like -fno-rtti) - use at own risk!
8 Summary: Bluefish - HTML editor for the experienced web designer
9 Summary(pl): Bluefish - Edytor HTML-a dla zaawansowanych
14 Group: X11/Applications/Editors
15 # The master server is here
16 Source0: http://pkedu.fbt.eitn.wau.nl/~olivier/downloads/%{name}-%{version}.tar.bz2
17 # Source0-md5: e5f1f5eff0933dc68a51adcdce352826
18 # but if you want ftp: try this one
19 # Source0: ftp://bluefish.advancecreations.com/bluefish/downloads/%{name}-%{version}.tar.bz2
20 Patch0: %{name}-DESTDIR.patch
21 Patch1: %{name}-desktop.patch
22 Patch2: %{name}-home_etc.patch
23 URL: http://bluefish.openoffice.nl/
24 BuildRequires: aspell-devel
25 BuildRequires: autoconf
26 BuildRequires: automake
27 BuildRequires: gettext-devel
28 BuildRequires: gnome-vfs2-devel >= 2.2
29 BuildRequires: gtk+2-devel
30 BuildRequires: libbonobo-devel >= 2.2
31 BuildRequires: libjpeg-devel
32 BuildRequires: libpng >= 1.2.5
33 BuildRequires: libtiff-devel
34 BuildRequires: libtool
35 BuildRequires: libungif-devel
36 BuildRequires: pcre-devel
37 BuildRequires: pkgconfig
38 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41 Bluefish is a GTK+ based HTML editor designed for the experienced web
45 Bluefish jest opartym na GTK+ edytorem HTML-a, przeznaczonym dla
46 do¶wiadczonych projektantów stron WWW.
49 O bluefish é um editor HTML feito com GTK para web designers
50 experientes. Atualmente ele está em estágio alfa, mas já está bastante
51 usável. Algumas opções ainda não estão completamente finalizadas.
52 Bluefish é liberado sob a licença GPL.
66 %{?with_opts:--enable-auto-optimization}
71 rm -rf $RPM_BUILD_ROOT
72 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}
73 #install -d $RPM_BUILD_ROOT%{_datadir}/{application-registry,mime-info}
76 DESTDIR=$RPM_BUILD_ROOT
78 install -c inline_images/bluefish_icon1.png $RPM_BUILD_ROOT%{_pixmapsdir}/bluefish.png
83 rm -rf $RPM_BUILD_ROOT
85 %files -f %{name}.lang
86 %defattr(644,root,root,755)
88 %attr(755,root,root) %{_bindir}/*
90 %{_datadir}/application-registry/*
91 %{_datadir}/mime-info/*