]>
Commit | Line | Data |
---|---|---|
44bbdb3d | 1 | # |
2 | # Conditional build: | |
6c2e2335 | 3 | %bcond_with python # enable python integration (HIGHLY EXPERIMENTAL) |
44bbdb3d | 4 | # |
66f146dd | 5 | Summary: Bluefish - HTML editor for the experienced web designer |
a9d13e49 | 6 | Summary(pl.UTF-8): Bluefish - Edytor HTML-a dla zaawansowanych |
66f146dd | 7 | Name: bluefish |
6c2e2335 | 8 | Version: 2.0.0 |
12e8b827 | 9 | Release: 3 |
238e0715 | 10 | License: GPL |
66f146dd | 11 | Group: X11/Applications/Editors |
ff5390f4 | 12 | # The master server is here |
c4938fc8 | 13 | Source0: http://www.bennewitz.com/bluefish/stable/source/%{name}-%{version}.tar.bz2 |
6c2e2335 | 14 | # Source0-md5: ac9b1e8ef6d5691718a0daa6c78d5618 |
ff5390f4 | 15 | # but if you want ftp: try this one |
16 | # Source0: ftp://bluefish.advancecreations.com/bluefish/downloads/%{name}-%{version}.tar.bz2 | |
c7335370 | 17 | Patch0: %{name}-desktop.patch |
6c2e2335 | 18 | Patch1: %{name}-locales.patch |
faff6fd6 | 19 | URL: http://bluefish.openoffice.nl/ |
44bbdb3d | 20 | BuildRequires: aspell-devel |
357f2ee2 | 21 | BuildRequires: autoconf |
22 | BuildRequires: automake | |
23 | BuildRequires: gettext-devel | |
02078685 | 24 | BuildRequires: giflib-devel |
fe6bfc6d | 25 | BuildRequires: gnome-vfs2-devel >= 2.2 |
6c2e2335 JW |
26 | BuildRequires: gtk+2-devel >= 2.14 |
27 | BuildRequires: intltool | |
fe6bfc6d | 28 | BuildRequires: libbonobo-devel >= 2.2 |
a53f4c82 | 29 | BuildRequires: libjpeg-devel |
e17c2ffc | 30 | BuildRequires: libpng >= 1.2.5 |
a53f4c82 | 31 | BuildRequires: libtiff-devel |
6c2e2335 JW |
32 | BuildRequires: libtool |
33 | BuildRequires: pcre-devel >= 3.0 | |
4e0e8de3 | 34 | BuildRequires: pkgconfig |
d7696316 | 35 | BuildRequires: rpmbuild(macros) >= 1.311 |
c7335370 | 36 | Requires(post,postun): desktop-file-utils |
d7696316 MB |
37 | Requires(post,postun): gtk+2 |
38 | Requires(post,postun): hicolor-icon-theme | |
30a92923 | 39 | Requires(post,postun): shared-mime-info |
0c367979 | 40 | Requires: gnome-vfs2 >= 2.2 |
9d9d293f | 41 | # sr@Latn vs. sr@latin |
42 | Conflicts: glibc-misc < 6:2.7 | |
46e12e23 | 43 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
66f146dd | 44 | |
66f146dd | 45 | %description |
238e0715 | 46 | Bluefish is a GTK+ based HTML editor designed for the experienced web |
47 | designer. | |
66f146dd | 48 | |
61a76009 | 49 | %description -l pl.UTF-8 |
f0d4d6a4 | 50 | Bluefish jest opartym na GTK+ edytorem HTML-a, przeznaczonym dla |
61a76009 | 51 | doświadczonych projektantów stron WWW. |
66f146dd | 52 | |
61a76009 JR |
53 | %description -l pt_BR.UTF-8 |
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. | |
aacf0def | 58 | |
f53be2ae | 59 | %prep |
66f146dd | 60 | %setup -q |
6c2e2335 | 61 | %patch0 -p0 |
d7696316 | 62 | %patch1 -p1 |
5758e991 | 63 | |
d7fc5fdd | 64 | mv -f po/ko{_KR,}.po |
5758e991 | 65 | mv -f po/sr{,@Latn}.po |
6c2e2335 JW |
66 | mv -f src/plugin_about/po/sr{,@Latn}.po |
67 | mv -f src/plugin_charmap/po/sr{,@Latn}.po | |
68 | mv -f src/plugin_entities/po/sr{,@Latn}.po | |
69 | mv -f src/plugin_htmlbar/po/sr{,@Latn}.po | |
70 | mv -f src/plugin_infbrowser/po/sr{,@Latn}.po | |
71 | mv -f src/plugin_snippets/po/sr{,@Latn}.po | |
66f146dd | 72 | |
6c2e2335 JW |
73 | %{__intltoolize} |
74 | %{__libtoolize} | |
d043e65d | 75 | %{__aclocal} |
336afe11 | 76 | %{__autoconf} |
b58c1237 | 77 | %configure \ |
d1f75112 | 78 | --disable-update-databases \ |
6c2e2335 | 79 | %{?with_python:--enable-python} |
ec0ca1cf | 80 | |
ec927157 | 81 | %{__make} |
66f146dd | 82 | |
83 | %install | |
84 | rm -rf $RPM_BUILD_ROOT | |
e17c2ffc | 85 | |
4e0e8de3 | 86 | %{__make} install \ |
87 | DESTDIR=$RPM_BUILD_ROOT | |
4ec8df59 | 88 | |
2584fc8e JW |
89 | mkdir -p doc/bflang/ |
90 | mv data/bflang/sample.bflang2 doc/bflang/ | |
91 | rm -r %{buildroot}%{_docdir}/bluefish/ | |
44bbdb3d | 92 | |
6c2e2335 | 93 | %find_lang %{name} --all-name |
238e0715 | 94 | |
66f146dd | 95 | %clean |
96 | rm -rf $RPM_BUILD_ROOT | |
97 | ||
c7335370 | 98 | %post |
d7696316 | 99 | %update_mime_database |
c7335370 | 100 | %update_desktop_database_post |
d7696316 | 101 | %update_icon_cache hicolor |
c7335370 | 102 | |
103 | %postun | |
104 | %update_desktop_database_postun | |
d7696316 MB |
105 | %update_mime_database |
106 | %update_icon_cache hicolor | |
30a92923 | 107 | |
238e0715 | 108 | %files -f %{name}.lang |
66f146dd | 109 | %defattr(644,root,root,755) |
2584fc8e | 110 | %doc AUTHORS README TODO doc/ |
d7696316 | 111 | %attr(755,root,root) %{_bindir}/bluefish |
6c2e2335 | 112 | %dir %{_datadir}/%{name} |
d7696316 | 113 | %{_datadir}/mime/packages/bluefish.xml |
12e8b827 | 114 | %{_datadir}/xml/bluefish |
d7fc5fdd | 115 | %{_datadir}/bluefish/bflang |
116 | %{_datadir}/bluefish/bflib | |
2584fc8e JW |
117 | %{_datadir}/bluefish/bluefish_splash.png |
118 | %{_datadir}/bluefish/encodings | |
d7696316 | 119 | %{_mandir}/man1/bluefish.1* |
6c2e2335 JW |
120 | %{_iconsdir}/hicolor/128x128/apps/bluefish.png |
121 | %{_iconsdir}/hicolor/128x128/mimetypes/application-x-bluefish-project.png | |
122 | %{_iconsdir}/hicolor/16x16/apps/bluefish.png | |
123 | %{_iconsdir}/hicolor/16x16/mimetypes/application-x-bluefish-project.png | |
124 | %{_iconsdir}/hicolor/192x192/apps/bluefish.png | |
125 | %{_iconsdir}/hicolor/192x192/mimetypes/application-x-bluefish-project.png | |
126 | %{_iconsdir}/hicolor/22x22/apps/bluefish.png | |
127 | %{_iconsdir}/hicolor/22x22/mimetypes/application-x-bluefish-project.png | |
128 | %{_iconsdir}/hicolor/32x32/apps/bluefish.png | |
129 | %{_iconsdir}/hicolor/32x32/mimetypes/application-x-bluefish-project.png | |
130 | %{_iconsdir}/hicolor/36x36/apps/bluefish.png | |
131 | %{_iconsdir}/hicolor/36x36/mimetypes/application-x-bluefish-project.png | |
132 | %{_iconsdir}/hicolor/48x48/apps/bluefish.png | |
133 | %{_iconsdir}/hicolor/48x48/mimetypes/application-x-bluefish-project.png | |
134 | %{_iconsdir}/hicolor/64x64/apps/bluefish.png | |
135 | %{_iconsdir}/hicolor/64x64/mimetypes/application-x-bluefish-project.png | |
136 | %{_iconsdir}/hicolor/72x72/apps/bluefish.png | |
137 | %{_iconsdir}/hicolor/72x72/mimetypes/application-x-bluefish-project.png | |
138 | %{_iconsdir}/hicolor/96x96/apps/bluefish.png | |
139 | %{_iconsdir}/hicolor/96x96/mimetypes/application-x-bluefish-project.png | |
140 | %{_iconsdir}/hicolor/scalable/apps/bluefish-icon.svg | |
141 | %{_iconsdir}/hicolor/scalable/mimetypes/bluefish-project.svg | |
d7696316 | 142 | %{_desktopdir}/bluefish.desktop |
6c2e2335 JW |
143 | %{_pixmapsdir}/application-x-bluefish-project.png |
144 | %{_pixmapsdir}/bluefish.png | |
145 | %dir %{_libdir}/bluefish | |
146 | %attr(755,root,root) %{_libdir}/bluefish/*.so |