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://www.bennewitz.com/bluefish/stable/source/bluefish-1.0.7.tar.bz2
17 # Source0-md5: 2c3b3c9c8f8e32b9473dfd879f216dea
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: home-etc-devel
32 BuildRequires: libbonobo-devel >= 2.2
33 BuildRequires: libjpeg-devel
34 BuildRequires: libpng >= 1.2.5
35 BuildRequires: libtiff-devel
36 BuildRequires: libtool
37 BuildRequires: pcre-devel
38 BuildRequires: pkgconfig
39 BuildRequires: rpmbuild(macros) >= 1.311
40 Requires(post,postun): desktop-file-utils
41 Requires(post,postun): gtk+2
42 Requires(post,postun): hicolor-icon-theme
43 Requires(post,postun): shared-mime-info
44 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
47 Bluefish is a GTK+ based HTML editor designed for the experienced web
51 Bluefish jest opartym na GTK+ edytorem HTML-a, przeznaczonym dla
52 do¶wiadczonych projektantów stron WWW.
55 O bluefish é um editor HTML feito com GTK+ para web designers
56 experientes. Atualmente ele está em estágio alfa, mas já está bastante
57 usável. Algumas opções ainda não estão completamente finalizadas.
58 Bluefish é liberado sob a licença GPL.
67 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%{_iconsdir}/hicolor/48x48/mimetypes
85 DESTDIR=$RPM_BUILD_ROOT
87 mv -f $RPM_BUILD_ROOT%{_pixmapsdir}/gnome-mime-application-bluefish-project.png \
88 $RPM_BUILD_ROOT%{_iconsdir}/hicolor/48x48/mimetypes/gnome-mime-application-bluefish-project.png
89 rm -f $RPM_BUILD_ROOT%{_desktopdir}/bluefish-project.desktop
94 rm -rf $RPM_BUILD_ROOT
98 %update_desktop_database_post
99 %update_icon_cache hicolor
102 %update_desktop_database_postun
103 %update_mime_database
104 %update_icon_cache hicolor
106 %files -f %{name}.lang
107 %defattr(644,root,root,755)
108 %doc AUTHORS README TODO
109 %attr(755,root,root) %{_bindir}/bluefish
111 %{_datadir}/mime/packages/bluefish.xml
112 %{_mandir}/man1/bluefish.1*
113 %{_iconsdir}/hicolor/48x48/mimetypes/gnome-mime-application-bluefish-project.png
114 %{_desktopdir}/bluefish.desktop
115 %{_pixmapsdir}/bluefish-icon.png