]> git.pld-linux.org Git - packages/bluefish.git/blob - bluefish.spec
- no -> nb, sr -> sr@Latn, enable more locales (-locale patch)
[packages/bluefish.git] / bluefish.spec
1 #
2 # Conditional build:
3 %bcond_with opts        # use extra optimizations
4 #
5 # note: optflags used with this bcond are very strong, and partially
6 #       obsoleted for C (like -fno-rtti) - use at own risk!
7 #
8 Summary:        Bluefish - HTML editor for the experienced web designer
9 Summary(pl):    Bluefish - Edytor HTML-a dla zaawansowanych
10 Name:           bluefish
11 Version:        0.13
12 Release:        1
13 License:        GPL
14 Group:          X11/Applications/Editors
15 # The master server is here
16 Source0:        http://pkedu.fbt.eitn.wau.nl/~olivier/downloads/%{name}-%{version}.tar.bz2
17 # Source0-md5:  e5f1f5eff0933dc68a51adcdce352826
18 # but if you want ftp: try this one
19 # Source0:      ftp://bluefish.advancecreations.com/bluefish/downloads/%{name}-%{version}.tar.bz2
20 Patch0:         %{name}-DESTDIR.patch
21 Patch1:         %{name}-desktop.patch
22 Patch2:         %{name}-home_etc.patch
23 Patch3:         %{name}-locales.patch
24 URL:            http://bluefish.openoffice.nl/
25 BuildRequires:  aspell-devel
26 BuildRequires:  autoconf
27 BuildRequires:  automake
28 BuildRequires:  gettext-devel
29 BuildRequires:  gnome-vfs2-devel >= 2.2
30 BuildRequires:  gtk+2-devel
31 BuildRequires:  libbonobo-devel >= 2.2
32 BuildRequires:  libjpeg-devel
33 BuildRequires:  libpng >= 1.2.5
34 BuildRequires:  libtiff-devel
35 BuildRequires:  libtool
36 BuildRequires:  libungif-devel
37 BuildRequires:  pcre-devel
38 BuildRequires:  pkgconfig
39 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40
41 %description
42 Bluefish is a GTK+ based HTML editor designed for the experienced web
43 designer.
44
45 %description -l pl
46 Bluefish jest opartym na GTK+ edytorem HTML-a, przeznaczonym dla
47 do¶wiadczonych projektantów stron WWW.
48
49 %description -l pt_BR
50 O bluefish é um editor HTML feito com GTK para web designers
51 experientes. Atualmente ele está em estágio alfa, mas já está bastante
52 usável. Algumas opções ainda não estão completamente finalizadas.
53 Bluefish é liberado sob a licença GPL.
54
55 %prep
56 %setup -q
57 %patch0 -p1
58 %patch1 -p1
59 #%patch2 -p1
60 %patch3 -p1
61
62 mv -f po/{no,nb}.po
63 mv -f po/sr{,@Latn}.po
64
65 %build
66 %{__gettextize}
67 %{__libtoolize}
68 %{__aclocal}
69 %{__autoconf}
70 %configure \
71         %{?with_opts:--enable-auto-optimization}
72
73 %{__make}
74
75 %install
76 rm -rf $RPM_BUILD_ROOT
77 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}
78 #install -d $RPM_BUILD_ROOT%{_datadir}/{application-registry,mime-info}
79
80 %{__make} install \
81         DESTDIR=$RPM_BUILD_ROOT
82
83 install -c inline_images/bluefish_icon1.png $RPM_BUILD_ROOT%{_pixmapsdir}/bluefish.png
84
85 %find_lang %{name}
86
87 %clean
88 rm -rf $RPM_BUILD_ROOT
89
90 %files -f %{name}.lang
91 %defattr(644,root,root,755)
92 %doc doc
93 %attr(755,root,root) %{_bindir}/*
94 %{_datadir}/%{name}
95 %{_datadir}/application-registry/*
96 %{_datadir}/mime-info/*
97 %{_desktopdir}/*
98 %{_pixmapsdir}/*
This page took 1.271938 seconds and 3 git commands to generate.