Group :: Rede/WWW
RPM: bluefish
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: bluefish
Version: 1.0
Release: alt1
Summary: A WYSIWYG GPLized HTML editor
Serial: 1
Url: http://bluefish.openoffice.nl
License: GPL
Group: Networking/WWW
#snapshot from http://pkedu.fbt.eitn.wau.nl/~olivier/snapshots/
Source: http://bluefish.openoffice.nl/download/%name-%version.tar.bz2
Source1: icons-%name.tar.bz2
Patch: bluefish-1.0-alt-build.patch
Patch1: bluefish-1.0-alt-build2.patch
# Automatically added by buildreq on Tue Jan 25 2005 (-bi)
BuildRequires: ORBit2-devel desktop-file-utils esound fontconfig freetype2 glib2-devel gnome-vfs2-devel hostinfo libGConf2-devel libart_lgpl-devel libaspell-devel libatk-devel libbonobo2-devel libbonoboui-devel libgnome-devel libgnome-keyring libgnomecanvas-devel libgnomeui-devel libgtk+2-devel libpango-devel libpcre-devel libpopt-devel libxml2-devel pkgconfig shared-mime-info xorg-x11-devel xorg-x11-libs
%description
Bluefish is a programmer's HTML editor, designed to save the experienced
webmaster some keystrokes.
It features a multiple file editor, multiple toolbars, custom menus, image
and thumbnail dialogs, open from the web, HTML validation and lots of wizards.
It is in continuous development, but it's already one of the best WYSIWYG HTML
editors.
%prep
%setup -q
%patch -p1
%patch1 -p1
%build
autoconf
%configure
%make_build
%install
install -d $RPM_BUILD_ROOT%_datadir/pixmaps
install -d $RPM_BUILD_ROOT%_datadir/applications
make install DESTDIR=%buildroot
#menu
mkdir -p $RPM_BUILD_ROOT%_menudir
cat << EOF > $RPM_BUILD_ROOT%_menudir/%name
?package(bluefish): command="bluefish" icon="bluefish.png" needs="x11" title="BlueFish" longtitle="Beautiful GPLized HTML editor" section="Applications/Development/Development environments"
EOF
install -d $RPM_BUILD_ROOT%_iconsdir
tar xjvf %SOURCE1 -C $RPM_BUILD_ROOT%_iconsdir
%__subst s,$RPM_BUILD_ROOT,, $RPM_BUILD_ROOT/%_datadir/applications/%name.desktop
%find_lang %name
%post
%update_menus
%postun
%clean_menus
%files -f %name.lang
%_bindir/*
%_menudir/*
%_datadir/%name
%_datadir/pixmaps/*
%_datadir/applications/*
%_datadir/application-registry/*
%_datadir/mime-info/*
%_datadir/mime/packages/*
%_iconsdir/*.png
%_liconsdir/*.png
%_miconsdir/*.png
%changelog
…
Todas as alterações você pod ver aqui
Version: 1.0
Release: alt1
Summary: A WYSIWYG GPLized HTML editor
Serial: 1
Url: http://bluefish.openoffice.nl
License: GPL
Group: Networking/WWW
#snapshot from http://pkedu.fbt.eitn.wau.nl/~olivier/snapshots/
Source: http://bluefish.openoffice.nl/download/%name-%version.tar.bz2
Source1: icons-%name.tar.bz2
Patch: bluefish-1.0-alt-build.patch
Patch1: bluefish-1.0-alt-build2.patch
# Automatically added by buildreq on Tue Jan 25 2005 (-bi)
BuildRequires: ORBit2-devel desktop-file-utils esound fontconfig freetype2 glib2-devel gnome-vfs2-devel hostinfo libGConf2-devel libart_lgpl-devel libaspell-devel libatk-devel libbonobo2-devel libbonoboui-devel libgnome-devel libgnome-keyring libgnomecanvas-devel libgnomeui-devel libgtk+2-devel libpango-devel libpcre-devel libpopt-devel libxml2-devel pkgconfig shared-mime-info xorg-x11-devel xorg-x11-libs
%description
Bluefish is a programmer's HTML editor, designed to save the experienced
webmaster some keystrokes.
It features a multiple file editor, multiple toolbars, custom menus, image
and thumbnail dialogs, open from the web, HTML validation and lots of wizards.
It is in continuous development, but it's already one of the best WYSIWYG HTML
editors.
%prep
%setup -q
%patch -p1
%patch1 -p1
%build
autoconf
%configure
%make_build
%install
install -d $RPM_BUILD_ROOT%_datadir/pixmaps
install -d $RPM_BUILD_ROOT%_datadir/applications
make install DESTDIR=%buildroot
#menu
mkdir -p $RPM_BUILD_ROOT%_menudir
cat << EOF > $RPM_BUILD_ROOT%_menudir/%name
?package(bluefish): command="bluefish" icon="bluefish.png" needs="x11" title="BlueFish" longtitle="Beautiful GPLized HTML editor" section="Applications/Development/Development environments"
EOF
install -d $RPM_BUILD_ROOT%_iconsdir
tar xjvf %SOURCE1 -C $RPM_BUILD_ROOT%_iconsdir
%__subst s,$RPM_BUILD_ROOT,, $RPM_BUILD_ROOT/%_datadir/applications/%name.desktop
%find_lang %name
%post
%update_menus
%postun
%clean_menus
%files -f %name.lang
%_bindir/*
%_menudir/*
%_datadir/%name
%_datadir/pixmaps/*
%_datadir/applications/*
%_datadir/application-registry/*
%_datadir/mime-info/*
%_datadir/mime/packages/*
%_iconsdir/*.png
%_liconsdir/*.png
%_miconsdir/*.png
%changelog
…
Todas as alterações você pod ver aqui