geany-plugin-addons-vl.spec 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. %define __name addons
  2. Summary: This Geany plugin adds various small addons which useful for people.
  3. Summary(ja): この Geany プラグインは人々の役に立つ小さなアドオンを追加します。
  4. Name: geany-plugin-addons
  5. Version: 0.2
  6. Release: 2%{?_dist_release}
  7. License: GPLv2
  8. Group: Development/Tools
  9. URL: http://plugins.geany.org/addons/
  10. Source: http://plugins.geany.org/%{__name}/%{__name}-%{version}.tar.bz2
  11. BuildRoot: %{_tmppath}/%{__name}-%{version}-root
  12. Requires: geany >= 0.16
  13. BuildRequires: geany-devel
  14. BuildRequires: gtk2, gtk2-devel
  15. %description
  16. This Geany plugin adds various small addons which useful for people.
  17. %description -l ja
  18. この Geany プラグインは人々の役に立つ小さなアドオンを追加します。
  19. %prep
  20. %setup -q -n addons-%{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/addons.la \
  29. $RPM_BUILD_ROOT%{_libdir}/geany/addons.la
  30. mv ./po/de.gmo ./po/addons.mo
  31. install -m 0755 ./po/addons.mo $RPM_BUILD_ROOT%{_datadir}/locale/
  32. #remove .la file before packaging
  33. rm -rf $RPM_BUILD_ROOT%{_libdir}/geany/addons.la
  34. %clean
  35. %__rm -Rf $RPM_BUILD_ROOT
  36. %files
  37. %defattr(-, root, root, -)
  38. %doc AUTHORS COPYING ChangeLog README NEWS
  39. %{_libdir}/geany/addons.so
  40. %{_datadir}/locale/*
  41. %changelog
  42. * Wed Aug 19 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2-2vl5
  43. - rebuilt with geany-0.18
  44. * Fri Jun 5 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2-1vl5
  45. - new upstream release
  46. * Mon May 4 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1-1vl5
  47. - initial build for VineSeed