]> git.pld-linux.org Git - packages/bluefish.git/blob - bluefish.spec
- use more macros, some cosmetics, added missing "rm -f missing" and use new %doc
[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:        4
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 Patch2:         %{name}-locale.patch
18 Patch3:         %{name}-netscape-now-mozilla.patch
19 URL:            http://bluefish.openoffice.nl/
20 BuildRequires:  autoconf
21 BuildRequires:  automake
22 BuildRequires:  libtool
23 BuildRequires:  gettext-devel
24 BuildRequires:  gtk+-devel >= 1.2.0
25 BuildRequires:  imlib-devel
26 BuildRequires:  libjpeg-devel
27 BuildRequires:  libpng >= 1.0.8
28 BuildRequires:  libtiff-devel
29 BuildRequires:  libungif-devel
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %define         _prefix         /usr/X11R6
33
34 %description
35 Bluefish is a GTK+ based HTML editor designed for the experienced web
36 designer.
37
38 %description -l pl
39 Bluefish jest opartym na GTK+ edytorem HTML, przeznaczonym dla
40 do¶wiadczonych projektantów stron WWW.
41
42 %description -l pt_BR
43 O bluefish é um editor HTML feito com GTK para web designers
44 experientes. Atualmente ele está em estágio alfa, mas já está bastante
45 usável. Algumas opções ainda não estão completamente finalizadas.
46 Bluefish é liberado sob a licença GPL.
47
48 %prep
49 %setup -q
50 %patch0 -p1
51 %patch1 -p1
52 %patch2 -p1
53 %patch3 -p1
54
55 %build
56 %ifarch i586
57 OPTIMIZATION="--with-pentium"
58 %endif
59 %ifarch i686 athlon
60 OPTIMIZATION="--with-pentiumpro"
61 %endif
62
63 %{__gettextize}
64 %{__libtoolize}
65 %{__aclocal}
66 %{__autoconf}
67 %configure \
68         --with-install-location=%{_datadir}/bluefish \
69         --with-autocomplet \
70         $OPTIMIZATION
71         
72 %{__make}
73
74 %install
75 rm -rf $RPM_BUILD_ROOT
76 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Office/Editors,%{_pixmapsdir}}
77
78 %{__make} install \
79         DESTDIR=$RPM_BUILD_ROOT
80
81 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Office/Editors
82 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
83
84 %find_lang %{name}
85
86 %clean
87 rm -rf $RPM_BUILD_ROOT
88
89 %files -f %{name}.lang
90 %defattr(644,root,root,755)
91 %doc README ChangeLog BUGS AUTHORS NEWS TODO
92 %attr(755,root,root) %{_bindir}/*
93
94 %{_datadir}/bluefish
95 %{_applnkdir}/Office/Editors/bluefish.desktop
96 %{_pixmapsdir}/*
This page took 0.158011 seconds and 3 git commands to generate.