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