]>
Commit | Line | Data |
---|---|---|
44bbdb3d | 1 | # |
66f146dd | 2 | Summary: Bluefish - HTML editor for the experienced web designer |
a9d13e49 | 3 | Summary(pl.UTF-8): Bluefish - Edytor HTML-a dla zaawansowanych |
66f146dd | 4 | Name: bluefish |
606d65f2 | 5 | Version: 2.2.2 |
d28c6cc5 | 6 | Release: 1 |
07b54fcc | 7 | License: GPL v3+ |
66f146dd | 8 | Group: X11/Applications/Editors |
ff5390f4 | 9 | # The master server is here |
c4938fc8 | 10 | Source0: http://www.bennewitz.com/bluefish/stable/source/%{name}-%{version}.tar.bz2 |
606d65f2 | 11 | # Source0-md5: 6475325565fb0a003a75f88564b7835f |
ff5390f4 | 12 | # but if you want ftp: try this one |
13 | # Source0: ftp://bluefish.advancecreations.com/bluefish/downloads/%{name}-%{version}.tar.bz2 | |
8e6d4a5d | 14 | Patch0: %{name}-locales.patch |
faff6fd6 | 15 | URL: http://bluefish.openoffice.nl/ |
974c773f ŁK |
16 | BuildRequires: autoconf >= 2.59 |
17 | BuildRequires: automake >= 1.8 | |
2ac41583 | 18 | BuildRequires: enchant-devel >= 1.4 |
357f2ee2 | 19 | BuildRequires: gettext-devel |
974c773f | 20 | BuildRequires: glib2-devel >= 2.16 |
606d65f2 | 21 | BuildRequires: gtk+3-devel >= 3.2.2 |
97f8e5fc | 22 | BuildRequires: gucharmap-devel >= 2.20 |
d2b71259 | 23 | BuildRequires: intltool |
e17c2ffc | 24 | BuildRequires: libpng >= 1.2.5 |
d2b71259 | 25 | BuildRequires: libtool |
26 | BuildRequires: libxml2-progs | |
27 | BuildRequires: man | |
4e0e8de3 | 28 | BuildRequires: pkgconfig |
606d65f2 | 29 | BuildRequires: python-devel >= 2.4 |
d7696316 | 30 | BuildRequires: rpmbuild(macros) >= 1.311 |
c7335370 | 31 | Requires(post,postun): desktop-file-utils |
cd60ef48 | 32 | Requires(post,postun): gtk-update-icon-cache |
d7696316 | 33 | Requires(post,postun): hicolor-icon-theme |
30a92923 | 34 | Requires(post,postun): shared-mime-info |
0c367979 | 35 | Requires: gnome-vfs2 >= 2.2 |
9d9d293f | 36 | # sr@Latn vs. sr@latin |
37 | Conflicts: glibc-misc < 6:2.7 | |
46e12e23 | 38 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
66f146dd | 39 | |
66f146dd | 40 | %description |
238e0715 | 41 | Bluefish is a GTK+ based HTML editor designed for the experienced web |
42 | designer. | |
66f146dd | 43 | |
61a76009 | 44 | %description -l pl.UTF-8 |
f0d4d6a4 | 45 | Bluefish jest opartym na GTK+ edytorem HTML-a, przeznaczonym dla |
61a76009 | 46 | doświadczonych projektantów stron WWW. |
66f146dd | 47 | |
61a76009 JR |
48 | %description -l pt_BR.UTF-8 |
49 | O bluefish é um editor HTML feito com GTK+ para web designers | |
50 | experientes. Atualmente ele está em estágio alfa, mas já está bastante | |
51 | usável. Algumas opções ainda não estão completamente finalizadas. | |
52 | Bluefish é liberado sob a licença GPL. | |
aacf0def | 53 | |
606d65f2 ŁK |
54 | %package -n %{name}-plugins |
55 | Summary: Bluefish plugins | |
56 | Summary(pl.UTF-8): Wtyczki Bluefish | |
57 | Group: X11/Libraries | |
58 | Requires: %{name} = %{version}-%{release} | |
59 | ||
60 | %description -n %{name}-plugins | |
61 | Bluefish plugins. | |
62 | ||
63 | %description -n %{name}-plugins -l pl.UTF-8 | |
64 | Wtyczki Bluefish. | |
65 | ||
f53be2ae | 66 | %prep |
66f146dd | 67 | %setup -q |
8e6d4a5d | 68 | %patch0 -p1 |
5758e991 | 69 | |
5758e991 | 70 | mv -f po/sr{,@Latn}.po |
d2b71259 | 71 | mv -f src/plugin_about/po/sr{,@Latn}.po |
72 | mv -f src/plugin_charmap/po/sr{,@Latn}.po | |
73 | mv -f src/plugin_entities/po/sr{,@Latn}.po | |
74 | mv -f src/plugin_htmlbar/po/sr{,@Latn}.po | |
75 | mv -f src/plugin_infbrowser/po/sr{,@Latn}.po | |
6c2e2335 | 76 | mv -f src/plugin_snippets/po/sr{,@Latn}.po |
66f146dd | 77 | |
97f8e5fc | 78 | for plugin in `ls -d src/plugin_*`; do |
79 | cp %{_datadir}/gettext/po/Makefile.in.in $plugin/po | |
80 | done | |
81 | ||
6c2e2335 | 82 | %{__libtoolize} |
2ac41583 | 83 | %{__intltoolize} |
d043e65d | 84 | %{__aclocal} |
336afe11 | 85 | %{__autoconf} |
b58c1237 | 86 | %configure \ |
606d65f2 | 87 | --disable-update-databases |
ec0ca1cf | 88 | |
ec927157 | 89 | %{__make} |
66f146dd | 90 | |
91 | %install | |
92 | rm -rf $RPM_BUILD_ROOT | |
e17c2ffc | 93 | |
4e0e8de3 | 94 | %{__make} install \ |
95 | DESTDIR=$RPM_BUILD_ROOT | |
4ec8df59 | 96 | |
d2b71259 | 97 | install -d doc/bflang/ |
2584fc8e | 98 | mv data/bflang/sample.bflang2 doc/bflang/ |
07b54fcc | 99 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/bluefish/ |
100 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/bluefish/*.la | |
44bbdb3d | 101 | |
606d65f2 ŁK |
102 | %find_lang %{name} |
103 | # lang files for plugins | |
104 | %find_lang %{name}_plugin_about -a %{name}_plugins.lang | |
105 | %find_lang %{name}_plugin_charmap -a %{name}_plugins.lang | |
106 | %find_lang %{name}_plugin_entities -a %{name}_plugins.lang | |
107 | %find_lang %{name}_plugin_htmlbar -a %{name}_plugins.lang | |
108 | %find_lang %{name}_plugin_infbrowser -a %{name}_plugins.lang | |
109 | %find_lang %{name}_plugin_snippets -a %{name}_plugins.lang | |
110 | %find_lang %{name}_plugin_zencoding -a %{name}_plugins.lang | |
238e0715 | 111 | |
66f146dd | 112 | %clean |
113 | rm -rf $RPM_BUILD_ROOT | |
114 | ||
c7335370 | 115 | %post |
d7696316 | 116 | %update_mime_database |
c7335370 | 117 | %update_desktop_database_post |
d7696316 | 118 | %update_icon_cache hicolor |
c7335370 | 119 | |
120 | %postun | |
121 | %update_desktop_database_postun | |
d7696316 MB |
122 | %update_mime_database |
123 | %update_icon_cache hicolor | |
30a92923 | 124 | |
238e0715 | 125 | %files -f %{name}.lang |
66f146dd | 126 | %defattr(644,root,root,755) |
2584fc8e | 127 | %doc AUTHORS README TODO doc/ |
d7696316 | 128 | %attr(755,root,root) %{_bindir}/bluefish |
6c2e2335 | 129 | %dir %{_datadir}/%{name} |
d7fc5fdd | 130 | %{_datadir}/bluefish/bflang |
131 | %{_datadir}/bluefish/bflib | |
2584fc8e | 132 | %{_datadir}/bluefish/bluefish_splash.png |
606d65f2 ŁK |
133 | %{_datadir}/bluefish/default_accelmap |
134 | %{_datadir}/bluefish/templates | |
07b54fcc | 135 | %{_datadir}/bluefish/ui |
606d65f2 ŁK |
136 | %{_datadir}/mime/packages/bluefish.xml |
137 | %{_datadir}/xml/bluefish | |
d7696316 | 138 | %{_mandir}/man1/bluefish.1* |
6c2e2335 JW |
139 | %{_iconsdir}/hicolor/128x128/apps/bluefish.png |
140 | %{_iconsdir}/hicolor/128x128/mimetypes/application-x-bluefish-project.png | |
141 | %{_iconsdir}/hicolor/16x16/apps/bluefish.png | |
142 | %{_iconsdir}/hicolor/16x16/mimetypes/application-x-bluefish-project.png | |
143 | %{_iconsdir}/hicolor/192x192/apps/bluefish.png | |
144 | %{_iconsdir}/hicolor/192x192/mimetypes/application-x-bluefish-project.png | |
145 | %{_iconsdir}/hicolor/22x22/apps/bluefish.png | |
146 | %{_iconsdir}/hicolor/22x22/mimetypes/application-x-bluefish-project.png | |
147 | %{_iconsdir}/hicolor/32x32/apps/bluefish.png | |
148 | %{_iconsdir}/hicolor/32x32/mimetypes/application-x-bluefish-project.png | |
149 | %{_iconsdir}/hicolor/36x36/apps/bluefish.png | |
150 | %{_iconsdir}/hicolor/36x36/mimetypes/application-x-bluefish-project.png | |
151 | %{_iconsdir}/hicolor/48x48/apps/bluefish.png | |
152 | %{_iconsdir}/hicolor/48x48/mimetypes/application-x-bluefish-project.png | |
153 | %{_iconsdir}/hicolor/64x64/apps/bluefish.png | |
154 | %{_iconsdir}/hicolor/64x64/mimetypes/application-x-bluefish-project.png | |
155 | %{_iconsdir}/hicolor/72x72/apps/bluefish.png | |
156 | %{_iconsdir}/hicolor/72x72/mimetypes/application-x-bluefish-project.png | |
157 | %{_iconsdir}/hicolor/96x96/apps/bluefish.png | |
158 | %{_iconsdir}/hicolor/96x96/mimetypes/application-x-bluefish-project.png | |
159 | %{_iconsdir}/hicolor/scalable/apps/bluefish-icon.svg | |
160 | %{_iconsdir}/hicolor/scalable/mimetypes/bluefish-project.svg | |
d7696316 | 161 | %{_desktopdir}/bluefish.desktop |
6c2e2335 JW |
162 | %{_pixmapsdir}/application-x-bluefish-project.png |
163 | %{_pixmapsdir}/bluefish.png | |
164 | %dir %{_libdir}/bluefish | |
606d65f2 ŁK |
165 | |
166 | %files -n %{name}-plugins -f %{name}_plugins.lang | |
167 | %defattr(644,root,root,755) | |
168 | %{_datadir}/bluefish/encodings | |
169 | %{_datadir}/bluefish/plugins | |
170 | %{_datadir}/bluefish/snippets | |
6c2e2335 | 171 | %attr(755,root,root) %{_libdir}/bluefish/*.so |