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