Group :: Rede/WWW
RPM: skipstone
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: skipstone
Version: 1.0.0
Release: alt2
Summary: Simple Gecko-based web browser
License: GPL
Group: Networking/WWW
Url: http://www.muhri.net/skipstone
Source0: %url/%name-%version.tar.gz
Source1: skipstone.desktop
Patch: skipstone-0.9.7-alt-defaults.patch
Packager: Michael Shigorin <mike at altlinux.org>
# Automatically added by buildreq on Fri Apr 18 2008
BuildRequires: gcc-c++ libgtk+2-devel seamonkey-devel
# hm...
%set_verify_elf_method unresolved=relaxed
Requires: seamonkey
%define skipdatadir %_datadir/%name
%define skipplugdir %_libdir/%name/plugins
%description
SkipStone is a simple Gtk+ web browser that utlizes Mozilla's gecko engine
%prep
%setup
%patch -p1
subst 's,/chrome/comm.manifest,/chrome/comm.jar,' configure
%build
%configure \
--with-mozilla-libs=%_libdir/mozilla \
--with-mozilla-includes=%_includedir/mozilla
#pushd src
#%make clean
#%make -f Makefile.webkit
#popd
#ln src/skipstone-bin-webkit .
%configure \
--with-mozilla-libs=%_libdir/mozilla \
--with-mozilla-includes=%_includedir/mozilla
%make
pushd plugins/
%make
popd
%install
install -d %buildroot{%_bindir,%skipplugdir}
install -d %buildroot%skipdatadir/{icons,pixmaps/default}
install -p -m755 src/{skipdownload,skipstone{,-bin}} %buildroot%_bindir/
install -p -m644 icons/* %buildroot%skipdatadir/icons/
install -p -m644 pixmaps/* %buildroot%skipdatadir/pixmaps/default/
pushd plugins/
install -p -m755 AutoComplete/AutoComplete.so %buildroot%skipplugdir/
install -p -m755 FavIcon/FavIcon.so %buildroot%skipplugdir/
install -p -m755 HistorySideBar/HistorySideBar.so %buildroot%skipplugdir/
install -p -m755 Launcher/Launcher.so %buildroot%skipplugdir/
install -p -m755 NewButton/NewButton.so %buildroot%skipplugdir/
install -p -m755 SearchToolBar/SearchToolBar.so %buildroot%skipplugdir/
install -p -m755 Throbber/Throb.so %buildroot%skipplugdir/
install -p -m755 Up/Up.so %buildroot%skipplugdir/
install -p -m755 Zoomer/SkipZoomer.so %buildroot%skipplugdir/
install -p -m644 NewButton/new.png %buildroot%skipdatadir/pixmaps/default/
popd
install -pD -m644 %SOURCE1 %buildroot%_desktopdir/%name.desktop
%postun -n skipstone
%clean_menus
%post -n skipstone
%update_menus
%files
%_bindir/*
%_desktopdir/*
%skipdatadir/
%skipplugdir/
# TODO:
# - figure out why skipdownload skips download (double free)
# - proper distro browser integration, if any?
# - try to build against webkit?
%changelog
…
Todas as alterações você pod ver aqui
Version: 1.0.0
Release: alt2
Summary: Simple Gecko-based web browser
License: GPL
Group: Networking/WWW
Url: http://www.muhri.net/skipstone
Source0: %url/%name-%version.tar.gz
Source1: skipstone.desktop
Patch: skipstone-0.9.7-alt-defaults.patch
Packager: Michael Shigorin <mike at altlinux.org>
# Automatically added by buildreq on Fri Apr 18 2008
BuildRequires: gcc-c++ libgtk+2-devel seamonkey-devel
# hm...
%set_verify_elf_method unresolved=relaxed
Requires: seamonkey
%define skipdatadir %_datadir/%name
%define skipplugdir %_libdir/%name/plugins
%description
SkipStone is a simple Gtk+ web browser that utlizes Mozilla's gecko engine
%prep
%setup
%patch -p1
subst 's,/chrome/comm.manifest,/chrome/comm.jar,' configure
%build
%configure \
--with-mozilla-libs=%_libdir/mozilla \
--with-mozilla-includes=%_includedir/mozilla
#pushd src
#%make clean
#%make -f Makefile.webkit
#popd
#ln src/skipstone-bin-webkit .
%configure \
--with-mozilla-libs=%_libdir/mozilla \
--with-mozilla-includes=%_includedir/mozilla
%make
pushd plugins/
%make
popd
%install
install -d %buildroot{%_bindir,%skipplugdir}
install -d %buildroot%skipdatadir/{icons,pixmaps/default}
install -p -m755 src/{skipdownload,skipstone{,-bin}} %buildroot%_bindir/
install -p -m644 icons/* %buildroot%skipdatadir/icons/
install -p -m644 pixmaps/* %buildroot%skipdatadir/pixmaps/default/
pushd plugins/
install -p -m755 AutoComplete/AutoComplete.so %buildroot%skipplugdir/
install -p -m755 FavIcon/FavIcon.so %buildroot%skipplugdir/
install -p -m755 HistorySideBar/HistorySideBar.so %buildroot%skipplugdir/
install -p -m755 Launcher/Launcher.so %buildroot%skipplugdir/
install -p -m755 NewButton/NewButton.so %buildroot%skipplugdir/
install -p -m755 SearchToolBar/SearchToolBar.so %buildroot%skipplugdir/
install -p -m755 Throbber/Throb.so %buildroot%skipplugdir/
install -p -m755 Up/Up.so %buildroot%skipplugdir/
install -p -m755 Zoomer/SkipZoomer.so %buildroot%skipplugdir/
install -p -m644 NewButton/new.png %buildroot%skipdatadir/pixmaps/default/
popd
install -pD -m644 %SOURCE1 %buildroot%_desktopdir/%name.desktop
%postun -n skipstone
%clean_menus
%post -n skipstone
%update_menus
%files
%_bindir/*
%_desktopdir/*
%skipdatadir/
%skipplugdir/
# TODO:
# - figure out why skipdownload skips download (double free)
# - proper distro browser integration, if any?
# - try to build against webkit?
%changelog
…
Todas as alterações você pod ver aqui