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