[8216] | 1 | Name: bluefish |
---|
[9436] | 2 | Version: 2.2.7 |
---|
[8216] | 3 | Release: 1%{?_dist_release} |
---|
[9069] | 4 | Summary: Web development application for experienced users |
---|
| 5 | Summary(ja): 経験豊富なユーザー向けの Web 開発アプリケーション |
---|
[8216] | 6 | Group: Applications/Editors |
---|
| 7 | License: GPLv3+ |
---|
| 8 | URL: http://bluefish.openoffice.nl/ |
---|
[9069] | 9 | |
---|
| 10 | Source0: http://www.bennewitz.com/bluefish/stable/source/%{name}-%{version}.tar.bz2 |
---|
[8216] | 11 | # Upstream source contains non-free jsmin.py |
---|
| 12 | # To generate clean source, simply rm -rf data/jsmin.py |
---|
| 13 | # We provide a replacement in Source1. |
---|
| 14 | Source1: https://raw.github.com/v8/v8/master/tools/jsmin.py |
---|
[9069] | 15 | |
---|
[8216] | 16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 17 | BuildRequires: desktop-file-utils |
---|
| 18 | BuildRequires: enchant-devel >= 1.4.2 |
---|
| 19 | BuildRequires: gettext |
---|
| 20 | BuildRequires: glib2-devel >= 2.24 |
---|
| 21 | %if "%{?_dist_release}" < "vl7" |
---|
| 22 | BuildRequires: gtk2-devel >= 2.20 |
---|
| 23 | BuildRequires: gucharmap-devel >= 2.20 |
---|
| 24 | %else |
---|
| 25 | BuildRequires: gtk3-devel >= 3.2 |
---|
| 26 | BuildRequires: gucharmap-devel >= 2.90 |
---|
| 27 | %endif |
---|
| 28 | BuildRequires: intltool |
---|
| 29 | BuildRequires: libxml2-devel |
---|
| 30 | BuildRequires: python-devel |
---|
| 31 | # Needed to check man pages |
---|
| 32 | BuildRequires: /usr/bin/man |
---|
| 33 | # For the Advanced Open function |
---|
| 34 | Requires: findutils, grep |
---|
| 35 | Requires: %{name}-shared-data = %{version}-%{release} |
---|
[1447] | 36 | |
---|
[8216] | 37 | # Automatically upgrade bluefish-unstable |
---|
| 38 | Obsoletes: bluefish-unstable < %{version}-%{release} |
---|
| 39 | Provides: bluefish-unstable = %{version}-%{release} |
---|
[521] | 40 | |
---|
[8216] | 41 | # XML Catalog registration |
---|
| 42 | Requires(post): /usr/bin/xmlcatalog, xml-common |
---|
| 43 | Requires(postun): /usr/bin/xmlcatalog, xml-common |
---|
[609] | 44 | |
---|
[8216] | 45 | # Don't "provide" plugin shared objects |
---|
[9069] | 46 | #%{?filter_setup: |
---|
| 47 | #%filter_provides_in %{_libdir}/%{name}/.*\.so$ |
---|
| 48 | #%filter_setup |
---|
| 49 | #} |
---|
[521] | 50 | |
---|
[8216] | 51 | # Move to unversioned documentation directories from F-20 |
---|
| 52 | # https://fedoraproject.org/wiki/Changes/UnversionedDocdirs |
---|
| 53 | %global bluefish_docdir %{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}} |
---|
[521] | 54 | |
---|
| 55 | %description |
---|
[8216] | 56 | Bluefish is a powerful editor for experienced web designers and programmers. |
---|
| 57 | Bluefish supports many programming and markup languages, but it focuses on |
---|
| 58 | editing dynamic and interactive websites. |
---|
[521] | 59 | |
---|
[8216] | 60 | %package shared-data |
---|
| 61 | Summary: Architecture-independent data for %{name} |
---|
[9069] | 62 | Summary(ja): アーキテクチャに依存しない %{name} 共用データ |
---|
| 63 | Group: Applications/Editors |
---|
[8216] | 64 | BuildArch: noarch |
---|
| 65 | # For ownership of %%{_datadir}/mime/packages |
---|
| 66 | Requires: shared-mime-info |
---|
| 67 | # For ownership of %%{_datadir}/icons/hicolor/*/{apps,mimetypes} |
---|
| 68 | Requires: hicolor-icon-theme |
---|
[521] | 69 | |
---|
[8216] | 70 | # Automatically upgrade bluefish-unstable-shared-data |
---|
| 71 | Obsoletes: bluefish-unstable-shared-data < %{version}-%{release} |
---|
| 72 | Provides: bluefish-unstable-shared-data = %{version}-%{release} |
---|
| 73 | |
---|
| 74 | %description shared-data |
---|
| 75 | Files common to every architecture version of %{name}. |
---|
| 76 | |
---|
[521] | 77 | %prep |
---|
[9069] | 78 | %setup -q -n %{name}-%{version} |
---|
[521] | 79 | |
---|
[8216] | 80 | cp -a %{SOURCE1} data/ |
---|
| 81 | sed -i 's|python2.4|python|g' data/jsmin.py |
---|
| 82 | |
---|
[521] | 83 | %build |
---|
[9069] | 84 | %configure \ |
---|
| 85 | --disable-dependency-tracking \ |
---|
| 86 | --disable-static \ |
---|
| 87 | --disable-update-databases \ |
---|
| 88 | --disable-xml-catalog-update \ |
---|
| 89 | --docdir=%{bluefish_docdir} |
---|
[521] | 90 | make %{?_smp_mflags} |
---|
| 91 | |
---|
| 92 | %install |
---|
[8216] | 93 | rm -rf %{buildroot} |
---|
| 94 | mkdir -p %{buildroot}%{_datadir}/applications |
---|
| 95 | make install DESTDIR=%{buildroot} INSTALL="install -p" |
---|
[521] | 96 | |
---|
[8216] | 97 | # Make zencoding plugin scripts executable to placate rpmlint |
---|
| 98 | find %{buildroot}%{_datadir}/bluefish/plugins/zencoding -name '*.py' | |
---|
| 99 | xargs awk '/^#!/ { print FILENAME }' | |
---|
| 100 | xargs chmod -c +x |
---|
[521] | 101 | |
---|
[8216] | 102 | %find_lang %{name} |
---|
| 103 | %find_lang %{name}_plugin_about |
---|
| 104 | %find_lang %{name}_plugin_charmap |
---|
| 105 | %find_lang %{name}_plugin_entities |
---|
| 106 | %find_lang %{name}_plugin_htmlbar |
---|
| 107 | %find_lang %{name}_plugin_infbrowser |
---|
| 108 | %find_lang %{name}_plugin_snippets |
---|
| 109 | %find_lang %{name}_plugin_zencoding |
---|
| 110 | cat %{name}_plugin_{about,charmap,entities,htmlbar,infbrowser,snippets,zencoding}.lang >> \ |
---|
| 111 | %{name}.lang |
---|
[521] | 112 | |
---|
[8216] | 113 | desktop-file-validate \ |
---|
| 114 | %{buildroot}%{_datadir}/applications/%{name}.desktop |
---|
[521] | 115 | |
---|
[8216] | 116 | # Manually install docs so that they go into |
---|
| 117 | # %%{bluefish_docdir} even though we put them in the |
---|
| 118 | # shared-data subpackage |
---|
| 119 | install -m 644 -p -t %{buildroot}%{bluefish_docdir}/ \ |
---|
| 120 | AUTHORS ChangeLog COPYING NEWS README TODO |
---|
[521] | 121 | |
---|
[8216] | 122 | # Unpackaged files |
---|
| 123 | rm -f %{buildroot}%{_libdir}/%{name}/*.la |
---|
[521] | 124 | |
---|
[8216] | 125 | %clean |
---|
| 126 | rm -rf %{buildroot} |
---|
| 127 | |
---|
| 128 | %post |
---|
| 129 | /usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || : |
---|
| 130 | /usr/bin/update-desktop-database &> /dev/null || : |
---|
| 131 | /usr/bin/xmlcatalog --noout --add 'delegateURI' \ |
---|
| 132 | 'http://bluefish.openoffice.nl/ns/bflang/2.0/' \ |
---|
| 133 | '%{_datadir}/xml/%{name}' \ |
---|
| 134 | %{_sysconfdir}/xml/catalog &> /dev/null || : |
---|
| 135 | |
---|
[521] | 136 | %postun |
---|
[8216] | 137 | /usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || : |
---|
| 138 | /usr/bin/update-desktop-database &> /dev/null || : |
---|
| 139 | if [ "$1" = 0 ]; then |
---|
| 140 | /usr/bin/xmlcatalog --noout --del \ |
---|
| 141 | 'http://bluefish.openoffice.nl/ns/bflang/2.0/' \ |
---|
| 142 | %{_sysconfdir}/xml/catalog &> /dev/null || : |
---|
[609] | 143 | fi |
---|
[521] | 144 | |
---|
[8216] | 145 | %files |
---|
| 146 | %defattr(-,root,root,-) |
---|
| 147 | %{_bindir}/%{name} |
---|
| 148 | %{_libdir}/%{name}/ |
---|
[609] | 149 | |
---|
[8216] | 150 | %files shared-data -f %{name}.lang |
---|
| 151 | %defattr(-,root,root,-) |
---|
| 152 | %doc %{bluefish_docdir}/ |
---|
| 153 | %{_datadir}/%{name}/ |
---|
[9069] | 154 | %{_datadir}/appdata/*.xml |
---|
[8216] | 155 | %{_datadir}/applications/%{name}.desktop |
---|
| 156 | %{_datadir}/mime/packages/%{name}.xml |
---|
| 157 | %{_datadir}/icons/hicolor/*/mimetypes/application-x-bluefish-project.png |
---|
| 158 | %{_datadir}/icons/hicolor/*/apps/%{name}.png |
---|
| 159 | %{_datadir}/icons/hicolor/scalable/mimetypes/bluefish-project.svg |
---|
| 160 | %{_datadir}/icons/hicolor/scalable/apps/bluefish-icon.svg |
---|
| 161 | %{_datadir}/pixmaps/application-x-bluefish-project.png |
---|
| 162 | %{_datadir}/pixmaps/%{name}.png |
---|
| 163 | %{_datadir}/xml/%{name}/ |
---|
| 164 | %{_mandir}/man1/%{name}.1* |
---|
[521] | 165 | |
---|
[8216] | 166 | %changelog |
---|
[9436] | 167 | * Sun Mar 15 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.2.7-1 |
---|
| 168 | - new upstream release |
---|
| 169 | |
---|
[9069] | 170 | * Fri Nov 7 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.2.6-1 |
---|
| 171 | - new upstream release |
---|
| 172 | - moved shared-data subpackage to Applications/Editors Group |
---|
| 173 | - updated Summary |
---|
| 174 | |
---|
[8216] | 175 | * Thu Jan 23 2014 TANAKA hiroaki <mosaicist@jcom.home.ne.jp> 2.2.4 |
---|
| 176 | - all resources renew from fedora bluefish-2.2.4-3.fc20.src.rpm |
---|
[521] | 177 | |
---|
[4633] | 178 | * Sun Aug 21 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.3-1 |
---|
| 179 | - new upstream release |
---|
| 180 | - built without gucharmap (VineSeed) |
---|
| 181 | - added BR: libxml2-devel |
---|
| 182 | |
---|
[2042] | 183 | * Tue Oct 12 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.2-1 |
---|
| 184 | - new upstream release |
---|
| 185 | |
---|
[1447] | 186 | * Sun Jul 25 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.1-1 |
---|
| 187 | - new upstream release |
---|
| 188 | |
---|
[609] | 189 | * Fri Mar 19 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.0-1 |
---|
| 190 | - new upstream release |
---|
| 191 | - updated BR |
---|
| 192 | |
---|
[521] | 193 | * Thu Jul 30 2009 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.7-2 |
---|
| 194 | - added Japanese description |
---|
| 195 | |
---|
| 196 | * Fri Sep 19 2008 Shu KONNO <owa@bg.wakwak.com> 1.0.7-1vl5 |
---|
| 197 | - applied new versioning policy, spec in utf-8 |
---|
| 198 | |
---|
| 199 | * Tue Nov 7 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.7-0vl2 |
---|
| 200 | - rebuilt for Vine Linux 4.0 |
---|
| 201 | |
---|
| 202 | * Tue Nov 7 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.7-0vl1 |
---|
| 203 | - new upstream release |
---|
| 204 | |
---|
| 205 | * Sat Feb 25 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.5-0vl3 |
---|
| 206 | - rebuild for VineSeed Plus |
---|
| 207 | |
---|
| 208 | * Sat Feb 25 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.5-0vl2 |
---|
| 209 | - rebuit for VinePlus/3.0 |
---|
| 210 | - dropped Patch0 (fixed at upstream version) |
---|
| 211 | |
---|
| 212 | * Wed Feb 15 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.5-0vl1 |
---|
| 213 | - new upstream release |
---|
| 214 | |
---|
| 215 | * Tue Sep 6 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.4-0vl1.1 |
---|
| 216 | - added Patch0 for disable PCRE_UTF8 in highlighting |
---|
| 217 | |
---|
| 218 | * Sat Sep 3 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.4-0vl1 |
---|
| 219 | - new upstream release |
---|
| 220 | |
---|
| 221 | * Thu Aug 25 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.3-0vl2 |
---|
| 222 | - rebuild for VineSeed Plus |
---|
| 223 | |
---|
| 224 | * Thu Aug 25 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.3-0vl1 |
---|
| 225 | - new upstream release |
---|
| 226 | |
---|
| 227 | * Tue Aug 16 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.2-0vl2 |
---|
| 228 | - rebuild for VineSeed Plus |
---|
| 229 | |
---|
| 230 | * Tue Aug 16 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.2-0vl1 |
---|
| 231 | - new upstream release |
---|
| 232 | |
---|
| 233 | * Mon Jun 13 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.1-0vl3 |
---|
| 234 | - rebuild for VineSeed Plus |
---|
| 235 | |
---|
| 236 | * Mon Jun 13 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.1-0vl2 |
---|
| 237 | - rebuild for VinePlus/3.1 |
---|
| 238 | - added BuildRequires: shared-mime-info |
---|
| 239 | |
---|
| 240 | * Sun Jun 5 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.1-0vl1 |
---|
| 241 | - new upstream release |
---|
| 242 | |
---|
| 243 | * Thu May 26 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0-0vl2 |
---|
| 244 | - rebuild for VineSeed Plus |
---|
| 245 | - added --disable-update-databases option |
---|
| 246 | - run update-mime-database on %post |
---|
| 247 | - added Prereq: shared-mime-info |
---|
| 248 | |
---|
| 249 | * Sun Feb 6 2005 Masaki Shinomiya <shino@pos.to> 1.0-0vl1 |
---|
| 250 | - new upstream release, make install, files. desktop, compile ja.po |
---|
| 251 | |
---|
| 252 | * Sun Apr 18 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.13-0vl1 |
---|
| 253 | - new upstream release |
---|
| 254 | - dropped patch0 |
---|
| 255 | |
---|
| 256 | * Mon Jul 28 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.11-0vl1 |
---|
| 257 | - new upstream release |
---|
| 258 | |
---|
| 259 | * Fri Jul 18 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.10-0vl1 |
---|
| 260 | - Rebuild with new toolchains and Gnome2 for VineSeedPlus |
---|
| 261 | - add makefile.patch to fix Makefile.in |
---|
| 262 | - modified encodings.default |
---|
| 263 | |
---|
| 264 | * Fri Aug 2 2002 Masaki Shinomiya <shino@pos.to> |
---|
| 265 | - 0.7-0vl1 for VinePllus2.1, 0.7-0vl2 for VinePlus2.5/VineSeedPlus |
---|
| 266 | - vine.patch, without perl |
---|
| 267 | |
---|
| 268 | * Fri Mar 1 2002 Shingo Akagaki <dora@kondara.org> |
---|
| 269 | - (0.7-8k) |
---|
| 270 | - fix file attributes |
---|
| 271 | |
---|
| 272 | * Thu Feb 21 2002 Shingo Akagaki <dora@kondara.org> |
---|
| 273 | - (0.7-6k) |
---|
| 274 | - rebuild against for db3,4 |
---|
| 275 | |
---|
| 276 | * Thu Feb 07 2002 Motonobu Ichimura <famao@kondara.org> |
---|
| 277 | - (0.7-4k) |
---|
| 278 | - add perl,attrpage,internal-preview support |
---|
| 279 | |
---|
| 280 | * Thu Feb 07 2002 Motonobu Ichimura <famao@kondara.org> |
---|
| 281 | - (0.7-2k) |
---|
| 282 | - add xim patch |
---|
| 283 | - up to 0.7 |
---|
| 284 | |
---|
| 285 | * Thu Oct 18 2001 Motonobu Ichimura <famao@kondara.org> |
---|
| 286 | - (0.6-4k) |
---|
| 287 | - not egcs, but gcc2.95.3 |
---|
| 288 | |
---|
| 289 | * Thu Oct 18 2001 Motonobu Ichimura <famao@kondara.org> |
---|
| 290 | - (0.6-2k) |
---|
| 291 | - up to 0.6 |
---|
| 292 | - add BuildRequires: egcs ... |
---|
| 293 | - include .desktop file |
---|
| 294 | |
---|
| 295 | * Wed Oct 17 2001 Toru Hoshina <t@kondara.org> |
---|
| 296 | - (0.4-10k) |
---|
| 297 | - rebuild against gettext 0.10.40. |
---|
| 298 | |
---|
| 299 | * Mon Oct 15 2001 Toru Hoshina <t@kondara.org> |
---|
| 300 | - (0.4-8k) |
---|
| 301 | - rebuild against libpng 1.2.0. |
---|
| 302 | |
---|
| 303 | * Sat Dec 2 2000 MATSUDA, Daiki <dyky@df-usa.com> |
---|
| 304 | - (0.4-4k) |
---|
| 305 | - modified spec file with macros |
---|
| 306 | |
---|
| 307 | * Thu Jul 13 2000 AYUHANA Tomonori <l@kondara.org> |
---|
| 308 | - (0.4-2k) |
---|
| 309 | - SPEC fixed ( BuildRoot ) |
---|
| 310 | - missing bluefish.desktop! |
---|
| 311 | |
---|
| 312 | * Tue Jun 13 2000 haruka kusumi <haruka76@kondara.org> |
---|
| 313 | - changed some items for kondara |
---|
| 314 | |
---|
| 315 | * Fri May 5 2000 Bo Forslund <bo.forslund@abc.se> |
---|
| 316 | - fine tuning of the spec file |
---|
| 317 | - possible to build with all processors on smp machines |
---|
| 318 | - an entry for RedHats wmconfig |
---|
| 319 | |
---|
| 320 | * Tue Mar 21 2000 CW Zuckschwerdt <zany@triq.net> |
---|
| 321 | - complete rewrite of spec file |
---|
| 322 | - relocateable on build-time |
---|
| 323 | - no privileges required while building |
---|
| 324 | - fix for install_location (should really be $(LIBDIR)/bluefish!) |
---|
| 325 | - included man, locale and lib into RPM (was seriously broken) |
---|
| 326 | |
---|
| 327 | * Thu Jan 13 2000 Chris Lea <chrislea@luciddesigns.com> |
---|
| 328 | - Fixed up spec file some. bluefish-0.3.5 |
---|
| 329 | |
---|
| 330 | * Wed Nov 17 1999 Chris Lea <chrislea@luciddesigns.com> |
---|
| 331 | - added spec file. this is my third RPM that I've made a spec |
---|
| 332 | file for, so please be merciful if I've screwed something up |
---|