]> git.pld-linux.org Git - packages/gnome-desktop.git/blame - gnome-desktop.spec
- updated to 3.38.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
69c404c9 8Version: 3.38.0
88f3ab1e 9Release: 1
ef2022b0 10License: LGPL v2+
39416a2d 11Group: X11/Applications
69c404c9
JB
12Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-desktop/3.38/%{name}-%{version}.tar.xz
13# Source0-md5: 5e9bd9b0ed34be888ac64681bd1ee511
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
22b8704d 32BuildRequires: rpmbuild(macros) >= 1.736
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
d7053aa2 93%if "%{_rpmversion}" >= "4.6"
85dc4c99
ER
94BuildArch: noarch
95%endif
b33a78af 96
97%description apidocs
98gnome-desktop API documentation.
99
f8781591 100%description apidocs -l pl.UTF-8
b33a78af 101Dokumentacja API gnome-desktop.
102
39416a2d 103%prep
104%setup -q
a477735f 105
39416a2d 106%build
22b8704d
JB
107%meson build \
108 --default-library=shared \
109 -Dgnome_distributor="PLD Linux Distribution" \
69c404c9 110 %{?with_apidocs:-Dgtk_doc=true}
22b8704d
JB
111
112%ninja_build -C build
39416a2d 113
114%install
115rm -rf $RPM_BUILD_ROOT
2bbf3d66 116
22b8704d 117%ninja_install -C build
e2506272 118
ada8038c 119%find_lang %{name} --with-gnome --all-name
39416a2d 120
121%clean
b7c2ac46 122rm -rf $RPM_BUILD_ROOT
39416a2d 123
85dc4c99
ER
124%post -p /sbin/ldconfig
125%postun -p /sbin/ldconfig
39416a2d 126
127%files -f %{name}.lang
128%defattr(644,root,root,755)
9f33fc61 129%doc AUTHORS ChangeLog NEWS README
7b4050d0 130%attr(755,root,root) %{_libdir}/libgnome-desktop-3.so.*.*.*
d7053aa2 131%attr(755,root,root) %ghost %{_libdir}/libgnome-desktop-3.so.19
872e65ad 132%attr(755,root,root) %{_libexecdir}/gnome-rr-debug
7b4050d0 133%{_datadir}/gnome/gnome-version.xml
7b4050d0 134%{_libdir}/girepository-1.0/GnomeDesktop-3.0.typelib
5d84d6e6 135
39416a2d 136%files devel
137%defattr(644,root,root,755)
7b4050d0
MB
138%attr(755,root,root) %{_libdir}/libgnome-desktop-3.so
139%{_includedir}/gnome-desktop-3.0
140%{_pkgconfigdir}/gnome-desktop-3.0.pc
141%{_datadir}/gir-1.0/GnomeDesktop-3.0.gir
39416a2d 142
69c404c9 143%if %{with apidocs}
b33a78af 144%files apidocs
145%defattr(644,root,root,755)
7b4050d0 146%{_gtkdocdir}/gnome-desktop3
69c404c9 147%endif
This page took 0.065266 seconds and 4 git commands to generate.