]>
Commit | Line | Data |
---|---|---|
def3786d | 1 | Summary: Integrated LaTeX Environment for the GNOME desktop |
eb74876b | 2 | Summary(pl.UTF-8): Zintegrowane środowisko LaTeXowe dla GNOME |
def3786d | 3 | Name: latexila |
d6ee11e9 | 4 | Version: 3.24.2 |
def3786d MB |
5 | Release: 1 |
6 | License: GPL v3+ | |
7 | Group: X11/Applications | |
d6ee11e9 JB |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/latexila/3.24/%{name}-%{version}.tar.xz |
9 | # Source0-md5: 6265082c9dc0efc4b44d836176de816e | |
eb74876b | 10 | URL: https://wiki.gnome.org/Apps/LaTeXila |
def3786d | 11 | BuildRequires: autoconf >= 2.64 |
d6ee11e9 | 12 | BuildRequires: automake >= 1:1.14 |
48fe521d | 13 | BuildRequires: gettext-tools |
d6ee11e9 | 14 | BuildRequires: glib2-devel >= 1:2.50 |
eb74876b JB |
15 | BuildRequires: gnome-common |
16 | BuildRequires: gobject-introspection-devel >= 1.30.0 | |
17 | BuildRequires: gsettings-desktop-schemas-devel | |
51edea24 | 18 | BuildRequires: gspell-devel >= 1.0 |
d6ee11e9 | 19 | BuildRequires: gtef-devel >= 2.0 |
51edea24 | 20 | BuildRequires: gtk+3-devel >= 3.20 |
eb74876b | 21 | BuildRequires: gtk-doc >= 1.14 |
d6ee11e9 | 22 | BuildRequires: gtksourceview3-devel >= 3.24 |
eb74876b JB |
23 | BuildRequires: intltool >= 0.50.1 |
24 | BuildRequires: libgee-devel >= 0.10 | |
def3786d MB |
25 | BuildRequires: libtool >= 2:2.2 |
26 | BuildRequires: pkgconfig | |
27 | BuildRequires: rpmbuild(macros) >= 1.581 | |
eb74876b | 28 | BuildRequires: tar >= 1:1.22 |
d6ee11e9 | 29 | BuildRequires: vala >= 2:0.34 |
51edea24 JB |
30 | BuildRequires: vala-gspell >= 1.0 |
31 | BuildRequires: vala-libgee >= 0.10 | |
eb74876b | 32 | BuildRequires: xz |
def3786d MB |
33 | BuildRequires: yelp-tools |
34 | Requires(post,postun): desktop-file-utils | |
d6ee11e9 | 35 | Requires(post,postun): glib2 >= 1:2.50 |
def3786d | 36 | Requires(post,postun): gtk-update-icon-cache |
d6ee11e9 | 37 | Requires: glib2 >= 1:2.50 |
def3786d | 38 | Requires: gsettings-desktop-schemas |
51edea24 JB |
39 | Requires: gspell >= 1.0 |
40 | Requires: gtk+3 >= 3.20 | |
d6ee11e9 | 41 | Requires: gtksourceview3 >= 3.24 |
def3786d | 42 | Requires: hicolor-icon-theme |
eb74876b | 43 | Requires: libgee >= 0.10 |
def3786d MB |
44 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
45 | ||
46 | %description | |
47 | LaTeXila is an Integrated LaTeX Environment for GNOME. | |
48 | ||
eb74876b JB |
49 | %description -l pl.UTF-8 |
50 | LaTeXila to zintegrowane środowisko LaTeXowe dla GNOME. | |
51 | ||
def3786d MB |
52 | %prep |
53 | %setup -q | |
54 | ||
55 | %build | |
56 | %{__libtoolize} | |
57 | %{__intltoolize} | |
58 | %{__aclocal} -I m4 | |
59 | %{__autoconf} | |
60 | %{__autoheader} | |
61 | %{__automake} | |
62 | %configure \ | |
eb74876b JB |
63 | --disable-silent-rules \ |
64 | --with-html-dir=%{_gtkdocdir} | |
def3786d MB |
65 | |
66 | %{__make} | |
67 | ||
68 | %install | |
69 | rm -rf $RPM_BUILD_ROOT | |
70 | ||
71 | %{__make} install \ | |
72 | DESTDIR=$RPM_BUILD_ROOT | |
73 | ||
74 | %find_lang %{name} --with-gnome | |
75 | ||
76 | %clean | |
77 | rm -rf $RPM_BUILD_ROOT | |
78 | ||
79 | %post | |
80 | %update_icon_cache hicolor | |
81 | %update_desktop_database_post | |
82 | %glib_compile_schemas | |
83 | ||
84 | %postun | |
85 | %update_icon_cache hicolor | |
86 | %update_desktop_database_postun | |
87 | %glib_compile_schemas | |
88 | ||
89 | %files -f %{name}.lang | |
90 | %defattr(644,root,root,755) | |
d6ee11e9 | 91 | %doc AUTHORS NEWS README |
def3786d | 92 | %attr(755,root,root) %{_bindir}/latexila |
6b9926bf | 93 | %{_datadir}/appdata/org.gnome.latexila.appdata.xml |
def3786d MB |
94 | %{_datadir}/glib-2.0/schemas/org.gnome.latexila.gschema.xml |
95 | %{_datadir}/latexila | |
6b9926bf | 96 | %{_desktopdir}/org.gnome.latexila.desktop |
eb74876b JB |
97 | %{_iconsdir}/hicolor/*x*/apps/latexila.png |
98 | %{_iconsdir}/hicolor/scalable/apps/latexila.svg | |
def3786d | 99 | %{_mandir}/man1/latexila.1* |
eb74876b | 100 | %{_gtkdocdir}/latexila |
6b9926bf | 101 | %{_datadir}/dbus-1/services/org.gnome.latexila.service |