]> git.pld-linux.org Git - packages/bluefish.git/blob - bluefish.spec
186d1ad5f0f114d103a49619d6622f717086ca13
[packages/bluefish.git] / bluefish.spec
1 #
2 # Conditional build:
3 %bcond_with opts        # use extra optimizations
4 #
5 # note: optflags used with this bcond are very strong, and partially
6 #       obsoleted for C (like -fno-rtti) - use at own risk!
7 #
8 Summary:        Bluefish - HTML editor for the experienced web designer
9 Summary(pl):    Bluefish - Edytor HTML-a dla zaawansowanych
10 Name:           bluefish
11 Version:        0.13
12 Release:        1
13 License:        GPL
14 Group:          X11/Applications/Editors
15 # The master server is here
16 Source0:        http://pkedu.fbt.eitn.wau.nl/~olivier/downloads/%{name}-%{version}.tar.bz2
17 # Source0-md5:  e5f1f5eff0933dc68a51adcdce352826
18 # but if you want ftp: try this one
19 # Source0:      ftp://bluefish.advancecreations.com/bluefish/downloads/%{name}-%{version}.tar.bz2
20 Patch0:         %{name}-DESTDIR.patch
21 Patch1:         %{name}-desktop.patch
22 Patch2:         %{name}-home_etc.patch
23 URL:            http://bluefish.openoffice.nl/
24 BuildRequires:  aspell-devel
25 BuildRequires:  autoconf
26 BuildRequires:  automake
27 BuildRequires:  gettext-devel
28 BuildRequires:  gnome-vfs2-devel >= 2.2
29 BuildRequires:  gtk+2-devel
30 BuildRequires:  libbonobo-devel >= 2.2
31 BuildRequires:  libjpeg-devel
32 BuildRequires:  libpng >= 1.2.5
33 BuildRequires:  libtiff-devel
34 BuildRequires:  libtool
35 BuildRequires:  libungif-devel
36 BuildRequires:  pcre-devel
37 BuildRequires:  pkgconfig
38 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39
40 %description
41 Bluefish is a GTK+ based HTML editor designed for the experienced web
42 designer.
43
44 %description -l pl
45 Bluefish jest opartym na GTK+ edytorem HTML-a, przeznaczonym dla
46 do¶wiadczonych projektantów stron WWW.
47
48 %description -l pt_BR
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.
53
54 %prep
55 %setup -q
56 %patch0 -p1
57 %patch1 -p1
58 #%patch2 -p1
59
60 %build
61 %{__gettextize}
62 %{__libtoolize}
63 %{__aclocal}
64 %{__autoconf}
65 %configure \
66         %{?with_opts:--enable-auto-optimization}
67
68 %{__make}
69
70 %install
71 rm -rf $RPM_BUILD_ROOT
72 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}
73 #install -d $RPM_BUILD_ROOT%{_datadir}/{application-registry,mime-info}
74
75 %{__make} install \
76         DESTDIR=$RPM_BUILD_ROOT
77
78 install -c inline_images/bluefish_icon1.png $RPM_BUILD_ROOT%{_pixmapsdir}/bluefish.png
79
80 %find_lang %{name}
81
82 %clean
83 rm -rf $RPM_BUILD_ROOT
84
85 %files -f %{name}.lang
86 %defattr(644,root,root,755)
87 %doc doc
88 %attr(755,root,root) %{_bindir}/*
89 %{_datadir}/%{name}
90 %{_datadir}/application-registry/*
91 %{_datadir}/mime-info/*
92 %{_desktopdir}/*
93 %{_pixmapsdir}/*
This page took 0.039778 seconds and 3 git commands to generate.