]> git.pld-linux.org Git - packages/bluefish.git/blob - bluefish.spec
382466b3d8d24d3e3beb49517727a5865a9bf3b9
[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 #       obsoled for C - use at own risk!
7
8 Summary:        Bluefish - HTML editor for the experienced web designer
9 Summary(pl):    Bluefish - Edytor HTML dla zaawansowanych
10 Summary(pt_BR): Editor HTML Bluefish
11 Name:           bluefish
12 Version:        0.10
13 Release:        1       
14 License:        GPL
15 Group:          X11/Applications/Editors
16 # The master server is here
17 Source0:        http://pkedu.fbt.eitn.wau.nl/~olivier/downloads/%{name}-%{version}.tar.bz2
18 # Source0-md5:  557271d19d53b0857c7290ff994a8637
19 # but if you want ftp: try this one
20 # Source0:      ftp://bluefish.advancecreations.com/bluefish/downloads/%{name}-%{version}.tar.bz2
21 Patch0:         %{name}-DESTDIR.patch
22 Patch1:         %{name}-desktop.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
58 %build
59 %{__gettextize}
60 %{__libtoolize}
61 %{__aclocal}
62 %{__autoconf}
63 %configure \
64         %{?_with_opts:--enable-auto-optimization}
65         
66 %{__make}
67
68 %install
69 rm -rf $RPM_BUILD_ROOT
70 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}
71
72 %{__make} install \
73         DESTDIR=$RPM_BUILD_ROOT
74
75 install -c inline_images/bluefish_icon1.png $RPM_BUILD_ROOT%{_pixmapsdir}/bluefish.png
76
77 %find_lang %{name}
78
79 %clean
80 rm -rf $RPM_BUILD_ROOT
81
82 %files -f %{name}.lang
83 %defattr(644,root,root,755)
84 %doc doc 
85 %attr(755,root,root) %{_bindir}/*
86 %{_datadir}/%{name}
87 %{_desktopdir}/*
88 %{_pixmapsdir}/*
This page took 0.026128 seconds and 2 git commands to generate.