[7018] | 1 | %define tarball_id g4a6969f |
---|
| 2 | %define source_id d421fd9 |
---|
[6984] | 3 | |
---|
[6323] | 4 | Name: cinnamon |
---|
| 5 | Summary: A Linux Desktop featuring a traditional layout and modern technology |
---|
[7018] | 6 | Version: 1.6.4 |
---|
[6890] | 7 | Release: 1%{?_dist_release} |
---|
[6323] | 8 | |
---|
| 9 | Group: User Interface/Desktops |
---|
| 10 | License: GPLv2+ |
---|
| 11 | URL: http://cinnamon.linuxmint.com/ |
---|
| 12 | |
---|
[6984] | 13 | Source0: linuxmint-Cinnamon-%{version}-0-%{tarball_id}.tar.gz |
---|
[6323] | 14 | |
---|
| 15 | Patch0: cinnamon-1.4-session.patch |
---|
| 16 | |
---|
| 17 | # vine patch |
---|
| 18 | Patch101: cinnamon-vine-settings.patch |
---|
| 19 | |
---|
| 20 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 21 | |
---|
[7018] | 22 | BuildRequires: muffin-devel >= 1.1.2 |
---|
[6323] | 23 | BuildRequires: gjs-devel >= 1.29.18 |
---|
| 24 | BuildRequires: gstreamer-plugins-base-devel >= 0.10.16 |
---|
| 25 | BuildRequires: folks-devel >= 0.5.2 |
---|
| 26 | BuildRequires: evolution-data-server-devel >= 2.32.0 |
---|
| 27 | BuildRequires: telepathy-glib-devel >= 0.15.5 |
---|
| 28 | BuildRequires: telepathy-logger-devel >= 0.2.4 |
---|
| 29 | BuildRequires: polkit-devel >= 0.100 |
---|
| 30 | BuildRequires: startup-notification-devel >= 0.11 |
---|
| 31 | BuildRequires: gnome-menus-devel |
---|
| 32 | BuildRequires: NetworkManager-glib-devel |
---|
| 33 | BuildRequires: libgnome-keyring-devel |
---|
| 34 | BuildRequires: libcroco-devel >= 0.6.2 |
---|
| 35 | BuildRequires: gnome-desktop3-devel >= 2.90.0 |
---|
| 36 | BuildRequires: pulseaudio-libs-devel |
---|
| 37 | BuildRequires: libgudev1-devel |
---|
[6890] | 38 | BuildRequires: libcanberra-gtk3-devel |
---|
[7018] | 39 | BuildRequires: ca-certificates |
---|
| 40 | BuildRequires: GConf2-devel |
---|
[6323] | 41 | BuildRequires: gnome-common |
---|
| 42 | |
---|
[6890] | 43 | Requires(postun,posttrans): glib2 |
---|
[6984] | 44 | Requires(postun,posttrans): desktop-file-utils |
---|
[6323] | 45 | Requires: muffin |
---|
[7018] | 46 | Requires: python-imaging |
---|
| 47 | Requires: ca-certificates |
---|
[6323] | 48 | |
---|
| 49 | %description |
---|
| 50 | Cinnamon is a Linux desktop which provides advanced innovative features and a traditional user experience. |
---|
| 51 | |
---|
| 52 | The desktop layout is similar to Gnome 2. |
---|
| 53 | The underlying technology is forked from Gnome Shell. |
---|
| 54 | The emphasis is put on making users feel at home and providing them with an easy to use and comfortable desktop experience. |
---|
| 55 | |
---|
| 56 | %prep |
---|
[6984] | 57 | %setup -q -n linuxmint-Cinnamon-%{source_id} |
---|
[6323] | 58 | %patch0 -p1 |
---|
| 59 | %patch101 -p1 -b .vine |
---|
| 60 | |
---|
| 61 | %build |
---|
| 62 | NOCONFIGURE=1 ./autogen.sh |
---|
| 63 | %configure \ |
---|
| 64 | --disable-static \ |
---|
[7018] | 65 | --enable-compile-warnings=minimum |
---|
[6323] | 66 | |
---|
| 67 | make %{?_smp_mflags} |
---|
| 68 | |
---|
| 69 | %install |
---|
| 70 | rm -rf $RPM_BUILD_ROOT |
---|
| 71 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 72 | |
---|
| 73 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 74 | |
---|
| 75 | %find_lang %{name} |
---|
| 76 | |
---|
| 77 | %clean |
---|
| 78 | rm -rf $RPM_BUILD_ROOT |
---|
| 79 | |
---|
[6984] | 80 | %post |
---|
| 81 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
[6323] | 82 | |
---|
| 83 | %postun |
---|
| 84 | if [ $1 -eq 0 ]; then |
---|
[6984] | 85 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
[6323] | 86 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
[6984] | 87 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 88 | update-desktop-database -q &> /dev/null || : |
---|
[6323] | 89 | fi |
---|
| 90 | |
---|
| 91 | %posttrans |
---|
| 92 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
[6984] | 93 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 94 | update-desktop-database -q &> /dev/null || : |
---|
[6323] | 95 | |
---|
| 96 | |
---|
[6984] | 97 | |
---|
[6323] | 98 | %files -f %{name}.lang |
---|
| 99 | %defattr(-,root,root) |
---|
| 100 | %doc README NEWS COPYING AUTHORS |
---|
| 101 | %{_sysconfdir}/xdg/menus/cinnamon-applications.menu |
---|
| 102 | %{_sysconfdir}/xdg/menus/cinnamon-settings.menu |
---|
| 103 | %{_bindir}/cinnamon |
---|
| 104 | %{_bindir}/cinnamon-extension-tool |
---|
[6890] | 105 | %{_bindir}/cinnamon-launcher |
---|
[6323] | 106 | %{_bindir}/cinnamon-menu-editor |
---|
| 107 | %{_bindir}/cinnamon-settings |
---|
[6890] | 108 | %{_bindir}/cinnamon2d |
---|
[6323] | 109 | %{_bindir}/gnome-session-cinnamon |
---|
[6890] | 110 | %{_bindir}/gnome-session-cinnamon2d |
---|
[6323] | 111 | %{_prefix}/lib/cinnamon-menu-editor |
---|
| 112 | %{_prefix}/lib/cinnamon-settings |
---|
| 113 | %{_libdir}/%{name}/Cinnamon-0.1.typelib |
---|
| 114 | %{_libdir}/%{name}/Gvc-1.0.typelib |
---|
| 115 | %{_libdir}/%{name}/St-1.0.typelib |
---|
| 116 | %{_libdir}/%{name}/libcinnamon.so |
---|
| 117 | %{_libdir}/mozilla/plugins/libcinnamon-browser-plugin.so |
---|
[6890] | 118 | %{_libexecdir}/%{name}/cinnamon-hotplug-sniffer |
---|
| 119 | %{_libexecdir}/%{name}/cinnamon-perf-helper |
---|
[6323] | 120 | %{_datadir}/applications/cinnamon-settings.desktop |
---|
| 121 | %{_datadir}/applications/cinnamon.desktop |
---|
[6890] | 122 | %{_datadir}/applications/cinnamon2d.desktop |
---|
[6323] | 123 | %{_datadir}/%{name}/applets |
---|
| 124 | %{_datadir}/%{name}/js |
---|
| 125 | %{_datadir}/%{name}/search_providers |
---|
| 126 | %{_datadir}/%{name}/shaders |
---|
| 127 | %{_datadir}/%{name}/theme |
---|
| 128 | %{_datadir}/dbus-1/services/org.Cinnamon.HotplugSniffer.service |
---|
| 129 | %{_datadir}/desktop-directories |
---|
| 130 | %{_datadir}/glib-2.0/schemas/org.cinnamon.gschema.xml |
---|
| 131 | %{_datadir}/gnome-session/sessions/cinnamon.session |
---|
[6890] | 132 | %{_datadir}/gnome-session/sessions/cinnamon2d.session |
---|
[6323] | 133 | %{_datadir}/xsessions/cinnamon.desktop |
---|
[6890] | 134 | %{_datadir}/xsessions/cinnamon2d.desktop |
---|
| 135 | %{_mandir}/man1/*.1.gz |
---|
[6323] | 136 | |
---|
| 137 | %changelog |
---|
[7018] | 138 | * Fri Oct 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.4-1 |
---|
| 139 | - new upstream release |
---|
| 140 | - add BuildRequires: ca-certificates |
---|
| 141 | - add Requires: python-imaging |
---|
| 142 | |
---|
[6984] | 143 | * Wed Oct 24 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.3-1 |
---|
| 144 | - new upstream release |
---|
| 145 | |
---|
[6890] | 146 | * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1 |
---|
| 147 | - new upstream release |
---|
| 148 | - update Patch101 (cinnamon-vine-settings.patch) |
---|
| 149 | - add BuildRequires: GConf2-devel, libcanberra-gtk3-devel |
---|
| 150 | |
---|
[6323] | 151 | * Tue Jun 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4-UP1-1 |
---|
| 152 | - initial build for Vine Linux |
---|