]> git.pld-linux.org Git - packages/bluefish.git/blob - bluefish.spec
- updated to 0.10
[packages/bluefish.git] / bluefish.spec
1 Summary:        Bluefish - HTML editor for the experienced web designer
2 Summary(pl):    Bluefish - Edytor HTML dla zaawansowanych
3 Summary(pt_BR): Editor HTML Bluefish
4 Name:           bluefish
5 Version:        0.10
6 Release:        1       
7 License:        GPL
8 Group:          X11/Applications/Editors
9 # The master server is here
10 Source0:        http://pkedu.fbt.eitn.wau.nl/~olivier/downloads/%{name}-%{version}.tar.bz2
11 # Source0-md5:  557271d19d53b0857c7290ff994a8637
12 # but if you want ftp: try this one
13 # Source0:      ftp://bluefish.advancecreations.com/bluefish/downloads/%{name}-%{version}.tar.bz2
14 Source1:        %{name}.png
15 Patch0:         %{name}-DESTDIR.patch
16 URL:            http://bluefish.openoffice.nl/
17 BuildRequires:  autoconf
18 BuildRequires:  automake
19 BuildRequires:  gettext-devel
20 BuildRequires:  gtk+2-devel
21 BuildRequires:  imlib-devel
22 BuildRequires:  libjpeg-devel
23 BuildRequires:  libpng >= 1.2.5
24 BuildRequires:  libtiff-devel
25 BuildRequires:  libtool
26 BuildRequires:  libungif-devel
27 BuildRequires:  pcre-devel
28 BuildRequires:  pkgconfig
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %description
32 Bluefish is a GTK+ based HTML editor designed for the experienced web
33 designer.
34
35 %description -l pl
36 Bluefish jest opartym na GTK+ edytorem HTML, przeznaczonym dla
37 do¶wiadczonych projektantów stron WWW.
38
39 %description -l pt_BR
40 O bluefish é um editor HTML feito com GTK para web designers
41 experientes. Atualmente ele está em estágio alfa, mas já está bastante
42 usável. Algumas opções ainda não estão completamente finalizadas.
43 Bluefish é liberado sob a licença GPL.
44
45 %prep
46 %setup -q
47 %patch0 -p1
48
49 %build
50 %ifarch i586
51 OPTIMIZATION="--enable-gcc3-optimization=pentium"
52 %endif
53 %ifarch i686 athlon
54 OPTIMIZATION="--enable-gcc3-optimization=pentiumpro"
55 %endif
56
57 %{__gettextize}
58 %{__libtoolize}
59 %{__aclocal}
60 %{__autoconf}
61 %configure \
62         $OPTIMIZATION   
63 %{__make}
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}
68
69 install %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir}/
70
71 %{__make} install \
72         DESTDIR=$RPM_BUILD_ROOT
73
74 %find_lang %{name}
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %files -f %{name}.lang
80 %defattr(644,root,root,755)
81 %doc doc 
82 %attr(755,root,root) %{_bindir}/*
83 %{_datadir}/%{name}
84 %{_desktopdir}/*
85 %{_pixmapsdir}/*
This page took 0.055542 seconds and 4 git commands to generate.