--- /dev/null
+Source: efreet
+Section: libs
+Priority: optional
+Maintainer: Falko Schmidt <falko@alphagemini.org>
+Build-Depends: debhelper (>= 6), cdbs, libecore-dev, doxygen
+Standards-Version: 3.7.3
+Homepage: http://www.enlightenment.org
+
+Package: libefreet0
+Architecture: any
+Depends: ${shlibs:Depends}
+Provides: libefreet
+Recommends: menu-xdg
+Description: Library that implements freedesktop.org specs for use with E17/EFL
+ An implementation of several specifications from freedesktop.org intended for
+ use in Enlightenment DR17 (e17) and other applications using the Enlightenment
+ Foundation Libraries (EFL). Currently, the following specifications are
+ included:
+ - Base Directory
+ - Desktop Entry
+ - Icon Theme
+ - Menu
+ .
+ This package provides the libefreet0 and libefreet0-mime libraries, which
+ contains efreet-based functions for dealing with mime.
+
+Package: libefreet-dev
+Section: libdevel
+Architecture: any
+Depends: libefreet0 (= ${binary:Version}), libecore-dev
+Provides: libefreet0-dev
+Description: Development files for libefreet and libefreet-mime
+ An implementation of several specifications from freedesktop.org intended for
+ use in Enlightenment DR17 (e17) and other applications using the Enlightenment
+ Foundation Libraries (EFL). Currently, the following specifications are
+ included:
+ - Base Directory
+ - Desktop Entry
+ - Icon Theme
+ - Menu
+ .
+ This packages contains headers and static libraries for Efreet.
+
+Package: libefreet-doc
+Section: doc
+Architecture: any
+Provides: libefreet0-doc
+Description: libefreet and libfreet-mime API documentation
+ An implementation of several specifications from freedesktop.org intended for
+ use in Enlightenment DR17 (e17) and other applications using the Enlightenment
+ Foundation Libraries (EFL). Currently, the following specifications are
+ included:
+ - Base Directory
+ - Desktop Entry
+ - Icon Theme
+ - Menu
+ .
+ This package contains HTML documentation for development with libefreet and
+ libefreet-mime.
--- /dev/null
+This package was debianized by Falko Schmidt <falko@alphagemini.org> on
+Sun, 20 Apr 2008 23:41:27 +0000.
+
+The source code is from the e17/libs/efreet module of the enlightenment CVS
+tree. For more information, see:
+
+http://www.enlightenment.org
+
+Upstream Authors:
+
+ Dan Sinclair <dj2@everburning.com>
+
+Copyright:
+
+ Copyright (C) 2006 Dan Sinclair and various contributors (see AUTHORS)
+
+License:
+
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to
+ deal in the Software without restriction, including without limitation the
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+ sell copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be included in
+ all copies of the Software, its documentation and marketing & publicity
+ materials, and acknowledgment shall be given in the documentation, materials
+ and software packages that this Software was used.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+ THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+On Debian systems, the complete text of the BSD License can be found
+in `/usr/share/common-licenses/BSD'.
+
+The Debian packaging is:
+ (C) 2006 2007,Debian Pkg-e Team <pkg-e-devel@lists.alioth.debian.org>
+ and is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
--- /dev/null
+debian/tmp/usr/lib/*.so
+debian/tmp/usr/lib/*.a
+debian/tmp/usr/include/*
+debian/tmp/usr/lib/pkgconfig/*
--- /dev/null
+usr/share/doc/libefreet-doc
--- /dev/null
+Document: efreet
+Title: Efreet Guide
+Author: Dan Sinclair
+Abstract: This document describes Efreet API
+ and provides sample C code.
+Section: Programming/C
+
+Format: HTML
+Index: /usr/share/doc/libefreet-doc/html/index.html
+Files: /usr/share/doc/libefreet-doc/html/*.html
--- /dev/null
+debian/tmp/usr/lib/*.so.*
--- /dev/null
+#Allows E17 to find a menu provided by the e17 package if no menus are found
+#after searching the FDO paths
+--- efreet-0.0.3/src/lib/efreet_menu.c 2007-05-13 18:58:05.000000000 +0200
++++ efreet-0.0.3.patch/src/lib/efreet_menu.c 2007-05-13 18:57:35.000000000 +0200
+@@ -583,6 +583,9 @@
+ return efreet_menu_parse(menu);
+ }
+
++ snprintf(menu, sizeof(menu), "/etc/xdg/menus/enlightenment-applications.menu");
++ if (ecore_file_exists(menu)) return efreet_menu_parse(menu);
++
+ return NULL;
+ }
+
--- /dev/null
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+DEB_CONFIGURE_EXTRA_FLAGS := --disable-rpath
+
+build/libefreet-doc::
+ cd $(DEB_SRCDIR) && ./gendoc
+
+install/libefreet-doc::
+ cp -R $(DEB_SRCDIR)/doc/html debian/libefreet-doc/usr/share/doc/libefreet-doc/
+
+clean::
+ rm -rf $(DEB_SRCDIR)/doc/html $(DEB_SRCDIR)/doc/latex
+ ./autogen.sh --prefix=/usr