]> git.pld-linux.org Git - packages/bluefish.git/blobdiff - bluefish.spec
- updated to 0.10
[packages/bluefish.git] / bluefish.spec
index 8ca02eece7354c469238bbb32f2b6ae4be7118f1..b87135de24b6e7ebf0217b1df8d40583d0d64af9 100644 (file)
@@ -1,69 +1,85 @@
 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.3.1
-Release:       1
+Version:       0.10
+Release:       1       
+License:       GPL
 Group:         X11/Applications/Editors
-Group(pl):     X11/Aplikacje/Edytory
-Copyright:     GPL
-Source0:       http://bluefish.linuxbox.com/%{name}-%{version}.tar.gz
-Source1:       bluefish.desktop
-Patch:         bluefish-DESTDIR.patch
-URL:            http://bluefish.linuxbox.com/
-BuildPrereq:   gtk+-devel >= 1.2.0
-BuildPrereq:   glib-devel >= 1.2.0
-BuildPrereq:   imlib-devel
-BuildPrereq:   XFree86-devel
-BuildPrereq:   libjpeg-devel
-BuildPrereq:   libpng-devel
-BuildPrereq:   libtiff-devel
-BuildPrereq:   libungif-devel
-BuildPrereq:   zlib-devel
-BuildRoot:     /tmp/%{name}-%{version}-root
-
-%define        _prefix /usr/X11R6
+# 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
+Source1:       %{name}.png
+Patch0:                %{name}-DESTDIR.patch
+URL:           http://bluefish.openoffice.nl/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: gettext-devel
+BuildRequires: gtk+2-devel
+BuildRequires: imlib-devel
+BuildRequires: libjpeg-devel
+BuildRequires: libpng >= 1.2.5
+BuildRequires: libtiff-devel
+BuildRequires: libtool
+BuildRequires: libungif-devel
+BuildRequires: pcre-devel
+BuildRequires: pkgconfig
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Bluefish is a GTK+ based HTML editor designed 
-for the experienced web designer.
+Bluefish is a GTK+ based HTML editor designed for the experienced web
+designer.
 
 %description -l pl
-Bluefish jest opartym na GTK+ edytorem HTML, 
-przeznaczonym dla do¶wiadczonego projektanta stron WWW.
+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 -p0
+%patch0 -p1
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
-./configure %{_target_platform} \
-       --exec-prefix=%{_prefix} \
-       --with-install-location=%{_bindir}
+%ifarch i586
+OPTIMIZATION="--enable-gcc3-optimization=pentium"
+%endif
+%ifarch i686 athlon
+OPTIMIZATION="--enable-gcc3-optimization=pentiumpro"
+%endif
 
-make
+%{__gettextize}
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%configure \
+       $OPTIMIZATION   
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/etc/X11/applnk/Editors
+install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}
 
-make install DESTDIR=$RPM_BUILD_ROOT
+install %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir}/
 
-install %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/applnk/Editors
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
-gzip -9nf README ChangeLog BUGS AUTHORS NEWS TODO
+%find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc {README,ChangeLog,BUGS,AUTHORS,NEWS,TODO}.gz
-
+%doc doc 
 %attr(755,root,root) %{_bindir}/*
-/etc/X11/applnk/Editors/bluefish.desktop
-
-%changelog
-* Mon Jun 28 1999 Piotr Czerwiñski <pius@pld.org.pl> 
-  [0.3.1-1]
-- initial rpm release.
+%{_datadir}/%{name}
+%{_desktopdir}/*
+%{_pixmapsdir}/*
This page took 0.072229 seconds and 4 git commands to generate.