]> git.pld-linux.org Git - packages/bluefish.git/blob - bluefish.spec
765f5c485653533c05abfc45a848b47d9ff0293e
[packages/bluefish.git] / bluefish.spec
1 Summary:        Bluefish - HTML editor for the experienced web designer
2 Summary(pl):    Bluefish - Edytor HTML dla zaawansowanych
3 Name:           bluefish
4 Version:        0.6
5 Release:        2
6 License:        GPL
7 Group:          X11/Applications/Editors
8 Group(pl):      X11/Aplikacje/Edytory
9 Source0:        http://bluefish.openoffice.nl/download/%{name}-%{version}.tar.bz2
10 Source1:        %{name}.desktop
11 Source2:        %{name}.png
12 Patch0:         %{name}-DESTDIR.patch
13 Patch1:         %{name}-ac_lt.patch
14 URL:            http://bluefish.openoffice.nl/
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  gettext-devel
18 BuildRequires:  gtk+-devel >= 1.2.0
19 BuildRequires:  imlib-devel
20 BuildRequires:  libjpeg-devel
21 BuildRequires:  libpng >= 1.0.8
22 BuildRequires:  libtiff-devel
23 BuildRequires:  libungif-devel
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %define         _prefix         /usr/X11R6
27
28 %description
29 Bluefish is a GTK+ based HTML editor designed for the experienced web
30 designer.
31
32 %description -l pl
33 Bluefish jest opartym na GTK+ edytorem HTML, przeznaczonym dla
34 do¶wiadczonych projektantów stron WWW.
35
36 %prep 
37 %setup -q
38 %patch0 -p1
39 %patch1 -p1
40
41 %build
42 gettextize --copy --force
43 libtoolize --copy --force
44 aclocal
45 autoconf
46 %configure \
47         --with-install-location=%{_datadir}/bluefish
48 %{__make}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Office/Editors,%{_pixmapsdir}}
53
54 %{__make} install \
55         DESTDIR=$RPM_BUILD_ROOT
56
57 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Office/Editors
58 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
59
60 gzip -9nf README ChangeLog BUGS AUTHORS NEWS TODO
61
62 %find_lang %{name}
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %files -f %{name}.lang
68 %defattr(644,root,root,755)
69 %doc {README,ChangeLog,BUGS,AUTHORS,NEWS,TODO}.gz
70 %attr(755,root,root) %{_bindir}/*
71
72 %{_datadir}/bluefish
73 %{_applnkdir}/Office/Editors/bluefish.desktop
74 %{_pixmapsdir}/*
This page took 0.030684 seconds and 3 git commands to generate.