]>
Commit | Line | Data |
---|---|---|
69c404c9 JB |
1 | # |
2 | # Conditional build: | |
3 | %bcond_without apidocs # API documentation | |
4 | ||
7b4050d0 MB |
5 | Summary: gnome-desktop library |
6 | Summary(pl.UTF-8): Biblioteka gnome-desktop | |
39416a2d | 7 | Name: gnome-desktop |
28a9ee77 | 8 | Version: 3.38.4 |
88f3ab1e | 9 | Release: 1 |
ef2022b0 | 10 | License: LGPL v2+ |
39416a2d | 11 | Group: X11/Applications |
3df76442 | 12 | Source0: https://download.gnome.org/sources/gnome-desktop/3.38/%{name}-%{version}.tar.xz |
28a9ee77 | 13 | # Source0-md5: 77653263d3efaeae4f7fd0eff7ba6da6 |
b939d895 | 14 | URL: https://www.gnome.org/ |
6a7aec71 | 15 | BuildRequires: docbook-dtd412-xml |
69c404c9 | 16 | BuildRequires: fontconfig-devel |
42f57261 | 17 | BuildRequires: gdk-pixbuf2-devel >= 2.36.5 |
c1c6697b | 18 | BuildRequires: gettext-tools |
5c141838 | 19 | BuildRequires: glib2-devel >= 1:2.54.0 |
7b4050d0 | 20 | BuildRequires: gobject-introspection-devel >= 0.10.0 |
22b8704d | 21 | BuildRequires: gsettings-desktop-schemas-devel >= 3.27.0 |
ba3eaba3 | 22 | BuildRequires: gtk+3-devel >= 3.4.0 |
69c404c9 | 23 | %{?with_apidocs:BuildRequires: gtk-doc >= 1.14} |
8c334cf7 | 24 | BuildRequires: iso-codes |
1dcc5bf0 | 25 | %ifnarch alpha ia64 m68k riscv64 sh4 sparc sparcv9 sparc64 |
5c141838 | 26 | BuildRequires: libseccomp-devel |
1dcc5bf0 | 27 | %endif |
d7053aa2 | 28 | BuildRequires: meson >= 0.49.0 |
9f33fc61 | 29 | BuildRequires: ninja >= 1.5 |
8d23132e | 30 | BuildRequires: pkgconfig |
a477735f | 31 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
40432a99 | 32 | BuildRequires: rpmbuild(macros) >= 1.752 |
d7053aa2 | 33 | BuildRequires: systemd-devel >= 1:209 |
82c10b9f | 34 | BuildRequires: tar >= 1:1.22 |
a04979ae | 35 | BuildRequires: udev-devel |
8c334cf7 | 36 | BuildRequires: xkeyboard-config |
5e20210b | 37 | BuildRequires: xorg-lib-libXext-devel >= 1.1 |
ba3eaba3 | 38 | BuildRequires: xorg-lib-libXrandr-devel >= 1.3 |
82c10b9f | 39 | BuildRequires: xz |
6dea12b7 | 40 | BuildRequires: yelp-tools |
42f57261 | 41 | Requires: gdk-pixbuf2 >= 2.36.5 |
5c141838 | 42 | Requires: glib2 >= 1:2.54.0 |
22b8704d | 43 | Requires: gsettings-desktop-schemas >= 3.27.0 |
ba3eaba3 | 44 | Requires: gtk+3 >= 3.4.0 |
a3c7d4df JB |
45 | Requires: iso-codes |
46 | Requires: xkeyboard-config | |
cc7148bb JB |
47 | Requires: xorg-lib-libXext >= 1.1 |
48 | Requires: xorg-lib-libXrandr >= 1.3 | |
7b4050d0 MB |
49 | Obsoletes: gnome-desktop-libs |
50 | Obsoletes: gnome-desktop3 | |
51 | Obsoletes: gnome-desktop3-libs | |
1596f461 | 52 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
39416a2d | 53 | |
39416a2d | 54 | %description |
172334a8 MB |
55 | GNOME (GNU Network Object Model Environment) is a user-friendly set of |
56 | applications and desktop tools to be used in conjunction with a window | |
57 | manager for the X Window System. GNOME is similar in purpose and scope | |
58 | to CDE and KDE, but GNOME is based completely on free software. | |
39416a2d | 59 | |
7b4050d0 | 60 | This package contains gnome-desktop library. |
39416a2d | 61 | |
f8781591 | 62 | %description -l pl.UTF-8 |
172334a8 MB |
63 | GNOME (GNU Network Object Model Environment) jest zestawem przyjaznych |
64 | dla użytkownika programów i narzędzi biurkowych, których używa się | |
65 | wraz z zarządcą okien systemu X Window. GNOME przypomina wyglądem i | |
66 | zakresem funkcjonalności CDE i KDE, jednak GNOME opiera się w całości | |
67 | na wolnym oprogramowaniu. | |
75fd44a6 | 68 | |
f8781591 | 69 | Pakiet ten zawiera bibliotekę gnome-desktop. |
75fd44a6 | 70 | |
39416a2d | 71 | %package devel |
5d84d6e6 | 72 | Summary: GNOME desktop includes |
7b4050d0 | 73 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki GNOME desktop |
c7e8dd7f | 74 | Group: X11/Development/Libraries |
7b4050d0 | 75 | Requires: %{name} = %{version}-%{release} |
5c141838 | 76 | Requires: glib2-devel >= 1:2.54.0 |
22b8704d | 77 | Requires: gsettings-desktop-schemas-devel >= 3.27.0 |
ba3eaba3 | 78 | Requires: gtk+3-devel >= 3.4.0 |
7b4050d0 | 79 | Obsoletes: gnome-desktop3-devel |
39416a2d | 80 | |
81 | %description devel | |
5d84d6e6 | 82 | GNOME desktop header files. |
a79e7959 | 83 | |
f8781591 | 84 | %description devel -l pl.UTF-8 |
7b4050d0 | 85 | Pliki nagłówkowe biblioteki GNOME desktop. |
39416a2d | 86 | |
b33a78af | 87 | %package apidocs |
88 | Summary: gnome-desktop API documentation | |
5b16d880 | 89 | Summary(pl.UTF-8): Dokumentacja API gnome-desktop |
b33a78af | 90 | Group: Documentation |
91 | Requires: gtk-doc-common | |
7b4050d0 | 92 | Obsoletes: gnome-desktop3-apidocs |
8688ea66 | 93 | BuildArch: noarch |
b33a78af | 94 | |
95 | %description apidocs | |
96 | gnome-desktop API documentation. | |
97 | ||
f8781591 | 98 | %description apidocs -l pl.UTF-8 |
b33a78af | 99 | Dokumentacja API gnome-desktop. |
100 | ||
39416a2d | 101 | %prep |
102 | %setup -q | |
a477735f | 103 | |
39416a2d | 104 | %build |
22b8704d JB |
105 | %meson build \ |
106 | --default-library=shared \ | |
107 | -Dgnome_distributor="PLD Linux Distribution" \ | |
69c404c9 | 108 | %{?with_apidocs:-Dgtk_doc=true} |
22b8704d JB |
109 | |
110 | %ninja_build -C build | |
39416a2d | 111 | |
112 | %install | |
113 | rm -rf $RPM_BUILD_ROOT | |
2bbf3d66 | 114 | |
22b8704d | 115 | %ninja_install -C build |
e2506272 | 116 | |
ada8038c | 117 | %find_lang %{name} --with-gnome --all-name |
39416a2d | 118 | |
119 | %clean | |
b7c2ac46 | 120 | rm -rf $RPM_BUILD_ROOT |
39416a2d | 121 | |
85dc4c99 ER |
122 | %post -p /sbin/ldconfig |
123 | %postun -p /sbin/ldconfig | |
39416a2d | 124 | |
125 | %files -f %{name}.lang | |
126 | %defattr(644,root,root,755) | |
9f33fc61 | 127 | %doc AUTHORS ChangeLog NEWS README |
7b4050d0 | 128 | %attr(755,root,root) %{_libdir}/libgnome-desktop-3.so.*.*.* |
d7053aa2 | 129 | %attr(755,root,root) %ghost %{_libdir}/libgnome-desktop-3.so.19 |
872e65ad | 130 | %attr(755,root,root) %{_libexecdir}/gnome-rr-debug |
7b4050d0 | 131 | %{_datadir}/gnome/gnome-version.xml |
7b4050d0 | 132 | %{_libdir}/girepository-1.0/GnomeDesktop-3.0.typelib |
5d84d6e6 | 133 | |
39416a2d | 134 | %files devel |
135 | %defattr(644,root,root,755) | |
7b4050d0 MB |
136 | %attr(755,root,root) %{_libdir}/libgnome-desktop-3.so |
137 | %{_includedir}/gnome-desktop-3.0 | |
138 | %{_pkgconfigdir}/gnome-desktop-3.0.pc | |
139 | %{_datadir}/gir-1.0/GnomeDesktop-3.0.gir | |
39416a2d | 140 | |
69c404c9 | 141 | %if %{with apidocs} |
b33a78af | 142 | %files apidocs |
143 | %defattr(644,root,root,755) | |
7b4050d0 | 144 | %{_gtkdocdir}/gnome-desktop3 |
69c404c9 | 145 | %endif |