blob: 54d03a2b28a8fb89215c0e1808faf1ba0b0c270f (
plain)
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
|
%global forgeurl https://gitlab.com/lanodan/badWolf
Name: badwolf
Version: 1.0.0
Release: 2%{?dist}
Summary: Web Browser which aims at security and privacy over usability
%global tag v%{version}
%forgemeta
License: BSD
URL: https://hacktivis.me/projects/badwolf
Source0: %{forgesource}
BuildRequires: make
BuildRequires: gcc
BuildRequires: gettext
BuildRequires: desktop-file-utils
BuildRequires: webkit2gtk3-devel
Requires: hicolor-icon-theme
%description
BadWolf is a minimalist and privacy-oriented WebKitGTK+ browser.
- Privacy-oriented:
No browser-level tracking, multiple ephemeral isolated sessions per new
unrelated tabs, JavaScript off by default.
- Minimalist:
Small codebase (~1 500 LoC), reuses existing components when available or makes
it available.
- Customizable:
WebKitGTK native extensions, Interface customizable through CSS.
- Powerful & Usable:
Stable User-Interface; The common shortcuts are available (and documented), no
vi-modal edition or single-key shortcuts are used.
- No annoyances:
Dialogs are only used when required (save file, print, …), javascript popups
open in a background tab.
%prep
%autosetup -n badWolf-%{tag}
%build
%set_build_flags
%make_build all
%install
%make_install PREFIX=%{_prefix}
rm -rf %{buildroot}%{_datadir}/doc/%{name}-%{version}
mkdir -p %{buildroot}%{_datadir}/locale
%find_lang Badwolf
%check
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
%files -f Badwolf.lang
%license COPYING
%doc README.md KnowledgeBase.md interface.txt
%{_bindir}/badwolf
%dir %{_datadir}/%{name}
%dir %{_datadir}/%{name}/locale
%dir %{_datadir}/%{name}/locale/*
%dir %{_datadir}/%{name}/locale/*/LC_MESSAGES
%{_datadir}/%{name}/interface.css
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.*
%{_mandir}/man1/%{name}.1.*
%changelog
* Sat Jul 4 2020 Lyes Saadi <fedora@lyes.eu> - 1.0.0-2
- RHBZ#1853858.
* Sat Jul 4 2020 Lyes Saadi <fedora@lyes.eu> - 1.0.0-1
- Initial package.
|