]> git.pld-linux.org Git - packages/bluefish.git/blobdiff - bluefish.spec
- typo
[packages/bluefish.git] / bluefish.spec
index 811e70041bbbae71a90be9b5fd53afbc51dd0e45..e1b0f5a0817851d78aa2b5926281e26410dc51ee 100644 (file)
@@ -1,27 +1,41 @@
+#
+# Conditional build:
+# _with_opts           - use extra optimizations
+#
+# note: optflags used with this bcond are very strong, and partially
+#      obsoleted for C (like -fno-rtti) - use at own risk!
+# 
 Summary:       Bluefish - HTML editor for the experienced web designer
 Summary(pl):   Bluefish - Edytor HTML dla zaawansowanych
+Summary(pt_BR):        Editor HTML Bluefish
 Name:          bluefish
-Version:       0.4
-Release:       2
+Version:       0.10
+Release:       1       
 License:       GPL
 Group:         X11/Applications/Editors
-Group(pl):     X11/Aplikacje/Edytory
-Source0:       http://bluefish.openoffice.nl/download/%{name}-%{version}.tar.bz2
-Source1:       bluefish.desktop
-Patch0:                bluefish-DESTDIR.patch
+# The master server is here
+Source0:       http://pkedu.fbt.eitn.wau.nl/~olivier/downloads/%{name}-%{version}.tar.bz2
+# Source0-md5: 557271d19d53b0857c7290ff994a8637
+# but if you want ftp: try this one
+# Source0:     ftp://bluefish.advancecreations.com/bluefish/downloads/%{name}-%{version}.tar.bz2
+Patch0:                %{name}-DESTDIR.patch
+Patch1:                %{name}-desktop.patch
 URL:           http://bluefish.openoffice.nl/
-BuildRequires: gtk+-devel >= 1.2.0
+BuildRequires: aspell-devel
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: gettext-devel
+BuildRequires: gtk+2-devel
 BuildRequires: imlib-devel
 BuildRequires: libjpeg-devel
-BuildRequires: libpng-devel
+BuildRequires: libpng >= 1.2.5
 BuildRequires: libtiff-devel
+BuildRequires: libtool
 BuildRequires: libungif-devel
-BuildRequires: zlib-devel
-BuildRequires: gettext-devel
+BuildRequires: pcre-devel
+BuildRequires: pkgconfig
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _prefix         /usr/X11R6
-
 %description
 Bluefish is a GTK+ based HTML editor designed for the experienced web
 designer.
@@ -30,27 +44,35 @@ designer.
 Bluefish jest opartym na GTK+ edytorem HTML, przeznaczonym dla
 do¶wiadczonych projektantów stron WWW.
 
+%description -l pt_BR
+O bluefish é um editor HTML feito com GTK para web designers
+experientes. Atualmente ele está em estágio alfa, mas já está bastante
+usável. Algumas opções ainda não estão completamente finalizadas.
+Bluefish é liberado sob a licença GPL.
+
 %prep
 %setup -q
-%patch -p1
+%patch0 -p1
+%patch1        -p1
 
 %build
-gettextize --copy --force
-LDFLAGS="-s"; export LDFLAGS
+%{__gettextize}
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
 %configure \
-       --with-install-location=%{_datadir}/bluefish
-make
+       %{?_with_opts:--enable-auto-optimization}
+       
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_applnkdir}/Office/Editors
+install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Office/Editors
-
-gzip -9nf README ChangeLog BUGS AUTHORS NEWS TODO
+install -c inline_images/bluefish_icon1.png $RPM_BUILD_ROOT%{_pixmapsdir}/bluefish.png
 
 %find_lang %{name}
 
@@ -59,8 +81,8 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc {README,ChangeLog,BUGS,AUTHORS,NEWS,TODO}.gz
+%doc doc 
 %attr(755,root,root) %{_bindir}/*
-
-%{_datadir}/bluefish
-%{_applnkdir}/Office/Editors/bluefish.desktop
+%{_datadir}/%{name}
+%{_desktopdir}/*
+%{_pixmapsdir}/*
This page took 0.05922 seconds and 4 git commands to generate.