]> git.pld-linux.org Git - packages/bluefish.git/blame - bluefish.spec
- sr@Latn -> sr@latin, rel. 3
[packages/bluefish.git] / bluefish.spec
CommitLineData
44bbdb3d 1#
2# Conditional build:
c7335370 3%bcond_with opts # use extra optimizations
44bbdb3d 4#
5# note: optflags used with this bcond are very strong, and partially
3d89b016 6# obsoleted for C (like -fno-rtti) - use at own risk!
ec0ca1cf 7#
66f146dd 8Summary: Bluefish - HTML editor for the experienced web designer
a9d13e49 9Summary(pl.UTF-8): Bluefish - Edytor HTML-a dla zaawansowanych
66f146dd 10Name: bluefish
d7696316 11Version: 1.0.7
9d9d293f 12Release: 3
238e0715 13License: GPL
66f146dd 14Group: X11/Applications/Editors
ff5390f4 15# The master server is here
c4938fc8 16Source0: http://www.bennewitz.com/bluefish/stable/source/%{name}-%{version}.tar.bz2
d7696316 17# Source0-md5: 2c3b3c9c8f8e32b9473dfd879f216dea
ff5390f4 18# but if you want ftp: try this one
19# Source0: ftp://bluefish.advancecreations.com/bluefish/downloads/%{name}-%{version}.tar.bz2
c7335370 20Patch0: %{name}-desktop.patch
21Patch1: %{name}-home_etc.patch
22Patch2: %{name}-locales.patch
faff6fd6 23URL: http://bluefish.openoffice.nl/
44bbdb3d 24BuildRequires: aspell-devel
357f2ee2 25BuildRequires: autoconf
26BuildRequires: automake
27BuildRequires: gettext-devel
02078685 28BuildRequires: giflib-devel
fe6bfc6d 29BuildRequires: gnome-vfs2-devel >= 2.2
e17c2ffc 30BuildRequires: gtk+2-devel
d7696316 31BuildRequires: home-etc-devel
fe6bfc6d 32BuildRequires: libbonobo-devel >= 2.2
a53f4c82 33BuildRequires: libjpeg-devel
e17c2ffc 34BuildRequires: libpng >= 1.2.5
a53f4c82 35BuildRequires: libtiff-devel
a39e2c39 36BuildRequires: pcre-devel
4e0e8de3 37BuildRequires: pkgconfig
d7696316 38BuildRequires: rpmbuild(macros) >= 1.311
c7335370 39Requires(post,postun): desktop-file-utils
d7696316
MB
40Requires(post,postun): gtk+2
41Requires(post,postun): hicolor-icon-theme
30a92923 42Requires(post,postun): shared-mime-info
9d9d293f 43# sr@Latn vs. sr@latin
44Conflicts: glibc-misc < 6:2.7
46e12e23 45BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
66f146dd 46
66f146dd 47%description
238e0715 48Bluefish is a GTK+ based HTML editor designed for the experienced web
49designer.
66f146dd 50
61a76009 51%description -l pl.UTF-8
f0d4d6a4 52Bluefish jest opartym na GTK+ edytorem HTML-a, przeznaczonym dla
61a76009 53doświadczonych projektantów stron WWW.
66f146dd 54
61a76009
JR
55%description -l pt_BR.UTF-8
56O bluefish é um editor HTML feito com GTK+ para web designers
57experientes. Atualmente ele está em estágio alfa, mas já está bastante
58usável. Algumas opções ainda não estão completamente finalizadas.
59Bluefish é liberado sob a licença GPL.
aacf0def 60
f53be2ae 61%prep
66f146dd 62%setup -q
c7335370 63%patch0 -p1
d7696316 64%patch1 -p1
c7335370 65%patch2 -p1
5758e991 66
67mv -f po/{no,nb}.po
68mv -f po/sr{,@Latn}.po
66f146dd 69
70%build
d043e65d 71%{__aclocal}
336afe11 72%{__autoconf}
b58c1237 73%configure \
d1f75112 74 --disable-update-databases \
9549ca2b 75 --with-freedesktop_org-mime=/usr/share/mime \
9c5a1a83 76 --without-gnome2_4-mime \
77 --without-gnome2_4-appreg \
fe6bfc6d 78 %{?with_opts:--enable-auto-optimization}
ec0ca1cf 79
ec927157 80%{__make}
66f146dd 81
82%install
83rm -rf $RPM_BUILD_ROOT
d7696316 84install -d $RPM_BUILD_ROOT%{_iconsdir}/hicolor/48x48/mimetypes
e17c2ffc 85
4e0e8de3 86%{__make} install \
87 DESTDIR=$RPM_BUILD_ROOT
4ec8df59 88
d7696316
MB
89mv -f $RPM_BUILD_ROOT%{_pixmapsdir}/gnome-mime-application-bluefish-project.png \
90 $RPM_BUILD_ROOT%{_iconsdir}/hicolor/48x48/mimetypes/gnome-mime-application-bluefish-project.png
9c5a1a83 91rm -f $RPM_BUILD_ROOT%{_desktopdir}/bluefish-project.desktop
44bbdb3d 92
9d9d293f 93[ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \
94 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
238e0715 95%find_lang %{name}
96
66f146dd 97%clean
98rm -rf $RPM_BUILD_ROOT
99
c7335370 100%post
d7696316 101%update_mime_database
c7335370 102%update_desktop_database_post
d7696316 103%update_icon_cache hicolor
c7335370 104
105%postun
106%update_desktop_database_postun
d7696316
MB
107%update_mime_database
108%update_icon_cache hicolor
30a92923 109
238e0715 110%files -f %{name}.lang
66f146dd 111%defattr(644,root,root,755)
d1f75112 112%doc AUTHORS README TODO
d7696316 113%attr(755,root,root) %{_bindir}/bluefish
4e0e8de3 114%{_datadir}/%{name}
d7696316
MB
115%{_datadir}/mime/packages/bluefish.xml
116%{_mandir}/man1/bluefish.1*
117%{_iconsdir}/hicolor/48x48/mimetypes/gnome-mime-application-bluefish-project.png
118%{_desktopdir}/bluefish.desktop
119%{_pixmapsdir}/bluefish-icon.png
This page took 0.1684 seconds and 4 git commands to generate.