This repository has been archived by the owner on Mar 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
unity-greeter.spec
73 lines (58 loc) · 1.74 KB
/
unity-greeter.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
Name: unity-greeter
Version: 22.04.1
Release: 1%{?dist}
Summary: Unity Greeter
License: GPLv3
URL: https://launchpad.net/unity-greeter
Source0: http://archive.ubuntu.com/ubuntu/pool/universe/u/unity-greeter/unity-greeter_22.04.1-0ubuntu2.tar.xz
Patch1: 0001-Remove-libido.patch
BuildRequires: automake libtool gnome-common
BuildRequires: intltool
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(gdk-x11-3.0)
BuildRequires: pkgconfig(indicator3-0.4)
BuildRequires: pkgconfig(liblightdm-gobject-1)
BuildRequires: pkgconfig(freetype2)
BuildRequires: pkgconfig(cairo-ft)
BuildRequires: pkgconfig(libcanberra)
BuildRequires: pkgconfig(pixman-1)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xext)
BuildRequires: vala
BuildRequires: make
Requires: lightdm%{?_isa}
%description
The greeter (login screen) application for Unity. It is implemented as a LightDM greeter.
%prep
%autosetup -p1
%build
NOCONFIGURE=1 \
./autogen.sh
%configure --disable-static
%make_build
%install
%make_install
%find_lang %{name}
%ldconfig_post
%pre
%{_sbindir}/update-alternatives \
--remove lightdm-greeter \
%{_datadir}/xgreeters/unity-greeter.desktop 2> /dev/null ||:
%postun
if [ ${1} -eq 0 ]; then
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
fi
%posttrans
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
%files -f %{name}.lang
%doc NEWS
%license COPYING
%{_sbindir}/unity-greeter
%{_datadir}/glib-2.0/schemas/com.canonical.unity-greeter.gschema.xml
%dir %{_datadir}/unity-greeter
%{_datadir}/unity-greeter/*.png
%{_datadir}/unity-greeter/*.svg
%{_datadir}/xgreeters/unity-greeter.desktop
%{_mandir}/man1/unity-greeter.1.gz
%changelog
%autochangelog