]> git.pld-linux.org Git - packages/bluefish.git/blob - bluefish.spec
- cosmetics
[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.9
6 Release:        0.2
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 Patch4:         %{name}-pl.patch
20 URL:            http://bluefish.openoffice.nl/
21 BuildRequires:  autoconf
22 BuildRequires:  automake
23 BuildRequires:  libtool
24 BuildRequires:  gettext-devel
25 BuildRequires:  gtk+2-devel
26 BuildRequires:  imlib-devel
27 BuildRequires:  libjpeg-devel
28 BuildRequires:  libpng >= 1.2.5
29 BuildRequires:  libtiff-devel
30 BuildRequires:  libungif-devel
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
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 #%patch4 -p1
55
56 %build
57 %ifarch i586
58 OPTIMIZATION="--enable-gcc3-optimization=pentium"
59 %endif
60 %ifarch i686 athlon
61 OPTIMIZATION="--enable-gcc3-optimization=pentiumpro"
62 %endif
63
64 %{__gettextize}
65 %{__libtoolize}
66 %{__aclocal}
67 %{__autoconf}
68 %configure \
69         $OPTIMIZATION   
70 %{__make}
71
72 %{__make} install DESTDIR=$RPM_BUILD_ROOT
73
74 %install
75 rm -rf $RPM_BUILD_ROOT
76 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Editors/HTML,%{_pixmapsdir},%{_datadir},%{_bindir}}
77
78 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Editors/HTML
79 install %{SOURCE4} $RPM_BUILD_ROOT%{_pixmapsdir}/
80
81 cd po
82 make install DESTDIR=$RPM_BUILD_ROOT
83 cd ..
84
85 install src/%{name} $RPM_BUILD_ROOT%{_bindir}
86
87 install -d icons/*.png $RPM_BUILD_ROOT%{_datadir}/%{name}/
88 install data/*.default $RPM_BUILD_ROOT%{_datadir}/%{name}/
89 ln -sf %{_pixmapsdir}/%{name}.png $RPM_BUILD_ROOT%{_datadir}/%{name}/
90
91 %find_lang %{name}
92
93 %clean
94 rm -rf $RPM_BUILD_ROOT
95
96 %files -f %{name}.lang
97 %defattr(644,root,root,755)
98 %doc doc 
99 %attr(755,root,root) %{_bindir}/*
100 %{_datadir}/%{name}/*
101 %{_applnkdir}/Editors/HTML/bluefish.desktop
102 %{_pixmapsdir}/*
This page took 0.063235 seconds and 3 git commands to generate.