Browse Source

enable gtkdoc settings

Signed-off-by: Toshaan Bharvani <toshaan@powerel.org>
master
Toshaan Bharvani 2 years ago
parent
commit
0ff3e6548c
  1. 10
      SPECS/cinnamon.spec

10
SPECS/cinnamon.spec

@ -140,9 +140,7 @@ Requires: metacity%{?_isa} @@ -140,9 +140,7 @@ Requires: metacity%{?_isa}
Requires: tint2%{?_isa}

# required for keyboard applet
%if 0%{?fedora}
Requires: gucharmap%{?_isa}
%endif
Requires: xapps%{?_isa}
Requires: python3-xapps-overrides%{?_isa}

@ -177,7 +175,6 @@ The underlying technology is forked from Gnome Shell. @@ -177,7 +175,6 @@ The underlying technology is forked from Gnome Shell.
The emphasis is put on making users feel at home and providing
them with an easy to use and comfortable desktop experience.

%if 0%{?fedora}
%package devel-doc
Summary: Development Documentation files for Cinnamon
BuildArch: noarch
@ -185,7 +182,6 @@ Requires: %{name} = %{version}-%{release} @@ -185,7 +182,6 @@ Requires: %{name} = %{version}-%{release}

%description devel-doc
This package contains the code documentation for various Cinnamon components.
%endif

%prep
%autosetup -p1
@ -230,11 +226,7 @@ chmod a-x files%{_datadir}/%{name}/%{name}-settings/bin/__init__.py @@ -230,11 +226,7 @@ chmod a-x files%{_datadir}/%{name}/%{name}-settings/bin/__init__.py
# install gschema-override for wallpaper
%{__cat} >> %{buildroot}%{_datadir}/glib-2.0/schemas/10_%{name}-wallpaper.gschema.override << EOF
[org.cinnamon.desktop.background]
%if 0%{?fedora} < 32
picture-uri='file:///usr/share/backgrounds/f%{?fedora}/default/f%{?fedora}.xml'
%else
picture-uri='file:///usr/share/backgrounds/tiles/default_blue.jpg'
%endif
EOF

# Provide symlink for the background-propeties.
@ -265,10 +257,8 @@ EOF @@ -265,10 +257,8 @@ EOF
%{_mandir}/man1/*
%{python3_sitelib}/cinnamon/

%if 0%{?fedora}
%files devel-doc
%doc %{_datadir}/gtk-doc/html/*/
%endif

%changelog
* Sat Jan 01 2022 Leigh Scott <leigh123linux@gmail.com> - 5.2.7-1

Loading…
Cancel
Save