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