RPM package
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 25/100
- Issue 类型
- 重构
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- linux
- 领域
- build-system
调研方向
Start by reading obs/qownnotes.spec and comparing it with the RPM SPEC and packaging suggestions linked in the issue. Check how the existing package is built for OBS before changing it, since the issue notes differences between Fedora and SUSE macros. Done means the SPEC incorporates the applicable suggestions and builds successfully for its intended targets.
由索引模型根据 Issue 内容生成。
描述
I created a RPM package for QOwnNotes.
I know that you already have a RPM SPEC for OBS, but my solution is dedicated to COPR/Koji and supports EL (RHEL, CentOS, Scientific Linux, Oracle Linux) as well as Fedora.
I was thinking about improving the current SPEC for OBS, but unfortunately I'm not very familiar with macros for SUSE/openSUSE.
Here are some tips from me (mainly for Fedora builds):
- Use
pkgconfig(Qt5Svg)instead ofqt5-qtsvg-develin dependencies. The same applies to other packages. - Don't forget about
%post,%postunand%posttranssections. Provide dependencies for them (Requires(post),Requires(postun),Requires(posttrans)). - The
%checksection is also welcome. - Use
desktop-file-editto edit desktop files. - Make use of the AppData file.
- Remember about runtime dependencies (
git!). - Use modern macros:
%{autosetup},%{qmake_qt5},%{make_build},%{make_install}, etc. - Remove obsoleted macros and fields:
%defattr,BuildRoot. - Use
%licensemacro for license. - Try to use file globbing, especially in
%filessection. GenericNamein Desktop file is a generic name of the application, for example "Web Browser", "Text Editor", "Markdown Editor", etc. You shouldn't use the application name here.- It would be nice if you started using unique three-part identifier everywhere you can. This is important mainly for Fedora and Flatpak builds.
See also:
- COPR repo: https://copr.fedorainfracloud.org/coprs/scx/qownnotes
- Last build: https://copr-be.cloud.fedoraproject.org/results/scx/qownnotes/epel-7-x86_64/00837474-qownnotes
- RPM SPEC: https://pastebin.com/raw/cFL6xnuA
- Updated AppData file: https://pastebin.com/raw/4GUeTWw9
- PR for update AppData file (Flathub): https://github.com/flathub/org.qownnotes.QOwnNotes/pull/6
- 主要语言
- C++
- 星标
- 5.9k
- 派生
- 499
- 平均合并
- 4 小时 4 分钟
- 30 天内合并 PR
- 3
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
pbek/QOwnNotes 的其他 Issue
-
Type: Upstream-problem
难度 2/5 1-3 小时 新手友好度 72/100
-
Type: Support
难度 5/5 一周以上 新手友好度 42/100
-
Effort: Very high Type: Feature Type: Upstream-problem
难度 4/5 3-5 天 新手友好度 48/100
-
Type: Feature
难度 4/5 3-5 天 新手友好度 48/100
-
Severity: Low Type: Upstream-problem
难度 4/5 3-5 天 新手友好度 42/100
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 62/100
harfbuzz/harfbuzz#6966 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
sirius-db/sirius#2807 · 2 个 reaction ·
维护者通常 2 天内回复
-
CS 1.9.1 and probably 2.0.0 convert black triangles to white at runtime, regarless of PBR configs.未关闭
难度 2/5 1-3 小时 新手友好度 72/100
community-shaders/skyrim-community-shaders#3325 ·
维护者通常 1 天内回复
-
triage:to-check
难度 2/5 1-3 小时 新手友好度 66/100
维护者通常 1 天内回复