]>
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 |
cd60ef48 | 9 | Release: 4 |
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/ |
357f2ee2 | 20 | BuildRequires: autoconf |
21 | BuildRequires: automake | |
22 | BuildRequires: gettext-devel | |
d2b71259 | 23 | BuildRequires: gtk+2-devel >= 2.14 |
24 | BuildRequires: gucharmap-devel | |
25 | BuildRequires: intltool | |
e17c2ffc | 26 | BuildRequires: libpng >= 1.2.5 |
d2b71259 | 27 | BuildRequires: libtool |
28 | BuildRequires: libxml2-progs | |
29 | BuildRequires: man | |
30 | BuildRequires: pcre-devel >= 3.0 | |
4e0e8de3 | 31 | BuildRequires: pkgconfig |
d7696316 | 32 | BuildRequires: rpmbuild(macros) >= 1.311 |
c7335370 | 33 | Requires(post,postun): desktop-file-utils |
cd60ef48 | 34 | Requires(post,postun): gtk-update-icon-cache |
d7696316 | 35 | Requires(post,postun): hicolor-icon-theme |
30a92923 | 36 | Requires(post,postun): shared-mime-info |
0c367979 | 37 | Requires: gnome-vfs2 >= 2.2 |
9d9d293f | 38 | # sr@Latn vs. sr@latin |
39 | Conflicts: glibc-misc < 6:2.7 | |
46e12e23 | 40 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
66f146dd | 41 | |
66f146dd | 42 | %description |
238e0715 | 43 | Bluefish is a GTK+ based HTML editor designed for the experienced web |
44 | designer. | |
66f146dd | 45 | |
61a76009 | 46 | %description -l pl.UTF-8 |
f0d4d6a4 | 47 | Bluefish jest opartym na GTK+ edytorem HTML-a, przeznaczonym dla |
61a76009 | 48 | doświadczonych projektantów stron WWW. |
66f146dd | 49 | |
61a76009 JR |
50 | %description -l pt_BR.UTF-8 |
51 | O bluefish é um editor HTML feito com GTK+ para web designers | |
52 | experientes. Atualmente ele está em estágio alfa, mas já está bastante | |
53 | usável. Algumas opções ainda não estão completamente finalizadas. | |
54 | Bluefish é liberado sob a licença GPL. | |
aacf0def | 55 | |
f53be2ae | 56 | %prep |
66f146dd | 57 | %setup -q |
6c2e2335 | 58 | %patch0 -p0 |
d7696316 | 59 | %patch1 -p1 |
5758e991 | 60 | |
d7fc5fdd | 61 | mv -f po/ko{_KR,}.po |
5758e991 | 62 | mv -f po/sr{,@Latn}.po |
d2b71259 | 63 | mv -f src/plugin_about/po/sr{,@Latn}.po |
64 | mv -f src/plugin_charmap/po/sr{,@Latn}.po | |
65 | mv -f src/plugin_entities/po/sr{,@Latn}.po | |
66 | mv -f src/plugin_htmlbar/po/sr{,@Latn}.po | |
67 | mv -f src/plugin_infbrowser/po/sr{,@Latn}.po | |
6c2e2335 | 68 | mv -f src/plugin_snippets/po/sr{,@Latn}.po |
66f146dd | 69 | |
6c2e2335 JW |
70 | %{__intltoolize} |
71 | %{__libtoolize} | |
d043e65d | 72 | %{__aclocal} |
336afe11 | 73 | %{__autoconf} |
b58c1237 | 74 | %configure \ |
d1f75112 | 75 | --disable-update-databases \ |
6c2e2335 | 76 | %{?with_python:--enable-python} |
ec0ca1cf | 77 | |
ec927157 | 78 | %{__make} |
66f146dd | 79 | |
80 | %install | |
81 | rm -rf $RPM_BUILD_ROOT | |
e17c2ffc | 82 | |
4e0e8de3 | 83 | %{__make} install \ |
84 | DESTDIR=$RPM_BUILD_ROOT | |
4ec8df59 | 85 | |
d2b71259 | 86 | install -d doc/bflang/ |
2584fc8e | 87 | mv data/bflang/sample.bflang2 doc/bflang/ |
d2b71259 | 88 | rm -r $RPM_BUILD_ROOT%{_docdir}/bluefish/ |
44bbdb3d | 89 | |
6c2e2335 | 90 | %find_lang %{name} --all-name |
238e0715 | 91 | |
66f146dd | 92 | %clean |
93 | rm -rf $RPM_BUILD_ROOT | |
94 | ||
c7335370 | 95 | %post |
d7696316 | 96 | %update_mime_database |
c7335370 | 97 | %update_desktop_database_post |
d7696316 | 98 | %update_icon_cache hicolor |
c7335370 | 99 | |
100 | %postun | |
101 | %update_desktop_database_postun | |
d7696316 MB |
102 | %update_mime_database |
103 | %update_icon_cache hicolor | |
30a92923 | 104 | |
238e0715 | 105 | %files -f %{name}.lang |
66f146dd | 106 | %defattr(644,root,root,755) |
2584fc8e | 107 | %doc AUTHORS README TODO doc/ |
d7696316 | 108 | %attr(755,root,root) %{_bindir}/bluefish |
6c2e2335 | 109 | %dir %{_datadir}/%{name} |
d7696316 | 110 | %{_datadir}/mime/packages/bluefish.xml |
12e8b827 | 111 | %{_datadir}/xml/bluefish |
d7fc5fdd | 112 | %{_datadir}/bluefish/bflang |
113 | %{_datadir}/bluefish/bflib | |
2584fc8e JW |
114 | %{_datadir}/bluefish/bluefish_splash.png |
115 | %{_datadir}/bluefish/encodings | |
d7696316 | 116 | %{_mandir}/man1/bluefish.1* |
6c2e2335 JW |
117 | %{_iconsdir}/hicolor/128x128/apps/bluefish.png |
118 | %{_iconsdir}/hicolor/128x128/mimetypes/application-x-bluefish-project.png | |
119 | %{_iconsdir}/hicolor/16x16/apps/bluefish.png | |
120 | %{_iconsdir}/hicolor/16x16/mimetypes/application-x-bluefish-project.png | |
121 | %{_iconsdir}/hicolor/192x192/apps/bluefish.png | |
122 | %{_iconsdir}/hicolor/192x192/mimetypes/application-x-bluefish-project.png | |
123 | %{_iconsdir}/hicolor/22x22/apps/bluefish.png | |
124 | %{_iconsdir}/hicolor/22x22/mimetypes/application-x-bluefish-project.png | |
125 | %{_iconsdir}/hicolor/32x32/apps/bluefish.png | |
126 | %{_iconsdir}/hicolor/32x32/mimetypes/application-x-bluefish-project.png | |
127 | %{_iconsdir}/hicolor/36x36/apps/bluefish.png | |
128 | %{_iconsdir}/hicolor/36x36/mimetypes/application-x-bluefish-project.png | |
129 | %{_iconsdir}/hicolor/48x48/apps/bluefish.png | |
130 | %{_iconsdir}/hicolor/48x48/mimetypes/application-x-bluefish-project.png | |
131 | %{_iconsdir}/hicolor/64x64/apps/bluefish.png | |
132 | %{_iconsdir}/hicolor/64x64/mimetypes/application-x-bluefish-project.png | |
133 | %{_iconsdir}/hicolor/72x72/apps/bluefish.png | |
134 | %{_iconsdir}/hicolor/72x72/mimetypes/application-x-bluefish-project.png | |
135 | %{_iconsdir}/hicolor/96x96/apps/bluefish.png | |
136 | %{_iconsdir}/hicolor/96x96/mimetypes/application-x-bluefish-project.png | |
137 | %{_iconsdir}/hicolor/scalable/apps/bluefish-icon.svg | |
138 | %{_iconsdir}/hicolor/scalable/mimetypes/bluefish-project.svg | |
d7696316 | 139 | %{_desktopdir}/bluefish.desktop |
6c2e2335 JW |
140 | %{_pixmapsdir}/application-x-bluefish-project.png |
141 | %{_pixmapsdir}/bluefish.png | |
142 | %dir %{_libdir}/bluefish | |
143 | %attr(755,root,root) %{_libdir}/bluefish/*.so |