]> git.pld-linux.org Git - packages/gnome-desktop.git/blame - gnome-desktop.spec
- updated to 3.38.2
[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
3df76442 8Version: 3.38.2
88f3ab1e 9Release: 1
ef2022b0 10License: LGPL v2+
39416a2d 11Group: X11/Applications
3df76442
JB
12Source0: https://download.gnome.org/sources/gnome-desktop/3.38/%{name}-%{version}.tar.xz
13# Source0-md5: ea19b13b4ce8919f0b806543f0c75cf0
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
1dcc5bf0 25%ifnarch alpha ia64 m68k riscv64 sh4 sparc sparcv9 sparc64
5c141838 26BuildRequires: libseccomp-devel
1dcc5bf0 27%endif
d7053aa2 28BuildRequires: meson >= 0.49.0
9f33fc61 29BuildRequires: ninja >= 1.5
8d23132e 30BuildRequires: pkgconfig
a477735f 31BuildRequires: rpmbuild(find_lang) >= 1.23
40432a99 32BuildRequires: rpmbuild(macros) >= 1.752
d7053aa2 33BuildRequires: systemd-devel >= 1:209
82c10b9f 34BuildRequires: tar >= 1:1.22
a04979ae 35BuildRequires: udev-devel
8c334cf7 36BuildRequires: xkeyboard-config
5e20210b 37BuildRequires: xorg-lib-libXext-devel >= 1.1
ba3eaba3 38BuildRequires: xorg-lib-libXrandr-devel >= 1.3
82c10b9f 39BuildRequires: xz
6dea12b7 40BuildRequires: yelp-tools
42f57261 41Requires: gdk-pixbuf2 >= 2.36.5
5c141838 42Requires: glib2 >= 1:2.54.0
22b8704d 43Requires: gsettings-desktop-schemas >= 3.27.0
ba3eaba3 44Requires: gtk+3 >= 3.4.0
a3c7d4df
JB
45Requires: iso-codes
46Requires: xkeyboard-config
cc7148bb
JB
47Requires: xorg-lib-libXext >= 1.1
48Requires: xorg-lib-libXrandr >= 1.3
7b4050d0
MB
49Obsoletes: gnome-desktop-libs
50Obsoletes: gnome-desktop3
51Obsoletes: gnome-desktop3-libs
1596f461 52BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39416a2d 53
39416a2d 54%description
172334a8
MB
55GNOME (GNU Network Object Model Environment) is a user-friendly set of
56applications and desktop tools to be used in conjunction with a window
57manager for the X Window System. GNOME is similar in purpose and scope
58to CDE and KDE, but GNOME is based completely on free software.
39416a2d 59
7b4050d0 60This package contains gnome-desktop library.
39416a2d 61
f8781591 62%description -l pl.UTF-8
172334a8
MB
63GNOME (GNU Network Object Model Environment) jest zestawem przyjaznych
64dla użytkownika programów i narzędzi biurkowych, których używa się
65wraz z zarządcą okien systemu X Window. GNOME przypomina wyglądem i
66zakresem funkcjonalności CDE i KDE, jednak GNOME opiera się w całości
67na wolnym oprogramowaniu.
75fd44a6 68
f8781591 69Pakiet ten zawiera bibliotekę gnome-desktop.
75fd44a6 70
39416a2d 71%package devel
5d84d6e6 72Summary: GNOME desktop includes
7b4050d0 73Summary(pl.UTF-8): Pliki nagłówkowe biblioteki GNOME desktop
c7e8dd7f 74Group: X11/Development/Libraries
7b4050d0 75Requires: %{name} = %{version}-%{release}
5c141838 76Requires: glib2-devel >= 1:2.54.0
22b8704d 77Requires: gsettings-desktop-schemas-devel >= 3.27.0
ba3eaba3 78Requires: gtk+3-devel >= 3.4.0
7b4050d0 79Obsoletes: gnome-desktop3-devel
39416a2d 80
81%description devel
5d84d6e6 82GNOME desktop header files.
a79e7959 83
f8781591 84%description devel -l pl.UTF-8
7b4050d0 85Pliki nagłówkowe biblioteki GNOME desktop.
39416a2d 86
b33a78af 87%package apidocs
88Summary: gnome-desktop API documentation
5b16d880 89Summary(pl.UTF-8): Dokumentacja API gnome-desktop
b33a78af 90Group: Documentation
91Requires: gtk-doc-common
7b4050d0 92Obsoletes: gnome-desktop3-apidocs
40432a99 93%{?noarchpackage}
b33a78af 94
95%description apidocs
96gnome-desktop API documentation.
97
f8781591 98%description apidocs -l pl.UTF-8
b33a78af 99Dokumentacja 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
113rm -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 120rm -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
This page took 0.061511 seconds and 4 git commands to generate.