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: a3cf8abd282d850407e8c7eed38d15e7
18 # but if you want ftp: try this one
19 # Source0: ftp://bluefish.advancecreations.com/bluefish/downloads/%{name}-%{version}.tar.bz2
20 Patch0: %{name}-desktop.patch
21 Patch1: %{name}-home_etc.patch
22 Patch2: %{name}-locales.patch
23 Patch3: %{name}-po_install.patch
24 URL: http://bluefish.openoffice.nl/
25 BuildRequires: aspell-devel
26 BuildRequires: autoconf
27 BuildRequires: automake
28 BuildRequires: gettext-devel
29 BuildRequires: gnome-vfs2-devel >= 2.2
30 BuildRequires: gtk+2-devel
31 BuildRequires: libbonobo-devel >= 2.2
32 BuildRequires: libjpeg-devel
33 BuildRequires: libpng >= 1.2.5
34 BuildRequires: libtiff-devel
35 BuildRequires: libtool
36 BuildRequires: libungif-devel
37 BuildRequires: pcre-devel
38 BuildRequires: pkgconfig
39 BuildRequires: rpmbuild(macros) >= 1.197
40 Requires(post,postun): desktop-file-utils
41 Requires(post,postun): shared-mime-info
42 Requires: gnome-icon-theme
43 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
46 Bluefish is a GTK+ based HTML editor designed for the experienced web
50 Bluefish jest opartym na GTK+ edytorem HTML-a, przeznaczonym dla
51 do¶wiadczonych projektantów stron WWW.
54 O bluefish é um editor HTML feito com GTK+ para web designers
55 experientes. Atualmente ele está em estágio alfa, mas já está bastante
56 usável. Algumas opções ainda não estão completamente finalizadas.
57 Bluefish é liberado sob a licença GPL.
67 mv -f po/sr{,@Latn}.po
75 --disable-update-databases \
76 --without-gnome2_4-mime \
77 --without-gnome2_4-appreg \
78 %{?with_opts:--enable-auto-optimization}
83 rm -rf $RPM_BUILD_ROOT
84 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}} \
85 $RPM_BUILD_ROOT%{_iconsdir}/gnome/48x48/mimetypes
88 DESTDIR=$RPM_BUILD_ROOT
90 rm -f $RPM_BUILD_ROOT%{_desktopdir}/bluefish-project.desktop
91 mv $RPM_BUILD_ROOT%{_pixmapsdir}/gnome-application-bluefish-project.png \
92 $RPM_BUILD_ROOT%{_iconsdir}/gnome/48x48/mimetypes
97 rm -rf $RPM_BUILD_ROOT
101 update-mime-database %{_datadir}/mime ||:
102 %update_desktop_database_post
105 %update_desktop_database_postun
108 update-mime-database %{_datadir}/mime
111 %files -f %{name}.lang
112 %defattr(644,root,root,755)
113 %doc AUTHORS README TODO
114 %attr(755,root,root) %{_bindir}/*
116 %{_datadir}/mime/packages/*.xml
118 %{_iconsdir}/gnome/48x48/mimetypes/*.png