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