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: 8d5c1b7315cdc935aa024954093d2b32
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 URL: http://bluefish.openoffice.nl/
24 BuildRequires: aspell-devel
25 BuildRequires: autoconf
26 BuildRequires: automake
27 BuildRequires: gettext-devel
28 BuildRequires: giflib-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: pcre-devel
37 BuildRequires: pkgconfig
38 BuildRequires: rpmbuild(macros) >= 1.197
39 Requires(post,postun): desktop-file-utils
40 Requires(post,postun): shared-mime-info
41 Requires: hicolor-icon-theme
42 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
45 Bluefish is a GTK+ based HTML editor designed for the experienced web
49 Bluefish jest opartym na GTK+ edytorem HTML-a, przeznaczonym dla
50 do¶wiadczonych projektantów stron WWW.
53 O bluefish é um editor HTML feito com GTK+ para web designers
54 experientes. Atualmente ele está em estágio alfa, mas já está bastante
55 usável. Algumas opções ainda não estão completamente finalizadas.
56 Bluefish é liberado sob a licença GPL.
65 mv -f po/sr{,@Latn}.po
73 --disable-update-databases \
74 --without-gnome2_4-mime \
75 --without-gnome2_4-appreg \
76 %{?with_opts:--enable-auto-optimization}
81 rm -rf $RPM_BUILD_ROOT
82 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}} \
83 $RPM_BUILD_ROOT%{_iconsdir}/hicolor/48x48/mimetypes
86 DESTDIR=$RPM_BUILD_ROOT
88 rm -f $RPM_BUILD_ROOT%{_desktopdir}/bluefish-project.desktop
89 mv $RPM_BUILD_ROOT%{_pixmapsdir}/gnome-application-bluefish-project.png \
90 $RPM_BUILD_ROOT%{_iconsdir}/hicolor/48x48/mimetypes
95 rm -rf $RPM_BUILD_ROOT
99 update-mime-database %{_datadir}/mime ||:
100 %update_desktop_database_post
103 %update_desktop_database_postun
106 update-mime-database %{_datadir}/mime
109 %files -f %{name}.lang
110 %defattr(644,root,root,755)
111 %doc AUTHORS README TODO
112 %attr(755,root,root) %{_bindir}/*
114 %{_datadir}/mime/packages/*.xml
116 %{_iconsdir}/hicolor/48x48/mimetypes/*.png