]> git.pld-linux.org Git - packages/phosh.git/blob - phosh.spec
278d50f9d4b599ce2051fc307960416531ffdd62
[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.14.1
5 Release:        1
6 License:        GPL v3+
7 Group:          Applications
8 Source0:        https://download.gnome.org/sources/phosh/0.14/%{name}-%{version}.tar.xz
9 # Source0-md5:  835f05a875b6b4a40f951fc5221f247c
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:  gcr-devel >= 2.7.5
14 BuildRequires:  glib2-devel >= 1:2.62
15 BuildRequires:  gnome-desktop-devel >= 3.26
16 BuildRequires:  gobject-introspection-devel
17 BuildRequires:  gsettings-desktop-schemas-devel
18 BuildRequires:  gtk+3-devel >= 3.22
19 BuildRequires:  libcallaudio-devel
20 BuildRequires:  libfeedback-devel
21 BuildRequires:  libhandy1-devel >= 1.2
22 BuildRequires:  libsecret-devel
23 BuildRequires:  meson >= 0.52.0
24 BuildRequires:  ninja >= 1.5
25 BuildRequires:  pkgconfig
26 BuildRequires:  polkit-devel >= 0.105
27 BuildRequires:  pulseaudio-devel >= 2.0
28 BuildRequires:  rpmbuild(macros) >= 1.736
29 BuildRequires:  systemd-devel >= 1:241
30 BuildRequires:  tar >= 1:1.22
31 BuildRequires:  udev-glib-devel
32 BuildRequires:  upower-devel >= 0.99.1
33 # wayland-client
34 BuildRequires:  wayland-devel >= 1.14
35 BuildRequires:  wayland-protocols >= 1.12
36 BuildRequires:  xz
37 Requires:       NetworkManager >= 2:1.14
38 Requires:       gcr >= 2.7.5
39 Requires:       glib2 >= 1:2.62
40 Requires:       gnome-desktop >= 3.26
41 Requires:       gtk+3 >= 3.22
42 Requires:       libhandy1 >= 1.2
43 Requires:       polkit >= 0.105
44 Requires:       pulseaudio >= 2.0
45 Requires:       systemd-libs >= 1:241
46 Requires:       upower >= 0.99.1
47 Requires:       wayland >= 1.14
48 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
49
50 %description
51 Phosh is a pure wayland shell for mobile devices.
52
53 %description -l pl.UTF-8
54 Phosh to oparta na czystym wayland powłoka dla urządzeń przenośnych.
55
56 %prep
57 %setup -q
58
59 %build
60 %meson build \
61         -Dsystemd=true
62
63 %ninja_build -C build
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67
68 %ninja_install -C build
69
70 # unify
71 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{zh_Hans_CN,zh_CN}
72
73 # phosn and call-ui domains
74 %find_lang %{name} --all-name
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %post
80 %glib_compile_schemas
81
82 %postun
83 %glib_compile_schemas
84
85 %files -f %{name}.lang
86 %defattr(644,root,root,755)
87 %doc NEWS README.md
88 %attr(755,root,root) %{_bindir}/phosh
89 %attr(755,root,root) %{_bindir}/phosh-osk-stub
90 %attr(755,root,root) %{_libexecdir}/phosh
91 %{systemduserunitdir}/sm.puri.Phosh.service
92 %{systemduserunitdir}/sm.puri.Phosh.target
93 %dir %{systemduserunitdir}/gnome-session@phosh.target.d
94 %{systemduserunitdir}/gnome-session@phosh.target.d/session.conf
95 %{_datadir}/glib-2.0/schemas/00_sm.puri.Phosh.gschema.override
96 %{_datadir}/glib-2.0/schemas/sm.puri.phosh.enums.xml
97 %{_datadir}/glib-2.0/schemas/sm.puri.phosh.gschema.xml
98 %{_datadir}/gnome-session/sessions/phosh.session
99 %{_datadir}/phosh
100 %{_datadir}/wayland-sessions/phosh.desktop
101 %{_desktopdir}/sm.puri.OSK0.desktop
102 %{_desktopdir}/sm.puri.Phosh.desktop
This page took 0.112936 seconds and 2 git commands to generate.