]> git.pld-linux.org Git - packages/bluefish.git/blob - bluefish.spec
9d08ed883ee4a442ec834164dd2f9691f3da4940
[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:        1       
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 BuildRequires:  pkgconfig
32 BuildRequires:  pcre-devel
33 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35 %description
36 Bluefish is a GTK+ based HTML editor designed for the experienced web
37 designer.
38
39 %description -l pl
40 Bluefish jest opartym na GTK+ edytorem HTML, przeznaczonym dla
41 do¶wiadczonych projektantów stron WWW.
42
43 %description -l pt_BR
44 O bluefish é um editor HTML feito com GTK para web designers
45 experientes. Atualmente ele está em estágio alfa, mas já está bastante
46 usável. Algumas opções ainda não estão completamente finalizadas.
47 Bluefish é liberado sob a licença GPL.
48
49 %prep
50 %setup -q
51 %patch0 -p1
52 #%patch1 -p1
53 #%patch2 -p1
54 #%patch3 -p1
55 #%patch4 -p1
56
57 %build
58 %ifarch i586
59 OPTIMIZATION="--enable-gcc3-optimization=pentium"
60 %endif
61 %ifarch i686 athlon
62 OPTIMIZATION="--enable-gcc3-optimization=pentiumpro"
63 %endif
64
65 %{__gettextize}
66 %{__libtoolize}
67 %{__aclocal}
68 %{__autoconf}
69 %configure \
70         $OPTIMIZATION   
71 %{__make}
72
73 %install
74 rm -rf $RPM_BUILD_ROOT
75 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Editors/HTML,%{_pixmapsdir},%{_datadir}/{applications,%{name}},%{_bindir}}
76
77 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Editors/HTML
78 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}/
79
80 make install DESTDIR=$RPM_BUILD_ROOT
81
82 cd po
83 make install DESTDIR=$RPM_BUILD_ROOT
84 cd ..
85
86 install src/%{name} $RPM_BUILD_ROOT%{_bindir}
87
88 install {images,icons}/*.png $RPM_BUILD_ROOT%{_datadir}/%{name}/
89 install data/*.default $RPM_BUILD_ROOT%{_datadir}/%{name}/
90
91 rm -rf `find -name CVS`
92
93 %find_lang %{name}
94
95 %clean
96 rm -rf $RPM_BUILD_ROOT
97
98 %files -f %{name}.lang
99 %defattr(644,root,root,755)
100 %doc doc 
101 %attr(755,root,root) %{_bindir}/*
102 %{_datadir}/%{name}/*
103 %{_applnkdir}/Editors/HTML/bluefish.desktop
104 %{_pixmapsdir}/*
This page took 0.859751 seconds and 2 git commands to generate.