[muffin/f16] Initial coomit

leigh123linux leigh123linux at fedoraproject.org
Mon Feb 6 13:32:45 UTC 2012


commit 57b286bd817e8dea52ee86edb9b9c6e43f65dd4c
Author: leigh123linux <leigh123linux at googlemail.com>
Date:   Mon Feb 6 13:32:43 2012 +0000

    Initial coomit

 .gitignore  |    1 +
 muffin.spec |  139 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources     |    1 +
 3 files changed, 141 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..7b08dcb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/muffin-1.0.0.tar.gz
diff --git a/muffin.spec b/muffin.spec
new file mode 100644
index 0000000..761dea1
--- /dev/null
+++ b/muffin.spec
@@ -0,0 +1,139 @@
+%global        _internel_version  079b5bf
+
+Name:          muffin
+Version:       1.0.0
+Release:       2%{?dist}
+Summary:       Window and compositing manager based on Clutter
+
+Group:         User Interface/Desktops
+License:       GPLv2+
+URL:           https://github.com/linuxmint/muffin
+# To generate tarball
+# wget https://github.com/linuxmint/muffin/tarball/1.0.0 -O muffin-1.0.0.tar.gz
+Source0:       %{name}-%{version}.tar.gz
+
+BuildRequires: clutter-devel >= 1.5.8
+BuildRequires: pango-devel
+BuildRequires: startup-notification-devel
+BuildRequires: gtk3-devel >= 2.99.0
+BuildRequires: pkgconfig
+BuildRequires: GConf2-devel
+BuildRequires: gobject-introspection-devel
+BuildRequires: libSM-devel
+BuildRequires: libX11-devel
+BuildRequires: libXdamage-devel
+BuildRequires: libXext-devel
+BuildRequires: libXrandr-devel
+BuildRequires: libXrender-devel
+BuildRequires: libXcursor-devel
+BuildRequires: libXcomposite-devel
+BuildRequires: zenity
+BuildRequires: gnome-doc-utils
+BuildRequires: desktop-file-utils
+# Bootstrap requirements
+BuildRequires: gtk-doc gnome-common intltool
+BuildRequires: libcanberra-devel
+
+Requires: control-center-filesystem
+Requires: startup-notification
+Requires: GConf2
+Requires: dbus-x11
+Requires: zenity
+
+%description
+Muffin is a window and compositing manager that displays and manages
+your desktop via OpenGL. Muffin combines a sophisticated display engine
+using the Clutter toolkit with solid window-management logic inherited
+from the Metacity window manager.
+
+While Muffin can be used stand-alone, it is primarily intended to be
+used as the display core of a larger system such as Cinnamon. 
+For this reason, Muffin is very extensible via plugins, which
+are used both to add fancy visual effects and to rework the window
+management behaviors to meet the needs of the environment.
+
+%package devel
+Summary: Development package for %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: pkgconfig
+
+%description devel
+Header files and libraries for developing Muffin plugins. Also includes
+utilities for testing Metacity/Muffin themes.
+
+%prep
+%setup -q -n linuxmint-%{name}-%{_internel_version}
+
+%build
+(if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi;
+ %configure --disable-static --with-gtk=3.0)
+
+SHOULD_HAVE_DEFINED="HAVE_SM HAVE_XINERAMA HAVE_XFREE_XINERAMA HAVE_SHAPE HAVE_RANDR HAVE_STARTUP_NOTIFICATION HAVE_COMPOSITE_EXTENSION"
+
+for I in $SHOULD_HAVE_DEFINED; do
+  if ! grep -q "define $I" config.h; then
+    echo "$I was not defined in config.h"
+    grep "$I" config.h
+    exit 1
+  else
+    echo "$I was defined as it should have been"
+    grep "$I" config.h
+  fi
+done
+
+make %{?_smp_mflags} V=1
+
+%install
+export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
+make install DESTDIR=%{buildroot}
+unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
+
+#Remove libtool archives.
+rm -rf %{buildroot}/%{_libdir}/*.la
+
+%find_lang %{name}
+
+# Muffin contains a .desktop file so we just need to validate it
+desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
+
+%pre
+%gconf_schema_prepare muffin
+
+%preun
+%gconf_schema_remove muffin
+
+%post
+/sbin/ldconfig
+%gconf_schema_upgrade muffin
+
+%postun -p /sbin/ldconfig
+
+%files -f %{name}.lang
+%doc README AUTHORS COPYING NEWS HACKING doc/theme-format.txt
+%doc %{_mandir}/man1/muffin.1.gz
+%doc %{_mandir}/man1/muffin-message.1.gz
+%{_bindir}/muffin
+%{_bindir}/muffin-message
+%{_datadir}/applications/*.desktop
+%{_datadir}/gnome/wm-properties/muffin-wm.desktop
+%config %{_sysconfdir}/gconf/schemas/muffin.schemas
+%{_datadir}/muffin
+%{_libdir}/lib*.so.*
+%{_libdir}/muffin/
+
+%files devel
+%{_bindir}/muffin-theme-viewer
+%{_bindir}/muffin-window-demo
+%{_includedir}/*
+%{_libdir}/lib*.so
+%{_libdir}/pkgconfig/*
+%doc %{_mandir}/man1/muffin-theme-viewer.1.gz
+%doc %{_mandir}/man1/muffin-window-demo.1.gz
+
+%changelog
+* Thu Feb 02 2012 Leigh Scott <leigh123linux at googlemail.com> - 1.0.0-2
+- make review changes
+
+* Wed Jan 04 2012 Leigh Scott <leigh123linux at googlemail.com> - 1.0.0-1
+- initial package based on fedora mutter srpm
diff --git a/sources b/sources
index e69de29..2be6bf3 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+f1877407224d4b816dc85e66d75e0850  muffin-1.0.0.tar.gz


More information about the scm-commits mailing list