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