]> git.pld-linux.org Git - packages/bluefish.git/blob - bluefish.spec
- added missing manpage to %%files
[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:        5
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+-devel >= 1.2.0
26 BuildRequires:  imlib-devel
27 BuildRequires:  libjpeg-devel
28 BuildRequires:  libpng >= 1.0.8
29 BuildRequires:  libtiff-devel
30 BuildRequires:  libungif-devel
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %define         _prefix         /usr/X11R6
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="--with-pentium"
60 %endif
61 %ifarch i686 athlon
62 OPTIMIZATION="--with-pentiumpro"
63 %endif
64
65 %{__gettextize}
66 %{__libtoolize}
67 %{__aclocal}
68 %{__autoconf}
69 %configure \
70         --with-install-location=%{_datadir}/bluefish \
71         --with-autocomplet \
72         $OPTIMIZATION
73         
74 %{__make}
75
76 %install
77 rm -rf $RPM_BUILD_ROOT
78 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Editors/HTML,%{_pixmapsdir}}
79
80 %{__make} install \
81         DESTDIR=$RPM_BUILD_ROOT
82
83 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Editors/HTML
84 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
85
86 %find_lang %{name}
87
88 %clean
89 rm -rf $RPM_BUILD_ROOT
90
91 %files -f %{name}.lang
92 %defattr(644,root,root,755)
93 %doc README ChangeLog BUGS AUTHORS NEWS TODO
94 %attr(755,root,root) %{_bindir}/*
95 %{_mandir}/man1/*
96
97 %{_datadir}/bluefish
98 %{_applnkdir}/Editors/HTML/bluefish.desktop
99 %{_pixmapsdir}/*
This page took 0.153004 seconds and 3 git commands to generate.