]> git.pld-linux.org Git - SPECS.git/blob - gnome-latex.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / gnome-latex.spec
1 Summary:        Integrated LaTeX Environment for the GNOME desktop
2 Summary(pl.UTF-8):      Zintegrowane środowisko LaTeXowe dla GNOME
3 Name:           gnome-latex
4 Version:        3.38.0
5 Release:        2
6 License:        GPL v3+
7 Group:          X11/Applications
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gnome-latex/3.38/%{name}-%{version}.tar.xz
9 # Source0-md5:  3725de4cba9a326b56d52f018089e6ea
10 # https://gitlab.gnome.org/GNOME/gnome-latex/-/commit/e1b01186f8a4e5d3fee4c9ccfbedd6d098517df9.patch
11 Patch0:         %{name}-tepl6.patch
12 URL:            https://wiki.gnome.org/Apps/GNOME-LaTeX
13 BuildRequires:  amtk-devel >= 5.2
14 BuildRequires:  appstream-glib-devel
15 BuildRequires:  autoconf >= 2.64
16 BuildRequires:  automake >= 1:1.14
17 BuildRequires:  dconf-devel
18 BuildRequires:  gettext-tools
19 BuildRequires:  glib2-devel >= 1:2.56
20 BuildRequires:  gobject-introspection-devel >= 1.30.0
21 BuildRequires:  gsettings-desktop-schemas-devel
22 BuildRequires:  gspell-devel >= 1.8
23 BuildRequires:  gtk+3-devel >= 3.22
24 BuildRequires:  gtk-doc >= 1.14
25 BuildRequires:  gtksourceview4-devel >= 4.0
26 BuildRequires:  intltool >= 0.50.1
27 BuildRequires:  libgee-devel >= 0.10
28 BuildRequires:  libtool >= 2:2.2
29 BuildRequires:  pkgconfig
30 BuildRequires:  rpmbuild(macros) >= 1.581
31 BuildRequires:  tar >= 1:1.22
32 BuildRequires:  tepl-devel >= 6.0
33 BuildRequires:  vala >= 2:0.46
34 BuildRequires:  vala-gspell >= 1.8
35 BuildRequires:  vala-gtksourceview4 >= 4.0
36 BuildRequires:  vala-libgee >= 0.10
37 BuildRequires:  xz
38 BuildRequires:  yelp-tools
39 Requires(post,postun):  desktop-file-utils
40 Requires(post,postun):  glib2 >= 1:2.56
41 Requires(post,postun):  gtk-update-icon-cache
42 Requires:       amtk >= 5.2
43 Requires:       glib2 >= 1:2.56
44 Requires:       gsettings-desktop-schemas
45 Requires:       gspell >= 1.8
46 Requires:       gtk+3 >= 3.22
47 Requires:       gtksourceview4 >= 4.0
48 Requires:       hicolor-icon-theme
49 Requires:       libgee >= 0.10
50 Requires:       tepl >= 6.0
51 Suggests:       latexmk >= 4.31
52 Obsoletes:      latexila < 3.28
53 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
54
55 %description
56 GNOME LaTeX is a LaTeX editor for the GNOME desktop. It was previously
57 named LaTeXila.
58
59 %description -l pl.UTF-8
60 GNOME LaTeX to edytor LaTeXa dla środowiska GNOME. Wcześniej projekt
61 nazywał się LaTeXila.
62
63 %prep
64 %setup -q
65 %patch0 -p1
66
67 %build
68 %{__libtoolize}
69 %{__intltoolize}
70 %{__aclocal} -I m4
71 %{__autoconf}
72 %{__autoheader}
73 %{__automake}
74 %configure \
75         --enable-gtk-doc \
76         --disable-silent-rules \
77         --with-html-dir=%{_gtkdocdir}
78
79 %{__make}
80
81 %install
82 rm -rf $RPM_BUILD_ROOT
83
84 %{__make} install \
85         DESTDIR=$RPM_BUILD_ROOT
86
87 %find_lang %{name} --with-gnome
88
89 %clean
90 rm -rf $RPM_BUILD_ROOT
91
92 %post
93 %update_icon_cache hicolor
94 %update_desktop_database_post
95 %glib_compile_schemas
96
97 %postun
98 %update_icon_cache hicolor
99 %update_desktop_database_postun
100 %glib_compile_schemas
101
102 %files -f %{name}.lang
103 %defattr(644,root,root,755)
104 %doc AUTHORS NEWS README
105 %attr(755,root,root) %{_bindir}/gnome-latex
106 %{_datadir}/dbus-1/services/org.gnome.gnome-latex.service
107 %{_datadir}/glib-2.0/schemas/org.gnome.gnome-latex.gschema.xml
108 %{_datadir}/gnome-latex
109 %{_datadir}/metainfo/org.gnome.gnome-latex.appdata.xml
110 %{_desktopdir}/org.gnome.gnome-latex.desktop
111 %{_iconsdir}/hicolor/scalable/apps/org.gnome.gnome-latex.svg
112 %{_iconsdir}/hicolor/symbolic/apps/org.gnome.gnome-latex-symbolic.svg
113 %{_mandir}/man1/gnome-latex.1*
114 %{_gtkdocdir}/gnome-latex
This page took 0.848178 seconds and 3 git commands to generate.