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