]> git.pld-linux.org Git - packages/bluefish.git/blob - bluefish.spec
- perl -pi -e "s/^libtoolize --copy --force/\%\{__libtoolize\}/"
[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.7
6 Release:        3
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 # but if you want ftp: try this one
12 # Source0:      ftp://bluefish.advancecreations.com/bluefish/downloads/%{name}-%{version}.tar.bz2
13 Source1:        %{name}.desktop
14 Source2:        %{name}.png
15 Patch0:         %{name}-DESTDIR.patch
16 Patch1:         %{name}-ac_lt.patch
17 URL:            http://bluefish.openoffice.nl/
18 BuildRequires:  autoconf
19 BuildRequires:  automake
20 BuildRequires:  libtool
21 BuildRequires:  gettext-devel
22 BuildRequires:  gtk+-devel >= 1.2.0
23 BuildRequires:  imlib-devel
24 BuildRequires:  libjpeg-devel
25 BuildRequires:  libpng >= 1.0.8
26 BuildRequires:  libtiff-devel
27 BuildRequires:  libungif-devel
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %define         _prefix         /usr/X11R6
31
32 %description
33 Bluefish is a GTK+ based HTML editor designed for the experienced web
34 designer.
35
36 %description -l pl
37 Bluefish jest opartym na GTK+ edytorem HTML, przeznaczonym dla
38 do¶wiadczonych projektantów stron WWW.
39
40 %description -l pt_BR
41 O bluefish é um editor HTML feito com GTK para web designers
42 experientes. Atualmente ele está em estágio alfa, mas já está bastante
43 usável. Algumas opções ainda não estão completamente finalizadas.
44 Bluefish é liberado sob a licença GPL.
45
46 %prep
47 %setup -q
48 %patch0 -p1
49 %patch1 -p1
50
51 %build
52 gettextize --copy --force
53 %{__libtoolize}
54 aclocal
55 %{__autoconf}
56 %configure \
57         --with-install-location=%{_datadir}/bluefish
58 %{__make}
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Office/Editors,%{_pixmapsdir}}
63
64 %{__make} install \
65         DESTDIR=$RPM_BUILD_ROOT
66
67 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Office/Editors
68 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
69
70 gzip -9nf README ChangeLog BUGS AUTHORS NEWS TODO
71
72 %find_lang %{name}
73
74 %clean
75 rm -rf $RPM_BUILD_ROOT
76
77 %files -f %{name}.lang
78 %defattr(644,root,root,755)
79 %doc {README,ChangeLog,BUGS,AUTHORS,NEWS,TODO}.gz
80 %attr(755,root,root) %{_bindir}/*
81
82 %{_datadir}/bluefish
83 %{_applnkdir}/Office/Editors/bluefish.desktop
84 %{_pixmapsdir}/*
This page took 0.112889 seconds and 3 git commands to generate.