]> git.pld-linux.org Git - packages/phosh.git/blob - phosh.spec
- updated to 0.20.0
[packages/phosh.git] / phosh.spec
1 Summary:        Phosh - pure wayland shell for mobile devices
2 Summary(pl.UTF-8):      Phosh - oparta na czystym wayland powłoka dla urządzeń przenośnych
3 Name:           phosh
4 Version:        0.20.0
5 Release:        1
6 License:        GPL v3+
7 Group:          Applications
8 Source0:        https://download.gnome.org/sources/phosh/0.20/%{name}-%{version}.tar.xz
9 # Source0-md5:  869f8ff32a59d792e185cc4c188fa831
10 URL:            https://developer.puri.sm/Librem5/Software_Reference/Environments/Phosh.html
11 BuildRequires:  NetworkManager-devel >= 2:1.14
12 BuildRequires:  alsa-lib-devel
13 BuildRequires:  fribidi-devel
14 BuildRequires:  gcr-ui-devel >= 3.7.5
15 BuildRequires:  glib2-devel >= 1:2.62
16 BuildRequires:  gnome-desktop-devel >= 3.26
17 BuildRequires:  gobject-introspection-devel
18 BuildRequires:  gsettings-desktop-schemas-devel
19 BuildRequires:  gtk+3-devel >= 3.22
20 BuildRequires:  libcallaudio-devel
21 BuildRequires:  libfeedback-devel
22 BuildRequires:  libhandy1-devel >= 1.2
23 BuildRequires:  libsecret-devel
24 BuildRequires:  meson >= 0.54.0
25 BuildRequires:  ninja >= 1.5
26 BuildRequires:  pkgconfig
27 BuildRequires:  polkit-devel >= 0.105
28 BuildRequires:  pulseaudio-devel >= 2.0
29 BuildRequires:  rpmbuild(macros) >= 1.736
30 BuildRequires:  systemd-devel >= 1:241
31 BuildRequires:  tar >= 1:1.22
32 BuildRequires:  udev-glib-devel
33 BuildRequires:  upower-devel >= 0.99.1
34 # wayland-client
35 BuildRequires:  wayland-devel >= 1.14
36 BuildRequires:  wayland-protocols >= 1.12
37 BuildRequires:  xz
38 Requires:       NetworkManager >= 2:1.14
39 Requires:       gcr-ui >= 3.7.5
40 Requires:       glib2 >= 1:2.62
41 Requires:       gnome-desktop >= 3.26
42 Requires:       gtk+3 >= 3.22
43 Requires:       libhandy1 >= 1.2
44 Requires:       polkit >= 0.105
45 Requires:       pulseaudio >= 2.0
46 Requires:       systemd-libs >= 1:241
47 Requires:       upower >= 0.99.1
48 Requires:       wayland >= 1.14
49 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
50
51 %description
52 Phosh is a pure wayland shell for mobile devices.
53
54 %description -l pl.UTF-8
55 Phosh to oparta na czystym wayland powłoka dla urządzeń przenośnych.
56
57 %prep
58 %setup -q
59
60 %build
61 %meson build \
62         --libexecdir=%{_libexecdir}/phosh \
63         -Dcallui-i18n=true \
64         -Dsystemd=true
65
66 %ninja_build -C build
67
68 %install
69 rm -rf $RPM_BUILD_ROOT
70
71 %ninja_install -C build
72
73 # unify
74 %{__mv} $RPM_BUILD_ROOT%{_localedir}/zh{_Hans,}_CN
75
76 # phosn and call-ui domains
77 %find_lang %{name} --all-name
78
79 %clean
80 rm -rf $RPM_BUILD_ROOT
81
82 %post
83 %glib_compile_schemas
84
85 %postun
86 %glib_compile_schemas
87
88 %files -f %{name}.lang
89 %defattr(644,root,root,755)
90 %doc NEWS README.md
91 %attr(755,root,root) %{_bindir}/phosh
92 %dir %{_libdir}/phosh
93 %dir %{_libdir}/phosh/plugins
94 %attr(755,root,root) %{_libdir}/phosh/plugins/libphosh-plugin-calendar.so
95 %if "%{_libexecdir}" != "%{_libdir}"
96 %dir %{_libexecdir}/phosh
97 %endif
98 %attr(755,root,root) %{_libexecdir}/phosh/phosh
99 %{systemduserunitdir}/sm.puri.Phosh.service
100 %{systemduserunitdir}/sm.puri.Phosh.target
101 %dir %{systemduserunitdir}/gnome-session@phosh.target.d
102 %{systemduserunitdir}/gnome-session@phosh.target.d/session.conf
103 # FIXME: which package should own these dirs?
104 %dir %{_datadir}/xdg-desktop-portal
105 %dir %{_datadir}/xdg-desktop-portal/portals
106 %{_datadir}/xdg-desktop-portal/portals/phosh.portal
107 %{_datadir}/glib-2.0/schemas/00_sm.puri.Phosh.gschema.override
108 %{_datadir}/glib-2.0/schemas/sm.puri.phosh.enums.xml
109 %{_datadir}/glib-2.0/schemas/sm.puri.phosh.gschema.xml
110 %{_datadir}/gnome-session/sessions/phosh.session
111 %{_datadir}/phosh
112 %{_datadir}/wayland-sessions/phosh.desktop
113 %{_desktopdir}/sm.puri.Phosh.desktop
114 %{_iconsdir}/hicolor/symbolic/apps/sm.puri.Phosh-symbolic.svg
This page took 0.062414 seconds and 3 git commands to generate.