]>
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 |
fae46e17 | 4 | Version: 3.18.2 |
def3786d MB |
5 | Release: 1 |
6 | License: GPL v3+ | |
7 | Group: X11/Applications | |
eb74876b | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/latexila/3.18/%{name}-%{version}.tar.xz |
fae46e17 JB |
9 | # Source0-md5: 9fe44a13d9a574a07dd70a9cd5cf5d6a |
10 | Patch0: %{name}-gspell.patch | |
eb74876b | 11 | URL: https://wiki.gnome.org/Apps/LaTeXila |
def3786d | 12 | BuildRequires: autoconf >= 2.64 |
eb74876b | 13 | BuildRequires: automake >= 1:1.12.5 |
48fe521d | 14 | BuildRequires: gettext-tools |
eb74876b JB |
15 | BuildRequires: glib2-devel >= 1:2.40 |
16 | BuildRequires: gnome-common | |
17 | BuildRequires: gobject-introspection-devel >= 1.30.0 | |
18 | BuildRequires: gsettings-desktop-schemas-devel | |
fae46e17 | 19 | BuildRequires: gspell-devel >= 0.2 |
eb74876b JB |
20 | BuildRequires: gtk+3-devel >= 3.14 |
21 | BuildRequires: gtk-doc >= 1.14 | |
22 | BuildRequires: gtksourceview3-devel >= 3.18 | |
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 JB |
28 | BuildRequires: tar >= 1:1.22 |
29 | BuildRequires: vala >= 2:0.26 | |
fae46e17 | 30 | BuildRequires: vala-gspell >= 0.2 |
eb74876b | 31 | BuildRequires: xz |
def3786d MB |
32 | BuildRequires: yelp-tools |
33 | Requires(post,postun): desktop-file-utils | |
eb74876b | 34 | Requires(post,postun): glib2 >= 1:2.40 |
def3786d | 35 | Requires(post,postun): gtk-update-icon-cache |
eb74876b | 36 | Requires: glib2 >= 1:2.40 |
def3786d | 37 | Requires: gsettings-desktop-schemas |
eb74876b JB |
38 | Requires: gspell >= 0.1 |
39 | Requires: gtk+3 >= 3.14 | |
40 | Requires: gtksourceview3 >= 3.18 | |
def3786d | 41 | Requires: hicolor-icon-theme |
eb74876b | 42 | Requires: libgee >= 0.10 |
def3786d MB |
43 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
44 | ||
45 | %description | |
46 | LaTeXila is an Integrated LaTeX Environment for GNOME. | |
47 | ||
eb74876b JB |
48 | %description -l pl.UTF-8 |
49 | LaTeXila to zintegrowane środowisko LaTeXowe dla GNOME. | |
50 | ||
def3786d MB |
51 | %prep |
52 | %setup -q | |
fae46e17 | 53 | %patch0 -p1 |
def3786d MB |
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) | |
eb74876b | 91 | %doc AUTHORS MAINTAINERS NEWS README |
def3786d | 92 | %attr(755,root,root) %{_bindir}/latexila |
eb74876b | 93 | %{_datadir}/appdata/latexila.appdata.xml |
def3786d MB |
94 | %{_datadir}/glib-2.0/schemas/org.gnome.latexila.gschema.xml |
95 | %{_datadir}/latexila | |
96 | %{_desktopdir}/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 |