[7018] | 1 | %define tarball_id g9f13e6e |
---|
| 2 | %define source_id ab1d98e |
---|
| 3 | |
---|
[6323] | 4 | Name: muffin |
---|
| 5 | Summary: The cinnamon window manager based on mutter |
---|
[7018] | 6 | Version: 1.1.2 |
---|
[6890] | 7 | Release: 1%{?_dist_release} |
---|
[6323] | 8 | |
---|
| 9 | Group: User Interface/Desktops |
---|
| 10 | License: GPLv2+ |
---|
| 11 | URL: http://cinnamon.linuxmint.com/ |
---|
| 12 | |
---|
[7018] | 13 | Source0: linuxmint-%{name}-%{version}-0-%{tarball_id}.tar.gz |
---|
[6323] | 14 | |
---|
| 15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 16 | |
---|
| 17 | BuildRequires: gtk3-devel >= 3.3.3 |
---|
| 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 |
---|
| 30 | |
---|
[6890] | 31 | Requires(postun,posttrans): glib2 |
---|
[6323] | 32 | |
---|
| 33 | Vendor: Project Vine |
---|
| 34 | Distribution: Vine Linux |
---|
| 35 | Packager: Takemikaduchi |
---|
| 36 | |
---|
| 37 | %description |
---|
| 38 | The Cinnamon Window Manager Based on Mutter 3.2.1. |
---|
| 39 | |
---|
| 40 | |
---|
| 41 | %package devel |
---|
| 42 | Summary: Development tools for muffin |
---|
| 43 | Summary(ja): muffin の開発環境 |
---|
| 44 | Group: Development/Libraries |
---|
| 45 | Requires: %{name} = %{version}-%{release} |
---|
| 46 | Requires: pkgconfig |
---|
| 47 | |
---|
| 48 | %description devel |
---|
| 49 | Header files and libraries for building a extension library for the |
---|
| 50 | muffin. |
---|
| 51 | |
---|
| 52 | |
---|
| 53 | %prep |
---|
[7018] | 54 | %setup -q -n linuxmint-%{name}-%{source_id} |
---|
[6323] | 55 | |
---|
| 56 | %build |
---|
[6890] | 57 | autoreconf -if |
---|
[6323] | 58 | %configure --disable-static --enable-compile-warnings=minimum |
---|
| 59 | make %{?_smp_mflags} |
---|
| 60 | |
---|
| 61 | %install |
---|
| 62 | rm -rf $RPM_BUILD_ROOT |
---|
| 63 | export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
---|
| 64 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 65 | unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
---|
| 66 | |
---|
| 67 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 68 | |
---|
| 69 | %find_lang %{name} |
---|
| 70 | |
---|
| 71 | %clean |
---|
| 72 | rm -rf $RPM_BUILD_ROOT |
---|
| 73 | |
---|
| 74 | |
---|
[6890] | 75 | %post -p /sbin/ldconfig |
---|
[6323] | 76 | |
---|
[6890] | 77 | %postun |
---|
| 78 | /sbin/ldconfig |
---|
| 79 | if [ $1 -eq 0 ]; then |
---|
| 80 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
[6323] | 81 | fi |
---|
| 82 | |
---|
[6890] | 83 | %posttrans |
---|
| 84 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
[6323] | 85 | |
---|
[6890] | 86 | |
---|
| 87 | |
---|
[6323] | 88 | %files -f %{name}.lang |
---|
| 89 | %defattr(-,root,root,-) |
---|
| 90 | %doc README NEWS COPYING AUTHORS |
---|
| 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 |
---|
[6890] | 98 | %{_datadir}/GConf/gsettings/muffin-schemas.convert |
---|
[6323] | 99 | %{_datadir}/applications/muffin.desktop |
---|
[6890] | 100 | %{_datadir}/glib-2.0/schemas/org.cinnamon.muffin.gschema.xml |
---|
[6323] | 101 | %{_datadir}/gnome/wm-properties/muffin-wm.desktop |
---|
[6890] | 102 | %{_datadir}/gnome-control-center/keybindings/50-muffin-windows.xml |
---|
[6323] | 103 | %{_datadir}/%{name}/icons/muffin-window-demo.png |
---|
| 104 | %{_mandir}/man1/*.1.gz |
---|
| 105 | |
---|
| 106 | %files devel |
---|
| 107 | %defattr(-,root,root,-) |
---|
| 108 | %{_includedir}/muffin |
---|
| 109 | %{_libdir}/libmuffin.so |
---|
| 110 | %{_libdir}/%{name}/Meta-3.0.gir |
---|
| 111 | %{_libdir}/pkgconfig/libmuffin.pc |
---|
| 112 | %{_libdir}/pkgconfig/muffin-plugins.pc |
---|
| 113 | |
---|
| 114 | |
---|
| 115 | %changelog |
---|
[7018] | 116 | * Fri Oct 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.2-1 |
---|
| 117 | - new upstream release |
---|
| 118 | |
---|
[6890] | 119 | * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-1 |
---|
| 120 | - new upstream release |
---|
| 121 | - add BuildRequires: gsettings-desktop-schemas-devel |
---|
| 122 | |
---|
[6323] | 123 | * Tue Jun 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.3-UP1-1 |
---|
| 124 | - initial build for Vine Linux |
---|