1 | Name: cinnamon |
---|
2 | Summary: A Linux Desktop featuring a traditional layout and modern technology |
---|
3 | Version: 1.4 |
---|
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 | Patch0: cinnamon-1.4-session.patch |
---|
13 | Patch1: cinnamon-1.4-settings.patch |
---|
14 | |
---|
15 | # vine patch |
---|
16 | Patch101: cinnamon-vine-settings.patch |
---|
17 | |
---|
18 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
19 | |
---|
20 | BuildRequires: muffin-devel >= 1.0.2 |
---|
21 | BuildRequires: gjs-devel >= 1.29.18 |
---|
22 | BuildRequires: gstreamer-plugins-base-devel >= 0.10.16 |
---|
23 | BuildRequires: folks-devel >= 0.5.2 |
---|
24 | BuildRequires: evolution-data-server-devel >= 2.32.0 |
---|
25 | BuildRequires: telepathy-glib-devel >= 0.15.5 |
---|
26 | BuildRequires: telepathy-logger-devel >= 0.2.4 |
---|
27 | BuildRequires: polkit-devel >= 0.100 |
---|
28 | BuildRequires: startup-notification-devel >= 0.11 |
---|
29 | BuildRequires: gnome-menus-devel |
---|
30 | BuildRequires: NetworkManager-glib-devel |
---|
31 | BuildRequires: libgnome-keyring-devel |
---|
32 | BuildRequires: libcroco-devel >= 0.6.2 |
---|
33 | BuildRequires: gnome-desktop3-devel >= 2.90.0 |
---|
34 | BuildRequires: pulseaudio-libs-devel |
---|
35 | BuildRequires: libgudev1-devel |
---|
36 | BuildRequires: gnome-common |
---|
37 | |
---|
38 | Requires(post,pre,preun): GConf2 |
---|
39 | Requires: glib2 |
---|
40 | Requires: muffin |
---|
41 | |
---|
42 | %description |
---|
43 | Cinnamon is a Linux desktop which provides advanced innovative features and a traditional user experience. |
---|
44 | |
---|
45 | The desktop layout is similar to Gnome 2. |
---|
46 | The underlying technology is forked from Gnome Shell. |
---|
47 | The emphasis is put on making users feel at home and providing them with an easy to use and comfortable desktop experience. |
---|
48 | |
---|
49 | %prep |
---|
50 | %setup -q -n linuxmint-Cinnamon-af1653f |
---|
51 | %patch0 -p1 |
---|
52 | %patch1 -p1 |
---|
53 | %patch101 -p1 -b .vine |
---|
54 | |
---|
55 | %build |
---|
56 | NOCONFIGURE=1 ./autogen.sh |
---|
57 | %configure \ |
---|
58 | --disable-static \ |
---|
59 | --with-ca-certificates=%{_datadir}/ssl/certs/ca-bundle.crt \ |
---|
60 | --enable-compile-warnings=minimum |
---|
61 | |
---|
62 | make %{?_smp_mflags} |
---|
63 | |
---|
64 | %install |
---|
65 | rm -rf $RPM_BUILD_ROOT |
---|
66 | export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
---|
67 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
68 | unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
---|
69 | |
---|
70 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
71 | |
---|
72 | %find_lang %{name} |
---|
73 | |
---|
74 | %clean |
---|
75 | rm -rf $RPM_BUILD_ROOT |
---|
76 | |
---|
77 | |
---|
78 | %post |
---|
79 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
80 | gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/cinnamon.schemas > /dev/null || : |
---|
81 | |
---|
82 | %pre |
---|
83 | if [ "$1" -gt 1 ]; then |
---|
84 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
85 | gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/cinnamon.schemas > /dev/null || : |
---|
86 | fi |
---|
87 | |
---|
88 | %preun |
---|
89 | if [ "$1" -eq 0 ]; then |
---|
90 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
91 | gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/cinnamon.schemas > /dev/null || : |
---|
92 | fi |
---|
93 | |
---|
94 | %postun |
---|
95 | if [ $1 -eq 0 ]; then |
---|
96 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
97 | fi |
---|
98 | |
---|
99 | %posttrans |
---|
100 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
101 | |
---|
102 | |
---|
103 | %files -f %{name}.lang |
---|
104 | %defattr(-,root,root) |
---|
105 | %doc README NEWS COPYING AUTHORS |
---|
106 | %{_sysconfdir}/gconf/schemas/cinnamon.schemas |
---|
107 | %{_sysconfdir}/xdg/menus/cinnamon-applications.menu |
---|
108 | %{_sysconfdir}/xdg/menus/cinnamon-settings.menu |
---|
109 | %{_bindir}/cinnamon |
---|
110 | %{_bindir}/cinnamon-extension-tool |
---|
111 | %{_bindir}/cinnamon-menu-editor |
---|
112 | %{_bindir}/cinnamon-settings |
---|
113 | %{_bindir}/gnome-session-cinnamon |
---|
114 | %{_prefix}/lib/cinnamon-menu-editor |
---|
115 | %{_prefix}/lib/cinnamon-settings |
---|
116 | %{_libdir}/%{name}/Cinnamon-0.1.typelib |
---|
117 | %{_libdir}/%{name}/Gvc-1.0.typelib |
---|
118 | %{_libdir}/%{name}/St-1.0.typelib |
---|
119 | %{_libdir}/%{name}/libcinnamon.so |
---|
120 | %{_libdir}/mozilla/plugins/libcinnamon-browser-plugin.so |
---|
121 | %{_libexecdir}/cinnamon-calendar-server |
---|
122 | %{_libexecdir}/cinnamon-hotplug-sniffer |
---|
123 | %{_libexecdir}/cinnamon-perf-helper |
---|
124 | %{_datadir}/applications/cinnamon-settings.desktop |
---|
125 | %{_datadir}/applications/cinnamon.desktop |
---|
126 | %{_datadir}/%{name}/applets |
---|
127 | %{_datadir}/%{name}/js |
---|
128 | %{_datadir}/%{name}/search_providers |
---|
129 | %{_datadir}/%{name}/shaders |
---|
130 | %{_datadir}/%{name}/theme |
---|
131 | %{_datadir}/dbus-1/services/org.Cinnamon.CalendarServer.service |
---|
132 | %{_datadir}/dbus-1/services/org.Cinnamon.HotplugSniffer.service |
---|
133 | %{_datadir}/desktop-directories |
---|
134 | %{_datadir}/glib-2.0/schemas/org.cinnamon.gschema.xml |
---|
135 | %{_datadir}/gnome-session/sessions/cinnamon.session |
---|
136 | %{_datadir}/xsessions/cinnamon.desktop |
---|
137 | %{_mandir}/man1/cinnamon.1.gz |
---|
138 | |
---|
139 | %changelog |
---|
140 | * Tue Jun 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4-UP1-1 |
---|
141 | - initial build for Vine Linux |
---|