[4933] | 1 | Name: latexila |
---|
[6084] | 2 | Version: 2.4.0 |
---|
[4933] | 3 | Release: 1%{?_dist_release} |
---|
| 4 | Summary: Integrated LaTeX Environment for the GNOME desktop |
---|
| 5 | |
---|
| 6 | Group: Applications/Publishing |
---|
| 7 | License: GPLv3+ |
---|
| 8 | URL: http://projects.gnome.org/latexila/ |
---|
[6084] | 9 | Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.4/%{name}-%{version}.tar.xz |
---|
[4933] | 10 | |
---|
| 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
| 12 | |
---|
| 13 | BuildRequires: gettext |
---|
| 14 | BuildRequires: cmake |
---|
| 15 | BuildRequires: gtksourceview2-devel |
---|
| 16 | BuildRequires: desktop-file-utils |
---|
| 17 | BuildRequires: libgee-devel |
---|
| 18 | BuildRequires: unique-devel |
---|
[6084] | 19 | BuildRequires: gtkspell-devel |
---|
[4933] | 20 | BuildRequires: itstool |
---|
| 21 | |
---|
| 22 | Requires: hicolor-icon-theme |
---|
| 23 | Requires: itstool |
---|
| 24 | Requires: latexmk |
---|
| 25 | Requires: rubber |
---|
| 26 | Requires: gsettings-desktop-schemas |
---|
| 27 | |
---|
| 28 | Vendor: Project Vine |
---|
| 29 | Distribution: Vine Linux |
---|
[5651] | 30 | Packager: Takemikaduchi |
---|
[4933] | 31 | |
---|
| 32 | |
---|
| 33 | %description |
---|
| 34 | LaTeXila is an Integrated LaTeX Environment for GNOME. The main features are: |
---|
| 35 | * Configurable buttons to compile, convert and view a document in one click |
---|
| 36 | * LaTeX commands auto-completion |
---|
| 37 | * Symbol tables (Greek letters, arrows, ...) |
---|
| 38 | * File browser integrated |
---|
| 39 | * Template managing |
---|
| 40 | * Menus with the most commonly used LaTeX commands |
---|
| 41 | * Easy projects management |
---|
| 42 | |
---|
| 43 | %prep |
---|
| 44 | %setup -q |
---|
| 45 | |
---|
| 46 | %build |
---|
| 47 | %cmake -DCMAKE_C_FLAGS:STRING="%{optflags}" . |
---|
| 48 | make VERBOSE=1 %{?_smp_mflags} |
---|
| 49 | |
---|
| 50 | %install |
---|
| 51 | rm -rf %{buildroot} |
---|
| 52 | make install DESTDIR=%{buildroot} |
---|
| 53 | %find_lang %{name} |
---|
| 54 | |
---|
| 55 | #Adding folders for .desktop file and icons |
---|
| 56 | for s in 16 22 24 32 48; do |
---|
| 57 | install -Dp data/images/app/icon$s.png \ |
---|
| 58 | %{buildroot}%{_datadir}/icons/hicolor/${s}x$s/apps/%{name}.png |
---|
| 59 | done |
---|
| 60 | |
---|
| 61 | desktop-file-install \ |
---|
| 62 | --dir %{buildroot}%{_datadir}/applications \ |
---|
| 63 | %{buildroot}%{_datadir}/applications/%{name}.desktop |
---|
| 64 | |
---|
| 65 | %clean |
---|
| 66 | rm -rf %{buildroot} |
---|
| 67 | |
---|
| 68 | %post |
---|
| 69 | update-desktop-database &> /dev/null || : |
---|
| 70 | touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : |
---|
| 71 | |
---|
| 72 | if [ $1 -eq 1 ] ; then |
---|
| 73 | glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : |
---|
| 74 | fi |
---|
| 75 | |
---|
| 76 | %postun |
---|
| 77 | update-desktop-database &> /dev/null || : |
---|
| 78 | |
---|
| 79 | if [ $1 -eq 0 ] ; then |
---|
| 80 | touch --no-create %{_datadir}/icons/hicolor &>/dev/null |
---|
| 81 | gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : |
---|
| 82 | fi |
---|
| 83 | |
---|
| 84 | glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : |
---|
| 85 | |
---|
| 86 | %posttrans |
---|
| 87 | gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : |
---|
| 88 | |
---|
| 89 | %files -f %{name}.lang |
---|
| 90 | %defattr(-,root,root,-) |
---|
| 91 | %doc AUTHORS COPYING README NEWS HACKING TODO |
---|
| 92 | %{_mandir}/man1/%{name}.1.* |
---|
| 93 | %{_bindir}/* |
---|
| 94 | |
---|
| 95 | %{_datadir}/%{name}/ |
---|
| 96 | %{_datadir}/applications/%{name}.desktop |
---|
| 97 | %{_datadir}/icons/hicolor/16x16/apps/%{name}.png |
---|
| 98 | %{_datadir}/icons/hicolor/22x22/apps/%{name}.png |
---|
| 99 | %{_datadir}/icons/hicolor/24x24/apps/%{name}.png |
---|
| 100 | %{_datadir}/icons/hicolor/32x32/apps/%{name}.png |
---|
| 101 | %{_datadir}/icons/hicolor/48x48/apps/%{name}.png |
---|
| 102 | %{_datadir}/glib-2.0/schemas/org.gnome.%{name}.gschema.xml |
---|
| 103 | %{_datadir}/gnome/help/%{name} |
---|
| 104 | |
---|
| 105 | %changelog |
---|
[6084] | 106 | * Mon Apr 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.0-1 |
---|
| 107 | - new upstream release |
---|
| 108 | - add BuildRequires: gtkspell-devel |
---|
| 109 | |
---|
[5651] | 110 | * Wed Feb 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.3-1 |
---|
| 111 | - new upstream release |
---|
| 112 | |
---|
[4933] | 113 | * Mon Oct 10 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.2-1 |
---|
| 114 | - initial build for Vine Linux |
---|
| 115 | |
---|
| 116 | |
---|
| 117 | * Tue Jul 12 2011 Thibault North <tnorth@fedoraproject.org> - 2.0.8-1 |
---|
| 118 | - Update to 2.0.8 |
---|
| 119 | |
---|
| 120 | * Thu Apr 7 2011 Thibault North <tnorth@fedoraproject.org> - 2.0.7-1 |
---|
| 121 | - Update to 2.0.7 |
---|
| 122 | |
---|
| 123 | * Sun Mar 20 2011 Thibault North <tnorth@fedoraproject.org> - 2.0.6-1 |
---|
| 124 | - Update to 2.0.6 |
---|
| 125 | |
---|
| 126 | * Tue Feb 15 2011 Thibault North <tnorth@fedoraproject.org> - 2.0.5-1 |
---|
| 127 | - Update to 2.0.5, thanks Sébastien Wilmet |
---|
| 128 | |
---|
| 129 | * Thu Nov 25 2010 Thibault North <tnorth@fedoraproject.org> - 2.0.1-4 |
---|
| 130 | - A few more fixes |
---|
| 131 | |
---|
| 132 | * Mon Nov 22 2010 Thibault North <tnorth@fedoraproject.org> - 2.0.1-3 |
---|
| 133 | - Use %%find_lang, fixes by Mohamed El Morabity |
---|
| 134 | |
---|
| 135 | * Sun Nov 21 2010 Thibault North <tnorth@fedoraproject.org> - 2.0.1-2 |
---|
| 136 | - Small fixes |
---|
| 137 | |
---|
| 138 | * Sun Nov 21 2010 Sébastien Wilmet <sebastien.wilmet@gmail.com> - 2.0.1-1 |
---|
| 139 | - Release 2.0.1 |
---|
| 140 | |
---|
| 141 | * Sun Nov 14 2010 Thibault North <tnorth@fedoraproject.org> - 2.0.0-1 |
---|
| 142 | - Release 2.0 |
---|
| 143 | |
---|
| 144 | * Mon Mar 1 2010 Sébastien Wilmet <sebastien.wilmet@gmail.com> - 0.2-1 |
---|
| 145 | - New upstream release |
---|
| 146 | - Icons support |
---|
| 147 | |
---|
| 148 | * Fri Dec 25 2009 Sébastien Wilmet <sebastien.wilmet@gmail.com> - 0.1-1 |
---|
| 149 | - Initial package for Fedora |
---|