latexila-vl.spec 4.2 KB

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