Name: midori
Version: 0.0.20
Release: 1%{?dist}
Summary: A lightweight GTK+ web browser
Group: Applications/Internet
License: LGPLv2+
URL: http://software.twotoasts.de/?page=midori
Source0: http://software.twotoasts.de/media/%{name}/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: gtksourceview2-devel
BuildRequires: libsexy-devel
BuildRequires: libtool
BuildRequires: libxml2-devel
BuildRequires: perl(XML::Parser)
BuildRequires: WebKit-gtk-devel
BuildRequires: unique-devel
%description
Midori is a lightweight web browser, and has many features expected of a
modern browser, including:
* Full integration with GTK+2.
* Fast rendering with WebKit.
* Tabs, windows and session management.
* Bookmarks are stored with XBEL.
* Searchbox based on OpenSearch.
* Custom context menu actions.
* User scripts and user styles support.
* Extensible via Lua scripts.
The project is currently in an early alpha state. The features are still being
implemented, and some are still quite incomplete.
%prep
%setup -q
%build
## Don't call configure automatically.
## TODO: Switch to waf build-system, and make it actually honor our compiler
## flags and whatnot.
sed -i.conf -e '$d' legacy.sh
./legacy.sh
%configure
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
%find_lang %{name}
desktop-file-install \
--vendor fedora \
--delete-original \
--dir %{buildroot}%{_datadir}/applications \
%{buildroot}%{_datadir}/applications/%{name}.desktop
%clean
rm -rf %{buildroot}
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING README TODO
%{_bindir}/midori
%{_datadir}/applications/fedora-%{name}.desktop
%{_datadir}/icons/*/*/apps/%{name}.*
%changelog
* Wed Aug 27 2008 Peter Gordon <peter@thecodergeek.com> - 0.0.20-1
- Update to new upstream release (0.0.20): adds support for single instances,
some userscripts and Greasemonkey scripting, zooming and printing, as well as
enhanced news feed detection and session-saving (among other improvements).
* Fri Aug 8 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.0.18-2
- fix license tag
* Sat May 24 2008 Peter Gordon <peter@thecodergeek.com> - 0.0.18-1
- Update to new upstream release (0.0.18), adds some translations and
a lot of bug-fixes.
- Alphabetize dependency list (aesthetic-only change).
* Sat Apr 12 2008 Peter Gordon <peter@thecodergeek.com> - 0.0.17-3
- Rebuild for updated WebKit library so-name and include directory.
* Mon Mar 03 2008 Peter Gordon <peter@thecodergeek.com> - 0.0.17-2
- Cleanups from review (bug 435661):
(1) Fix consistency of tabs/spaces usage.
(2) Fix source permissions.
(3) Add desktop-file-utils build dependency.
* Sun Mar 02 2008 Peter Gordon <peter@thecodergeek.com> - 0.0.17-1
- Initial packaging for Fedora.