]> git.pld-linux.org Git - packages/bluefish.git/blob - bluefish.spec
- added home_etc.patch
[packages/bluefish.git] / bluefish.spec
1 #
2 # Conditional build:
3 # _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 dla zaawansowanych
10 Name:           bluefish
11 Version:        0.11
12 Release:        2
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:  4da2495bd8b3ce1010fed61120037f98
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:  gtk+2-devel
29 BuildRequires:  imlib-devel
30 BuildRequires:  libjpeg-devel
31 BuildRequires:  libpng >= 1.2.5
32 BuildRequires:  libtiff-devel
33 BuildRequires:  libtool
34 BuildRequires:  libungif-devel
35 BuildRequires:  pcre-devel
36 BuildRequires:  pkgconfig
37 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38
39 %description
40 Bluefish is a GTK+ based HTML editor designed for the experienced web
41 designer.
42
43 %description -l pl
44 Bluefish jest opartym na GTK+ edytorem HTML, przeznaczonym dla
45 do¶wiadczonych projektantów stron WWW.
46
47 %description -l pt_BR
48 O bluefish é um editor HTML feito com GTK para web designers
49 experientes. Atualmente ele está em estágio alfa, mas já está bastante
50 usável. Algumas opções ainda não estão completamente finalizadas.
51 Bluefish é liberado sob a licença GPL.
52
53 %prep
54 %setup -q
55 %patch0 -p1
56 %patch1 -p1
57 %patch2 -p1
58
59 %build
60 %{__gettextize}
61 %{__libtoolize}
62 %{__aclocal}
63 %{__autoconf}
64 %configure \
65         %{?_with_opts:--enable-auto-optimization}
66
67 %{__make}
68
69 %install
70 rm -rf $RPM_BUILD_ROOT
71 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}
72
73 %{__make} install \
74         DESTDIR=$RPM_BUILD_ROOT
75
76 install -c inline_images/bluefish_icon1.png $RPM_BUILD_ROOT%{_pixmapsdir}/bluefish.png
77
78 %find_lang %{name}
79
80 %clean
81 rm -rf $RPM_BUILD_ROOT
82
83 %files -f %{name}.lang
84 %defattr(644,root,root,755)
85 %doc doc
86 %attr(755,root,root) %{_bindir}/*
87 %{_datadir}/%{name}
88 %{_desktopdir}/*
89 %{_pixmapsdir}/*
This page took 0.080753 seconds and 3 git commands to generate.