[12446] | 1 | %bcond_with systemd |
---|
| 2 | |
---|
[10716] | 3 | %define glib2_version 2.48.0 |
---|
| 4 | %define pango_version 1.40.0 |
---|
[12446] | 5 | %define gtk3_version 3.24.0 |
---|
[4616] | 6 | %define startup_notification_version 0.10 |
---|
| 7 | |
---|
| 8 | %define po_package gnome-desktop-3.0 |
---|
[12446] | 9 | %global origname gnome-desktop |
---|
[4616] | 10 | |
---|
[12446] | 11 | Summary: Package containing code shared among gnome-shell, gnome-session, nautilus, etc. |
---|
| 12 | Summary(ja): gnome-shell, gnome-session, nautilus などの共用プログラム |
---|
| 13 | Name: gnome-desktop3 |
---|
| 14 | Version: 3.36.4 |
---|
| 15 | Release: 1%{?_dist_release}%{?with_systemd:.systemd} |
---|
| 16 | Vendor: Project Vine |
---|
| 17 | Distribution: Vine Linux |
---|
[4616] | 18 | |
---|
[12446] | 19 | License: GPL |
---|
| 20 | URL: https://www.gnome.org/ |
---|
| 21 | %global shortver %(echo %{version} | sed -e 's/\.[0-9]*$//') |
---|
| 22 | Source: https://download.gnome.org/sources/%{origname}/%{shortver}/%{origname}-%{version}.tar.xz |
---|
[4616] | 23 | |
---|
[12446] | 24 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[4616] | 25 | |
---|
[12005] | 26 | Patch0: 0001-datetime-format.patch |
---|
| 27 | Patch1: 0002-fix-timezone-config.patch |
---|
[9091] | 28 | |
---|
[4616] | 29 | # Requires for Vine |
---|
| 30 | Requires: gnome-icon-theme-symbolic |
---|
[12005] | 31 | Requires: gnome-themes-extra |
---|
[8826] | 32 | Requires: vine-themes |
---|
[4616] | 33 | Requires: gsettings-desktop-schemas |
---|
| 34 | |
---|
| 35 | Obsoletes: gnome-core gnome-core-devel |
---|
| 36 | Provides: gnome-core |
---|
| 37 | |
---|
[7938] | 38 | Obsoletes: gnome-panel < 3.8.0 |
---|
| 39 | Obsoletes: gnome-panel-libs < 3.8.0 |
---|
| 40 | Obsoletes: gnome-applets < 3.6.0 |
---|
[7633] | 41 | |
---|
[12446] | 42 | BuildRequires: meson |
---|
[4616] | 43 | BuildRequires: glib2-devel >= %{glib2_version} |
---|
| 44 | BuildRequires: pango-devel >= %{pango_version} |
---|
| 45 | BuildRequires: gtk3-devel >= %{gtk3_version} |
---|
| 46 | BuildRequires: startup-notification-devel >= %{startup_notification_version} |
---|
[6890] | 47 | BuildRequires: gsettings-desktop-schemas-devel |
---|
[4616] | 48 | BuildRequires: libXrandr-devel |
---|
[6890] | 49 | BuildRequires: libxkbfile-devel |
---|
| 50 | BuildRequires: xkeyboard-config |
---|
[4616] | 51 | BuildRequires: autoconf, automake |
---|
[6890] | 52 | BuildRequires: yelp-tools |
---|
[4616] | 53 | BuildRequires: docbook-utils |
---|
[7633] | 54 | BuildRequires: iso-codes |
---|
[12005] | 55 | BuildRequires: libseccomp-devel |
---|
[12446] | 56 | BuildRequires: gtk-doc |
---|
| 57 | %if %{with systemd} |
---|
| 58 | BuildRequires: systemd-devel |
---|
| 59 | %else |
---|
| 60 | BuildRequires: libudev-devel |
---|
| 61 | %endif |
---|
[4616] | 62 | |
---|
| 63 | %description |
---|
| 64 | The gnome-desktop package contains an internal library |
---|
| 65 | (libgnomedesktop3) used to implement some portions of the GNOME |
---|
| 66 | desktop, and also some data files and other shared components of the |
---|
| 67 | GNOME user environment. |
---|
| 68 | |
---|
[7938] | 69 | |
---|
[4616] | 70 | %package devel |
---|
| 71 | Summary: Libraries and headers for libgnome-desktop |
---|
| 72 | Summary(ja): libgnome-desktop の開発用ライブラリおよびヘッダファイル |
---|
| 73 | Group: Development/Libraries |
---|
| 74 | Requires: %{name} = %{version}-%{release} |
---|
| 75 | |
---|
| 76 | Requires: glib2-devel >= %{glib2_version} |
---|
| 77 | Requires: gtk3-devel >= %{gtk3_version} |
---|
| 78 | Requires: startup-notification-devel >= %{startup_notification_version} |
---|
| 79 | |
---|
[7938] | 80 | Obsoletes: gnome-panel-devel < 3.8.0 |
---|
[7633] | 81 | |
---|
[4616] | 82 | %description devel |
---|
| 83 | Libraries and header files for the GNOME-internal private library |
---|
| 84 | libgnomedesktop |
---|
| 85 | |
---|
[7938] | 86 | |
---|
| 87 | %package docs |
---|
| 88 | Summary: Documentation for %{name} |
---|
| 89 | Summary(ja): %{name} 用のドキュメント |
---|
| 90 | Group: Documentation |
---|
[12446] | 91 | BuildArch: noarch |
---|
[7938] | 92 | Requires: %{name} = %{version}-%{release} |
---|
| 93 | |
---|
| 94 | %description docs |
---|
| 95 | This package contains documentation for %{name}. |
---|
| 96 | |
---|
| 97 | |
---|
[4616] | 98 | %prep |
---|
[12446] | 99 | %setup -n gnome-desktop-%{version} |
---|
| 100 | %if !%{with systemd} |
---|
| 101 | %autopatch -p1 |
---|
| 102 | %endif |
---|
[4616] | 103 | |
---|
[12446] | 104 | |
---|
[4616] | 105 | %build |
---|
[12446] | 106 | %meson \ |
---|
| 107 | -Dgnome_distributor="Project Vine" \ |
---|
| 108 | -Dudev=enabled \ |
---|
| 109 | -Dgtk_doc=true \ |
---|
| 110 | %if %{with systemd} |
---|
| 111 | -Dsystemd=enabled |
---|
| 112 | %else |
---|
| 113 | -Dsystemd=disabled |
---|
| 114 | %endif |
---|
| 115 | %meson_build |
---|
[4616] | 116 | |
---|
[12005] | 117 | |
---|
[4616] | 118 | %install |
---|
| 119 | rm -rf $RPM_BUILD_ROOT |
---|
[12446] | 120 | %meson_install |
---|
[4616] | 121 | |
---|
[12446] | 122 | %find_lang %{po_package} --with-gnome |
---|
[4616] | 123 | |
---|
| 124 | |
---|
| 125 | %clean |
---|
| 126 | rm -rf $RPM_BUILD_ROOT |
---|
| 127 | |
---|
[12446] | 128 | |
---|
[6890] | 129 | %post -p /sbin/ldconfig |
---|
[4616] | 130 | |
---|
[6890] | 131 | %postun -p /sbin/ldconfig |
---|
[4616] | 132 | |
---|
| 133 | |
---|
| 134 | %files -f %{po_package}.lang |
---|
[7938] | 135 | %defattr(-,root,root,-) |
---|
[12446] | 136 | %license COPYING |
---|
| 137 | %doc AUTHORS ChangeLog NEWS README |
---|
[4616] | 138 | %{_libdir}/lib*.so.* |
---|
| 139 | %{_libdir}/girepository-1.0/GnomeDesktop-3.0.typelib |
---|
[6890] | 140 | %{_libexecdir}/gnome-rr-debug |
---|
[4616] | 141 | %{_datadir}/gnome/* |
---|
[6890] | 142 | %{_datadir}/help/*/*/* |
---|
[4616] | 143 | |
---|
| 144 | %files devel |
---|
[7938] | 145 | %defattr(-,root,root,-) |
---|
[4616] | 146 | %{_libdir}/lib*.so |
---|
| 147 | %{_libdir}/pkgconfig/*.pc |
---|
| 148 | %{_includedir}/* |
---|
| 149 | %{_datadir}/gir-1.0/GnomeDesktop-3.0.gir |
---|
[7938] | 150 | |
---|
| 151 | %files docs |
---|
| 152 | %defattr(-,root,root,-) |
---|
[4616] | 153 | %{_datadir}/gtk-doc |
---|
| 154 | |
---|
| 155 | %changelog |
---|
[12446] | 156 | * Sun Aug 02 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.36.1-1 |
---|
| 157 | - new upstream release. |
---|
| 158 | - dropped ja.po: upstream is newer. |
---|
| 159 | - added systemd support (disabled as default). |
---|
| 160 | - updated Patch0 and 1. |
---|
| 161 | |
---|
[12005] | 162 | * Fri Dec 28 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.30.2-1 |
---|
| 163 | - new upstream release. |
---|
| 164 | - updated Patch0. |
---|
| 165 | - updated ja.po. |
---|
| 166 | |
---|
[10716] | 167 | * Sun Jul 17 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.20.2-1 |
---|
| 168 | - new upstream release |
---|
| 169 | |
---|
[9804] | 170 | * Fri Nov 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.2-1 |
---|
| 171 | - new upstream release |
---|
| 172 | |
---|
[9791] | 173 | * Sat Oct 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.1-1 |
---|
| 174 | - new upstream release |
---|
| 175 | |
---|
[9667] | 176 | * Sun Jul 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.2-2 |
---|
| 177 | - remove Requires: ibus-gtk3, gnome-themes |
---|
| 178 | |
---|
[9569] | 179 | * Sat May 16 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.2-1 |
---|
| 180 | - new upstream release |
---|
| 181 | |
---|
[9520] | 182 | * Sun Apr 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.1-1 |
---|
| 183 | - new upstream release |
---|
| 184 | |
---|
[9475] | 185 | * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1 |
---|
| 186 | - new upstream release |
---|
| 187 | |
---|
[9102] | 188 | * Wed Nov 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.2-1 |
---|
| 189 | - new upstream release |
---|
| 190 | |
---|
[9091] | 191 | * Sun Nov 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1-1 |
---|
[9073] | 192 | - new upstream release |
---|
[9091] | 193 | - add Patch0 (gnome-desktop-3.14.1-date-time-format.patch) |
---|
[9073] | 194 | |
---|
[8826] | 195 | * Wed Jul 16 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 3.12.2-2 |
---|
| 196 | - add R: vine-themes |
---|
| 197 | |
---|
[8447] | 198 | * Wed May 14 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2-1 |
---|
| 199 | - new upstream release |
---|
| 200 | |
---|
[8369] | 201 | * Sat Apr 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1 |
---|
| 202 | - new upstream release |
---|
| 203 | |
---|
[8353] | 204 | * Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1 |
---|
| 205 | - new upstream release |
---|
| 206 | |
---|
[8119] | 207 | * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.2-2 |
---|
| 208 | - rebuild with VineSeed environment |
---|
| 209 | |
---|
[8011] | 210 | * Sun Nov 24 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.2-1 |
---|
| 211 | - new upstream release |
---|
| 212 | |
---|
[7938] | 213 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1 |
---|
| 214 | - new upstream release |
---|
| 215 | - create docs subpackage |
---|
| 216 | |
---|
[7786] | 217 | * Fri Sep 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.4-1 |
---|
| 218 | - new upstream release |
---|
| 219 | |
---|
[7712] | 220 | * Sun Jun 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.3-1 |
---|
| 221 | - new upstream release |
---|
| 222 | |
---|
[7681] | 223 | * Sat May 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1 |
---|
| 224 | - new upstream release |
---|
| 225 | |
---|
[7633] | 226 | * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1 |
---|
| 227 | - new upstream release |
---|
| 228 | - add BuildRequires: iso-codes |
---|
| 229 | - add Obsoletes: gnome-panel, gnome-panel-libs, gnome-applets |
---|
| 230 | |
---|
[7119] | 231 | * Wed Nov 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.2-1 |
---|
| 232 | - new upstream release |
---|
| 233 | - remove Patch0 (gnome-desktop-3.6.1-ja.po.patch) |
---|
| 234 | |
---|
[7022] | 235 | * Fri Oct 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-2 |
---|
| 236 | - update Patch0 (gnome-desktop-3.6.1-ja.po.patch) |
---|
| 237 | |
---|
[6951] | 238 | * Wed Oct 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1 |
---|
| 239 | - new upstream release |
---|
| 240 | |
---|
[6911] | 241 | * Wed Oct 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0.1-2 |
---|
| 242 | - add Patch0 (gnome-desktop-3.6.0.1-ja.po.patch) |
---|
| 243 | |
---|
[6890] | 244 | * Wed Oct 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0.1-1 |
---|
| 245 | - new upstream release |
---|
| 246 | - add BuildRequires: libxkbfile-devel, xkeyboard-config |
---|
| 247 | - change BuildRequires: yelp-tools instead of gnome-doc-utils |
---|
| 248 | |
---|
[6201] | 249 | * Sun May 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.2-1 |
---|
| 250 | - new upstream release |
---|
| 251 | |
---|
[6078] | 252 | * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1-1 |
---|
[6011] | 253 | - new upstream release |
---|
| 254 | - change BuildRequires: gsettings-desktop-schemas-devel instead of gsettings-desktop-schemas |
---|
| 255 | |
---|
[5038] | 256 | * Fri Oct 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1 |
---|
| 257 | - new upstream release |
---|
| 258 | |
---|
[4850] | 259 | * Wed Sep 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1 |
---|
| 260 | - new upstream release |
---|
| 261 | |
---|
[4812] | 262 | * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1 |
---|
| 263 | - new upstream release |
---|
| 264 | |
---|
| 265 | * Sun Sep 18 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.91-1 |
---|
| 266 | - new upstream release |
---|
| 267 | |
---|
[4704] | 268 | * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.90.1-1 |
---|
| 269 | - new upstream release |
---|
| 270 | |
---|
[4650] | 271 | * Sun Aug 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.5-1 |
---|
| 272 | - new upstream release |
---|
| 273 | |
---|
[4616] | 274 | * Thu Aug 18 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1 |
---|
| 275 | - initial build for Vine Linux |
---|