[6323] | 1 | Name: muffin |
---|
| 2 | Summary: The cinnamon window manager based on mutter |
---|
| 3 | Version: 1.0.3 |
---|
| 4 | Release: 1.UP1%{?_dist_release} |
---|
| 5 | |
---|
| 6 | Group: User Interface/Desktops |
---|
| 7 | License: GPLv2+ |
---|
| 8 | URL: http://cinnamon.linuxmint.com/ |
---|
| 9 | |
---|
| 10 | Source0: %{name}-%{version}-UP1.tar.gz |
---|
| 11 | |
---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 13 | |
---|
| 14 | BuildRequires: gtk3-devel >= 3.3.3 |
---|
| 15 | BuildRequires: clutter-devel >= 1.7.5 |
---|
| 16 | BuildRequires: cairo-devel >= 1.10.0 |
---|
| 17 | BuildRequires: GConf2-devel >= 2.14.0 |
---|
| 18 | BuildRequires: gobject-introspection-devel >= 0.9.5 |
---|
| 19 | BuildRequires: libcanberra-gtk3-devel >= 0.26 |
---|
| 20 | BuildRequires: startup-notification-devel |
---|
| 21 | BuildRequires: libSM-devel |
---|
| 22 | BuildRequires: libXcomposite-devel >= 0.2 |
---|
| 23 | BuildRequires: libXcursor-devel |
---|
| 24 | BuildRequires: libXinerama-devel |
---|
| 25 | BuildRequires: zenity |
---|
| 26 | BuildRequires: gnome-doc-utils |
---|
| 27 | |
---|
| 28 | Requires(post,pre,preun): GConf2 |
---|
| 29 | |
---|
| 30 | Vendor: Project Vine |
---|
| 31 | Distribution: Vine Linux |
---|
| 32 | Packager: Takemikaduchi |
---|
| 33 | |
---|
| 34 | %description |
---|
| 35 | The Cinnamon Window Manager Based on Mutter 3.2.1. |
---|
| 36 | |
---|
| 37 | |
---|
| 38 | %package devel |
---|
| 39 | Summary: Development tools for muffin |
---|
| 40 | Summary(ja): muffin の開発環境 |
---|
| 41 | Group: Development/Libraries |
---|
| 42 | Requires: %{name} = %{version}-%{release} |
---|
| 43 | Requires: pkgconfig |
---|
| 44 | |
---|
| 45 | %description devel |
---|
| 46 | Header files and libraries for building a extension library for the |
---|
| 47 | muffin. |
---|
| 48 | |
---|
| 49 | |
---|
| 50 | %prep |
---|
| 51 | %setup -q -n linuxmint-muffin-010e441 |
---|
| 52 | |
---|
| 53 | %build |
---|
| 54 | %configure --disable-static --enable-compile-warnings=minimum |
---|
| 55 | make %{?_smp_mflags} |
---|
| 56 | |
---|
| 57 | %install |
---|
| 58 | rm -rf $RPM_BUILD_ROOT |
---|
| 59 | export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
---|
| 60 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 61 | unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
---|
| 62 | |
---|
| 63 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 64 | |
---|
| 65 | %find_lang %{name} |
---|
| 66 | |
---|
| 67 | %clean |
---|
| 68 | rm -rf $RPM_BUILD_ROOT |
---|
| 69 | |
---|
| 70 | %post |
---|
| 71 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
| 72 | gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/muffin.schemas > /dev/null || : |
---|
| 73 | |
---|
| 74 | %pre |
---|
| 75 | if [ "$1" -gt 1 ]; then |
---|
| 76 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
| 77 | gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/muffin.schemas > /dev/null || : |
---|
| 78 | fi |
---|
| 79 | |
---|
| 80 | %preun |
---|
| 81 | if [ "$1" -eq 0 ]; then |
---|
| 82 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
| 83 | gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/muffin.schemas > /dev/null || : |
---|
| 84 | fi |
---|
| 85 | |
---|
| 86 | |
---|
| 87 | %files -f %{name}.lang |
---|
| 88 | %defattr(-,root,root,-) |
---|
| 89 | %doc README NEWS COPYING AUTHORS |
---|
| 90 | %{_sysconfdir}/gconf/schemas/muffin.schemas |
---|
| 91 | %{_bindir}/muffin |
---|
| 92 | %{_bindir}/muffin-message |
---|
| 93 | %{_bindir}/muffin-theme-viewer |
---|
| 94 | %{_bindir}/muffin-window-demo |
---|
| 95 | %{_libdir}/libmuffin.so.* |
---|
| 96 | %{_libdir}/%{name}/Meta-3.0.typelib |
---|
| 97 | %{_libdir}/%{name}/plugins |
---|
| 98 | %{_datadir}/applications/muffin.desktop |
---|
| 99 | %{_datadir}/gnome/wm-properties/muffin-wm.desktop |
---|
| 100 | %{_datadir}/%{name}/icons/muffin-window-demo.png |
---|
| 101 | %{_mandir}/man1/*.1.gz |
---|
| 102 | |
---|
| 103 | %files devel |
---|
| 104 | %defattr(-,root,root,-) |
---|
| 105 | %{_includedir}/muffin |
---|
| 106 | %{_libdir}/libmuffin.so |
---|
| 107 | %{_libdir}/%{name}/Meta-3.0.gir |
---|
| 108 | %{_libdir}/pkgconfig/libmuffin.pc |
---|
| 109 | %{_libdir}/pkgconfig/muffin-plugins.pc |
---|
| 110 | |
---|
| 111 | |
---|
| 112 | %changelog |
---|
| 113 | * Tue Jun 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.3-UP1-1 |
---|
| 114 | - initial build for Vine Linux |
---|