3 %bcond_with python # enable python integration (HIGHLY EXPERIMENTAL)
5 Summary: Bluefish - HTML editor for the experienced web designer
6 Summary(pl.UTF-8): Bluefish - Edytor HTML-a dla zaawansowanych
11 Group: X11/Applications/Editors
12 # The master server is here
13 Source0: http://www.bennewitz.com/bluefish/stable/source/%{name}-%{version}.tar.bz2
14 # Source0-md5: 4c062fcb1f90f91a35687b877d37d6dd
15 # but if you want ftp: try this one
16 # Source0: ftp://bluefish.advancecreations.com/bluefish/downloads/%{name}-%{version}.tar.bz2
17 Patch0: %{name}-desktop.patch
18 Patch1: %{name}-locales.patch
19 URL: http://bluefish.openoffice.nl/
20 BuildRequires: autoconf >= 2.59
21 BuildRequires: automake >= 1.8
22 BuildRequires: gdk-pixbuf-devel
23 BuildRequires: gettext-devel
24 BuildRequires: glib2-devel >= 2.16
25 BuildRequires: gtk+2-devel >= 2.14
26 BuildRequires: gucharmap-devel
27 BuildRequires: intltool
28 BuildRequires: libpng >= 1.2.5
29 BuildRequires: libtool
30 BuildRequires: libxml2-progs
32 BuildRequires: pkgconfig
33 BuildRequires: rpmbuild(macros) >= 1.311
34 Requires(post,postun): desktop-file-utils
35 Requires(post,postun): gtk-update-icon-cache
36 Requires(post,postun): hicolor-icon-theme
37 Requires(post,postun): shared-mime-info
38 Requires: gnome-vfs2 >= 2.2
39 # sr@Latn vs. sr@latin
40 Conflicts: glibc-misc < 6:2.7
41 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
44 Bluefish is a GTK+ based HTML editor designed for the experienced web
47 %description -l pl.UTF-8
48 Bluefish jest opartym na GTK+ edytorem HTML-a, przeznaczonym dla
49 doświadczonych projektantów stron WWW.
51 %description -l pt_BR.UTF-8
52 O bluefish é um editor HTML feito com GTK+ para web designers
53 experientes. Atualmente ele está em estágio alfa, mas já está bastante
54 usável. Algumas opções ainda não estão completamente finalizadas.
55 Bluefish é liberado sob a licença GPL.
63 mv -f po/sr{,@Latn}.po
64 mv -f src/plugin_about/po/sr{,@Latn}.po
65 mv -f src/plugin_charmap/po/sr{,@Latn}.po
66 mv -f src/plugin_entities/po/sr{,@Latn}.po
67 mv -f src/plugin_htmlbar/po/sr{,@Latn}.po
68 mv -f src/plugin_infbrowser/po/sr{,@Latn}.po
69 mv -f src/plugin_snippets/po/sr{,@Latn}.po
76 --disable-update-databases \
77 %{?with_python:--enable-python}
82 rm -rf $RPM_BUILD_ROOT
85 DESTDIR=$RPM_BUILD_ROOT
87 install -d doc/bflang/
88 mv data/bflang/sample.bflang2 doc/bflang/
89 rm -r $RPM_BUILD_ROOT%{_docdir}/bluefish/
91 %find_lang %{name} --all-name
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 doc/
109 %attr(755,root,root) %{_bindir}/bluefish
110 %dir %{_datadir}/%{name}
111 %{_datadir}/mime/packages/bluefish.xml
112 %{_datadir}/xml/bluefish
113 %{_datadir}/bluefish/bflang
114 %{_datadir}/bluefish/bflib
115 %{_datadir}/bluefish/bluefish_splash.png
116 %{_datadir}/bluefish/encodings
117 %{_mandir}/man1/bluefish.1*
118 %{_iconsdir}/hicolor/128x128/apps/bluefish.png
119 %{_iconsdir}/hicolor/128x128/mimetypes/application-x-bluefish-project.png
120 %{_iconsdir}/hicolor/16x16/apps/bluefish.png
121 %{_iconsdir}/hicolor/16x16/mimetypes/application-x-bluefish-project.png
122 %{_iconsdir}/hicolor/192x192/apps/bluefish.png
123 %{_iconsdir}/hicolor/192x192/mimetypes/application-x-bluefish-project.png
124 %{_iconsdir}/hicolor/22x22/apps/bluefish.png
125 %{_iconsdir}/hicolor/22x22/mimetypes/application-x-bluefish-project.png
126 %{_iconsdir}/hicolor/32x32/apps/bluefish.png
127 %{_iconsdir}/hicolor/32x32/mimetypes/application-x-bluefish-project.png
128 %{_iconsdir}/hicolor/36x36/apps/bluefish.png
129 %{_iconsdir}/hicolor/36x36/mimetypes/application-x-bluefish-project.png
130 %{_iconsdir}/hicolor/48x48/apps/bluefish.png
131 %{_iconsdir}/hicolor/48x48/mimetypes/application-x-bluefish-project.png
132 %{_iconsdir}/hicolor/64x64/apps/bluefish.png
133 %{_iconsdir}/hicolor/64x64/mimetypes/application-x-bluefish-project.png
134 %{_iconsdir}/hicolor/72x72/apps/bluefish.png
135 %{_iconsdir}/hicolor/72x72/mimetypes/application-x-bluefish-project.png
136 %{_iconsdir}/hicolor/96x96/apps/bluefish.png
137 %{_iconsdir}/hicolor/96x96/mimetypes/application-x-bluefish-project.png
138 %{_iconsdir}/hicolor/scalable/apps/bluefish-icon.svg
139 %{_iconsdir}/hicolor/scalable/mimetypes/bluefish-project.svg
140 %{_desktopdir}/bluefish.desktop
141 %{_pixmapsdir}/application-x-bluefish-project.png
142 %{_pixmapsdir}/bluefish.png
143 %dir %{_libdir}/bluefish
144 %attr(755,root,root) %{_libdir}/bluefish/*.so