[6323] | 1 | Name: muffin |
---|
| 2 | Summary: The cinnamon window manager based on mutter |
---|
[8374] | 3 | Version: 2.2.1 |
---|
[6890] | 4 | Release: 1%{?_dist_release} |
---|
[6323] | 5 | |
---|
| 6 | Group: User Interface/Desktops |
---|
| 7 | License: GPLv2+ |
---|
| 8 | URL: http://cinnamon.linuxmint.com/ |
---|
| 9 | |
---|
[7635] | 10 | Source0: %{name}-%{version}.tar.gz |
---|
[6323] | 11 | |
---|
[8374] | 12 | Patch0: muffin-2.2.1-cogl-1.18.x.patch |
---|
| 13 | |
---|
[6323] | 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 15 | |
---|
[8374] | 16 | BuildRequires: cinnamon-desktop-devel >= 1.0.0 |
---|
| 17 | BuildRequires: gtk3-devel >= 3.3.7 |
---|
[6323] | 18 | BuildRequires: clutter-devel >= 1.7.5 |
---|
| 19 | BuildRequires: cairo-devel >= 1.10.0 |
---|
| 20 | BuildRequires: gobject-introspection-devel >= 0.9.5 |
---|
| 21 | BuildRequires: libcanberra-gtk3-devel >= 0.26 |
---|
| 22 | BuildRequires: startup-notification-devel |
---|
| 23 | BuildRequires: libSM-devel |
---|
| 24 | BuildRequires: libXcomposite-devel >= 0.2 |
---|
| 25 | BuildRequires: libXcursor-devel |
---|
| 26 | BuildRequires: libXinerama-devel |
---|
[6890] | 27 | BuildRequires: gsettings-desktop-schemas-devel |
---|
[6323] | 28 | BuildRequires: zenity |
---|
| 29 | BuildRequires: gnome-doc-utils |
---|
[8374] | 30 | BuildRequires: gnome-common |
---|
[6323] | 31 | |
---|
[6890] | 32 | Requires(postun,posttrans): glib2 |
---|
[6323] | 33 | |
---|
[8374] | 34 | Vendor: Project Vine |
---|
[6323] | 35 | Distribution: Vine Linux |
---|
[8374] | 36 | Packager: Takemikaduchi |
---|
[6323] | 37 | |
---|
| 38 | %description |
---|
| 39 | The Cinnamon Window Manager Based on Mutter 3.2.1. |
---|
| 40 | |
---|
| 41 | |
---|
[8374] | 42 | %package devel |
---|
[6323] | 43 | Summary: Development tools for muffin |
---|
| 44 | Summary(ja): muffin の開発環境 |
---|
| 45 | Group: Development/Libraries |
---|
| 46 | Requires: %{name} = %{version}-%{release} |
---|
| 47 | Requires: pkgconfig |
---|
| 48 | |
---|
[8374] | 49 | %description devel |
---|
[6323] | 50 | Header files and libraries for building a extension library for the |
---|
| 51 | muffin. |
---|
| 52 | |
---|
| 53 | |
---|
| 54 | %prep |
---|
[7635] | 55 | %setup -q |
---|
[8374] | 56 | %patch0 -p1 -b .cogl |
---|
[6323] | 57 | |
---|
| 58 | %build |
---|
[8374] | 59 | export CFLAGS="$CFLAGS -Wno-deprecated-declarations" |
---|
| 60 | NOCONFIGURE=1 ./autogen.sh |
---|
[6323] | 61 | %configure --disable-static --enable-compile-warnings=minimum |
---|
| 62 | make %{?_smp_mflags} |
---|
| 63 | |
---|
| 64 | %install |
---|
| 65 | rm -rf $RPM_BUILD_ROOT |
---|
| 66 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 67 | |
---|
| 68 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 69 | |
---|
| 70 | %find_lang %{name} |
---|
| 71 | |
---|
| 72 | %clean |
---|
| 73 | rm -rf $RPM_BUILD_ROOT |
---|
| 74 | |
---|
| 75 | |
---|
[6890] | 76 | %post -p /sbin/ldconfig |
---|
[6323] | 77 | |
---|
[6890] | 78 | %postun |
---|
| 79 | /sbin/ldconfig |
---|
| 80 | if [ $1 -eq 0 ]; then |
---|
| 81 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
[6323] | 82 | fi |
---|
| 83 | |
---|
[6890] | 84 | %posttrans |
---|
| 85 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
[6323] | 86 | |
---|
[6890] | 87 | |
---|
| 88 | |
---|
[6323] | 89 | %files -f %{name}.lang |
---|
| 90 | %defattr(-,root,root,-) |
---|
| 91 | %doc README NEWS COPYING AUTHORS |
---|
| 92 | %{_bindir}/muffin |
---|
| 93 | %{_bindir}/muffin-message |
---|
| 94 | %{_bindir}/muffin-theme-viewer |
---|
| 95 | %{_bindir}/muffin-window-demo |
---|
| 96 | %{_libdir}/libmuffin.so.* |
---|
[7635] | 97 | %{_libdir}/%{name}/Meta-Muffin.0.typelib |
---|
[6323] | 98 | %{_libdir}/%{name}/plugins |
---|
[6890] | 99 | %{_datadir}/GConf/gsettings/muffin-schemas.convert |
---|
[6323] | 100 | %{_datadir}/applications/muffin.desktop |
---|
[6890] | 101 | %{_datadir}/glib-2.0/schemas/org.cinnamon.muffin.gschema.xml |
---|
[6323] | 102 | %{_datadir}/%{name}/icons/muffin-window-demo.png |
---|
| 103 | %{_mandir}/man1/*.1.gz |
---|
| 104 | |
---|
| 105 | %files devel |
---|
| 106 | %defattr(-,root,root,-) |
---|
| 107 | %{_includedir}/muffin |
---|
| 108 | %{_libdir}/libmuffin.so |
---|
[7635] | 109 | %{_libdir}/%{name}/Meta-Muffin.0.gir |
---|
[6323] | 110 | %{_libdir}/pkgconfig/libmuffin.pc |
---|
| 111 | %{_libdir}/pkgconfig/muffin-plugins.pc |
---|
| 112 | |
---|
| 113 | |
---|
| 114 | %changelog |
---|
[8374] | 115 | * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.1-1 |
---|
| 116 | - new upstream release |
---|
| 117 | - add BuildRequires: cinnamon-desktop-devel |
---|
| 118 | - add Patch0 (muffin-2.2.1-cogl-1.18.x.patch) |
---|
| 119 | |
---|
[7938] | 120 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.2-1 |
---|
| 121 | - update to 1.8.2 |
---|
| 122 | |
---|
[7697] | 123 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1 |
---|
| 124 | - new upstream release |
---|
| 125 | |
---|
[7635] | 126 | * Sun Apr 28 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.4-1 |
---|
| 127 | - new upstream release |
---|
| 128 | |
---|
[7018] | 129 | * Fri Oct 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.2-1 |
---|
| 130 | - new upstream release |
---|
| 131 | |
---|
[6890] | 132 | * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-1 |
---|
| 133 | - new upstream release |
---|
| 134 | - add BuildRequires: gsettings-desktop-schemas-devel |
---|
| 135 | |
---|
[6323] | 136 | * Tue Jun 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.3-UP1-1 |
---|
| 137 | - initial build for Vine Linux |
---|