]> git.pld-linux.org Git - packages/gnome-text-editor.git/blob - gnome-text-editor.spec
- updated to 45.3
[packages/gnome-text-editor.git] / gnome-text-editor.spec
1 # TODO: use gtk4-update-icon-cache
2 Summary:        GNOME Text Editor
3 Summary(pl.UTF-8):      Edytor tekstowy dla GNOME
4 Name:           gnome-text-editor
5 Version:        45.3
6 Release:        1
7 License:        GPL v3+
8 Group:          X11/Applications
9 Source0:        https://download.gnome.org/sources/gnome-text-editor/45/%{name}-%{version}.tar.xz
10 # Source0-md5:  946f71dbf9711763a380c95def3e93a3
11 Patch0:         %{name}-no-update.patch
12 URL:            https://gitlab.gnome.org/GNOME/gnome-text-editor
13 BuildRequires:  cairo-devel
14 BuildRequires:  editorconfig-devel
15 BuildRequires:  enchant2-devel >= 2.2.0
16 BuildRequires:  glib2-devel >= 1:2.73
17 BuildRequires:  gtk4-devel >= 4.7
18 BuildRequires:  gtksourceview5-devel >= 5.5.0
19 BuildRequires:  libadwaita-devel >= 1.4
20 BuildRequires:  libicu-devel
21 BuildRequires:  meson >= 0.60.0
22 BuildRequires:  ninja >= 1.5
23 BuildRequires:  pcre-devel
24 BuildRequires:  pkgconfig
25 BuildRequires:  rpmbuild(macros) >= 1.736
26 BuildRequires:  tar >= 1:1.22
27 BuildRequires:  xz
28 Requires(post,postun):  desktop-file-utils
29 Requires(post,postun):  gtk-update-icon-cache
30 Requires:       enchant2 >= 2.2.0
31 Requires:       glib2 >= 1:2.73
32 Requires:       gtk4 >= 4.7
33 Requires:       gtksourceview5 >= 5.5.0
34 Requires:       libadwaita >= 1.4
35 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37 %description
38 GNOME Text Editor is a simple text editor that focus on session
39 management. It works hard to keep track of changes and state even if
40 you quit the application. You can come back to your work even if
41 you've never saved it to a file.
42
43 %description -l pl.UTF-8
44 GNOME Text Editor to prosty edytor tekstowy, skupiający się na
45 zarządzaniu sesją. Usilnie stara się śledzić zmiany i stan, nawet
46 przy zamknięciu aplikacji. Można wrócić do pracy nawet, jeśli nigdy
47 nie została zapisana do pliku.
48
49 %prep
50 %setup -q
51 %patch0 -p1
52
53 %build
54 %meson build
55
56 %ninja_build -C build
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60
61 %ninja_install -C build
62
63 # not supported by glibc (as of 2.37)
64 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ie
65
66 %find_lang %{name} --with-gnome
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %post
72 %update_icon_cache hicolor
73 %update_desktop_database
74 %glib_compile_schemas
75
76 %postun
77 %update_icon_cache hicolor
78 %update_desktop_database
79 %glib_compile_schemas
80
81 %files -f %{name}.lang
82 %defattr(644,root,root,755)
83 %doc NEWS README.md
84 %attr(755,root,root) %{_bindir}/gnome-text-editor
85 %{_datadir}/dbus-1/services/org.gnome.TextEditor.service
86 %{_datadir}/glib-2.0/schemas/org.gnome.TextEditor.gschema.xml
87 %{_datadir}/gnome-text-editor
88 %{_datadir}/metainfo/org.gnome.TextEditor.appdata.xml
89 %{_desktopdir}/org.gnome.TextEditor.desktop
90 %{_iconsdir}/hicolor/scalable/apps/org.gnome.TextEditor.svg
91 %{_iconsdir}/hicolor/symbolic/apps/org.gnome.TextEditor-symbolic.svg
This page took 0.162706 seconds and 4 git commands to generate.