From 274eb8a179da6d0e32d5cdb54909280f0fa39e36 Mon Sep 17 00:00:00 2001 From: Peter Gordon Date: Mar 07 2008 21:34:48 +0000 Subject: Initial import (#435661) --- diff --git a/.cvsignore b/.cvsignore index e69de29..a6a5cf4 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +midori-0.0.17.tar.gz diff --git a/midori.spec b/midori.spec new file mode 100644 index 0000000..f7ef76a --- /dev/null +++ b/midori.spec @@ -0,0 +1,79 @@ +## Dependency: WebKit SVN 29723+ +## This is the EVR for its sufficient Fedora package. +%global webkit_min_version 1.0.0-0.6.svn30667 + +Name: midori +Version: 0.0.17 +Release: 2%{?dist} +Summary: A lightweight GTK+ web browser + +Group: Applications/Internet +License: LGPLv2.1+ +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: WebKit-gtk-devel >= %{webkit_min_version} +BuildRequires: libsexy-devel +BuildRequires: libxml2-devel +BuildRequires: desktop-file-utils + +Requires: WebKit-gtk >= %{webkit_min_version} + +%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 +chmod a-x src/main.c + + +%build +%configure +make %{?_smp_mflags} + + +%install +rm -rf %{buildroot} +make install DESTDIR=%{buildroot} +desktop-file-install \ + --vendor fedora \ + --delete-original \ + --dir %{buildroot}%{_datadir}/applications \ + %{buildroot}%{_datadir}/applications/%{name}.desktop + + +%clean +rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING README TODO +%{_bindir}/midori +%{_datadir}/applications/fedora-%{name}.desktop + + +%changelog +* Mon Mar 03 2008 Peter Gordon - 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 - 0.0.17-1 +- Initial packaging for Fedora. \ No newline at end of file diff --git a/sources b/sources index e69de29..ced4ec4 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +58d1b7ed282540030eb1b5803b760865 midori-0.0.17.tar.gz