X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=bluefish.spec;h=8f1bab21f924c77b9078fec691f440aa52089453;hb=d043e65d08a0e90a958565ea504a48d43d2c2a41;hp=7b9ebcabbf3dd59dea7ade4b0f21958777d17eb5;hpb=46e12e23f410d18915c8289d76fd32771e2edb3e;p=packages%2Fbluefish.git diff --git a/bluefish.spec b/bluefish.spec index 7b9ebca..8f1bab2 100644 --- a/bluefish.spec +++ b/bluefish.spec @@ -1,25 +1,32 @@ 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.6 -Release: 1 +Version: 0.7 +Release: 4 License: GPL Group: X11/Applications/Editors -Group(pl): X11/Aplikacje/Edytory -Source0: http://bluefish.linuxbox.com/download/%{name}-%{version}.tar.bz2 -Source1: bluefish.desktop -Patch0: bluefish-DESTDIR.patch -URL: http://bluefish.linuxbox.com/ +# The master server is here +Source0: http://pkedu.fbt.eitn.wau.nl/~olivier/downloads/%{name}-%{version}.tar.bz2 +# but if you want ftp: try this one +# Source0: ftp://bluefish.advancecreations.com/bluefish/downloads/%{name}-%{version}.tar.bz2 +Source1: %{name}.desktop +Source2: %{name}.png +Patch0: %{name}-DESTDIR.patch +Patch1: %{name}-ac_lt.patch +Patch2: %{name}-locale.patch +Patch3: %{name}-netscape-now-mozilla.patch +URL: http://bluefish.openoffice.nl/ +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: libtool +BuildRequires: gettext-devel BuildRequires: gtk+-devel >= 1.2.0 -BuildRequires: glib-devel >= 1.2.0 BuildRequires: imlib-devel -BuildRequires: XFree86-devel BuildRequires: libjpeg-devel -BuildRequires: libpng-devel +BuildRequires: libpng >= 1.0.8 BuildRequires: libtiff-devel BuildRequires: libungif-devel -BuildRequires: zlib-devel -BuildRequires: gettext-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _prefix /usr/X11R6 @@ -30,28 +37,49 @@ designer. %description -l pl Bluefish jest opartym na GTK+ edytorem HTML, przeznaczonym dla -do¶wiadczonych projektantów stron WWW. +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 +%patch2 -p1 +%patch3 -p1 %build -gettextize --copy --force -LDFLAGS="-s"; export LDFLAGS +%ifarch i586 +OPTIMIZATION="--with-pentium" +%endif +%ifarch i686 athlon +OPTIMIZATION="--with-pentiumpro" +%endif + +%{__gettextize} +%{__libtoolize} +%{__aclocal} +%{__autoconf} %configure \ - --with-install-location=%{_datadir}/bluefish -make + --with-install-location=%{_datadir}/bluefish \ + --with-autocomplet \ + $OPTIMIZATION + +%{__make} %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT%{_applnkdir}/Editors - -make prefix=$RPM_BUILD_ROOT%{_prefix} install DESTDIR=$RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT{%{_applnkdir}/Office/Editors,%{_pixmapsdir}} -install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Editors +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT -gzip -9nf README ChangeLog BUGS AUTHORS NEWS TODO +install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Office/Editors +install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir} %find_lang %{name} @@ -60,8 +88,9 @@ rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(644,root,root,755) -%doc {README,ChangeLog,BUGS,AUTHORS,NEWS,TODO}.gz +%doc README ChangeLog BUGS AUTHORS NEWS TODO %attr(755,root,root) %{_bindir}/* %{_datadir}/bluefish -%{_applnkdir}/Editors/bluefish.desktop +%{_applnkdir}/Office/Editors/bluefish.desktop +%{_pixmapsdir}/*