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