-
Notifications
You must be signed in to change notification settings - Fork 38
/
enki.spec
185 lines (138 loc) · 5.26 KB
/
enki.spec
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
%global _iconsbasedir %{?_iconsbasedir:/usr/share/icons/hicolor}
%global _desktopdir %{?_desktopdir:/usr/share/applications}
%global icon_cache_touch /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%global icon_cache_gtk_update /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
Name: enki
Version: 19.10.0
Release: 5%{?dist}
Summary: Advanced text editor for programmers
Group: Productivity/Text/Editors
License: GPL-2.0
URL: http://enki-editor.org/
Source0: https://github.com/andreikop/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: desktop-file-utils
BuildRequires: python3-setuptools
BuildRequires: python3-devel
Requires: python3
Requires: python3-qutepart >= 3.0
Requires: python3-docutils
Requires: python3-qt5
Requires: python3-sphinx
Requires: python3-qt5-webengine
Requires: ctags
%if 0%{?suse_version}
Requires: python3-Markdown
Requires: libQt5Svg5
%else
Requires: python3-markdown
Requires: python3-regex
Requires: qt5-qtsvg
%endif
%description
Enki is an advanced text editor for programmers. It is:
- User friendly. Intuitive interface. Works out of the box.
You don't have to read a lot of docs
- Hacker friendly. Work as quickly as possible.
You don't need your mouse for coding.
- Lighweight. Some IDEs show splashscreen.
Enki will never do it. It just starts quickly.
- Advanced. You invent software. An editor helps you to do a routine job.
- Extensible. Operating systems are designed for running applications.
Enki is designed for running plugins.
- Cross platform. Use your habitual editor on any OS.
Currently has beeen tested on Linux, MacOS X, Windows.
- High quality. No long list of fancy features.
But, what is done, is done well.
- Open source. In GitHub we trust.
%prep
%setup0 -q
%build
/usr/bin/python3 setup.py build
%install
/usr/bin/python3 setup.py install --force --skip-build --prefix=%{_prefix} --root %{buildroot}
%check
desktop-file-validate %{buildroot}%{_desktopdir}/%{name}.desktop
%files
%defattr(-,root,root)
%doc LICENSE.GPL2 README.md ChangeLog
%{python3_sitelib}/*
%{_iconsbasedir}/*/apps/%{name}.*
%{_datarootdir}/pixmaps/%{name}.png
%{_desktopdir}/%{name}.desktop
%{_bindir}/%{name}
%dir /usr/share/icons/hicolor/32x32/apps
%dir /usr/share/icons/hicolor/32x32
%dir /usr/share/icons/hicolor/48x48/apps
%dir /usr/share/icons/hicolor/48x48
%dir /usr/share/icons/hicolor/scalable/apps
%dir /usr/share/icons/hicolor/scalable
%dir /usr/share/icons/hicolor/
%post
%{icon_cache_touch}
%postun
if [ $1 -eq 0 ] ; then
%{icon_cache_touch}
%{icon_cache_gtk_update}
fi
%posttrans
%{icon_cache_gtk_update}
%changelog
* Mon Aug 27 2018 Andrei Kopats <andrei.kopats@gmail.com> 18.08.0-19
- Package manager
* Mon Mar 27 2017 Andrei Kopats <andrei.kopats@gmail.com> 17.03.0-18
- Quit action
* Wed Jun 15 2016 Andrei Kopats <andrei.kopats@gmail.com> 16.04.1-17
- Show Qt version
- Preview fixes
* Fri Mar 25 2016 Andrei Kopats <andrei.kopats@gmail.com> 16.04.0-16
- Migration to Python3 and Qt5
- Show and prioritize open files in Locator
- (Un)comment lines functionality
* Mon Jan 11 2016 Andrei Kopats <andrei.kopats@gmail.com> 15.11.1-15
- GUI fixes for Fedora
* Mon Nov 30 2015 Andrei Kopats <andrei.kopats@gmail.com> 15.11.0-14
- Fuzzy opener
- Bug fixes and improvements
* Mon Jul 27 2015 Bryan Jones <bjones AT ece.msstate.edu> 15.06.0-13
- Literate programming and preview enhancements
* Sat May 30 2015 Andrei Kopats <andrei.kopats@gmail.com> 15.05.0-12
- Preview improvements
* Mon Apr 27 2015 Andrei Kopats <andrei.kopats@gmail.com> 15.04.0-11
- Vim mode
- Literate programming and preview enhancements
- Improvements and bugfixes
* Mon Aug 18 2014 Andrei Kopats <andrei.kopats@gmail.com> 14.07.2-10
- Fix pylint and navigator related bugs
* Tue Jul 22 2014 Andrei Kopats <andrei.kopats@gmail.com> 14.07.0-9
- Draw incorrect indentation
- Source code to HTML conversion support (literate programming) by Bryan Jones
- Pylint support
* Thu Mar 13 2014 Andrei Kopats <andrei.kopats@gmail.com> 14.03.0-8
- Open main menu with F10
- Sort tags in the Navigator
- Python REPL
- Navigator tree filtering
- Strip trailing whitespaces
* Mon Nov 25 2013 Andrei Kopats <andrei.kopats@gmail.com> 13.11.1-7
- Fix crash in Navigation
- Recursively create directories on file save
* Wed Nov 20 2013 Andrei Kopats <andrei.kopats@gmail.com> 13.11.0-6
- RPM release for Suse
- Navigation, based on ctags
* Sun Oct 6 2013 Jairo Llopis <yajo.sk8@gmail.com> 13.09.2-5
- Add dependency to python-docutils.
* Sun Oct 6 2013 Jairo Llopis <yajo.sk8@gmail.com> 13.09.2-4
- New upstream version.
* Sun Sep 8 2013 Jairo Llopis <yajo.sk8@gmail.com> 13.08.1-3
- New upstream version, now based on qutepart.
- Remove patch that has already been merged upstream.
* Tue Jul 16 2013 Jairo Llopis <yajo.sk8@gmail.com> 12.10.3-2
- Declare variables with global.
- Link patch0 to its upstream bug.
- Validate desktop file installation.
- Add icon cache scriptlets.
- Change Source tag for Source0.
- Fix requirements.
* Sat Jul 6 2013 Jairo Llopis <yajo.sk8@gmail.com> 12.10.3-1
- Initial release.