geany-plugin-latex-vl.spec 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. %define __name geanylatex
  2. Summary: GeanyLaTeX is a plugin to improve support of LaTeX at Geany
  3. Summary(ja): Geany で LaTeX のサポートを改善するためのプラグイン
  4. Name: geany-plugin-latex
  5. Version: 0.4
  6. Release: 2%{?_dist_release}
  7. License: GPLv2
  8. Group: Development/Tools
  9. Source: http://frank.uvena.de/files/geany/%{__name}-%{version}.tar.gz
  10. URL: http://frank.uvena.de/en/Geany/%{__name}/
  11. BuildRoot: %{_tmppath}/%{__name}-%{version}-root
  12. Requires: geany >= 0.16
  13. BuildRequires: geany-devel
  14. BuildRequires: gtk2, gtk2-devel
  15. %description
  16. GeanyLaTeX is a little plugin to improve support of LaTeX at Geany.
  17. %description -l ja
  18. GeanyLaTeX は Geany で LaTeX のサポートを改善するための小さなプラグインです。
  19. %prep
  20. %setup -q -n geanylatex-%{version}
  21. %build
  22. %configure CC=c99 CFLAGS=-g
  23. make %{?_smp_mflags}
  24. %install
  25. %__rm -Rf $RPM_BUILD_ROOT
  26. install -d -m 0755 $RPM_BUILD_ROOT%{_libdir}/geany/
  27. install -d -m 0755 $RPM_BUILD_ROOT%{_datadir}/locale/
  28. ./libtool --silent --mode=install /usr/bin/install -c ./src/geanylatex.la \
  29. $RPM_BUILD_ROOT%{_libdir}/geany/geanylatex.la
  30. mv ./po/de.gmo ./po/geanylatex_de.mo
  31. install -m 0755 ./po/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/
  32. #remove .la file before packaging
  33. rm -rf $RPM_BUILD_ROOT%{_libdir}/geany/geanylatex.la
  34. %clean
  35. %__rm -Rf $RPM_BUILD_ROOT
  36. %files
  37. %defattr(-, root, root, -)
  38. %doc AUTHORS COPYING ChangeLog NEWS README
  39. %{_libdir}/geany/geanylatex.so
  40. %{_datadir}/locale/*
  41. %changelog
  42. * Wed Aug 19 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4-2vl5
  43. - rebuilt with geany-0.18
  44. * Fri Jun 5 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4-1vl5
  45. - new upstream release
  46. * Mon May 4 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3-6vl5
  47. - added document in %files
  48. * Sun May 3 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3-5vl5
  49. - rebuilt with geany-0.17
  50. - spec in UTF-8
  51. * Wed Apr 08 2009 Shu KONNO <owa@bg.wakwak.com> - 0.3-4vl5
  52. - fixed library path for lib64
  53. * Sun Mar 15 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3-3vl5
  54. - fixed %changelog (fixed in Mar 13 2009 changelog)
  55. - modified Summary(ja)
  56. * Fri Mar 13 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3-2vl5
  57. - modified %configure option
  58. * Sat Feb 21 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3-1vl5
  59. - new upstream release
  60. - changed Requires: geany >= 0.16
  61. * Mon Feb 16 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2-3vl5
  62. - fixed %changlog typo
  63. * Mon Feb 16 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2-2vl5
  64. - rebuilt with geany-0.16
  65. * Wed Feb 11 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2-1vl5
  66. - initial build for VineSeed