]>
Commit | Line | Data |
---|---|---|
7b4050d0 MB |
1 | Summary: gnome-desktop library |
2 | Summary(pl.UTF-8): Biblioteka gnome-desktop | |
39416a2d | 3 | Name: gnome-desktop |
efc73726 | 4 | Version: 3.36.2 |
88f3ab1e | 5 | Release: 1 |
ef2022b0 | 6 | License: LGPL v2+ |
39416a2d | 7 | Group: X11/Applications |
d7053aa2 | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-desktop/3.36/%{name}-%{version}.tar.xz |
efc73726 | 9 | # Source0-md5: 9fa17a6e2eacde3f9dd0df6be10091b2 |
b939d895 | 10 | URL: https://www.gnome.org/ |
6a7aec71 | 11 | BuildRequires: docbook-dtd412-xml |
42f57261 | 12 | BuildRequires: gdk-pixbuf2-devel >= 2.36.5 |
c1c6697b | 13 | BuildRequires: gettext-tools |
5c141838 | 14 | BuildRequires: glib2-devel >= 1:2.54.0 |
7b4050d0 | 15 | BuildRequires: gobject-introspection-devel >= 0.10.0 |
22b8704d | 16 | BuildRequires: gsettings-desktop-schemas-devel >= 3.27.0 |
ba3eaba3 | 17 | BuildRequires: gtk+3-devel >= 3.4.0 |
88f3ab1e | 18 | BuildRequires: gtk-doc >= 1.14 |
8c334cf7 | 19 | BuildRequires: iso-codes |
1dcc5bf0 | 20 | %ifnarch alpha ia64 m68k riscv64 sh4 sparc sparcv9 sparc64 |
5c141838 | 21 | BuildRequires: libseccomp-devel |
1dcc5bf0 | 22 | %endif |
d7053aa2 | 23 | BuildRequires: meson >= 0.49.0 |
9f33fc61 | 24 | BuildRequires: ninja >= 1.5 |
8d23132e | 25 | BuildRequires: pkgconfig |
a477735f | 26 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
22b8704d | 27 | BuildRequires: rpmbuild(macros) >= 1.736 |
d7053aa2 | 28 | BuildRequires: systemd-devel >= 1:209 |
82c10b9f | 29 | BuildRequires: tar >= 1:1.22 |
a04979ae | 30 | BuildRequires: udev-devel |
8c334cf7 | 31 | BuildRequires: xkeyboard-config |
5e20210b JB |
32 | BuildRequires: xorg-lib-libX11-devel |
33 | BuildRequires: xorg-lib-libXext-devel >= 1.1 | |
ba3eaba3 | 34 | BuildRequires: xorg-lib-libXrandr-devel >= 1.3 |
82c10b9f | 35 | BuildRequires: xz |
6dea12b7 | 36 | BuildRequires: yelp-tools |
42f57261 | 37 | Requires: gdk-pixbuf2 >= 2.36.5 |
5c141838 | 38 | Requires: glib2 >= 1:2.54.0 |
22b8704d | 39 | Requires: gsettings-desktop-schemas >= 3.27.0 |
ba3eaba3 | 40 | Requires: gtk+3 >= 3.4.0 |
a3c7d4df JB |
41 | Requires: iso-codes |
42 | Requires: xkeyboard-config | |
cc7148bb JB |
43 | Requires: xorg-lib-libXext >= 1.1 |
44 | Requires: xorg-lib-libXrandr >= 1.3 | |
7b4050d0 MB |
45 | Obsoletes: gnome-desktop-libs |
46 | Obsoletes: gnome-desktop3 | |
47 | Obsoletes: gnome-desktop3-libs | |
cee74d09 | 48 | # sr@Latn vs. sr@latin |
49 | Conflicts: glibc-misc < 6:2.7 | |
1596f461 | 50 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
39416a2d | 51 | |
39416a2d | 52 | %description |
172334a8 MB |
53 | GNOME (GNU Network Object Model Environment) is a user-friendly set of |
54 | applications and desktop tools to be used in conjunction with a window | |
55 | manager for the X Window System. GNOME is similar in purpose and scope | |
56 | to CDE and KDE, but GNOME is based completely on free software. | |
39416a2d | 57 | |
7b4050d0 | 58 | This package contains gnome-desktop library. |
39416a2d | 59 | |
f8781591 | 60 | %description -l pl.UTF-8 |
172334a8 MB |
61 | GNOME (GNU Network Object Model Environment) jest zestawem przyjaznych |
62 | dla użytkownika programów i narzędzi biurkowych, których używa się | |
63 | wraz z zarządcą okien systemu X Window. GNOME przypomina wyglądem i | |
64 | zakresem funkcjonalności CDE i KDE, jednak GNOME opiera się w całości | |
65 | na wolnym oprogramowaniu. | |
75fd44a6 | 66 | |
f8781591 | 67 | Pakiet ten zawiera bibliotekę gnome-desktop. |
75fd44a6 | 68 | |
39416a2d | 69 | %package devel |
5d84d6e6 | 70 | Summary: GNOME desktop includes |
7b4050d0 | 71 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki GNOME desktop |
c7e8dd7f | 72 | Group: X11/Development/Libraries |
7b4050d0 | 73 | Requires: %{name} = %{version}-%{release} |
5c141838 | 74 | Requires: glib2-devel >= 1:2.54.0 |
22b8704d | 75 | Requires: gsettings-desktop-schemas-devel >= 3.27.0 |
ba3eaba3 | 76 | Requires: gtk+3-devel >= 3.4.0 |
7b4050d0 | 77 | Obsoletes: gnome-desktop3-devel |
39416a2d | 78 | |
79 | %description devel | |
5d84d6e6 | 80 | GNOME desktop header files. |
a79e7959 | 81 | |
f8781591 | 82 | %description devel -l pl.UTF-8 |
7b4050d0 | 83 | Pliki nagłówkowe biblioteki GNOME desktop. |
39416a2d | 84 | |
b33a78af | 85 | %package apidocs |
86 | Summary: gnome-desktop API documentation | |
5b16d880 | 87 | Summary(pl.UTF-8): Dokumentacja API gnome-desktop |
b33a78af | 88 | Group: Documentation |
89 | Requires: gtk-doc-common | |
7b4050d0 | 90 | Obsoletes: gnome-desktop3-apidocs |
d7053aa2 | 91 | %if "%{_rpmversion}" >= "4.6" |
85dc4c99 ER |
92 | BuildArch: noarch |
93 | %endif | |
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" \ | |
108 | -Dgtk_doc=true | |
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 | |
b33a78af | 141 | %files apidocs |
142 | %defattr(644,root,root,755) | |
7b4050d0 | 143 | %{_gtkdocdir}/gnome-desktop3 |