Package cinnamon-session: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 | %define ver_major 3.4 %define _libexecdir %_prefix/libexec %def_enable systemd %define _name cinnamon Name: %{_name}-session Version: %ver_major.2 Release: alt0.M80P.1 Summary: The cinnamon session programs for the Cinnamon GUI desktop environment License: GPLv2+ Group: Graphical desktop/GNOME URL: https://github.com/linuxmint/cinnamon-session Packager: Vladimir Didenko <cow@altlinux.org> Source: %name-%version.tar Source1: %{_name}.session Source2: %{_name}2d.session Source3: start%{_name}-common Source4: start%{_name} Source5: start%{_name}2d Source6: 02Cinnamon Source7: 02Cinnamon2D Source8: %{_name}.desktop Source9: %{_name}2d.desktop Patch: %name-%version-%release.patch # From configure.in %define glib_ver 2.33.4 %define gtk_ver 3.0.0 %define dbus_glib_ver 0.76 %define polkit_ver 0.91 %define upower_ver 0.9 %define systemd_ver 40 PreReq: xinitrc libcanberra-gnome libcanberra-gtk3 Requires: altlinux-freedesktop-menu-cinnamon Requires: gstreamer1.0 dbus-tools-gui Requires: gnome-filesystem Requires: cinnamon-settings-daemon Requires: nemo Requires: upower polkit-gnome gcr Requires: %name-translations Requires: cinnamon-screensaver BuildPreReq: rpm-build-gnome >= 0.5 BuildPreReq: gnome-common # From configure.in BuildPreReq: intltool >= 0.35.0 libGConf-devel BuildPreReq: libgio-devel glib2-devel >= %glib_ver BuildPreReq: libgtk+3-devel >= %gtk_ver BuildPreReq: libdbus-glib-devel >= %dbus_glib_ver BuildPreReq: libupower-devel >= %upower_ver BuildRequires: libpangox-compat-devel librsvg-devel libjson-glib-devel BuildRequires: libX11-devel libXau-devel libXrandr-devel libXrender-devel libXt-devel BuildRequires: libSM-devel libXext-devel libXtst-devel libXi-devel libXcomposite-devel libGL-devel BuildRequires: GConf browser-plugins-npapi-devel perl-XML-Parser xorg-xtrans-devel BuildRequires: libcanberra-devel BuildRequires: libcinnamon-desktop-devel %{?_enable_systemd:BuildRequires: systemd-devel >= %systemd_ver libsystemd-login-devel libsystemd-daemon-devel libpolkit-devel} %description Cinnamon is a Linux desktop which provides advanced innovative features and a traditional user experience. The desktop layout is similar to Gnome 2. The underlying technology is forked from Gnome Shell. The emphasis is put on making users feel at home and providing them with an easy to use and comfortable desktop experience. This package provides the Cinnamon session manager. %prep %setup -q %patch0 -p1 [ ! -d m4 ] && mkdir m4 %build %autoreconf %configure PATH=$PATH:/sbin \ %{subst_enable systemd} \ --enable-ipv6 \ --disable-schemas-compile %make_build %install %make_install install DESTDIR=%buildroot install -pD -m655 %SOURCE1 %buildroot%_datadir/%name/sessions/%{_name}.session install -pD -m655 %SOURCE2 %buildroot%_datadir/%name/sessions/%{_name}2d.session install -pD -m755 %SOURCE3 %buildroot%_datadir/%name/start%{_name}-common install -pD -m755 %SOURCE4 %buildroot%_bindir/start%{_name} install -pD -m755 %SOURCE5 %buildroot%_bindir/start%{_name}2d mkdir -p %buildroot%_x11sysconfdir/wmsession.d install -pD -m655 %SOURCE6 %buildroot%_x11sysconfdir/wmsession.d install -pD -m655 %SOURCE7 %buildroot%_x11sysconfdir/wmsession.d mkdir -p %buildroot%_datadir/xsessions install -pD -m655 %SOURCE8 %buildroot%_datadir/xsessions install -pD -m655 %SOURCE9 %buildroot%_datadir/xsessions rm -f %buildroot%_docdir/%name/dbus/cinnamon-session.html %find_lang --with-gnome --output=%name.lang %name-3.0 %check %make check %files -f %name.lang %_bindir/* %_libexecdir/cinnamon-session-check-accelerated %_libexecdir/cinnamon-session-check-accelerated-helper %dir %_datadir/%name %_datadir/%name/*.glade %_datadir/%name/hardware-compatibility %_datadir/%name/start%{_name}-common %dir %_datadir/%name/sessions %_datadir/%name/sessions/%{_name}.session %_datadir/%name/sessions/%{_name}2d.session %_iconsdir/hicolor/*/apps/cinnamon-session-properties.* %config %_datadir/glib-2.0/schemas/org.cinnamon.SessionManager.gschema.xml %_mandir/man?/* %_x11sysconfdir/wmsession.d/* %_datadir/xsessions/*.desktop %doc AUTHORS NEWS README %changelog * Tue Sep 12 2017 Vladimir Didenko <cow@altlinux.org> 3.4.2-alt0.M80P.1 - backport to p8 * Thu Aug 24 2017 Vladimir Didenko <cow@altlinux.org> 3.4.2-alt1 - 3.4.2 * Thu Jun 29 2017 Vladimir Didenko <cow@altlinux.org> 3.4.1-alt1 - 3.4.1 * Fri May 5 2017 Vladimir Didenko <cow@altlinux.org> 3.4.0-alt1 - 3.4.0-2-g33f6def * Wed Apr 26 2017 Vladimir Didenko <cow@altlinux.org> 3.2.0-alt4 - add g-s-d stuff to autostart blacklist * Tue Apr 11 2017 Vladimir Didenko <cow@altlinux.org> 3.2.0-alt3 - add cinnamon-screensaver to requires (closes: #33332) * Tue Apr 11 2017 Vladimir Didenko <cow@altlinux.org> 3.2.0-alt1.M80P.1 - add cinnamon-screensaver to requires (closes: #33328) * Tue Mar 7 2017 Vladimir Didenko <cow@altlinux.org> 3.2.0-alt0.M80P.1 - backport to p8 * Fri Oct 14 2016 Vladimir Didenko <cow@altlinux.org> 3.0.1-alt0.M80P.1 - backport new version from Sisyphus * Thu Jun 2 2016 Vladimir Didenko <cow@altlinux.org> 3.0.0-alt2 - Set desktop name to X-Cinnamon * Tue Apr 26 2016 Vladimir Didenko <cow@altlinux.org> 3.0.0-alt1 - 3.0.0 * Wed Mar 16 2016 Vladimir Didenko <cow@altlinux.org> 2.8.3-alt1 - 2.8.3 * Mon Nov 16 2015 Vladimir Didenko <cow@altlinux.org> 2.8.2-alt1 - 2.8.2 * Mon Oct 19 2015 Vladimir Didenko <cow@altlinux.org> 2.8.0-alt1 - 2.8.0 * Tue Jun 23 2015 Vladimir Didenko <cow@altlinux.org> 2.6.3-alt1 - 2.6.3 * Tue Jun 2 2015 Vladimir Didenko <cow@altlinux.org> 2.6.2-alt1 - 2.6.2 * Thu May 28 2015 Vladimir Didenko <cow@altlinux.org> 2.6.0-alt3 - add desktop files to xsessions directory * Sat May 23 2015 Vladimir Didenko <cow@altlinux.org> 2.6.0-alt2 - git20150523 - don't require gstreamer * Tue May 19 2015 Vladimir Didenko <cow@altlinux.org> 2.6.0-alt1 - 2.6.0 * Fri May 8 2015 Vladimir Didenko <cow@altlinux.org> 2.5.1-alt2 - git20150506 * Tue Apr 14 2015 Vladimir Didenko <cow@altlinux.org> 2.5.1-alt1 - 2.5.1 * Mon Mar 30 2015 Vladimir Didenko <cow@altlinux.org> 2.4.3-alt1 - 2.4.3 * Wed Feb 18 2015 Vladimir Didenko <cow@altlinux.org> 2.4.2-alt2 - explicitly set clutter backend * Thu Nov 27 2014 Vladimir Didenko <cow@altlinux.org> 2.4.2-alt1 - 2.4.2 * Mon Nov 10 2014 Vladimir Didenko <cow@altlinux.org> 2.4.1-alt1 - 2.4.1 * Fri Oct 31 2014 Vladimir Didenko <cow@altlinux.org> 2.4.0-alt1 - 2.4.0 * Tue Sep 2 2014 Vladimir Didenko <cow@altlinux.org> 2.3.0-alt1 - git20141006 * Tue Sep 2 2014 Vladimir Didenko <cow@altlinux.org> 2.2.2-alt2 - rebuild with new gnome * Tue Jul 22 2014 Vladimir Didenko <cow@altlinux.org> 2.2.2-alt1 - 2.2.2 * Mon May 12 2014 Vladimir Didenko <cow@altlinux.org> 2.2.1-alt1 - 2.2.1 * Mon May 5 2014 Vladimir Didenko <cow@altlinux.org> 2.2.0-alt2 - add dependence on translations package * Mon Apr 14 2014 Vladimir Didenko <cow@altlinux.org> 2.2.0-alt1 - 2.2.0-1-g6a4aeb2 * Mon Apr 7 2014 Vladimir Didenko <cow@altlinux.org> 2.0.6-alt4 - git20140402 * Tue Mar 4 2014 Vladimir Didenko <cow@altlinux.org> 2.0.6-alt3 - build with gnome-3.12 * Tue Nov 26 2013 Vladimir Didenko <cow@altlinux.org> 2.0.6-alt2 - add cinnamon polkit agent to required components * Mon Nov 25 2013 Vladimir Didenko <cow@altlinux.org> 2.0.6-alt1 - 2.0.6 * Tue Nov 5 2013 Vladimir Didenko <cow@altlinux.org> 2.0.4-alt1 - 2.0.4 * Tue Oct 29 2013 Vladimir Didenko <cow@altlinux.org> 2.0.3-alt1 - 2.0.3 * Mon Oct 21 2013 Vladimir Didenko <cow@altlinux.org> 2.0.1-alt2 - add nemo and fallback-mount-helper as required components * Thu Oct 10 2013 Vladimir Didenko <cow@altlinux.org> 2.0.1-alt1 - 2.0.1 * Wed Sep 25 2013 Yuri N. Sedunov <aris@altlinux.org> 1.9.0-alt3 - rebuild for GNOME-3.10 * Thu Sep 5 2013 Vladimir Didenko <cow@altlinux.org> 1.9.0-alt2 - load cinnamon-settings-daemon2d.desktop in 2d session * Thu Aug 29 2013 Vladimir Didenko <cow@altlinux.org> 1.9.0-alt1 - git20130824 - bump version * Fri Aug 2 2013 Vladimir Didenko <cow@altlinux.org> 0.0.1-alt1 - Initial build - git20130723 |