]> git.pld-linux.org Git - packages/bluefish.git/blob - bluefish.spec
- massive attack: source-md5
[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 # Source0-md5:  6f3dd98df0959469d3637a44eb0e08cf
12 # but if you want ftp: try this one
13 # Source0:      ftp://bluefish.advancecreations.com/bluefish/downloads/%{name}-%{version}.tar.bz2
14 Source1:        %{name}.desktop
15 Source2:        %{name}.png
16 Patch0:         %{name}-DESTDIR.patch
17 #Patch1:                %{name}-ac_lt.patch
18 #Patch2:                %{name}-locale.patch
19 #Patch3:                %{name}-netscape-now-mozilla.patch
20 #Patch4:                %{name}-pl.patch
21 URL:            http://bluefish.openoffice.nl/
22 BuildRequires:  autoconf
23 BuildRequires:  automake
24 BuildRequires:  libtool
25 BuildRequires:  gettext-devel
26 BuildRequires:  gtk+2-devel
27 BuildRequires:  imlib-devel
28 BuildRequires:  libjpeg-devel
29 BuildRequires:  libpng >= 1.2.5
30 BuildRequires:  libtiff-devel
31 BuildRequires:  libungif-devel
32 BuildRequires:  pkgconfig
33 BuildRequires:  pcre-devel
34 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36 %description
37 Bluefish is a GTK+ based HTML editor designed for the experienced web
38 designer.
39
40 %description -l pl
41 Bluefish jest opartym na GTK+ edytorem HTML, przeznaczonym dla
42 do¶wiadczonych projektantów stron WWW.
43
44 %description -l pt_BR
45 O bluefish é um editor HTML feito com GTK para web designers
46 experientes. Atualmente ele está em estágio alfa, mas já está bastante
47 usável. Algumas opções ainda não estão completamente finalizadas.
48 Bluefish é liberado sob a licença GPL.
49
50 %prep
51 %setup -q
52 %patch0 -p1
53 #%patch1 -p1
54 #%patch2 -p1
55 #%patch3 -p1
56 #%patch4 -p1
57
58 %build
59 %ifarch i586
60 OPTIMIZATION="--enable-gcc3-optimization=pentium"
61 %endif
62 %ifarch i686 athlon
63 OPTIMIZATION="--enable-gcc3-optimization=pentiumpro"
64 %endif
65
66 %{__gettextize}
67 %{__libtoolize}
68 %{__aclocal}
69 %{__autoconf}
70 %configure \
71         $OPTIMIZATION   
72 %{__make}
73
74 %install
75 rm -rf $RPM_BUILD_ROOT
76 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Editors/HTML,%{_pixmapsdir},%{_datadir}/{applications,%{name}},%{_bindir}}
77
78 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Editors/HTML
79 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}/
80
81 make install DESTDIR=$RPM_BUILD_ROOT
82
83 cd po
84 make install DESTDIR=$RPM_BUILD_ROOT
85 cd ..
86
87 install src/%{name} $RPM_BUILD_ROOT%{_bindir}
88
89 install {images,icons}/*.png $RPM_BUILD_ROOT%{_datadir}/%{name}/
90 install data/*.default $RPM_BUILD_ROOT%{_datadir}/%{name}/
91
92 rm -rf `find -name CVS`
93
94 %find_lang %{name}
95
96 %clean
97 rm -rf $RPM_BUILD_ROOT
98
99 %files -f %{name}.lang
100 %defattr(644,root,root,755)
101 %doc doc 
102 %attr(755,root,root) %{_bindir}/*
103 %{_datadir}/%{name}/*
104 %{_applnkdir}/Editors/HTML/bluefish.desktop
105 %{_pixmapsdir}/*
This page took 0.169292 seconds and 3 git commands to generate.