-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnotion-for-linux.spec
More file actions
51 lines (42 loc) · 1.5 KB
/
Copy pathnotion-for-linux.spec
File metadata and controls
51 lines (42 loc) · 1.5 KB
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
Name: notion-for-linux
Version: 1.1.0
Release: 1%{?dist}
Summary: Unofficial Notion desktop client for Linux
License: MIT
URL: https://github.com/notyorch/Notion-for-Linux
Source0: notion-for-linux-%{version}-x64.AppImage
Source1: notion-for-linux.png
BuildArch: x86_64
%description
Notion for Linux - A native desktop wrapper for Notion.so with enhanced features
for Linux users. Includes zoom controls, window persistence, keyboard shortcuts,
and a native application menu.
%prep
# No setup needed, we're using a pre-built AppImage
%build
# No build needed
%install
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_datadir}/applications
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/256x256/apps
install -m 0755 %{SOURCE0} %{buildroot}%{_bindir}/notion-for-linux
install -m 0644 %{SOURCE1} %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/notion-for-linux.png
cat > %{buildroot}%{_datadir}/applications/notion-for-linux.desktop << 'EOF'
[Desktop Entry]
Name=Notion
Comment=Unofficial Notion desktop client for Linux
Exec=notion-for-linux %%U
Icon=notion-for-linux
Terminal=false
Type=Application
Categories=Office;Utility;
StartupWMClass=notion-for-linux
MimeType=x-scheme-handler/notion;
EOF
%files
%{_bindir}/notion-for-linux
%{_datadir}/applications/notion-for-linux.desktop
%{_datadir}/icons/hicolor/256x256/apps/notion-for-linux.png
%changelog
* Mon May 18 2026 notyorch <jorge@example.com> - 1.1.0-1
- Initial RPM package for Notion for Linux